[Patches] [ python-Patches-829951 ] Fixes smtplib starttls HELO errors

SourceForge.net noreply at sourceforge.net
Fri Oct 31 10:48:51 EST 2003


Patches item #829951, was opened at 2003-10-25 04:49
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=829951&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: John Draper (jdcrunchman)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fixes smtplib starttls HELO errors

Initial Comment:
smtplib.starttls() needs to include does_esmtp=0. Without 
this, the "size=" suffix on MAIL FROM lines causes server 
errors since the MTA defaults to HELO mode. This is also 
necessary in order to conform to RFC 2487 section 5.2, 
which states after TLS is started, all prior knowledge 
(including esmtp capability) must be discarded.

This bug exists in Python 2.3.2 and earlier.

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2003-10-31 16:48

Message:
Logged In: YES 
user_id=21627

Shouldn't you also reset other state, such as esmtp_features?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=829951&group_id=5470



More information about the Patches mailing list