[Mailman-Users] Can't send messages to list

Mark Sapiro msapiro at value.net
Sun Aug 27 19:05:51 CEST 2006


Eric Howland wrote:
>
>I have this problem as well. Mark's response describes my case.  In my
>smtp-failures file I get:
>
>[root at raid src]# tail /var/log/mailman/smtp-failure
>Aug 27 04:20:05 2006 (23140) delivery to duga at wisc.edu failed with
>code -1: (110, 'Connection timed out')
>Aug 27 04:20:05 2006 (23140) delivery to mcvandin at wisc.edu failed with
>code -1: (110, 'Connection timed out')
>Aug 27 04:20:05 2006 (23140) delivery to bagbymc at email.uc.edu failed
>with code -1: (110, 'Connection timed out')
>Aug 27 04:20:05 2006 (23140) delivery to
>rwenzlaff at neuroscience.mcw.edu failed with code -1: (110, 'Connection
>timed out')
>Aug 27 04:20:05 2006 (23140) delivery to nazes at charter.net failed with
>code -1: please run connect() first
>Aug 27 04:20:05 2006 (23140) delivery to diane at thekeyes.org failed
>with code -1: please run connect() first
>Aug 27 04:23:22 2006 (23140) Low level smtp error: (110, 'Connection
>timed out'), msgid:
><mailman.0.1156389782.2645.friends_wingra at danenet.org>
>Aug 27 04:23:33 2006 (23140) delivery to cvasseur at 0instant.com failed
>with code -1: (110, 'Connection timed out')
>Aug 27 04:26:53 2006 (23140) Low level smtp error: (110, 'Connection
>timed out'), msgid: <001c01c6c72e$9f8b7e20$2502a8c0 at VALUED5BD4C299>
>Aug 27 04:26:57 2006 (23140) Low level smtp error: please run
>connect() first, msgid:
><001c01c6c72e$9f8b7e20$2502a8c0 at VALUED5BD4C299>
>
>
>I take it that the Low level smtp errors are comming from my MTA
>(postfix). In my case the problem was intermittent untill about a week
>ago when it became steady.  I have posted to the postfix list but I
>still have no understanding of who should be running connect().


The "please run connect() first" message comes from low down in the
Python library and is really a message to SMTPDirect. It is a result
in this case of SMTPDirect trying to continue to talk on the
connection that timed out.

Is the MTA in the same machine (localhost) as Mailman? If so, we can
rule out a flakey network connection. If not, that may be the issue.

Otherwise, the issue seems to be that Postfix is taking way too long to
handle Mailman's SMTP transactions.


>[root at raid src]# tail /var/log/mailman/smtp
>Aug 27 04:20:05 2006 (23140)
><20060822223840.11493.qmail at web54403.mail.yahoo.com> smtp for 93
>recips, completed in 189.377 seconds
>Aug 27 04:23:33 2006 (23140)
><mailman.0.1156389782.2645.friends_wingra at danenet.org> smtp for 1
>recips, completed in 199.497 seconds
>
>I get lots of entries arround (but not exactly) 189 seconds.  I wonder
>if this is some kind of timeout.


I don't know.


>I also get in my error file:
>
>Aug 27 04:16:54 2006 (23140) Traceback (most recent call last):
>  File "/var/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
>    self._onefile(msg, msgdata)
>  File "/var/mailman/Mailman/Queue/Runner.py", line 167, in _onefile
>    keepqueued = self._dispose(mlist, msg, msgdata)
>  File "/var/mailman/Mailman/Queue/OutgoingRunner.py", line 73, in _dispose
>    self._func(mlist, msg, msgdata)
>  File "/var/mailman/Mailman/Handlers/SMTPDirect.py", line 162, in process
>    conn.quit()
>  File "/var/mailman/Mailman/Handlers/SMTPDirect.py", line 89, in quit
>    self.__conn.quit()
>  File "/usr/lib/python2.2/smtplib.py", line 702, in quit
>    self.docmd("quit")
>  File "/usr/lib/python2.2/smtplib.py", line 358, in docmd
>    return self.getreply()
>  File "/usr/lib/python2.2/smtplib.py", line 332, in getreply
>    line = self.file.readline()
>IOError: [Errno 104] Connection reset by peer
>
>Aug 27 04:16:55 2006 (23140) SHUNTING:
>1156261104.130233+d719c44d4802cd25a866736a4dcd4b9725db557c
>
>
>Is the reset by peer comming from the MTA or beyond the MTA?


The peer is the MTA. The error comes about because SMTPDirect is trying
to close the connection by sending a QUIT and is not receiving a 221
or any other response; the connection is closed by the MTA before any
reply is received.

-- 
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