[issue11116] mailbox and email errors

Steffen Daode Nurpmeso report at bugs.python.org
Fri Feb 4 22:18:20 CET 2011


Steffen Daode Nurpmeso <sdaoden at googlemail.com> added the comment:

However, as a last peep from me before i'll burn to ashes, and now with all fresh Python 3.2rc2+ all through, i do want to ask a question.

I'm still not finished with my broken thing, so the usual exception still occurs in respect to the malformed spam mail which made its way into Lib/test/test_mailbox.py - this is still my fault.  The thing i want to point out is that the target mailbox will end with these lines after the program fails:

>
>
>
> From MAILER-DAEMON Fri Feb  4 20:17:03 2011<- EOF here

Shouldn't this be suppressed?  Or, otherwise, shouldn't

[> Status: RO]
[> Content-Length: 0]
[> Lines: 0]
>
>

be appended in case of an exception?  The current result does not comply to <http://qmail.org./man/man5/mbox.html> (which is linked by <http://tools.ietf.org/html/rfc4155>).  mutt(1) is still capable to open it (it modifies the mailbox as shown above, including bracket lines), but i don't know if that applies to all mail-clients out there.

----------

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


More information about the Python-bugs-list mailing list