[Mailman-Users] MM 2.1 -- another qrunner crash
Barry A. Warsaw
barry at python.org
Tue Jan 7 06:39:45 CET 2003
>>>>> "DG" == David Gibbs <david at midrange.com> writes:
DG> Any thoughts on this?
| IOError: [Errno 4] Interrupted system call
Just that something's wrong with your mail server, or the connection
between it and Mailman, or something sent the qrunner process a signal
while it was in the middle of talking to your mail server.
Try this patch; it won't avoid the interrupted system call, but it
ought to handle the situation more gracefully (assuming it's a
transient problem).
Untested, but let me know if it works for you.
-Barry
-------------------- snip snip --------------------
Index: SMTPDirect.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Handlers/SMTPDirect.py,v
retrieving revision 2.25
diff -u -r2.25 SMTPDirect.py
--- SMTPDirect.py 6 Nov 2002 04:43:54 -0000 2.25
+++ SMTPDirect.py 7 Jan 2003 05:35:24 -0000
@@ -337,7 +337,7 @@
refused = e.recipients
# MTA not responding, or other socket problems, or any other kind of
# SMTPException. In that case, nothing got delivered
- except (socket.error, smtplib.SMTPException), e:
+ except (socket.error, smtplib.SMTPException, IOError), e:
# BAW: should this be configurable?
syslog('smtp', 'All recipients refused: %s', e)
# If the exception had an associated error code, use it, otherwise,
More information about the Mailman-Users
mailing list