I followed 'www.postfix.org/VIRTUAL_README.html : As simple as can be:
shared domains, UNIX system accounts' to set style like 'mydestination =
$myhostname localhost.$mydomain ... example.com' for a few domains (except
example has no commas like main.cf).  Regardless of $myhostname, $mydomain
(also tested default/unset) it defers mail, saying $mydomain loops back to
myself.


'mydestination' should be used for the server's hostname/ptr domain.
Additional domains you want to accept email for should be configured as virtual domains.

I believe what the issue is, and i hope im wording this right. Let's say the server's hostname is example1.com and you have additionally added example2.com to 'mydestination'.

Email comes in for u...@example2.com, domain matches mydestination, postfix accepts delivery. Postfix goes to stuff it in the inbox for u...@example2.com. Can't find that user. Can only find u...@example1.com, because this machine is for users of example1.com, because that is this servers hostname. Okay, so postfix will try to deliver the email to the server that has u...@example2.com, MX lookup, oh look, that's me. Loop back.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to