>>>>> "DG" == David Gibbs <[EMAIL PROTECTED]> 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,

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

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to