Re: [Exim] local-part?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Chris Knipe
Dátum:  
Címzett: Gavin Dunne
CC: exim-users
Tárgy: 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