[Mailman-Users] [SPAM] - Re: Mailman Problems - Serious - Found word(s) list error in the Text body

Joyce, Wesley K. wjoyce at uvi.edu
Wed Oct 11 04:51:20 CEST 2006


Adding this debuglevel immediatly revealed some useful information.
 
Postfix is returning '421 mahi.fake.com Error: too many errors', apparently after to many failures in recipient.  I recently purged lots of dead accounts that are obviously still listed in my mailing lists.  These seem to correspond to the Server not connected error. What's the best way to address this?
 
send: 'rcpt TO:<ste1232 at fake.com>\r\n'
reply: '550 <ste1232 at fake.com>: Recipient address rejected: User unknown in local recipient table\r\n'
reply: retcode (550); Msg: <ste1232 at fake.com>: Recipient address rejected: User unknown in local recipient table
send: 'rcpt TO:<aflynn at student.umass.edu>\r\n'
reply: '250 Ok\r\n'
reply: retcode (250); Msg: Ok
send: 'rcpt TO:<hay1020 at fake.com>\r\n'
reply: '550 <hay1020 at fake.com>: Recipient address rejected: User unknown in local recipient table\r\n'
reply: retcode (550); Msg: <hay1020 at fake.com>: Recipient address rejected: User unknown in local recipient table
send: 'rcpt TO:<jjackso at fake.com>\r\n'
reply: '250 Ok\r\n'
reply: retcode (250); Msg: Ok
send: 'rcpt TO:<hfinch at fake.com>\r\n'
reply: '250 Ok\r\n'
reply: retcode (250); Msg: Ok
send: 'rcpt TO:<mci0207 at fake.com>\r\n'
reply: '550 <mci0207 at fake.com>: Recipient address rejected: User unknown in local recipient table\r\n'
reply: retcode (550); Msg: <mci0207 at fake.com>: Recipient address rejected: User unknown in local recipient table
send: 'rcpt TO:<col6656 at fake.com>\r\n'
reply: '250 Ok\r\n'
reply: retcode (250); Msg: Ok
send: 'rcpt TO:<can1387 at fake.com>\r\n'
reply: '550 <can1387 at fake.com>: Recipient address rejected: User unknown in local recipient table\r\n'
reply: retcode (550); Msg: <can1387 at fake.com>: Recipient address rejected: User unknown in local recipient table
send: 'rcpt TO:<jwebste at fake.com>\r\n'
reply: '421 mahi.fake.com Error: too many errors\r\n'
reply: retcode (421); Msg: mahi.fake.com Error: too many errors
send: 'rcpt TO:<bry0769 at fake.com>\r\n'
send: 'quit\r\n'

 

________________________________

From: mailman-users-bounces+wjoyce=uvi.edu at python.org on behalf of Joyce, Wesley K.
Sent: Tue 10/10/2006 10:42 PM
To: Mark Sapiro; mailman-users at python.org
Subject: [SPAM] - Re: [Mailman-Users] Mailman Problems - Serious - Found word(s) list error in the Text body



Thanks for the prompt response.  For further analysis, here are the versions I am running.

[root at mahi ~]# rpm -qa mailman
mailman-2.1.5-35.fc4
[root at mahi ~]# rpm -qa python
python-2.4.1-2
[root at mahi ~]#

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:msapiro at value.net]
Sent: Tue 10/10/2006 10:40 PM
To: Joyce, Wesley K.; mailman-users at python.org
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 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



------------------------------------------------------
Mailman-Users mailing list
Mailman-Users at python.org
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/wjoyce%40uvi.edu

Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp





More information about the Mailman-Users mailing list