Re: [Exim] local-part?

Página Inicial
Delete this message
Reply to this message
Autor: Chris Knipe
Data:  
Para: Gavin Dunne
CC: exim-users
Assunto: 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