You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Charles Sprickman <sp...@bway.net> on 2005/07/26 04:46:10 UTC

generating rule stats from spamd logs

Hi,

Anyone aware of anything that can parse a day's spamd logs and then give a 
summary of total hits per rule?  I noticed since 3.0.x that all rule hits 
are in the logs now:

Jul 25 22:44:49 spamd2 spamd[59436]: result: Y 14 - 
BAYES_60,DATE_IN_FUTURE_03_06,DNS_FROM_RFC_POST,URIBL_BLACK,URIBL_JP_SURBL,URIBL_SC_SURBL,URIBL_WS_SURBL 
scantime=6.7,size=2027,mid=<f3...@groah>,bayes=0.781998195315203,autolearn=disabled

I've got three spamd boxes logging to one server.  I already run 
sa-stats.pl daily, but I'd like to see more information about what rules 
are hitting.  I did see a few things in the wiki, but most of them look to 
be tied to snarfing MTA logs.

Thanks,

Charles