Thanks Jari and Marc, I've On 10/25/2012 6:58 AM, Jari Fredriksson wrote:
24.10.2012 12:40, Marc Andre Selig kirjoitti:
Hi all,
I received lots of warning messages from auto-mass-check.sh today.
I hope this is the right place to forward them.
Regards,
Marc
Syncing nightly_mass_check
+ ./mass-check --hamlog=ham-mas.log --spamlog=spam-mas.log -j 1 --progress
--reuse ham:dir:/home/sacheck/corpora/ham
spam:dir:/home/mas/Home/Mail/archives/spam
status: starting scan stage now: 2012-10-24
11:00:19 AM
status: completed scan stage, 7638 messages now: 2012-10-24
11:00:21 AM
status: starting run stage now: 2012-10-24
11:00:21 AM
Argument "1/8" isn't numeric in numeric le (<=) at
/home/sacheck/masscheckwork/nightly_mass_check/masses/../lib/Mail/SpamAssassin/PerMsgStatus.pm
line 2441.
Argument "1/8" isn't numeric in numeric le (<=) at
/home/sacheck/masscheckwork/nightly_mass_check/masses/../lib/Mail/SpamAssassin/PerMsgStatus.pm
line 2441.
Argument "1/8" isn't numeric in numeric le (<=) at
/home/sacheck/masscheckwork/nightly_mass_check/masses/../lib/Mail/SpamAssassin/PerMsgStatus.pm
line 2441.
[... 7587 identical lines omitted ...]
Argument "1/8" isn't numeric in numeric le (<=) at
/home/sacheck/masscheckwork/nightly_mass_check/masses/../lib/Mail/SpamAssassin/PerMsgStatus.pm
line 2441.
status: completed run stage now: 2012-10-24
11:29:23 AM
+ LOGLIST=' ham-mas.log spam-mas.log'
+ set +x
rsync -qPcvz ham-mas.log spam-mas.log [email protected]::corpus/
Same here. I have 25000+ rows with this message in my cron job email
from masscheck. It seems that every email in my corpus triggers this.
Thanks Jari and Marc, I've opened a bug about this:
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6856
Anyone have an inkling about the cause?
As noted in the bug, it's this code from got_hit (the $value logic at
the bottom)
...
sub got_hit {
my ($self, $rule, $area, %params) = @_;
my $conf_ref = $self->{conf};
my $dynamic_score_provided;
my $score = $params{score};
if (defined $score) { # overrides any configured scores
$dynamic_score_provided = 1;
} else {
$score = $conf_ref->{scores}->{$rule};
$score = $params{defscore} if !defined $score;
}
# adding a hit does nothing if we don't have a score -- we probably
# shouldn't have run it in the first place
return unless $score;
# ensure that rule values always result in an *increase*
# of $self->{tests_already_hit}->{$rule}:
my $value = $params{value};
if (!$value || $value <= 0) { $value = 1 }
...
Regards,
KAM