Author r.david.murray
Recipients r.david.murray, sdaoden
Date 2011-05-05.01:52:28
SpamBayes Score 8.78639e-07
Marked as misclassified No
Message-id <1304560349.32.0.402521737584.issue11935@psf.upfronthosting.co.za>
In-reply-to
Content
Not all system mail spools are mode 1777.  Mutt needs to be setgid mail on systems that aren't, if I understand correctly.  Making a python program setgid mail is a bit more of security issue than making a well-tested C program setgid, since it is easier to break out of the box in a python program.

I'm pretty sure that the shell does not parse the mbox when it produces its 'you have new mail' message.  I believe it just looks at the mtime/atime.

mailbox is an mbox manipulation program, not a mail delivery agent.  If you are using it to write a mail delivery agent, I think perhaps the mtime setting code belongs in your application, not the mailbox module.
History
Date User Action Args
2011-05-05 01:52:29r.david.murraysetrecipients: + r.david.murray, sdaoden
2011-05-05 01:52:29r.david.murraysetmessageid: <1304560349.32.0.402521737584.issue11935@psf.upfronthosting.co.za>
2011-05-05 01:52:28r.david.murraylinkissue11935 messages
2011-05-05 01:52:28r.david.murraycreate