Skip to content

proposed patch for tls wrapped ssl support added to smtplib #42066

Closed

Description

@pgreenwell
mannequin
BPO 1217246
Nosy @devdanzin
Dependencies
  • bpo-1024: documentation for new SSL module
  • Files
  • smtplib_sslwrapper_patch.doff: patch for adding full ssl (smtps) to tls connections
  • 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 = <Date 2009-04-25.21:52:52.306>
    created_at = <Date 2005-06-08.21:16:14.000>
    labels = ['extension-modules', 'type-feature']
    title = 'proposed patch for tls wrapped ssl support added to smtplib'
    updated_at = <Date 2009-04-25.21:52:52.304>
    user = 'https://bugs.python.org/pgreenwell'

    bugs.python.org fields:

    activity = <Date 2009-04-25.21:52:52.304>
    actor = 'ajaksu2'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-04-25.21:52:52.306>
    closer = 'ajaksu2'
    components = ['Extension Modules']
    creation = <Date 2005-06-08.21:16:14.000>
    creator = 'pgreenwell'
    dependencies = ['1024']
    files = ['6688']
    hgrepos = []
    issue_num = 1217246
    keywords = ['patch']
    message_count = 3.0
    messages = ['48452', '55299', '86559']
    nosy_count = 3.0
    nosy_names = ['janssen', 'ajaksu2', 'pgreenwell']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue1217246'
    versions = ['Python 3.1', 'Python 2.7']

    Activity

    1. pgreenwell commented on Jun 8, 2005

      pgreenwellmannequin
      MannequinAuthor

      The current smtplib.py can only do TLS over a standard
      port but it does not have support for an ssl wrapped
      session which is usually offered on port 465.

      I just added a few lines to allow a true ssl socket to
      be created instead of a standard one. I also added a
      one line function to set this option on.

      We have many customers that use clients that can only
      do this type of TLS connection. Postfix and Sendmail
      and most others allow for this too, and I wanted to be
      able to write up some nagios monitoring scripts using
      python. This allowed me to do it.

    2. janssen commented on Aug 26, 2007

      janssenmannequin
      Mannequin

      This probably needs to be re-written with the new SSL support in 2.6.
      See bpo-1024.

    3. devdanzin commented on Apr 25, 2009

      devdanzinmannequin
      Mannequin

      Added to trunk around rev58097.

    4. transferred this issue fromon Apr 9, 2022
    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

      extension-modulesC modules in the Modules dirtype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions