On Tue, Oct 07, 2003 at 12:21:51PM -0500, Mike Carlson wrote: > When I run spamstats I dont get any output for message count. > This is all I get: > > altair# /usr/local/bin/spamstats.pl -number=5 -file=/var/log/maillog.2.gz > File /var/log/maillog.2.gz : from Oct 4 00:00:00 to Oct 5 00:00:00 > Total number of emails processed by the spam filter : 0 > Number of spams : n/a > Number of clean messages : n/a
http://www.gryzor.com/tools/spamstats_faq.html Q : Why do I have an incomplete output when I run spamstats > I did see something somewhere about problems if you have debugging > turned on and spamd info getting written to the logs. I turned the > debugging off, but will that fix the problem or is there something > special that I am supposed to do to get numbers returned? You need normal logging output to end up in the logs spamstats will parse - both from the mta and spamd. You need spamstats to be able to parse the logs - last time I check it doesn't work out of the box with Solaris becuase of its syslog adds extra IDs to the logs. So you might have to edit the script to make it work - who knows. -- (Mr.) Hannu Liljemark | Appelsiini Finland Oy | http://appelsiini.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk