Suggestion box re spam scores
Chris W. Parker
cparker at SWATGEAR.COM
Wed Jul 21 20:26:01 IST 2004
Denis Beauchemin <mailto:Denis.Beauchemin at USHERBROOKE.CA>
on Wednesday, July 21, 2004 11:23 AM said:
> 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/;
as pointed out by denis in an offlist message there are actually six (6)
occurences that need to be changed. i don't know which of the six does
what but once i change them all (following Denis' instructions) it
worked fine. also, i changed the formatting from "%06.2f" to "%05.2f" i
might even go to "%04.2f" since my high scoring spam action is delete
and my high spam score is set at ~8.
ymmv.
thanks to denis for his time spent on this.
chris.
-------------------------- 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