From 966aac6359aee51e64c13bb9743ee79717e90bf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Peters?= Date: Thu, 31 May 2018 10:01:56 +0200 Subject: [PATCH] Update u_e-postfix-anonym_headers.md --- docs/u_e-postfix-anonym_headers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/u_e-postfix-anonym_headers.md b/docs/u_e-postfix-anonym_headers.md index 22e088226..2ec928fe0 100644 --- a/docs/u_e-postfix-anonym_headers.md +++ b/docs/u_e-postfix-anonym_headers.md @@ -1,8 +1,8 @@ To disguise your users details like IP, email client, etc. we have to create a new file in `data/conf/postfix/mailcow_anonymize_headers.pcre` and insert the following: ``` -/^\s*Received:[^\)]+\)\s+\(Authenticated sender:(.+)/ - REPLACE Received: from localhost (localhost [127.0.0.1]) (Authenticated sender:$1 +/^\s*Received:.*Authenticated sender:(.+)/ + REPLACE Received: from localhost (localhost [127.0.0.1]) (Authenticated sender:$1 /^\s*User-Agent/ IGNORE /^\s*X-Enigmail/ IGNORE /^\s*X-Mailer/ IGNORE