[Mailman-Users] Adding a description to the "<listname>-bounces"address

Mark Sapiro mark at msapiro.net
Wed Apr 29 16:03:49 CEST 2009

Ralph Prichard wrote:
>We have some Outlook users, and as this FAQ describes...
>...they see the Sender info glued to the From info.
>Please note:  we're perfectly happy with the <listname>-bounces address 
>itself (I mention that because my searches turned up several people 
>asking if it was possible to change.)
>All I'd like to know is if it's possible to add a descriptive string to 
>that address.  In other words, configure the Sender line to be something 
>Sender:  The Interesting Example List <example-bounces at example.com>
>...instead of what it apparently is now...
>Sender:  example-bounces at example.com
>Even just being able to insert the "description" value from the General 
>Options page would help.

The FAQ you reference talks about altering or removing a "msg['sender']
= envsender" line in SMTPDirect.py.

If you want to insert the description, you could make this line say

    msg['sender'] = '%s <%s>' % (mlist.description, envsender)

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list