Postfix Header Checks

August 17, 2016

Reading time ~1 minute

This is an example of some Postfix Header Checks which I use to help with mail spammers. This has been working as expected really well. One thing to note is that I did need to comment out #/^Precedence:.*bulk/ REJECT We do not accept your spam because it would prevent auto-reply emails from being sent such as vacation or out-of-office responses.

To load these header checks I am using the pcre format defined inside main.cf.

header_checks = pcre:/etc/postfix/header_checks

GitHub Gist

Setup Cyrus SASL with LDAP

Intro Although Dovecot provides it's own SASL, I opted for Cyrus SASL. It is fairly simple to configure both, but in this post I will demons…… Continue reading

Adding multiple mail domains in LDAP

Published on August 17, 2016

Setup Postfix with LDAP

Published on August 01, 2016