2019-07-26 07:18:58 +02:00
|
|
|
if /^\s*Received:.*Authenticated sender.*\(Postcow\)/
|
2019-09-06 08:02:52 +02:00
|
|
|
#/^Received: from .*? \([\w-.]* \[.*?\]\)\s+\(Authenticated sender: (.+)\)\s+by.+\(Postcow\) with (E?SMTPS?A?) id ([A-F0-9]+).+;.*?/
|
2024-06-26 10:44:07 +02:00
|
|
|
/^Received: from .*? \([\w\-.]* \[.*?\]\)(.*|\n.*)\(Authenticated sender: (.+)\)\s+by.+\(Postcow\) with (.*)/
|
2019-09-19 06:48:21 +02:00
|
|
|
REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with $3
|
2018-10-23 21:55:55 +02:00
|
|
|
endif
|
2020-05-21 20:04:03 +02:00
|
|
|
if /^\s*Received: from.* \(.*dovecot-mailcow.*mailcow-network.*\).*\(Postcow\)/
|
|
|
|
/^Received: from.* (.*|\n.*)\((.+) (.+)\)\s+by (.+) \(Postcow\) with (.*)/
|
|
|
|
REPLACE Received: from sieve (sieve $3) by $4 (Postcow) with $5
|
|
|
|
endif
|
|
|
|
if /^\s*Received: from.* \(.*rspamd-mailcow.*mailcow-network.*\).*\(Postcow\)/
|
|
|
|
/^Received: from.* (.*|\n.*)\((.+) (.+)\)\s+by (.+) \(Postcow\) with (.*)/
|
|
|
|
REPLACE Received: from rspamd (rspamd $3) by $4 (Postcow) with $5
|
2020-05-20 11:51:00 +02:00
|
|
|
endif
|
2018-10-15 20:52:06 +02:00
|
|
|
/^\s*X-Enigmail/ IGNORE
|
2023-09-04 20:54:49 +02:00
|
|
|
# Not removing Mailer by default, might be signed
|
|
|
|
#/^\s*X-Mailer/ IGNORE
|
2018-10-15 20:52:06 +02:00
|
|
|
/^\s*X-Originating-IP/ IGNORE
|
|
|
|
/^\s*X-Forward/ IGNORE
|
2019-06-01 08:29:53 +02:00
|
|
|
# Not removing UA by default, might be signed
|
|
|
|
#/^\s*User-Agent/ IGNORE
|