David Eisner wrote:
> 
> I realize changes like this shouldn't be taken lightly and can have
> far reaching consequences, but this sounds like something we could
> live with here for the time being, i.e. Sender: getting set to the
> "-admin" address instead of the "-bounces" address.
> 
> Does this look acceptable (followed by a 'mailmanctl restart')?
> 
> $ diff -u Mailman/Handlers/SMTPDirect.py.orig
> Mailman/Handlers/SMTPDirect.py
> --- Mailman/Handlers/SMTPDirect.py.orig 2009-03-23 14:53:31.893203000 -0400
> +++ Mailman/Handlers/SMTPDirect.py      2009-03-23 15:15:19.419853000 -0400
> @@ -357,7 +357,8 @@
>      # Errors-To while new ones will at worst ignore the header.
>      del msg['sender']
>      del msg['errors-to']
> -    msg['Sender'] = envsender
> +    # msg['Sender'] = envsender
> +    msg['Sender'] = mlist.getListAddress('admin')
>      msg['Errors-To'] = envsender
>      # Get the plain, flattened text of the message, sans unixfrom
>      msgtext = msg.as_string()


Yes. That's exactly the patch that's required.

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

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to