1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-22 07:17:05 +00:00

anonymize X-Pgp-Agent, Mime-Version outgoing mail headers; fixes #342

I don't have a mail client that sets Mime-Version with a user agent string so I couldn't really test.
This commit is contained in:
Joshua Tauberer 2015-05-03 14:03:57 +00:00
parent 1e9c587b92
commit ce94ef38b2

View File

@ -8,3 +8,7 @@
/^\s*X-Enigmail:/ IGNORE
/^\s*X-Mailer:/ IGNORE
/^\s*X-Originating-IP:/ IGNORE
/^\s*X-Pgp-Agent:/ IGNORE
# The Mime-Version header can leak the user agent too, e.g. in Mime-Version: 1.0 (Mac OS X Mail 8.1 \(2010.6\)).
/^\s*(Mime-Version:\s*[0-9\.]+)\s.+/ REPLACE $1