On Tue, 2014-08-26 at 11:22 -0400, Kris Deugau wrote: > Is there a way to prevent a URI from being looked up in DNSBLs, without > *also* preventing that URI from matching on uri regex rules? > > I would like to add quite a few popular URL shorteners to > uridnsbl_skip_domain, but then I can't match those domains in uri regex > rules for feeding "x and URL shortener" meta rules.
Works for me. $ echo -e "\n example.com" | ./spamassassin -D --cf="uri HAS_URI /.+/" dbg: rules: ran uri rule HAS_URI ======> got hit: "http://example.com" $ ./spamassassin --version SpamAssassin version 3.3.3-r1136734 running on Perl version 5.14.2 $ grep example.com rules/25_uribl.cf uridnsbl_skip_domain example.com example.net example.org > Still using SA 3.3.2; if the behaviour of uridnsbl_skip_domain has been > narrowed down in 3.4 to only skipping the listed domains on DNSBL > lookups (as per its name) that may prod me to get 3.4 running. Oh, 3.3.2... Also verified the 3.3.2 (and 3.3.0 for that matter) svn tag version, in addition to my local 3.3 branch above. Same result, works for me. -- char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}