From: SourceForge.net <no...@so...> - 2004-01-09 03:47:05
|
Bugs item #865318, was opened at 2003-12-24 06:47 Message generated for change (Comment added) made by armarshall You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=865318&group_id=47611 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: tao.lou (taolouis) Assigned to: Nobody/Anonymous (nobody) Summary: A common question!~~ Initial Comment: Generating notification message... Generating notification message... done. [ronger@dniserver wwwroot]$ Traceback (most recent call last): File "/usr/local/dnicvs/CVSROOT/syncmail", line 322, in ? main() File "/usr/local/dnicvs/CVSROOT/syncmail", line 315, in main blast_mail(subject, people, specs[1:], contextlines, fromhost) File "/usr/local/dnicvs/CVSROOT/syncmail", line 221, in blast_mail conn.connect(MAILHOST, MAILPORT) File "/usr/lib/python2.2/smtplib.py", line 276, in connect for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM): socket.gaierror: (-3, 'Temporary failure in name resolution') ---------------------------------------------------------------------- Comment By: Allen R. Marshall (armarshall) Date: 2004-01-09 03:46 Message: Logged In: YES user_id=147690 THIS IS EASY TO FIX. THE STATEMENT IN THE HEADER THAT LOCALHOST WILL BE USED IF NO MAILHOST IS PASSED IS JUST WRONG. EXPLICITLY SET MAILHOST. Also, I think there is a variant of connect that just takes a hostname and no port. That might work better.. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=865318&group_id=47611 |