> -----Original Message----- > From: Charles Sprickman [mailto:[EMAIL PROTECTED] > Sent: Monday, July 25, 2005 10:46 PM > To: users@spamassassin.apache.org > Subject: 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,UR > IBL_JP_SURBL,URIBL_SC_SURBL,URIBL_WS_SURBL > scantime=6.7,size=2027,mid=<[EMAIL PROTECTED] > ah>,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.
Do you mean this script? http://www.rulesemporium.com/programs/sa-stats.txt Note: It may be named the same as sa-stats.pl, but it is different. Per rule based. Another Dallas miracle! Chris Santerre SysAdmin and SARE/URIBL ninja http://www.uribl.com http://www.rulesemporium.com