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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Jason J. Horton
Kopio: Peter Galbavy, exim-users
Aihe: 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.