mailinabox/conf
Michael Kropat d904feb399 Filter privacy-sensitive headers on outgoing mail
By default, Postfix adds a Received header — on all mail that you send —
that lists the IP of the device you sent the mail from.  This feature is
great if you're a mail provider and you need to debug why one user is
having sending issues.  This feature is not so great if you run your own
mail server and you don't want every recipient of every email you send
to know the device and IP you sent the email from.

To limit this filtering to outgoing mail only, we apply the filters just
to the submission port.  See these guides [1] [2] for more context.

I have taken care to make the configuration logic be **idempotent**.
Unfortunately, due to the syntax of `master.cf`, this requires a small
amount of `sed` and `perl` wizardry :(

In addition to filtering the Received header, the
`submission_header_checks` file is currently configured to filter other,
privacy-sensitive headers.  If people object, we can remove those
filters.  The important thing is that the IP be filtered or masked.

  [1] http://askubuntu.com/a/78168/11259
  [2] http://www.void.gr/kargig/blog/2013/11/24/anonymize-headers-in-postfix/
2014-06-08 15:38:49 -04:00
..
dovecot_sieve.txt move the sieve script configuration to tools/mail.py 2013-09-01 10:40:12 -04:00
management-initscript move management into a daemon service running as root 2014-06-03 13:56:40 +00:00
nginx-ssl.conf update nginx SSL options, fixes #61 2014-06-03 14:06:02 +00:00
nginx.conf redirect all HTTP to HTTPS and enable HSTS, closes #18 2014-05-14 12:15:11 +00:00
phpfcgi-initscript add php-fastcgi init script to start the FastCGI process needed to run Roundcube (and any other PHP scripts, really) 2014-03-17 00:03:19 +00:00
submission_header_checks Filter privacy-sensitive headers on outgoing mail 2014-06-08 15:38:49 -04:00
www_default.html branding 2014-04-17 18:05:05 -04:00