Browse Source

Merge pull request #5504 from FELDSAM-INC/feldsam/do-not-remove-x-mailer

[Postfix] Do not remove X-Mailer header
Patrick Schult 1 year ago
parent
commit
acf9d5480c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      data/conf/postfix/anonymize_headers.pcre

+ 2 - 1
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