1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-11-30 08:59:40 +02:00

[Postfix] Fix anonymize headers

This commit is contained in:
andryyy 2019-09-08 10:29:06 +02:00
parent 8608ded0ed
commit 87e99e53d9
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -1,6 +1,6 @@
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-.]* \[.*?\]\)\s+\(Authenticated sender: (.+)\)\s+by.+\(Postcow\) with (.*)/
/^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 $2
endif
/^\s*X-Enigmail/ IGNORE