Re: [Exim] equivilent of lsearch* on mysql/pgsql lookups?

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Jason J. Horton
CC: Peter Galbavy, exim-users
Subject: Re: [Exim] equivilent of lsearch* on mysql/pgsql lookups?
On Mon, 12 Jun 2000, Jason J. Horton wrote:

> so, in my director, instead of:
>    query = "select username from exim where username='$local_part' and
> domain='$domain'"

>
> I would use:
>    queries = " select username from exim where username='$local_part' and
> domain='$domain':\
>                select username from exim where username='_catchall' and
> domain='$domain'"

>
> Does that look right?


Yup.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.