Re: sa-stats.pl - Syslog Error

2004-12-08 Thread James
 Like I said before it finds and reads the spam log file fine.  It 
occurs when parsing the actual log file, it does not have trouble 
locating it.  Any other ideas?

- James
Steve Dimoff wrote:
By default, the sa-stats.pl uses the log file /var/log/maillog
You need to tell sa-stats to use a different log
Example:
./sa-stats.pl -l /var/log/spamd.log -s midnight -e now
Steve
-Original Message-
From: James [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 07, 2004 10:29 PM
To: users@spamassassin.apache.org
Subject: sa-stats.pl - Syslog Error

 I'm trying to run sa-stats.pl on my spamd logs and get this on every line
it
parses "WARNING: line not in syslog format". Spamd is run with these options
"spamd -d -i interface -u spamd -s /var/log/spamd.log".  sa-stats.pl finds
the
logfile automatically and begins parsing it but generates the errors above.
In
the end it shows the stats but shows that no spam has ever been processed,
all
percentages are 0.  Am I logging spamd improperly?
- James
 




RE: sa-stats.pl - Syslog Error

2004-12-08 Thread Steve Dimoff
By default, the sa-stats.pl uses the log file /var/log/maillog

You need to tell sa-stats to use a different log

Example:

./sa-stats.pl -l /var/log/spamd.log -s midnight -e now

Steve

-Original Message-
From: James [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 07, 2004 10:29 PM
To: users@spamassassin.apache.org
Subject: sa-stats.pl - Syslog Error

  I'm trying to run sa-stats.pl on my spamd logs and get this on every line
it
parses "WARNING: line not in syslog format". Spamd is run with these options
"spamd -d -i interface -u spamd -s /var/log/spamd.log".  sa-stats.pl finds
the
logfile automatically and begins parsing it but generates the errors above.
In
the end it shows the stats but shows that no spam has ever been processed,
all
percentages are 0.  Am I logging spamd improperly?

 - James


sa-stats.pl - Syslog Error

2004-12-08 Thread James
  I'm trying to run sa-stats.pl on my spamd logs and get this on every line it
parses "WARNING: line not in syslog format". Spamd is run with these options
"spamd -d -i interface -u spamd -s /var/log/spamd.log".  sa-stats.pl finds the
logfile automatically and begins parsing it but generates the errors above.  In
the end it shows the stats but shows that no spam has ever been processed, all
percentages are 0.  Am I logging spamd improperly?

 - James