On 11/3/24 4:35 AM, Wietse Venema via Postfix-users wrote:
David Chmelik via Postfix-users:
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.

I read an article saying that documentation is wrong: can't add extra
domains to $mydestination or not only do they loop back to $mydomain, but
apparently doesn't set properly rather than loops back  from itself to
literally itself.
This is false (assuming that you didn't mess with the local_transport
setting (default: "local_transport = local:$myhostname").

I did have $mydomain working alone without 'looping back to itself'.
See example 2 in
https://www.postfix.org/BASIC_CONFIGURATION_README.html#mydestination

I'm using http://www.postfix.org/VIRTUAL_README.html#local , which seems to say $mydestination can have multiple domains: is that correct?  It says 'This approach makes no distinction between canonical and hosted domains. Each username can receive mail in every domain.', 'mail for i...@my.host.name is delivered to the same UNIX system account as mail for i...@example.com'.  I think it works to receive mail for all my domains, but what I meant to say is when I send test mails to my other email addresses (like on different/unrelated server/domain or four major free email providers) it's now deferred except within localhost... doesn't seem to even leave my server.

_______________________________________________
Pan-users mailing list
Pan-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pan-users

Reply via email to