Derek Shockey added the comment:
I'm really sorry I didn't notice this earlier, but RCPT has the same bug!
This patch applies the same fix to that function as well.
Added file: http://bugs.python.org/file8597/smtpd-patch2.diff
__
Tracker [EMAIL PROTECTED]
http
New submission from Derek Shockey:
smtpd.SMTPChannel contains a bug such that when connected to an
SMTPServer (or any subclass thereof), issuing a MAIL command with no
argument closes the socket and gives this error on the server:
(type 'exceptions.TypeError':'NoneType' object
Derek Shockey added the comment:
Very simple patch that adds a ternary operator to skip the call to
__getaddr if there is no arg.
Added file: http://bugs.python.org/file8583/smtpd.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1307