| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This clears up an error in detected by refleak mode that showed up when
test_smtplib was run after test_smtpd in the same refleak run.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
This is a backward incompatible change, but since it is an RFC conformance bug
and all real mail servers that I know of do conform to the RFC in this regard,
I believe it is an acceptable change for a feature release.
Patch by Jason Killen.
|
|
|
|
| |
DeprecationWarning (cgi, importlib, nntplib, smtpd).
|
|
|
|
| |
This fixes a subsequent refleak in test_smtplib.
|
| |
|
| |
|
|
|
|
| |
mock_socket
|
| |
|
|
|
|
| |
merged the socket mock introduced in test_smtpd
|
| |
|
|
|
|
| |
attribute.
|
|
|