#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.
diff --git a/Misc/ACKS b/Misc/ACKS
index 16f55ea..371668f 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -112,6 +112,7 @@
Matias Bordese
Jurjen Bos
Peter Bosch
+Dan Boswell
Eric Bouck
Thierry Bousch
Sebastian Boving
@@ -494,6 +495,7 @@
Jack Jansen
Bill Janssen
Thomas Jarosch
+Juhana Jauhiainen
Zbigniew Jędrzejewski-Szmek
Julien Jehannet
Drew Jenkins
@@ -1039,6 +1041,7 @@
Richard Townsend
David Townshend
Laurence Tratt
+Alberto Trevino
Matthias Troffaes
John Tromp
Jason Trowbridge