summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2012-05-26 18:33:59 (GMT)
committerR David Murray <rdmurray@bitdance.com>2012-05-26 18:33:59 (GMT)
commitd1a30c939cc6378423dd3cc22382a9abe2a7d882 (patch)
treed083d5bab633c09a9e9857987f8d2b960a00c396 /Misc
parent032eed3c4a42ca29de2c07fba2e0555eaff1700c (diff)
downloadcpython-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/ACKS3
-rw-r--r--Misc/NEWS3
2 files changed, 6 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 16f55ea..371668f 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -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
diff --git a/Misc/NEWS b/Misc/NEWS
index 4f20446..50060e5 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.