[Mailman-Users] customising: from listname-bounce at domain on behalfof poster@

John Clement johnedwardclement at hotmail.com
Fri Jul 21 11:42:33 CEST 2006


>Changing any of this may require modification of the code in
>Mailman/Handlers/SMTPDirect.com. You can change -bounce to -admin by
>changing
>
>     if envsender is None:
>         if mlist:
>             envsender = mlist.GetBouncesEmail()
>         else:
>             envsender = Utils.get_site_email(extra='bounces')
>
>in SMTPDirect.py to
>
>     if envsender is None:
>         if mlist:
>             envsender = mlist.getListAddress('admin')
>         else:
>             envsender = Utils.get_site_email(extra='admin')
>
>Bounce processing will still work OK since -admin is a (deprecated)
>synonym for -bounces.

Thanks Mark, that's exactly what I needed!  Its all working just as the old 
server is now, which is just what the powers that be are after.

Thanks again!

john





More information about the Mailman-Users mailing list