From: Greg W. <gw...@us...> - 2002-08-05 22:31:46
|
Update of /cvsroot/cvs-syncmail/syncmail In directory usw-pr-cvs1:/tmp/cvs-serv18915 Modified Files: syncmail Log Message: Change default value of MAILHOST to 'localhost'. This seems to be necessary to work with Python 2.2, because smtplib in 2.2 uses the new socket.getaddrinfo() function, and that function doesn't handle the empty string (at least not on Linux or FreeBSD). Closes SF bug #571061. Index: syncmail =================================================================== RCS file: /cvsroot/cvs-syncmail/syncmail/syncmail,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- syncmail 31 Jul 2002 11:45:31 -0000 1.19 +++ syncmail 5 Aug 2002 22:31:42 -0000 1.20 @@ -107,8 +107,8 @@ from cStringIO import StringIO -# Which SMTP server to do we connect to? Empty string means localhost. -MAILHOST = '' +# Which SMTP server to do we connect to? +MAILHOST = 'localhost' MAILPORT = 25 # Diff trimming stuff |