On 8/3/20 11:49 PM, Odhiambo Washington wrote: > Hi, > > I am wondering at what level this can be changed. > I have a server - lists.domain1.name. This is the primary hostname. > I have a list - sas...@lists.domain2.name which I am hosting on this server. > > Take for example in this obfuscated bounce below: > > <cut> > mail...@lists.domain2.name via lists.domain1.net <===================== > removing/changing this *via .....*
I don't think this header munging is done by Mailman. Mailman does this only for DMARC mitigation which is not applied to notifications to the list owner. I suspect this is just the way your MUA is rendering the mail. If I am wrong and this is actually in the raw message as sent from Mailman, I'd need to see more of it to understand what's doing it. > 08:55 (31 minutes ago) to saseni-owner > > This is a Mailman mailing list bounce action notice: > > List: saseni > Member: xxxx....@minbuza.nl > Action: Subscription bounce score incremented. > Reason: Excessive or fatal bounces. > > > > The triggering bounce notice is attached below. > > Questions? Contact the Mailman site administrator at > mail...@lists.domain2.name > > > > ---------- Forwarded message ---------- > From: Mail Delivery System <mailer-dae...@lists.domain1.name> <============ > changing this... > To: saseni-bounces+xxxx.yyy=minbuza...@lists.domain2.name That From: header is created by your MTA. Any changes would need to be done to the MTA. > Cc: > Bcc: > Date: Tue, 04 Aug 2020 08:38:44 +0300 > Subject: Mail delivery failed: returning message to sender > This message was created automatically by mail delivery software. > > A message that you sent could not be delivered to one or more of its > recipients. This is a permanent error. The following address(es) failed: > </cut> > > Is there a way to completely change all occurrences of domain1.net with > domain2.net whenever > a bounce is generated from sas...@lists.domain2.name ?? > > Is there a way to specify the DEFAULT_EMAIL_HOST on a per list basis? You don't mean DEFAULT_EMAIL_HOST. That is only used in creating the host_name attribute for a newly created list or when fix_url is run. For an existing list, you can change it on the list's General Options page Host name this list prefers for email. (Details for host_name) ... Also see <https://wiki.list.org/x/4030592> and <https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Defaults.py.in#L67>. -- 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 To unsubscribe send an email to mailman-users-le...@python.org https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/