Re: [Exim] dnslists acl wishlist

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Thomas Tonino
Dátum:  
Címzett: Wakko Warner
CC: exim-users
Tárgy: Re: [Exim] dnslists acl wishlist
Wakko Warner wrote:

> I've been looking at RBLs and notice some use different A records depending
> on the type of block they do.  Most of the ones I come across I'd like to
> block all but 1 type.  For instance:
>     dnslists = dnsbl.sorbs.net!=127.0.0.8

>
> What do others thing of this? (I'm willing to code it if I can understand
> the code well enough)


You can do it the other way around. The path I'm on is testing various
blacklists in the connect stage and setting variables, and acting on them later
with ${if.

You could do something similar, by evaluating the result from the lookup. In the
spec:

> When an entry is found in a DNS black list, the variable $dnslist_domain
> contains the name of the domain which matched, $dnslist_value contains the
> data from the entry, and $dnslist_text contains the contents of any
> associated TXT record.