On Wednesday 03 August 2005 08:50 pm, jdow wrote:

> > The sa-stats.pl I run works quite well, maybe your configuration is not
>
> quite
>
> > right?  Below is mine:
> >
> > # Configuration section
> > my %opt = ();
> > $opt{'logfile'} = '/var/log/mail/info';        # Log file
> > $opt{'sendmail'} = '/usr/sbin/sendmail';    # Path to sendmail stub
> > $opt{'from'} = 'SpamAssassin System Admin';    # Who is the mail from
> > $opt{'end'} = "today";
> > $opt{'start'} = "yesterday";
>
> Aha, you changed the defaults, Chris. When those changed it sort of
> makes some sense. But it does not break out the top scores for ham
> and spam. So it's still only semi-useful.
>
> {^_^}

Actually, for reasons known only to me, and I forgot why, I run two stats 
scripts, the one above which shows span/ham by hour and Dallas's script which 
as you know breaks out the stats in the below format.  Don't ask me why I'm 
running both, guess I just never get around to setting the first ones cronjob 
as inactive.

RANK    RULE NAME                       COUNT %OFRULES %OFMAIL %OFSPAM  %OFHAM

As a side note the first scrip was written by:

#Authors      : Brad Rathbun <[EMAIL PROTECTED]> 
http://www.computechnv.com/
#             : Bob Apthorpe <[EMAIL PROTECTED]> 
http://www.cynistar.net/~apthorpe/
#             : Duncan Findlay <[EMAIL PROTECTED]>
#

Can't really remember where I picked it up from.

-- 
Chris
Registered Linux User 283774 http://counter.li.org
20:56:42 up 5:33, 1 user, load average: 0.28, 0.19, 0.27
Mandriva Linux 10.1 Official, kernel 2.6.8.1-12mdk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Given a chance, matches will find a way to get wet
                -- Murphy's Laws of Camping n°13
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to