[exim] Suppressing/Changing headers in bounced messages

Inizio della pagina
Delete this message
Reply to this message
Autore: Odhiambo Washington
Data:  
To: exim users
Nuovi argomenti: [exim] Strange SMTP problem, no completed to sender
Oggetto: [exim] 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@??? which I am
hosting on this server.

When bounces are generated from saseni@???, 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@??? 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@???
    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@???



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

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 ^[^#] :-)