Re: [Exim] Questions about database lookups

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Rossz Vamos-Wentworth
Ημερομηνία:  
Προς: Exim-users
Αντικείμενο: 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