Συντάκτης: Jeremy Harris Ημερομηνία: Προς: exim-users @ exim. org Αντικείμενο: Re: [exim] dnslists mysql lookup
Chris Knipe wrote: > deny dnslists = ${lookup mysql{SELECT RBLList FROM RBLTable WHERE Domain
> = '$domain'}}
>
> The above, a extensively simplified query.
>
> Now, the query returns a list of RBL Hosts that I want exim to check
> against. However, running via a debug, exim only checks the first
> record returned by MySQL, and not against all the records....
Is that a multiline return from the DB?
dnslists wants a colon-seperated list. Possibly you
need to postprocess the DB return, using (e.g.) ${sg }
to convert newlines to colons.