RE: [Exim] mysql Lookup problem?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Johansson Jan
Fecha:  
A: 'exim-users@exim.org'
Asunto: RE: [Exim] mysql Lookup problem?
>mysql_user:
>   driver = smartuser
>   condition = ${lookup mysql{select id from passwd \
>                where id='{$local_part@$domain}'} \
>        {$value}{fail}
>   transport = vdom_delivery


uhm, syntax error... now i am using

mysql_user:
   driver = smartuser
   condition = ${lookup mysql{select id from passwd \
                where id='$local_part@$domain'}} \
        {$value}{fail}
   transport = vdom_delivery


Buut now it accepts any adress, not just the ones that exist.. what am i
missing?
(I would really have liked a tad more examples in the aye aye book :) )