[Mailman-Developers] better logging of undiscernable bounces

Barry Warsaw barry at python.org
Sat Jun 21 04:06:10 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jun 20, 2008, at 1:48 PM, Fil wrote:

> 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

Seems reasonable to me!
+1

- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iQCVAwUBSFxiFXEjvBPtnXfVAQIb4wP7BJBzA2D/1CL2DEojxLVkOEOvrbPv5Z33
OisnDgmMYEYp6Ju6luJme7hRNfV/O1wLFvuGmC++s8P0u6Dm9fIyjt7bvoSN2Qb6
Ss5UhGuf7YoJZuwkAwcIlkUSpbtQWdaRU+TpWcBe8n8sUgiLPihlgTLYfnfOYfox
37QSpVRLvm8=
=E6rp
-----END PGP SIGNATURE-----


More information about the Mailman-Developers mailing list