only remove ip and host from esmtpsa received header

This commit is contained in:
psy 2021-05-31 15:07:51 +02:00
parent e5e2bdbbd1
commit c35783bfb4
No known key found for this signature in database
GPG key ID: DFF5B17AC3A8ECF5

View file

@ -1,5 +1,4 @@
/^Received:.*with ESMTPSA.*for (.*);/ REPLACE X-Received-For: $1 /^Received:.*(by.*with ESMTPSA.*)$/ REPLACE Received: $1
/^Received:.*with ESMTPSA/ IGNORE
/^X-Originating-IP:/ IGNORE /^X-Originating-IP:/ IGNORE
/^X-Mailer:/ IGNORE /^X-Mailer:/ IGNORE
/^User-Agent:/ IGNORE /^User-Agent:/ IGNORE