On Thu, 7 Mar 2002, Geoff Gibbs wrote:

> > I think that this is
> > more closely related to the false positive, I spotted, from a base-64
> > attachment which also triggered the whole line of shouting.
>
> Thinking about this a bit more, shouldn't the whole line of shouting test
> test for some spaces between the words? This would avoid blocks of
> encoded data which happen to have a solid line of capitals, and
> already score highly.

Agreed. I'll look into adding that to the regexps.

Meanwhile, try the following diff:

Index: lib/Mail/SpamAssassin/EvalTests.pm
===================================================================
RCS file:
/cvsroot/spamassassin/spamassassin/lib/Mail/SpamAssassin/EvalTests.pm,v
retrieving revision 1.109
diff -r1.109 EvalTests.pm
897c897,898
<     my $num_lines = scalar grep(/^[A-Z]{20,}$/, @lines);
---
>   # 3) Some whitespace
>     my $num_lines = scalar grep(/\s/, grep(/^[A-Z]{20,}$/, @lines));


-- 
Matt.
<:->get a SMart net</:->


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to