On Mon, Oct 16, 2023 at 10:08:37AM -0500, B Williams wrote: > Huge thank you to Viktor and Tom for their ideas. I ended up using > this route (without the hash maps as the config doesn’t change much).
Note that Tom's suggestion doesn't quite work as advertised. The configuration parameters: - mydestination - virtual_alias_domains - virtual_mailbox_domains - relay_domains Are mainly processed in the trivial_rewrite(8) process, which rewrites addresses to standard form and classifies them by address class. The smtpd(8) service determines whether to accept a recipient, or not, based on the address class returned by trivial-rewrite(8). Therefore, master.cf overrides of "mydestination", ... in smtpd(8) don't work the way one might naïvely expect. So to limit which domains you accept to be a subset of the local domains, you need actual access(5) tables, not the suggested parameter overrides. -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org