it all depends on the 'mysql lookup file' you're using. This one with 'select_field' and 'additional_conditions' is somehow very little flexible. But there's other format which can also be used and, you'll see, is MUCH more flexible, allowing you to really specify your query and, inside that, do whatever you want.
[root@mail postfix]# cat virtual-alias-maps-mysql.cf user = username password = password dbname = correio hosts = localhost query = SELECT endereco FROM aliases WHERE alias='%s' AND ativa=1 [root@mail postfix]# Em 03/03/16 10:34, Peter Sørensen escreveu:
Hi, Would it be possible to make a query from 2 tables in the mysql lookup Specifying this in additional_conditions ?
-- Atenciosamente / Sincerily, Leonardo Rodrigues Solutti Tecnologia http://www.solutti.com.br Minha armadilha de SPAM, NÃO mandem email gertru...@solutti.com.br My SPAMTRAP, do not email it