Dan wrote: > I'm building a list of IP ranges (currently CIDRs) and want to use > them to: > > 1) Tag/block messages that arrive (directly and indirectly) from IPs > in these ranges > > 2) Tag/block messages with URIs that point to IPs in these ranges > > > What is the best way to define specific/fixed IP ranges for blocking? > Can the URI lookup system be configured to check A-record IPs against > these lists or if needed, separately defined IP range lists? SA does support ordinary DNS based blacklists using A record or TXT record queries.
See the default 20_dnsbl_tests.cf for examples. http://spamassassin.apache.org/full/3.1.x/dist/rules/20_dnsbl_tests.cf It also supports URI lookups, through another plugin: http://spamassassin.apache.org/full/3.1.x/dist/doc/Mail_SpamAssassin_Plugin_URIDNSBL.html And some associated rules: http://spamassassin.apache.org/full/3.1.x/dist/rules/25_uribl.cf > > Thanks, > Dan >