Hello, 

Mike Cardwell writes: 

> Instead of using "dnslists", you could perhaps use the dnsdb lookup type 
> as a workaround. Example 
> 
> REVERSE_SENDER_IP = 
> ${sg{$sender_host_address}{\N^(\d+)\.(\d+)\.(\d+)\.(\d+)$\N}{\$4\.\$3\.\$2\.\$1}}
>  
> 
> That creates a macro which returns $sender_host_address with the octets 
> reversed. Then do: 
> 
> condition = ${lookup 
> dnsdb{defer_never,REVERSE_SENDER_IP.zen.spamhaus.org}{true}{false}} 
> 
> This is equivalent to: 
> 
> dnslists = zen.spamhaus.org

DynaStop does this automatically and returns a code (a code 2) just for 
non-reversible domains (RDN).  The results are cached generating a big 
saving in DNS queries and bandwith.  I average 80% cache hit ratio from 
DynaStop (YMMW though).  DynaStop can alternatively greylist non-RDNs for 
any given period if prefered. 

 --- 

DynaStop: Stopping spam one dynamic IP address at a time.
http://tanaya.net/DynaStop/

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to