summaryrefslogtreecommitdiff
path: root/Mailman/Queue/BounceRunner.py
diff options
context:
space:
mode:
authorbwarsaw2002-10-15 05:55:53 +0000
committerbwarsaw2002-10-15 05:55:53 +0000
commit5036bbdf24b974ad337b5de2f6cfca10934c3b76 (patch)
tree4b9c54a3c9c14f64db19424fdcc688e5483b71f7 /Mailman/Queue/BounceRunner.py
parentb2bd5da6fb17201e68b5772cb03e42cebfd1106c (diff)
downloadmailman-5036bbdf24b974ad337b5de2f6cfca10934c3b76.tar.gz
mailman-5036bbdf24b974ad337b5de2f6cfca10934c3b76.tar.zst
mailman-5036bbdf24b974ad337b5de2f6cfca10934c3b76.zip
Diffstat (limited to 'Mailman/Queue/BounceRunner.py')
-rw-r--r--Mailman/Queue/BounceRunner.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/Mailman/Queue/BounceRunner.py b/Mailman/Queue/BounceRunner.py
index 6ff9b97cb..ae1b94007 100644
--- a/Mailman/Queue/BounceRunner.py
+++ b/Mailman/Queue/BounceRunner.py
@@ -169,18 +169,16 @@ def maybe_forward(mlist, msg, msgdata, outq):
# Does the list owner want to get non-matching bounce messages?
# If not, simply discard it.
if mlist.bounce_unrecognized_goes_to_list_owner:
- mlist.ForwardMessage(
- msg,
- # Don't send undetected bounces to the moderators
- recips=mlist.owner[:],
- text=_("""\
+ mlist.ForwardMessage(msg,
+ text=_("""\
The attached message was received as a bounce, but either the bounce format
was not recognized, or no member addresses could be extracted from it. You,
as the list administrators have requested to receive all unrecognized bounce
messages.
"""),
- subject=_('Uncaught bounce notification'))
+ subject=_('Uncaught bounce notification'),
+ tomoderators=0)
syslog('bounce', 'forwarding unrecognized, message-id: %s',
msg.get('message-id', 'n/a'))
else: