Ole Laursen <o...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue7359>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to