On Tue, Mar 10, 2009 at 02:46:29PM -0600, LuKreme wrote: >> The recommended approach for those ready to move beyond 1.1 compatible >> settings is: >> >> virtual_alias_domains = ... explicit list of domains or tables ... >> virtual_alias_maps = ... tables ... >> >> if the number of virtual alias domains is small (1-10) and stable, >> avoid tables entirely just list them in main.cf. Yes you can rely >> on the backwards compatible interface, but it is more confusing and >> in many cases less efficient. > > Well, "more confusing" is relative. The old way is less confusing *to me* > because I'm familiar with it.
Explicit settings are always more clear than implicit settings. Even if you just set: virtual_alias_domains = $virtual_alias_maps and repeat the default, but see below... > I could certainly > > # grep DOMAIN virtual | awk '{print $1}' > > and put that list into main.cf in a virtual_alias_domains declaration. In > fact, there's probably no reason NOT to do this Actually you SHOULD do this unless you find a reason to NOT do it. > as most of my domains have > been moved over to mysql virtual mailboxes -- other than not being sure > what other impact this might have (that is, what other settings I might > need to change). None, but the trivial-rewrite service will be saddled with one less MySQL lookup to determine the address class of a domain. Ideally you also move virtual_mailbox_domains to its own parameter also, and don't rely on implicit lookups of that in virtual_mailbox_maps, and avoid tables when possible. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.