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

Reply via email to