New submission from Manuel Pégourié-Gonnard <m...@elzevir.fr>: Hi,
The verify method of SMTP objects created with smtplib doesn't work properly with servers running Postfix, due to quoting problems: the address is enclosed in pointed brackets by the method, which changes the way it is interpreted by the server. The attached demo file uses the mx1.nic.fr server, which runs Postfix and exhibits the problem at the time of the writing. RFC 5321 says the argument of VRFY is a string representing a "user name", without saying much about what a "user name" is, but nothing suggests it should be quoted in pointed brackets. Moreover, the example in D.4 doens't use any quoting. Anyway, even if Postfix was wrong, I think it would be worth trying to support it, since it is quite widely used. Thanks! ---------- components: Library (Lib) files: bsl.py messages: 96284 nosy: mpg severity: normal status: open title: smtplib: verify breaks with Postfix servers type: behavior versions: Python 2.5 Added file: http://bugs.python.org/file15530/bsl.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7484> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com