Some companies and ISP’s do not allow you to send mail from your machine directly, but force you to use their smarthost. In the Postfix SMTP server we can accomplish this by editing the file /etc/postfix/

relayhost =

We also have to tell Postfix to which domains it may send mail. We do this by adding:

relay_domains =

These two lines together allow your Postfix installation to send mail to through the smarthost

Configuring Postfix to use a smarthost
Tagged on:     

Leave a Reply

Your email address will not be published. Required fields are marked *