From 66d8f33aace5dddce9352caad61f97221fcae4a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Tue, 23 Oct 2018 21:55:55 +0200 Subject: [PATCH] [Postfix] Move "should not"-sign headers out of Postcow check to always remove them, fixes #1911 --- data/conf/postfix/mailcow_anonymize_headers.pcre | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/conf/postfix/mailcow_anonymize_headers.pcre b/data/conf/postfix/mailcow_anonymize_headers.pcre index 1d678ffa..eb3edf7f 100644 --- a/data/conf/postfix/mailcow_anonymize_headers.pcre +++ b/data/conf/postfix/mailcow_anonymize_headers.pcre @@ -1,9 +1,9 @@ if /^\s*Received:.*Authenticated sender.*\(Postcow\)/ /^\s*Received:.*Authenticated sender:(.+)/ REPLACE Received: from localhost (localhost [127.0.0.1]) (Authenticated sender:$1 +endif /^\s*User-Agent/ IGNORE /^\s*X-Enigmail/ IGNORE /^\s*X-Mailer/ IGNORE /^\s*X-Originating-IP/ IGNORE /^\s*X-Forward/ IGNORE -endif