Re: [Exim] Questions about database lookups

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Rossz Vamos-Wentworth
Dátum:  
Címzett: Exim-users
Tárgy: 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