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 Anthony.Kong, Juhana.Jauhiainen, alfmel, barry, catalin.iacob, fruitnuke, geoffreyspear, giampaolo.rodola, hynek, josiah.carlson, maker, r.david.murray, richard, tshepang
Date 2012-03-13.03:26:19
SpamBayes Score 3.59623e-12
Marked as misclassified No
Message-id <>
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), and report syntax of MAIL/RCPT correctly depending on whether HELO is issued.
2. Extend max command size by 26 chars when SIZE extension is enabled, as required by RFC 1870.
3. First cut at adding parameters to RCPT command for SMTP extensions as required by RFC 1869/5321.
4. Return 555 for MAIL/RCPT parameters that are valid but not implemented.

and some other issues:

1. Fix typo 'maximium' -> 'maximum'
2. Add test to show failure to parse localpart of email address (left as expected failure as a correct parse will require version 6 of the email package).
3. Fix up command line arg for specifying SIZE extension.

Still some issues to resolve, I already came up with a couple in testing, and some of the (new) code can be cleaned up.

So far this server implements the SIZE and 8BITMIME extensions in a
tightly-coupled manner, and does not make it easy for subclasses to implement additional smtp extensions.  Ideally we would make SMTPChannel extensible in this way but that may require extensive refactoring and would be better raised and addressed as another issue.
Date User Action Args
2012-03-13 03:26:27fruitnukesetrecipients: + fruitnuke, barry, richard, giampaolo.rodola, josiah.carlson, r.david.murray, maker, alfmel, catalin.iacob, tshepang, geoffreyspear, Anthony.Kong, hynek, Juhana.Jauhiainen
2012-03-13 03:26:27fruitnukesetmessageid: <>
2012-03-13 03:26:26fruitnukelinkissue8739 messages
2012-03-13 03:26:24fruitnukecreate