Re: [Exim] Questions about database lookups

Top Page
Delete this message
Reply to this message
Author: Rossz Vamos-Wentworth
Date:  
To: Exim-users
Subject: Re: [Exim] Questions about database lookups
Jez Hancock wrote:

>>deny message = ${lookup mysql{select message \
>>    from blacklists where domain='$dnslist_domain'}}
>>  log_message = found in $dnslist_domain
>>  dnslists = ${lookup mysql{select unique domain from blacklist}}

>
>
> Not sure about this one - does it work?


I don't know if it works. I haven't tried it yet.

It's theory, it grabs a list of blacklists to use. It's also supposed
to grab the error message from the database, as well.

Yah, I know it's "distinct", not "unique".

--
Rossz