[issue14269] SMTPD server does not enforce client starting mail transaction with HELO or EHLO
report at bugs.python.org
Mon Mar 12 22:58:36 CET 2012
New submission from Dan Boswell <fruitnuke at 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.
1. Start smtpd.py
2. Telnet to localhost 8025
3. Send 'MAIL from:<foo at example.com>'
To which you'll see '250 OK' instead of '503 Bad sequence of commands'
components: Library (Lib)
title: SMTPD server does not enforce client starting mail transaction with HELO or EHLO
versions: Python 3.3
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list