diff options
author | R David Murray <rdmurray@bitdance.com> | 2012-05-26 18:33:59 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2012-05-26 18:33:59 (GMT) |
commit | d1a30c939cc6378423dd3cc22382a9abe2a7d882 (patch) | |
tree | d083d5bab633c09a9e9857987f8d2b960a00c396 /Misc | |
parent | 032eed3c4a42ca29de2c07fba2e0555eaff1700c (diff) | |
download | cpython-d1a30c939cc6378423dd3cc22382a9abe2a7d882.zip cpython-d1a30c939cc6378423dd3cc22382a9abe2a7d882.tar.gz cpython-d1a30c939cc6378423dd3cc22382a9abe2a7d882.tar.bz2 |
#8739: upgrade smtpd to RFC 5321 and 1870.
smtpd now handles EHLO and has infrastructure for extended smtp command mode.
The SIZE extension is also implemented. In order to support parameters on
MAIL FROM, the RFC 5322 parser from the email package is used to parse the
address "token".
Logging subclasses things and overrides __init__, so it was necessary to
update those __init__ functions in the logging tests to make the logging tests
pass.
The original suggestion and patch were by Alberto Trevino. Juhana Jauhiainen
added the --size argument and SIZE parameter support. Michele Orrù improved
the patch and added more tests. Dan Boswell conditionalized various bits of
code on whether or not we are in HELO or EHLO mode, as well as some other
improvements and tests. I finalized the patch and added the address parsing.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 3 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -112,6 +112,7 @@ Gregory Bond Matias Bordese Jurjen Bos Peter Bosch +Dan Boswell Eric Bouck Thierry Bousch Sebastian Boving @@ -494,6 +495,7 @@ Geert Jansen Jack Jansen Bill Janssen Thomas Jarosch +Juhana Jauhiainen Zbigniew Jędrzejewski-Szmek Julien Jehannet Drew Jenkins @@ -1039,6 +1041,7 @@ Sandro Tosi Richard Townsend David Townshend Laurence Tratt +Alberto Trevino Matthias Troffaes John Tromp Jason Trowbridge @@ -46,6 +46,9 @@ Core and Builtins Library ------- +- Issue #8739: Updated smtpd to support RFC 5321, and added support for the + RFC 1870 SIZE extension. + - Issue #665194: Added a localtime function to email.utils to provide an aware local datetime for use in setting Date headers. |