From 100e8ab00d7d5c18ecab92b899993403b447a534 Mon Sep 17 00:00:00 2001 From: Kristian Feldsam Date: Mon, 4 Sep 2023 20:54:49 +0200 Subject: [PATCH] [Postfix] Do not remove X-Mailer header some providers, like seznam.cz use X-Mailer in DKIM signatures Signed-off-by: Kristian Feldsam --- data/conf/postfix/anonymize_headers.pcre | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/conf/postfix/anonymize_headers.pcre b/data/conf/postfix/anonymize_headers.pcre index 739237be2..061a4bc08 100644 --- a/data/conf/postfix/anonymize_headers.pcre +++ b/data/conf/postfix/anonymize_headers.pcre @@ -12,7 +12,8 @@ if /^\s*Received: from.* \(.*rspamd-mailcow.*mailcow-network.*\).*\(Postcow\)/ REPLACE Received: from rspamd (rspamd $3) by $4 (Postcow) with $5 endif /^\s*X-Enigmail/ IGNORE -/^\s*X-Mailer/ 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