Thanks for the prompt response.  For further analysis, here are the versions I 
am running.
 
[EMAIL PROTECTED] ~]# rpm -qa mailman
mailman-2.1.5-35.fc4
[EMAIL PROTECTED] ~]# rpm -qa python
python-2.4.1-2
[EMAIL PROTECTED] ~]# 

I will add the line
self.__conn.set_debuglevel(1)
restart mailman 
 
and further inspect the logs.  Thanks for the step.
 
BTW, should I upgrade python or mailman, or try to resolve this first?

________________________________

From: Mark Sapiro [mailto:[EMAIL PROTECTED]
Sent: Tue 10/10/2006 10:40 PM
To: Joyce, Wesley K.; [email protected]
Subject: Re: [Mailman-Users] Mailman Problems - Serious



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 [EMAIL PROTECTED], 
>size=11496, message-id=<[EMAIL PROTECTED]>, 41 failures
>
>[EMAIL PROTECTED] mailman]# tail smtp
>Oct 10 20:55:55 2006 (26960) <[EMAIL PROTECTED]> smtp for 41 recips, completed 
>in 22.191 seconds
>[EMAIL PROTECTED] mailman]# tail smtp-failure
>Oct 10 20:55:55 2006 (26960) delivery to [EMAIL PROTECTED] failed with code 
>-1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to [EMAIL PROTECTED] failed with code 
>-1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to [EMAIL PROTECTED] failed with code 
>-1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to [EMAIL PROTECTED] failed with code 
>-1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to [EMAIL PROTECTED] failed with code 
>-1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to [EMAIL PROTECTED] failed with code 
>-1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to [EMAIL PROTECTED] failed with code 
>-1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to [EMAIL PROTECTED] failed with code 
>-1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to [EMAIL PROTECTED] failed with code 
>-1: Server not connected
>Oct 10 20:55:55 2006 (26960) delivery to [EMAIL PROTECTED] failed with code 
>-1: Server not connected
>
>smtp-failure
>
>Oct 08 04:09:22 2006 (10608) delivery to [EMAIL PROTECTED] failed with code 
>-1: (4
>, 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to [EMAIL PROTECTED] failed with code 
>-1: (4
>, 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to [EMAIL PROTECTED] failed with code 
>-1: (4
>, 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to [EMAIL PROTECTED] failed with code 
>-1: (4
>, 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to [EMAIL PROTECTED] failed with code 
>-1: (4
>, 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to [EMAIL PROTECTED] failed with code 
>-1: (4,
> 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to [EMAIL PROTECTED] failed with code 
>-1: (4
>, 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to [EMAIL PROTECTED] failed with code 
>-1: (4
>, 'Interrupted system call')
>Oct 08 04:09:22 2006 (10608) delivery to [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



------------------------------------------------------
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&amp;file=faq01.027.htp

Reply via email to