diff options
| author | Barry Warsaw | 2009-10-31 15:14:37 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2009-10-31 15:14:37 -0400 |
| commit | 6ec26d074d923fa83b65b96c4904459d777781f9 (patch) | |
| tree | 50258e956bc1a7f4eaaa989a34180ebecd3a0de1 /src/mailman/mta/bulk.py | |
| parent | cac646019303ffe85cfac4c00eca7d44f634a03d (diff) | |
| download | mailman-6ec26d074d923fa83b65b96c4904459d777781f9.tar.gz mailman-6ec26d074d923fa83b65b96c4904459d777781f9.tar.zst mailman-6ec26d074d923fa83b65b96c4904459d777781f9.zip | |
Diffstat (limited to 'src/mailman/mta/bulk.py')
| -rw-r--r-- | src/mailman/mta/bulk.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mailman/mta/bulk.py b/src/mailman/mta/bulk.py index 21bbd1713..be740c9cd 100644 --- a/src/mailman/mta/bulk.py +++ b/src/mailman/mta/bulk.py @@ -147,4 +147,10 @@ class BulkDelivery: except smtplib.SMTPRecipientsRefused as error: log.error('%s recipients refused: %s', message_id, error) refused = error.recipients + except smtplib.SMTPResponseException as error: + log.error('%s response exception: %s', message_id, error) + refused = dict( + # recipient -> (code, error) + (recipient, (error.smtp_code, error.smtp_error)) + for recipient in recipients) return refused |
