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.

classification
Title: smtplib: LMTP broken in the case of multiple RCPT
Type: behavior Stage: patch review
Components: Library (Lib) Versions: Python 3.10, Python 3.9, Python 3.8, Python 3.7, Python 3.6, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: barry, jasen betts, middag
Priority: normal Keywords: patch

Created on 2018-02-08 23:25 by jasen betts, last changed 2022-04-11 14:58 by admin.

Pull Requests
URL Status Linked Edit
PR 18896 open middag, 2020-03-10 08:38
Messages (4)
msg311854 - (view) Author: jasen betts (jasen betts) Date: 2018-02-08 23:25
smtplib's LMTP support is broken, 

 LMTP returns multiple responses at and of data if there have been multiple successful RCPT TO  commands, but smtplib::data() only looks for a single response.

see the example conversation on page 3 of RFC2033

This makes LMTP unusable if there is more than one RCPT
msg311855 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2018-02-08 23:33
3.5 and 3.4 are in security fix only mode, so narrowing the relevant versions.
msg369277 - (view) Author: Jacob Middag (middag) * Date: 2020-05-18 17:15
Could anyone take a look to the PR?
msg380939 - (view) Author: Jacob Middag (middag) * Date: 2020-11-13 23:14
It would be nice if someone could take a look.
History
Date User Action Args
2022-04-11 14:58:57adminsetgithub: 76984
2020-11-13 23:14:47middagsetmessages: + msg380939
versions: + Python 3.9, Python 3.10
2020-05-18 17:15:59middagsetmessages: + msg369277
2020-03-10 08:38:51middagsetkeywords: + patch
nosy: + middag

pull_requests: + pull_request18253
stage: patch review
2018-02-08 23:33:24barrysetnosy: + barry

messages: + msg311855
versions: - Python 3.4, Python 3.5
2018-02-08 23:25:09jasen bettscreate