Felix Schwarz <felix.schw...@web.de> added the comment: I can confirm that this issue is still present in Python 2.5.2, 2.6.1 and 3.0.1.
The current behavior of smtplib is a clear violation of the SMTP specification. The problem can be reproduced with code like that (stub, pseudo code-like): smtp = smtplib.SMTP() smtp.sendmail('f...@example.com', 'f...@example.com', msg) smtp.quit() smtp.connect() # This command does not send EHLO/HELO again, violating the spec! smtp.sendmail('f...@example.com', 'f...@example.com', msg) Real world bug reports due to this behavior were mostly visible with Exim because this MTA rejects the 'MAIL FROM' if SMTP extension verbs are used without EHLO: * http://groups.google.com/group/turbomail-devel/browse_thread/thread/a25c89a94b42724f * http://www.google.com/search?q=exim+python+%22malformed+address%22+size ---------- nosy: +Felix Schwarz _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4142> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com