On Mon, Mar 23, 2009 at 3:39 AM, Stephen J. Turnbull <step...@xemacs.org> wrote:
> I think PHBs would definitely be more comfortable with that than with
> the "-bounces" variant.  But I agree with Brad that *any* change can

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()

-David

-- 
David Eisner     http://cradle.brokenglass.com
------------------------------------------------------
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