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

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Jason J. Horton
CC: Peter Galbavy, exim-users
Temat: 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.