[Mailman-Developers] [Patch] SMTPDirect.py wrongly closing the connection

Marc MERLIN marc_news@vasoftware.com
Thu, 13 Dec 2001 08:17:46 -0800


On Thu, Dec 13, 2001 at 08:20:06AM -0500, Barry A. Warsaw wrote:
> Actually using pass instead of 1 would be the Pythonically correct
> thing to do (pass is essentially a noop).
 
Ah, yeah. Thanks.
 
> I /think/ changing conn.quit() to conn.close() is the right change,

Nope.
2001-12-13 08:13:34 SMTP connection from localhost (moremagic.merlins.org) [127.
0.0.1] lost
2001-12-13 08:13:35 SMTP connection from localhost [127.0.0.1]
2001-12-13 08:13:35 SMTP syntax error in "mail FROM:<test-bounces@list.merlins.o
rg> size=2215" H=localhost [127.0.0.1] U=mailman: malformed address: size=2215 m
ay not follow <test-bounces@list.merlins.org>
2001-12-13 08:13:35 SMTP connection from localhost [127.0.0.1] lost

> but I'm not 100% sure and I don't have time to test it right now.  Can
> you give it a try and see if that works for you?

Sorry, it doesn't.
I put back a pass instead, and I'm  leaving for a snowboard trip today, so I
think I'll leave the lists alone until I come back sunday :-)

Marc
-- 
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
  
Home page: http://marc.merlins.org/   |   Finger marc_f@merlins.org for PGP key