Postfix: relay local mail through a remote SMTP server

You can configure Postfix to deliver mail by relaying it through your ISPs mail server instead trying to handle it yourself. This can be helpful to work around IP blocks, reverse DNS limitations, spam blocks, etc. Simply add a relayhost directive to your /etc/postfix/ config file like this:

relayhost =

You can also setup SMTP authentication if you SMTP server requires it.

Leave A Reply
All content licensed under the Creative Commons License