MRAB <goo...@mrabarnett.plus.com> wrote: > tinn...@isbd.co.uk wrote: > > It seems to me that mailbox.mbox.add() sets the access time of a mbox > > file as well as the modification time. This is not good for MUAs that > > detect new mail by looking to see if the access time is before the > > modification time. > > > > Have I done something wrong somewhere or is mailbox.mbox.add() really > > as broken as it would appear? > > > [snip] > The access time is the time it was last accessed, ie read or modified. > > The modification time is the time it was last modified. > > The access time can never be before the modification time because it > must be accessed in order to be modified!
Well in that case very MUA that I have ever come across is broken! Access time *can* be before modification time, that's how most MUAs work with mbox files. -- Chris Green -- http://mail.python.org/mailman/listinfo/python-list