[issue7359] mailbox cannot modify mailboxes in system mail spool

Ole Laursen report at bugs.python.org
Wed Dec 1 14:40:44 CET 2010


Ole Laursen <olau at iola.dk> added the comment:

Just got bitten by this too.

Renaming is good and all, but as far as I can tell, it will never work with the system spool. It's not just that you can't create a temporary file in the directory, you can't rename files into it either. If I create an empty file somewhere and try to rename it to overwrite my mailbox, I get a permission denied. Sad. :(

So I think you have to bite the bullet and write directly to the file. Either that or define that the module can't be used to work with system spool mailboxes, at least on Debian. But that would be even more sad.

----------
nosy: +olau

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


More information about the Python-bugs-list mailing list