Colin Viebrock wrote:
> On 28-Apr-07, at 3:03 PM, mouss wrote:
>
>   
>> Colin Viebrock wrote:
>>     
>>> [snip]
>>> virtual_alias_maps = hash:/etc/postfix/maps/virtual,    regexp:/etc/
>>> postfix/maps/mylists-regex, hash:/etc/postfix/maps/mylists, hash:/ 
>>> var/
>>> lib/mailman/data/virtual-mailman,     proxy:mysql:/etc/postfix/mysql/
>>> virtual_alias_maps.cf
>>>
>>>       
>> make sure these don't contain wildcard aliases, that is
>>     [EMAIL PROTECTED] => [EMAIL PROTECTED]
>> because virtual_alias_maps is used to validate recipients so if an
>> address matches the left-hand, it is considered valid (there is no
>> recursion at recipient validation time).
>>     
>
>
> Some of the aliases in the MySQL table are wildcards, yes.
>
> I suppose the "right way" to handle this would be to duplicate all  
> the "domain1.tld" aliases as "domain2.tld", instead of wildcards?
>   

yes.   with mysql, you can avoid duplication if you only have "1 
recursion depth" aliases (or 2. but high recursion depths complicate the 
query). make the query return a value only if the target address exists.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to