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 macfreek
Recipients barry, macfreek, r.david.murray
Date 2013-12-28.20:44:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1388263457.72.0.596022822689.issue20083@psf.upfronthosting.co.za>
In-reply-to
Content
Since smtplib.quoteaddr() uses email.utils.parseaddr(), and the patch for issue 11783 fixes email.utils.parseaddr(), that patch will hopefully solve this issue as well (though a test case wouldn't hurt for sure).

What I had not realised is that hostnames are also used elsewhere, in particular in the ehlo() and helo() but also in connect(). Do you consider that a separate issue or part of this issue?

Are there other places where you think a fix is needed?

I may be able to create a patch, though bear with me: I never checked out the source for Python or the standard library (other than installing point releases through my package manager).
History
Date User Action Args
2013-12-28 20:44:17macfreeksetrecipients: + macfreek, barry, r.david.murray
2013-12-28 20:44:17macfreeksetmessageid: <1388263457.72.0.596022822689.issue20083@psf.upfronthosting.co.za>
2013-12-28 20:44:17macfreeklinkissue20083 messages
2013-12-28 20:44:17macfreekcreate