[issue11935] MMDF/MBOX mailbox need utime

Steffen Daode Nurpmeso report at bugs.python.org
Wed Apr 27 13:39:37 CEST 2011


New submission from Steffen Daode Nurpmeso <sdaoden at googlemail.com>:

According to the de-facto MBOX standard [1] and the MMDF
description [2] mtime and atime are used to detect wether
a mailbox has new mail:

   If the mtime on a nonempty mbox file is greater than the
   atime, the file has new mail.

For [1] this is documented under "UNSPECIFIED DETAILS", though.
The attached patch enables MUAs like mutt(1) to show the
new-mail-has-arrived status in the overview, too.
Note i've randomly chosen 3 seconds; it also could have been 5.

[1] http://qmail.org/man/man5/mbox.html
[2] http://linux.die.net/man/5/mmdf

----------
components: Library (Lib)
files: mailbox.diff
keywords: patch
messages: 134552
nosy: sdaoden
priority: normal
severity: normal
status: open
title: MMDF/MBOX mailbox need utime
versions: Python 3.3
Added file: http://bugs.python.org/file21795/mailbox.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11935>
_______________________________________


More information about the Python-bugs-list mailing list