RE: [Exim] mysql Lookup problem?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Johansson Jan
Dátum:  
Címzett: 'exim-users@exim.org'
Tárgy: 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 :) )