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
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue