sa-hits will take an email message processed by
SpamAssassin, parse the X-Spam-Status line,
extract the rules that hit the mail, and display
the message with colored highlighting of the
places where the rules hit. It's also possible to
supply new testrules or other existing rules on
the command line to see if and where they would
hit a test message.