aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorbwarsaw <>2003-11-27 00:08:59 +0000
committerbwarsaw <>2003-11-27 00:08:59 +0000
commit5678686b57c4bf5199b9f116a928dc973a9a0eeb (patch)
treec735cc0c52ba4157fef719170a8b64e62861c8af /Mailman
parent336dd5c939307d1464071a2a04e5bd3bd1ca32de (diff)
downloadmailman2-5678686b57c4bf5199b9f116a928dc973a9a0eeb.tar.gz
mailman2-5678686b57c4bf5199b9f116a928dc973a9a0eeb.tar.xz
mailman2-5678686b57c4bf5199b9f116a928dc973a9a0eeb.zip
Typos
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/Handlers/SMTPDirect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Handlers/SMTPDirect.py b/Mailman/Handlers/SMTPDirect.py
index e1607358..2604c244 100644
--- a/Mailman/Handlers/SMTPDirect.py
+++ b/Mailman/Handlers/SMTPDirect.py
@@ -351,11 +351,11 @@ def bulkdeliver(mlist, msg, msgdata, envsender, failures, conn):
refused = conn.sendmail(envsender, recips, msgtext)
except smtplib.SMTPRecipientsRefused, e:
syslog('smtp-failure', 'All recipients refused: %s, msgid: %s',
- e, msgid
+ e, msgid)
refused = e.recipients
except smtplib.SMTPResponseException, e:
syslog('smtp-failure', 'SMTP session failure: %s, %s, msgid: %s',
- e.smtp_code, smtp_error, msgid)
+ e.smtp_code, e.smtp_error, msgid)
# If this was a permanent failure, don't add the recipients to the
# refused, because we don't want them to be added to failures.
# Otherwise, if the MTA rejects the message because of the message