This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zvyn
Recipients barry, jesstess, pitrou, r.david.murray, zvyn
Date 2014-06-16.20:27:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Sending HELO or EHLO more then once causes smtpd.SMTPChannel to respond with b'503 Duplicate HELO/EHLO\r\n' (see Lib/test/ for an example).

My interpretation of RFC 821, section is that multiple HELO commands are fine outside a mail transaction and a second HELO is eauivalent to a RSET during a mail transaction (undoing any changes made by previous greetings).

I would propose to reject greetings during mail transactiond (thats what RSET is for) and else accept them. The question is how we should handle backwards compatibility here.

I am willing to work on this right after #21725.
Date User Action Args
2014-06-16 20:27:57zvynsetrecipients: + zvyn, barry, pitrou, r.david.murray, jesstess
2014-06-16 20:27:57zvynsetmessageid: <>
2014-06-16 20:27:57zvynlinkissue21783 messages
2014-06-16 20:27:56zvyncreate