Creative Commons License

This work is licenced under a Creative Commons Licence.

User login

Restrict Domains Postfix Sends To

Another entry tagged "Er, I can't believe I didn't know that" with a side note in "bleedin' obvious".

To arbitrarily restrict which domains a postfix instance will send to (when receiving email via SMTP) you can simply add the following lines to your

relay_domains =,,
smtpd_recipient_restrictions = reject_unauth_destination

I promise to post some interesting stuff soon, rather than these banal little snippets!