mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-23 02:04:46 +02:00
2cf952eb36
* postfix: removed TLS1.0/1.1 support (natively) * postfix: upgrade to deb12 + pf to 3.7.9 * compose: increased postfix tag * postfix: shortened TLS syntax with new format of 3.6+
21 lines
1.1 KiB
Plaintext
21 lines
1.1 KiB
Plaintext
if /^\s*Received:.*Authenticated sender.*\(Postcow\)/
|
|
#/^Received: from .*? \([\w-.]* \[.*?\]\)\s+\(Authenticated sender: (.+)\)\s+by.+\(Postcow\) with (E?SMTPS?A?) id ([A-F0-9]+).+;.*?/
|
|
/^Received: from .*? \([\w\-.]* \[.*?\]\)(.*|\n.*)\(Authenticated sender: (.+)\)\s+by.+\(Postcow\) with (.*)/
|
|
REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with $3
|
|
endif
|
|
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
|
|
endif
|
|
/^\s*X-Enigmail/ IGNORE
|
|
# Not removing Mailer by default, might be signed
|
|
#/^\s*X-Mailer/ IGNORE
|
|
/^\s*X-Originating-IP/ IGNORE
|
|
/^\s*X-Forward/ IGNORE
|
|
# Not removing UA by default, might be signed
|
|
#/^\s*User-Agent/ IGNORE
|