[PLUG] Errors in spamassassin
Zot O'Connor
zot at zotconsulting.com
Mon May 31 16:29:02 UTC 2004
I run a script that calls
sa-learn --debug-level --showdots --spam --dir
I get a lot of these errors (like 143k FOR 1.6k spams):
Argument "\007905386M-Y^Kk@" isn't numeric in numeric lt (<) at
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/BayesStore.pm line
1245.
I have not tracked down the problem, but wondered if I am alone on this:
1214 sub tok_put {
1215 my ($self, $tok, $ts, $th, $atime) = @_;
1216 $ts ||= 0;
1217 $th ||= 0;
...
1228 if ($ts == 0 && $th == 0) {
1229 return if (!$exists_already); # If the token doesn't exist,
just ret urn
1230 $self->{db_toks}->{$NTOKENS_MAGIC_TOKEN}--;
1231 delete $self->{db_toks}->{$tok};
1232 } else {
1233 if (!$exists_already) { # If the token doesn't exist, raise
the toke n count
1234 $self->{db_toks}->{$NTOKENS_MAGIC_TOKEN}++;
1235 }
1236
1237 $self->{db_toks}->{$tok} = $self->tok_pack ($ts, $th,
$atime);
1238
1239 my $newmagic =
$self->{db_toks}->{$NEWEST_TOKEN_AGE_MAGIC_TOKEN};
1240 if (!defined ($newmagic) || $atime > $newmagic) {
1241 $self->{db_toks}->{$NEWEST_TOKEN_AGE_MAGIC_TOKEN} =
$atime;
1242 }
1243
1244 my $oldmagic =
$self->{db_toks}->{$OLDEST_TOKEN_AGE_MAGIC_TOKEN};
1245 if (!defined ($oldmagic) || $atime < $oldmagic) {
1246 $self->{db_toks}->{$OLDEST_TOKEN_AGE_MAGIC_TOKEN} =
$atime;
1247 }
1248 }
1249 }
--
Zot O'Connor <zot at zotconsulting.com>
White Knight Hackers, Inc.
More information about the PLUG
mailing list