On Fri, May 05, 2023 at 02:34:53PM +1000, Sean Gallagher via Postfix-users wrote:
> That makes sense, and is exactly what I would expect, but it still needs > to be documented. > > But it does raise another question in my mind. Many places in the > documentation state that the "Local" domain class consists of $mydomain, > $inet_interfaces and $proxy_interfaces. Correct, when the recipient is an address literal user@[ip]. > Presumably any listen address specified in master.cf would also be in > the "Local" domain. Actually, no, that's not the case, sorting of recipients into address classes should not (and does not) depend on the message entry point. This classification is performed by trivial-rewrite(8), which is not aware of or sensitive to the list endpoints of various master.cf services, its decisions are based on inet_interfaces and proxy_interfaces alone (one could have custom overrides of these for the trivial-rewrite service in master.cf, if feeling sufficiently masochistic, but really, don't). Complex configuratoins with multiple views of what's local and what's not are best handled via multiple-instances, where each instance listens on and considers local exactly the address in inet_interfaces, and there are no explicit host/address-specific entries in master.cf. -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org