Mailing List Archive

Suppressing/Changing headers in bounced messages
Hi,

I am wondering at what level this can be changed/altered. There are
probably many places, but not sure which is the easiest and the best.
I have a server - lists.domain1.name. This is the primary hostname.
I have a Mailman mailing list - saseni@lists.domain2.name which I am
hosting on this server.

When bounces are generated from saseni@lists.domain2.net, I do not want any
occurrence of domain1.net being mentioned as it worries someone.

Take for example in this obfuscated bounce below:

<cut>
From: mailman@lists.domain2.name via lists.domain1.net
<===================== removing/changing this *via .....*
08:55 (31 minutes ago) to saseni-owner

This is a Mailman mailing list bounce action notice:

List: saseni
Member: xxxx.yyy@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
mailman@lists.domain2.name



---------- Forwarded message ----------
From: Mail Delivery System <Mailer-Daemon@lists.domain1.name> <============
changing this...
To: saseni-bounces+xxxx.yyy=minbuza.nl@lists.domain2.name
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 saseni@lists.domain2.name ??

Perhaps this is more to do with Mailman than Exim??

--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/