Setting a “smarthost” in Postfix September 7, 2005Posted by Carthik in administration, ubuntu.
Since Postfix is the default Mailer used in Ubuntu, and since you may need to set a smarthost to possibly send outgoing mail through the SMTP server on a webserver, or your ISP, here’s how to do that:
Edit /etc/postfix/main.cf, and add or edit this line:
relayhost = your.server.com
Followed by restarting the postfix service:
$sudo /etc/init.d/postfix restart
This might be handy particularly for those who use a combination of Mutt + procmail + fetchmail to read their mail – old style.