From 5678686b57c4bf5199b9f116a928dc973a9a0eeb Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Thu, 27 Nov 2003 00:08:59 +0000 Subject: Typos --- Mailman/Handlers/SMTPDirect.py | 4 ++-- 1 file 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 -- cgit v1.2.3