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 samuelcolvin
Recipients barry, r.david.murray, samuelcolvin
Date 2019-01-20.11:14:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547982873.85.0.188578370535.issue35788@roundup.psfhosted.org>
In-reply-to
Content
smtpd.PureProxy.process_message and smtpd.MailmanProxy.process_message are defined to not receive the extra kwargs which they're called with.

They both also expect "data" to be str when it's actually bytes.

Thus they're completed broken at the moment.

I'd like to submit a PR to fix these two bugs.

There are a number of other issues/potential improvements to smtpd which are not critical but I guess should be fixed:
* no support for starttls
* use of print(..., file=DEBUGSTREAM) instead of logger.debug
* no type hints
* PureProxy's forwarding doesn't try starttls

Should I create a new issue(s) for these problems or is there some agreement that only actual bugs will be fixed in little-used modules like this?
History
Date User Action Args
2019-01-20 11:14:36samuelcolvinsetrecipients: + samuelcolvin, barry, r.david.murray
2019-01-20 11:14:33samuelcolvinsetmessageid: <1547982873.85.0.188578370535.issue35788@roundup.psfhosted.org>
2019-01-20 11:14:33samuelcolvinlinkissue35788 messages
2019-01-20 11:14:33samuelcolvincreate