On Thu, Jul 15, 2010 at 14:17, Victor Duchovni <victor.ducho...@morganstanley.com> wrote: > On Wed, Jul 14, 2010 at 06:38:17PM -0400, Wietse Venema wrote: > >> Phil Howard: >> > Every address in these domains will be rewritten to some other address >> > (not all with the same domain) and sent on their way. Some of them >> > will be rewritten to addresses that do fall into other classes for >> > some kind of local delivery (right now, in virtual mailbox). >> >> You give pretty much the definition of a Postfix virtual alias >> domain. >> >> All addresses are rewritten to an address in a different local or >> remote domain, therefore, the domain must be listed as a virtual >> alias domain, as per ADDRESS_CLASS_README.html. >> > > He mentioned "not all witht the same domain", which is not entirely > clear. I read it to mean that some of the rewrites are to different > local-parts, but with the domain unmodified. In that case, and especially > if this is followed by virtual mailbox delivery, the domain is a > virtual_mailbox_domain with partial forwarding. > > If what the phrase meant was that there are multiple target domains > into which the original domain is rewritten, but no addresses stay > in the original domain, then it is a virtual alias domain.
I think this is what it is. > This is all documented Phil, please read more carefully, and if not sure > what something means, test your understanding in a test configuration that > does not handle live mail traffic. Fortunately I have that test machine, now. I've now tried both ways with a limited set of addresses hand coded (not the full set of data). It works exactly the same either way. I'm working on recoding the script that generates the maps. To split the domains between these two maps, it has to look at whether there are real mailboxes for a domain or not. Basically, the mailbox data will dictate what goes in virtual_mailbox_domains. But for virtual_alias_domains, derived from the forwarding data, it has to exclude the domains that have mailboxes. -- sHiFt HaPpEnS!