Re: [Exim] local-part?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Chris Knipe
Päiväys:  
Vastaanottaja: Gavin Dunne
Kopio: exim-users
Aihe: Re: [Exim] local-part?
On Sat, 24 Feb 2001, Gavin Dunne wrote:

>######################################################################
>#                    MAIN CONFIGURATION SETTINGS                     #
>######################################################################

>
>local_domains = boomboom.hitmenmusic.com : mysql;SELECT domain_name FROM
>domain
>


Like Philip was so kind to show to me the otherday...

local_domains = boomboom.hitmenmusic.com : mysql:SELECT domain_name FROM
domain WHERE *something* = $key

The importaint thing is the comparision to $key. local_domains dont
expect to get a list of domains (like select * from table does).

It only needs one return value... And hence, the WHERE or LIKE clause in
the SQL statement should be used...

Cheers
Chris Knipe
Vardus (PTY)LTD
Network Administrator