[Mailman-Users] Adding a description to the"<listname>-bounces"address
Mark Sapiro
mark at msapiro.net
Wed Apr 29 16:14:29 CEST 2009
Mark Sapiro wrote:
>
>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)
It is probably better to make it
msg['sender'] = '"%s" <%s>' % (mlist.description, envsender)
in case the description contains "." or other specials.
--
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