Smart Relay Configuration in Postfix
By Geoff W. on Jan. 26, 2009.
To enable a Smart Relay host in Postfix, simply:
Edit /etc/postfix/main.cf
Search for 'relayhost'
Add your host (with some caveats):
If the Host is an IPAddress:
relayhost = [10.0.0.1]
If the host has a name:
relayhost = domain.tld
If the host runs on an alternative port:
relayhost = [10.0.0.1]:28
or:
relayhost = domain.tld:28

Category: Linux