put this in your main.cf:
Quote:
mydestination = localhost, $myhostname
relay_domains = $mydomain
relay_transport = smtp:[192.168.0.80]
|
Or even better, use postconf to alter the settings for you (-e for edit) - like this:
Code:
postconf -e "mydestination = localhost, $myhostname"
postconf -e "relay_domains = $mydomain"
postconf -e "relay_transport = smtp:[192.168.0.80]"
Then, to make them take effect do:
*If postfix is running:
or
*If postfix isn't running:
*Note: The reason I put in the 'mydestination' parameter is to show you that it shouldn't have $mydomain listed, since that's listed as 'relay_domains'.