Commit ce94ef38 authored by Joshua Tauberer's avatar Joshua Tauberer

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.
parent 1e9c587b
...@@ -8,3 +8,7 @@ ...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment