Author: Marc Perkel Date: To: Mike Cardwell CC: Exim Mailing List Subject: Re: [exim] How would you do this?
Mike Cardwell wrote: > Marc Perkel wrote:
>
>
>> Looking up NZ records as follows:
>>
>> set acl_c_ns = ${lookup dnsdb{ns=$acl_c_sender_host_domain}{$value}fail}
>>
>> But what I want to do is look up each nameserver to see if any match a
>> black list. How would I do that?
>>
>
> Define the blacklist. Is it a list of domain names or ip addresses for
> example? I'm assuming the list will be made up of domains like the
> following, but you weren't completely clear:
>
> ns1.example.com
> ns1.badnameserver.org
>
> Define the lookup. Is it a dnsbl style lookup or something else?
>
> Mike
>
> Yes - I want to look up each name in a name based dnsbl. What I'm hoping
to do is lookup/create a name based blacklist based on the nameserver
information.