Setting up a new server with Mailman and Exim4. Exim is sending and receiving mail and the mailing list is created and accepts mail. It's failing on trying to send it out. In the smtp_failure log, I get this:
Jul 22 10:23:26 2007 (2382) delivery to [EMAIL PROTECTED] failed with code -1: please run connect() first Jul 22 10:23:26 2007 (2382) delivery to [EMAIL PROTECTED] failed with code -1: (111, 'Connection refused') Jul 22 10:23:26 2007 (2382) delivery to [EMAIL PROTECTED] failed with code -1: please run connect() first I set debugging in SMTPDirect.py to 1 and in the error log I get this for every attempted message: Jul 22 10:25:20 2007 qrunner(648): SyntaxError : invalid syntax Jul 22 10:25:20 2007 qrunner(649): Traceback (most recent call last): Jul 22 10:25:20 2007 qrunner(649): File "/var/lib/mailman/bin/qrunner", line 278, in ? Jul 22 10:25:20 2007 qrunner(649): main() Jul 22 10:25:20 2007 qrunner(649): File "/var/lib/mailman/bin/qrunner", line 225, in main Jul 22 10:25:20 2007 qrunner(649): qrunner = make_qrunner(*runners[0]) Jul 22 10:25:20 2007 qrunner(649): File "/var/lib/mailman/bin/qrunner", line 125, in make_qrunner Jul 22 10:25:20 2007 qrunner(649): qrunner = qrclass(slice, range) Jul 22 10:25:20 2007 qrunner(649): File "/usr/lib/mailman/Mailman/Queue/OutgoingRunner.py", line 56, in __init__ Jul 22 10:25:20 2007 qrunner(649): mod = __import__(modname) Jul 22 10:25:20 2007 qrunner(649): File " /var/lib/mailman/Mailman/Handlers/SMTPDirect.py ", line 65 Jul 22 10:25:20 2007 qrunner(649): self.__conn.connect(mm_cfg.SMTPHOST, mm_cfg.SMTPPORT) Jul 22 10:25:20 2007 qrunner(649): ^ Jul 22 10:25:20 2007 qrunner(649): SyntaxError : invalid syntax I assume there's a variable that isn't properly set somewhere but I'm not familiar enough with Python or mailman to know which one. Neither SMTPHOST or SMTPPORT appears to be a directly set variable. ------------------------------------------------------ Mailman-Users mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
