Hi, On Thu, 22 Jan 2004 06:57:02 -0600 "Vermyndax" <[EMAIL PROTECTED]> wrote:
> Greetings all... > > I am trying to implement a way to generate statistics for Spamassassin. > I've tried numerous perl scripts but most of them return all zeros for > the stats. The biggest example I can think of is the sa-stats.pl > script. No matter what I do, the script returns all zeros. Is it > because it's having a problem parsing out my log file? Can any of you > perl experts give me a little help? Or can any of you point me in the > direction of some fantastic stats generator for SpamAssassin? sa-stats.pl needs a little help figuring out the date range it needs to analyze. Assuming your mail logs are at /var/log/maillog, you have permissions to read them, and you want to analzye today's traffic, you could use sa-stats.pl -s "2004-01-22 00:00:00" sa-stats.pl -s "today midnight" or sa-stats.pl -s "midnight" My logs are under /var/log/mail so I use: sa-stats.pl -l /var/log/mail -s "2004-01-22 00:00:00" I've been hacking sa-stats.pl and contributing patches back to the dev team so if there's something you want to see in sa-stats.pl, let me know. hth, -- Bob ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk