[issue8739] Update to smtpd.py to RFC 5321

2012-03-13 Thread Dan Boswell
Changes by Dan Boswell : ___ Python tracker <http://bugs.python.org/issue8739> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/

[issue8739] Update to smtpd.py to RFC 5321

2012-03-12 Thread Dan Boswell
Dan Boswell added the comment: I built on Michele's patch during the pycon sprint, addressing some of the concerns rightly raised in previous comment: 1. Turn off the SIZE extension if client uses HELO (though limits are still used internally to limit message size for DoS protection)

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

2012-03-12 Thread Dan Boswell
Dan Boswell added the comment: Attached a diff containing a unit-test for this behavior. -- keywords: +patch Added file: http://bugs.python.org/file24802/failing_test.diff ___ Python tracker <http://bugs.python.org/issue14

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

2012-03-12 Thread Dan Boswell
New submission from Dan Boswell : 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