On 10/18/2017 12:42 PM, cac...@quantum-equities.com wrote: > My mail server will receive mail for 3 domains with 6 users, and the > MUA will be on another machine on The Internet> > I'm seeing conflicting info on setting this up. The simplest recipe > is here: > https://blog.tinned-software.net/setup-postfix-for-multiple-domains/
The above is a very incomplete example of virtual_alias_domains. A more complete example is http://www.postfix.org/VIRTUAL_README.html#virtual_alias Users in a virtual alias domain are listed in virtual_alias_maps, and must be rewritten to another domain for delivery, typically a local domain. Please see the ADDRESS_CLASS_README for a description of what these different domain types mean. http://www.postfix.org/ADDRESS_CLASS_README.html > > ... but nothing is mentioned about virtual_users nor any changes to > main.cf . So I'm not sure I trust it. > > Then there's this from Postfix: > http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox This is an example of a virtual mailbox domain. Users for a virtual mailbox domain are listed in virtual_mailbox_maps. > > A different (and it seems more primitive) paradigm than the former. > Again virtual_users is not mentioned. > > Seems to me that the first approach is closer to the truth, but it's > clearly not complete. Can anyone advise? Are your 6 users sharing the 3 domains? eg. dude@1 is the same person as dude@2 and dude@3? If yes, then use virtual_alias_domains. Set one domain as the real domain listed in mydestination, and list the other 2 domains in virtual_alias_domains. Use virtual_alias_maps to define the virtual domain users: dude@2 dude@1 dude@3 dude@1 Where dude@1 is a real user in the 1 domain. http://www.postfix.org/BASIC_CONFIGURATION_README.html http://www.postfix.org/STANDARD_CONFIGURATION_README.html http://www.postfix.org/ADDRESS_CLASS_README.html http://www.postfix.org/documentation.html -- Noel Jones