mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +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:
parent
1e9c587b92
commit
ce94ef38b2
@ -8,3 +8,7 @@
|
|||||||
/^\s*X-Enigmail:/ IGNORE
|
/^\s*X-Enigmail:/ IGNORE
|
||||||
/^\s*X-Mailer:/ IGNORE
|
/^\s*X-Mailer:/ IGNORE
|
||||||
/^\s*X-Originating-IP:/ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user