Author r.david.murray
Recipients belopolsky, r.david.murray, sdaoden
Date 2011-05-05.17:04:15
SpamBayes Score 4.7838e-06
Marked as misclassified No
Message-id <>
"prepare new tail" means all of the text from the first modified line to the end?  (As opposed to "just the new mail"?)

mailbox does locking.  I see no reason in principle it couldn't stat/restore, it would just be setting the times on the new file rather than on a truncated/rewritten old file.  How hard that would be to incorporate into the existing logic I have no idea.  Of course there may be issues about this I haven't thought of.

From what you said, if mutt is the model for what mailbox should do, it shouldn't set the mtime later than the atime itself, it should only preserve it if it already was.  Which was my point about using mailbox as a delivery agent: if you *are* using it as a delivery agent, then the application using it as a delivery agent would be the one to set the mtime greater than the atime.  mailbox itself would (following the mutt model) just be preserving the existing relationships.

Do you think the mutt model is a good one to follow?
Date User Action Args
2011-05-05 17:04:16r.david.murraysetrecipients: + r.david.murray, belopolsky, sdaoden
2011-05-05 17:04:16r.david.murraysetmessageid: <>
2011-05-05 17:04:15r.david.murraylinkissue11935 messages
2011-05-05 17:04:15r.david.murraycreate