[Mailman-Developers] better logging of undiscernable bounces

Fil fil at rezo.net
Fri Jun 20 19:48:14 CEST 2008


A very useful patch (against 2.1.11rc1)


--- Mailman/Queue/BounceRunner.save.py  2008-06-20 19:34:51.000000000 +0200
+++ Mailman/Queue/BounceRunner.py       2008-06-20 19:35:44.000000000 +0200
@@ -230,7 +230,8 @@ class BounceRunner(Runner, BounceMixin):
         # If that still didn't return us any useful addresses, then send it on
         # or discard it.
         if not addrs:
-            syslog('bounce', 'bounce message w/no discernable addresses: %s',
+            syslog('bounce', 'bounce message to %s w/no discernable
addresses: %s',
+                   mlist.internal_name(),
                    msg.get('message-id'))
             maybe_forward(mlist, msg)
             return


-- Fil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: undiscernable.patch
Type: application/octet-stream
Size: 650 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/mailman-developers/attachments/20080620/870ec71c/attachment.obj>


More information about the Mailman-Developers mailing list