On Tue, Mar 10, 2009 at 03:57:04PM -0600, LuKreme wrote:
> OK OK, so I go from this:
>
> virtual_alias_maps =
> hash:$config_directory/virtual,
> pcre:$config_directory/virtual.pcre,
> mysql:$config_directory/mysql_virtual_alias_maps.cf
>
> to this:
>
> virtual_alias_maps =
> pcre:$config_directory/virtual.pcre,
> mysql:$config_directory/mysql_virtual_alias_maps.cf
>
> virtual_alias_domains=[list of domains extracted from virtual]
Yes, provided the latter contains only "domain anything" entries and no
"address rewrite-address" entries.
> (That is to say, i add the domains to the v_a_d declaration and remove the
> hash lookup for the maps from the v_a_m declaration)
Yes, provided of course the hash table only contained domains. Or could
just set:
virtual_alias_domains = hash:$config_directory/virtual
virtual_alias_maps =
pcre:$config_directory/virtual.pcre,
mysql:$config_directory/mysql_virtual_alias_maps.cf
hash tables are fine in the context of virtual_alias_domains, while
MySQL/LDAP/... are not recommended.
--
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:[email protected]?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.