Re: [Exim] local-part?

Top Page
Delete this message
Reply to this message
Author: Chris Knipe
Date:  
To: Gavin Dunne
CC: exim-users
Subject: 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