Re: sa-stats.pl illegal division by zero

2013-01-24 Thread Kevin A. McGrail
On 1/24/2013 1:40 AM, Niamh Holding wrote: Hello Kevin, Wednesday, January 23, 2013, 2:26:48 PM, you wrote: KAM> From a quick check, you might have a forked version by Dallas Engelken Well if he's on the list perhaps he can check his code... if not no worries. Perhaps but I think you should ch

Re: sa-stats.pl illegal division by zero

2013-01-23 Thread Niamh Holding
Hello Kevin, Wednesday, January 23, 2013, 2:26:48 PM, you wrote: KAM> From a quick check, you might have a forked version by Dallas Engelken Well if he's on the list perhaps he can check his code... if not no worries. -- Best regards, Niamhmailto:ni...@fullbore.co

Re: sa-stats.pl illegal division by zero

2013-01-23 Thread Kevin A. McGrail
On 1/23/2013 9:18 AM, Kevin A. McGrail wrote: Perhaps you are using some version modified and redistributed for a specific purpose such as qmail? From a quick check, you might have a forked version by Dallas Engelken Does it look like this one? http://www.impsec.org/~jhardin/antispam/sa-stat

Re: sa-stats.pl illegal division by zero

2013-01-23 Thread Kevin A. McGrail
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 yo

Re: sa-stats.pl illegal division by zero

2013-01-22 Thread Niamh Holding
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

Re: sa-stats.pl illegal division by zero

2013-01-22 Thread Kevin A. McGrail
On 1/22/2013 12:32 PM, Niamh Holding wrote: Hello Kevin, Tuesday, January 22, 2013, 12:17:31 PM, you wrote: KAM> If you are having a division by zero error that line number doesn't match the current code. Where's the current version? I'm referring to the version in SVN for trunk v3.4. You a

Re: sa-stats.pl illegal division by zero

2013-01-22 Thread Niamh Holding
Hello Kevin, Tuesday, January 22, 2013, 12:17:31 PM, you wrote: KAM> If you are having a division by zero error that line number doesn't match the current code. Where's the current version? -- Best regards, Niamhmailto:ni...@fullbore.co.uk pgp9o53FhmJry.pgp Desc

Re: sa-stats.pl illegal division by zero

2013-01-22 Thread Kevin A. McGrail
On 1/22/2013 8:00 AM, Niamh Holding wrote: Hello Kevin, Tuesday, January 22, 2013, 12:17:31 PM, you wrote: KAM> We are not mind readers and you haven't answered what version of SA you are using. Probably because I'm not reporting a problem with SA itself. But forget I raised the issue, as o

Re: sa-stats.pl illegal division by zero

2013-01-22 Thread Niamh Holding
Hello Kevin, Tuesday, January 22, 2013, 12:17:31 PM, you wrote: KAM> We are not mind readers and you haven't answered what version of SA you are using. Probably because I'm not reporting a problem with SA itself. But forget I raised the issue, as obviously SA-stats.pl never reported it had a

Re: sa-stats.pl illegal division by zero

2013-01-22 Thread Kevin A. McGrail
I am aware that the script is in the tools dir. However, are you asking a question about it, trying to use it, having an issue, etc.? We are not mind readers and you haven't answered what version of SA you are using. If you are having a division by zero error that line number doesn't match the

Re: sa-stats.pl illegal division by zero

2013-01-21 Thread Niamh Holding
Hello Kevin, Monday, January 21, 2013, 7:30:56 PM, you wrote: KAM> Why are you KAM> sending sa-stats.pl to the mailing list? It came from http://spamassassin.apache.org/full/3.0.x/dist/tools/sa-stats.pl -- Best regards, Niamhmailto:ni...@fullbore.co.uk pgpaFwbaC

Re: sa-stats.pl illegal division by zero

2013-01-21 Thread Kevin A. McGrail
On 1/21/2013 2:23 PM, Niamh Holding wrote: KAM> Is this you reporting a bug? More like sa-stats reporting it :) This isn't very helpful. What version of SA are you using? Why are you sending sa-stats.pl to the mailing list?

Re: sa-stats.pl illegal division by zero

2013-01-21 Thread Niamh Holding
Hello Kevin, Monday, January 21, 2013, 6:33:09 PM, you wrote: KAM> Is this you reporting a bug? More like sa-stats reporting it :) -- Best regards, Niamhmailto:ni...@fullbore.co.uk pgplPQXToBDHf.pgp Description: PGP signature

Re: sa-stats.pl illegal division by zero

2013-01-21 Thread Kevin A. McGrail
On 1/21/2013 12:25 PM, Niamh Holding wrote: Illegal division by zero at /usr/local/bin/sa-stats.pl line 229. Email:1 Autolearn: 1 AvgScore: -2.00 AvgScanTime: 1.80 sec Spam: 0 Autolearn: 0 AvgScore: 0.00 AvgScanTime: 0.00 sec Ham: 1 Autolearn: 1 A