[Mailman-Users] Mailman Problems - Serious

Mark Sapiro msapiro at value.net
Wed Oct 11 04:40:23 CEST 2006


Joyce, Wesley K. wrote:

>I am getting concerned about the stability of mailman.  About 3 weeks ago I encountered the bug that required I change Bouncer.py line. time.strftime('%d-%b-%Y', day + (0,)*6)) to time.strftime('%d-%b-%Y', day + (0,0,0,0,1,0))).
>
>Since then, I have started encountering errors like this


The change above has nothing to do with the problems below except that
the fact that you had to make the above change suggests you upgraded
Python from pre 2.1.4 to 2.1.4 and that may be related or some other
change you made at that time may be related.


>Oct 10 20:55:55 2006 (26960) post to stxstudents from ldimeo at fake.dom, size=11496, message-id=<B317D254252B7F488367B5BD10F725230187B6E5 at mail01.fake.dom>, 41 failures
>
>[root at mahi mailman]# tail smtp
>Oct 10 20:55:55 2006 (26960) <B317D254252B7F488367B5BD10F725230187B6E5 at mail01.fake.dom> smtp for 41 recips, completed in 22.191 seconds
>[root at mahi mailman]# tail smtp-failure
>Oct 10 20:55:55 2006 (26960) delivery to aflynn at student.umass.edu failed with code -1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to hay1020 at fake.dom failed with code -1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to jjackso at fake.dom failed with code -1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to hfinch at fake.dom failed with code -1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to mci0207 at fake.dom failed with code -1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to col6656 at fake.dom failed with code -1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to can1387 at fake.dom failed with code -1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to jwebste at fake.dom failed with code -1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to bry0769 at fake.dom failed with code -1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to scox at fake.dom failed with code -1: Server not connected
>
>smtp-failure
>
>Oct 08 04:09:22 2006 (10608) delivery to jephrai at fake.dom failed with code -1: (4
>, 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to lrichar at fake.dom failed with code -1: (4
>, 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to tchalle at fake.dom failed with code -1: (4
>, 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to dconnor at fake.dom failed with code -1: (4
>, 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to ewhitem at fake.dom failed with code -1: (4
>, 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to mmyers at fake.dom failed with code -1: (4,
> 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to cenriqu at fake.dom failed with code -1: (4
>, 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to dfontai at fake.dom failed with code -1: (4
>, 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to afrett at fake.dom failed with code -1: (4,
> 'Interrupted system call')
> 
>My MTA, which is postfix and on the localhost, and nothing has changed on that end.  I really don't know where to begin.  My searches on the archives have turned up solutions that are not working for me.  How to I troubleshoot thing?


The above messages seem to say that you are losing the connection to
your MTA. The underlying problems are being detected in Python's
smtplib. You can get more debugging information in Mailman's 'error'
log by altering Mailman/Handlers/SMTPDirect.py as follows. Find

    def __connect(self):
        self.__conn = smtplib.SMTP()
        self.__conn.connect(mm_cfg.SMTPHOST, mm_cfg.SMTPPORT)
        self.__numsessions = mm_cfg.SMTP_MAX_SESSIONS_PER_CONNECTION

and add a line so it becomes

    def __connect(self):
        self.__conn = smtplib.SMTP()
        self.__conn.set_debuglevel(1)
        self.__conn.connect(mm_cfg.SMTPHOST, mm_cfg.SMTPPORT)
        self.__numsessions = mm_cfg.SMTP_MAX_SESSIONS_PER_CONNECTION

Then restart Mailman.

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list