[Mailman-Users] Changing the "<listname>-bounces" address

David Eisner deisner at gmail.com
Mon Mar 23 20:33:21 CET 2009


On Mon, Mar 23, 2009 at 3:39 AM, Stephen J. Turnbull <stephen at 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


More information about the Mailman-Users mailing list