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

[Postfix] Do not remove X-Mailer header
This commit is contained in:
Patrick Schult 2023-12-27 18:40:19 +01:00 committed by GitHub
commit acf9d5480c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,8 @@ if /^\s*Received: from.* \(.*rspamd-mailcow.*mailcow-network.*\).*\(Postcow\)/
REPLACE Received: from rspamd (rspamd $3) by $4 (Postcow) with $5 REPLACE Received: from rspamd (rspamd $3) by $4 (Postcow) with $5
endif endif
/^\s*X-Enigmail/ IGNORE /^\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-Originating-IP/ IGNORE
/^\s*X-Forward/ IGNORE /^\s*X-Forward/ IGNORE
# Not removing UA by default, might be signed # Not removing UA by default, might be signed