RE: [Exim] mysql Lookup problem?

Top Page
Delete this message
Reply to this message
Author: Johansson Jan
Date:  
To: 'exim-users@exim.org'
Subject: 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 :) )