spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karsten Br├Ąckelmann <guent...@rudersport.de>
Subject Re: if you don't watch it, legit mail can be blocked
Date Fri, 22 Jul 2011 01:44:36 GMT
On Thu, 2011-07-21 at 15:45 -0400, David F. Skoll wrote:
> On Thu, 21 Jul 2011 15:41:34 -0400 Michael Scheidell wrote:
> 
> > 72_active.cf:header   FS_REPLICA             Subject =~ /replica/i
> 
> > anyone else think that ANY rule that scores above a 3 is asking for
> > trouble?
> 
> Yikes!
> 
> I think any rule that looks like Subject =~ /string/i is asking for
> trouble.  At the very least, I would use Subject =~ /\bstring\b/i if
> the string is supposed to be a word.

My thought exactly reading the OP and its FP samples. The rules are
missing word boundaries.


-- 
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;
}}}


Mime
View raw message