[antispam-f] Re: RulesUsed Curiosity

  • From: Stuart Painting <stuart@xxxxxxxxxxxxxxxxxx>
  • To: antispam@xxxxxxxxxxxxx
  • Date: Tue, 10 Apr 2007 21:00:56 +0100

"lists (ww)" <lists@xxxxxxxx> wrote:

> AS_Deleted reports (correctly):
> -----------------------
> Message 7 deleted on rule 827:
>   Delete Subject: = *[Eyewear Fashions]*
>   Subject: [Eyewear Fashions] *Miracle Diet Bread*!!
> -----------------------
> yet RulesUsed reports:
> -----------------------
> Delete Subject: = *[Eyewear Fashions]*
> This rule has not been used
> -----------------------

RulesUsed won't count a log entry if it's split between logfiles (i.e. 
the "Message 7 deleted..." line appears at the end of the first 
logfile, and the "Delete Subject..." line is at the beginning of the 
second logfile). However that probably won't be the case if the two 
logfiles are for two different users rather than a continuation of the 
same session.

Version 0.04 of RulesUsed also had a problem when dealing with 
overlength lines: if one line in the logfile exceeded the BASIC string 
length limit, RulesUsed could try to interpret the continuation of 
that line as another rule. This would result in an additional 
"nonsense" rule being reported, and in all probability the next 
genuine logfile entry wouldn't be counted.

I've tinkered with RulesUsed in the past (see my website...) and the 
"overlength line" problem is long fixed. However the substantial rejig 
necessary to recognise a "log entry split between logfiles" seemed too 
much like hard work so I never did anything about it.

You may want to have a play with my modified versions, available at
Version 0.07 is still there (and is a minimal change from the one 
you're running) but if you're feeling brave you could try v1.01 :-)

It's possible that the cause is something else entirely, in which case 
a logfile extract could help pinpoint the problem.

Other related posts: