On 4/8/2010 8:25 AM, Thomas wrote:
Ansgar Wiechers schrieb:
$myhostname and localhost.$mydomain should go into $mydestination, not
into $relay_domains. You can forward all mail to valid local addresses
to your internal host via entries in $alias_maps.
I changed than, thank you!
Also, i moved "localhost" to $mydestination, which i hope is OK ...
Whether or not those domains belong in mydestination depends
on where you want them delivered. If they are to be delivered
on that physical box, mydestination is correct. If those
domains are to be sent on to the internal mailstore, then they
belong in relay_domains.
It's fairly common for a mail MX gateway to have an empty
mydestination setting.
# main.cf
mydestination =
But there is no one correct way; what you use depends on how
you want postfix to behave.
-- Noel Jones