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/main.cf config file like this:

relayhost = mail.domain.com

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



Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.135.206.229
To prevent spam please submit by clicking the kitten: