aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers
diff options
context:
space:
mode:
authorbwarsaw <>2003-01-07 05:37:39 +0000
committerbwarsaw <>2003-01-07 05:37:39 +0000
commit90f84ac863ea1c09719a85dec988207ff9acd454 (patch)
treebb91b45f5f6f53fa7ca527d3c1d069b68a54f4c4 /Mailman/Handlers
parente8549f14264a6fa8b5c113893302c40a4df046fd (diff)
downloadmailman2-90f84ac863ea1c09719a85dec988207ff9acd454.tar.gz
mailman2-90f84ac863ea1c09719a85dec988207ff9acd454.tar.xz
mailman2-90f84ac863ea1c09719a85dec988207ff9acd454.zip
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.
Diffstat (limited to 'Mailman/Handlers')
-rw-r--r--Mailman/Handlers/SMTPDirect.py2
1 files changed, 1 insertions, 1 deletions
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,