Ah, finally, with 1-2 hours delay... On Thu, 2009-03-26 at 16:03 +0100, Karsten Bräckelmann wrote: > On Thu, 2009-03-26 at 09:40 -0400, spamassas...@corwyn.net wrote: > > Is it possible to get spamassassin to score email addresses with 4 > > (or more) numeric digits in sequence in the user name? > > Sure... > > > (seems like a lot of our spam comes in for garbage users with user > > names that are strings of numbers).
Oops. *For* garbage users, so that's recipients. > header FROM_NUMS From:addr =~ /\d{4}.*\@/ Make that To:addr in that case. -- 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; }}}