Re: [exim] Lookups for blacklisted links within messages

Top Page
Delete this message
Reply to this message
Author: Mike Cardwell
Date:  
To: Exim Users List
Subject: Re: [exim] Lookups for blacklisted links within messages
Marc Perkel wrote:

>>>>> What I'm thinking is that the list come back from perl in a variable.
>>>>> Then you use a recursive ACL to parse out eack one and test each one
>>>>> against several lists. If you find a bad one you reject the message.
>>>>>
>>>>> Any perl gurus here? I'll do the ACL.
>>>>>
>> Why would you need a "recursive" acl to check multiple domains against a
>> blacklist?
>> http://www.exim.org/exim-html-current/doc/html/spec_html/ch40.html#SECTmulkeyfor
> I'm not just looking it up in one black list. I'm looking it up first in
> white lists and if not listed then I look it up in black lists. So I'm
> doing complicated processing.


Then you're better off using ${map}/${forall}/${forany} with dnsdb
lookups than doing a recursive acl. I'm pretty sure exim's maximum acl
recursion depth is quite low.

But then if you're going to do that, you may as well shift the dnsbl
lookups into the perl as the perl code would probably be saner than the
exim config. http://oreilly.com/catalog/9780596520106/index.html

Mike