On Mon, 2010-02-01 at 22:33 +0100, Yet Another Ninja wrote: > - If someone knows how to put these two rule sets in one file and > "activate" according to SA version, pls let me know... I'm stumped.
Preprocessing Options [1] in the SA Conf documentation. :) if (version >= 3.003000) # util_rb_3tld blob goes here endif Hmm, doesn't mention >= specifically. Guess it's supported, though, otherwise you'd need a minor hack like > 3.002999. guenther [1] http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html#preprocessing_options > enjoy Thanks! -- char *t="\10pse\0r\0dtu...@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; }}}