Re: [exim] dnslists mysql lookup

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeremy Harris
日付:  
To: 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.

- Jeremy