Author: Tamas TEVESZ Date: To: Philip Hazel CC: 'exim-users@exim.org' Subject: RE: [Exim] mysql Lookup problem?
On Thu, 23 Aug 2001, Philip Hazel wrote:
> What your message said you used was this line:
>
> select if(count(*), "1", "0) from passwd where id='$local_part@$domain'
no, that was me, mistyping the advice (or, checking whether the guy
asking did pay attention or not - as you like it :))
> have now learned that you can do things like
> select if(count(*), "1", "0") from passwd where id='$local_part@$domain'
actually i think that's mysqlism, so it never hurts to have the same
funtionality with lookups