On 1/23/2013 1:43 AM, Niamh Holding wrote:
Hello Kevin,
Wednesday, January 23, 2013, 3:44:31 AM, you wrote:
KAM> Can you look at your version and cut and paste
KAM> line 229?
my $perc2=sprintf("%.2f",($SPAM_RULES{$key}/$NUM_SPAM)*100);
KAM> However, looking at your output, it looks like you are parsing
KAM> VERY little data.
That's expected, it's a new server that hasn't gone live so it's quite
possible that $NUM_SPAM is zero, but this should be trapped.
I've got source for SA 2.6, 3.0, 3.3 and trunk on this server and I
can't find a line that matches what you have above. So I have no idea
what script you have.
From a search on google, this is a known issue from 5-8 years ago. For
example:
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg18645.html
has a workaround.
Here is the latest script from SA:
http://svn.apache.org/viewvc/spamassassin/trunk/tools/sa-stats.pl?view=co
Perhaps you are using some version modified and redistributed for a
specific purpose such as qmail?
Regards,
KAM