Suggestion box re spam scores

Denis Beauchemin Denis.Beauchemin at USHERBROOKE.CA
Wed Jul 21 19:22:36 IST 2004


Denis Beauchemin wrote:

>
>
> Edit Message.pm and go to line 907.  Make sure the line:
>
> $spamtag =~ s/_SCORE_/$scoretext/;
>
> has been replaced by:
> my $scoretextfmt = sprintf "%06.2f", $this->{sascore};
> $spamtag =~ s/_SCORE_/$scoretextfmt/;
>
Chris,

I just found out there are 2 occurrences of _SCORE_ in the file!!!  The 
first one if for low scoring SPAM and the second one if for high scoring 
SPAM.  So change the second:
$spamtag =~ s/_SCORE_/$scoretext/;

for:
$scoretextfmt = sprintf "%06.2f", $this->{sascore};
$spamtag =~ s/_SCORE_/$scoretextfmt/;

This should do it!

Denis

-- 
   _
  °v°   Denis Beauchemin, analyste
 /(_)\  Université de Sherbrooke, S.T.I.
  ^ ^   T: 819.821.8000x2252 F: 819.821.8045

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html




More information about the MailScanner mailing list