Skip to content

smtplib: LMTP broken in the case of multiple RCPT #76984

Open

Description

@jasenbetts
mannequin
BPO 32803
Nosy @warsaw, @middagj
PRs
  • gh-76984: Handle DATA correctly for LMTP with multiple RCPT #18896
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2018-02-08.23:25:09.725>
    labels = ['type-bug', '3.8', '3.9', '3.10', '3.7', 'library']
    title = 'smtplib: LMTP broken in the case of multiple RCPT'
    updated_at = <Date 2020-11-13.23:14:47.716>
    user = 'https://bugs.python.org/jasenbetts'

    bugs.python.org fields:

    activity = <Date 2020-11-13.23:14:47.716>
    actor = 'middag'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2018-02-08.23:25:09.725>
    creator = 'jasen betts'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32803
    keywords = ['patch']
    message_count = 4.0
    messages = ['311854', '311855', '369277', '380939']
    nosy_count = 3.0
    nosy_names = ['barry', 'jasen betts', 'middag']
    pr_nums = ['18896']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32803'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']

    Activity

    1. jasenbetts commented on Feb 8, 2018

      jasenbettsmannequin
      MannequinAuthor

      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

    2. added
      3.8 (EOL)
      3.7 (EOL)
      stdlib
      type-bug
      on Feb 8, 2018
    3. warsaw commented on Feb 8, 2018

      @warsaw
      Member

      3.5 and 3.4 are in security fix only mode, so narrowing the relevant versions.

    4. middagj commented on May 18, 2020

      middagjmannequin
      Mannequin

      Could anyone take a look to the PR?

    5. middagj commented on Nov 13, 2020

      middagjmannequin
      Mannequin

      It would be nice if someone could take a look.

    6. added
      3.9 (EOL)
      3.10 (EOL)
      on Nov 13, 2020
    7. transferred this issue fromon Apr 10, 2022
    8. added 4 commits that reference this issue on Nov 2, 2023
    9. jsbucy commented on Oct 16, 2024

      @jsbucy

      +1 ran into this today

    10. added
      3.12
      3.13
      3.14
      and removed
      3.10 (EOL)
      3.9 (EOL)
      3.8 (EOL)
      3.7 (EOL)
      on Dec 3, 2024
    11. added a commit that references this issue on Mar 25, 2025
    12. added a commit that references this issue on Aug 27, 2026
    13. added a commit that references this issue on Nov 30, 2026
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.123.133.14stdlibtopic-emailtype-bug

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions