From 90f84ac863ea1c09719a85dec988207ff9acd454 Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Tue, 7 Jan 2003 05:37:39 +0000 Subject: bulkdeliver(): We've had reports of an IOError (code == 4, interrupted system call) during the conn.sendmail() call. This just sets the message up to retry later. --- Mailman/Handlers/SMTPDirect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman/Handlers') diff --git a/Mailman/Handlers/SMTPDirect.py b/Mailman/Handlers/SMTPDirect.py index 3033fdbd..45c198a2 100644 --- a/Mailman/Handlers/SMTPDirect.py +++ b/Mailman/Handlers/SMTPDirect.py @@ -337,7 +337,7 @@ def bulkdeliver(mlist, msg, msgdata, envsender, failures, conn): 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, -- cgit v1.2.3