[issue14269] SMTPD server does not enforce client starting mail transaction with HELO or EHLO

Jason Killen report at bugs.python.org
Tue Mar 20 17:53:31 CET 2012


Jason Killen <jsnklln at gmail.com> added the comment:

Ok I think this quote from the spec referenced pretty much sums it up. 

"The NOOP, HELP, EXPN, VRFY, and RSET commands can be used at any time   during a session, or without previously initializing a session.  SMTP   servers SHOULD process these normally (that is, not return a 503 code) even if no EHLO command has yet been received; clients SHOULD open a session with EHLO before sending these commands."

All in all either way fits the spec, choose your favorite.

----------
Added file: http://bugs.python.org/file24971/test_smtpd.py

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


More information about the Python-bugs-list mailing list