Frank Millman wrote:
Before (not working)
--------------------
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = example.com
myhostname = fcserver.example.com
myorigin = $mydomain

example.com is not in $mydestination, so Postfix relays all example.com mail to $relayhost.

After (working)
---------------
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = com
myhostname = example.com
myorigin = $mydomain

You changed $myhostname to example.com, which put example.com in $mydestination, so Postfix now delivers example.com mail to your mailboxes. Of course, you now have an incorrect $mydomain and $myhostname.

The following should work:

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = example.com
myhostname = fcserver.example.com
myorigin = $mydomain

Reply via email to