<IfDefine HAVE_DNSBL_LOOKUP> <IfModule !mod_dnsbl_lookup.c> LoadModule dnsbl_lookup_module extramodules/mod_dnsbl_lookup.so </IfModule> </IfDefine> <IfModule mod_dnsbl_lookup.c> # Enable module #DnsblLookups On # # The following define positive matches for the chain I call "spammers" # # Any non-failure result from sbl.spamhaus.org is a positive match #DnsblZone spammers sbl.spamhaus.org. any # # The 127.0.0.2 result from cbl.abuseat.org is a positive match #DnsblZone spammers cbl.abuseat.org. 127.0.0.2 # # Only the specific codes 127.0.0.5,6,9 from dnsbl.sorbs.net are positive # The module internally caches queries, only one actual DNS query is made #DnsblZone spammers dnsbl.sorbs.net. 127.0.0.5 #DnsblZone spammers dnsbl.sorbs.net. 127.0.0.6 #DnsblZone spammers dnsbl.sorbs.net. 127.0.0.9 # # The following define positive matches for the chain I call "whitelist" # # A zone designed for whitelisting, any mail from Canada is positive #DnsblZone whitelist ca.countries.nerd.dk. 127.0.0.2 # # A local zone we run, customers or partners of ours are positive #DnsblZone whitelist customers.dnsbl any # # A chain for RHSBL lookups (distinct from DNSBL chains) # #RhsblZone spammers rhsbl.ahbl.org. 127.0.0.2 </IfModule>