I wrote a quick and dirty hack script to count the number of rules that match in a Spam or Ham file. There are probably better reporting tools. There are probably better ways to do this, as well. The output is comma-delimited, you can import into Excel or similar for sorting, further processing. Alternatively, reverse the column order and pipe to `sort -n`. Maybe I'll do that right now. ;)
#!/bin/sh DEFFILES="/etc/mail/spamassassin/local.cf /usr/local/share/spamassassin/*cf" GREPSTR="describe" cat $DEFFILES | egrep ^$GREPSTR \ | awk '{ print "echo " $2 ",`fgrep " $2 " /ham/or/spam/file | wc -l`" } ' \ | sort | uniq | tail +2 | sh ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk