• Home
• Mike's Résumé
• RSS Feeds

SpamAssassin Stuff

It's Super Effective!

download here
This script is designed to help you find which SpamAssassin rules are most effective at tagging messages as spam...or at least rules other than the automatic whitelisting or other mechanisms with dynamic scores (since no scores are published in the rulesets). Here's how it works. It looks through your existing mail logs for spamd entries. It grabs the required hits for that message, its final score, and the rule(s) that it matched. It then subtracts that rule's score from the total hits. If the result is lower than the required hits, then it deems that that rule pushed the message over the required hits threshold. Keep in mind that it could count multiple rules per message; I thought that was only fair.