New submission from Dan Boswell <fruitn...@gmail.com>: 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:<f...@example.com>' To which you'll see '250 OK' instead of '503 Bad sequence of commands' ---------- components: Library (Lib) messages: 155490 nosy: fruitnuke priority: normal severity: normal status: open title: SMTPD server does not enforce client starting mail transaction with HELO or EHLO type: behavior versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14269> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com