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 fruitnuke
Recipients fruitnuke
Date 2012-03-12.21:58:35
SpamBayes Score 1.5093311e-06
Marked as misclassified No
Message-id <1331589516.59.0.0412719360894.issue14269@psf.upfronthosting.co.za>
In-reply-to
Content
The current SMTP RFC (5321) states that 'a client MUST issue HELO or EHLO before starting a mail transaction'.  The SMTP server should issue '503 Bad sequence of commands' if a client sends MAIL, RCPT or DATA commands before it sends an HELO/EHLO; currently it does not.

To reproduce:
1. Start smtpd.py
2. Telnet to localhost 8025
3. Send 'MAIL from:<foo@example.com>'
To which you'll see '250 OK' instead of '503 Bad sequence of commands'
History
Date User Action Args
2012-03-12 21:58:36fruitnukesetrecipients: + fruitnuke
2012-03-12 21:58:36fruitnukesetmessageid: <1331589516.59.0.0412719360894.issue14269@psf.upfronthosting.co.za>
2012-03-12 21:58:36fruitnukelinkissue14269 messages
2012-03-12 21:58:35fruitnukecreate