This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sdaoden
Recipients sdaoden
Date 2011-04-27.11:39:36
SpamBayes Score 0.00034914032
Marked as misclassified No
Message-id <1303904377.39.0.820877441013.issue11935@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2011-04-27 11:39:37sdaodensetrecipients: + sdaoden
2011-04-27 11:39:37sdaodensetmessageid: <1303904377.39.0.820877441013.issue11935@psf.upfronthosting.co.za>
2011-04-27 11:39:36sdaodenlinkissue11935 messages
2011-04-27 11:39:36sdaodencreate