> Here something I want - maybe it's in there. I want a way to pipe a file
> containing messages into one of the "masses" tools and have it output
> the messages that match a specific rule.
> The reason I want this is to pipe non-spam corpus through a rule and get
> a file of messages so I can look at the false positives and try to
> figure out why there was a match. IDEALLY - I would like this debug
> modes to put [[ ]] around the phrase that triggered the match. I think
> this would be a good tool for fixing/improving otherwise good rules that
$ egrep RULE_NAME nonspam.log|awk '{print $3}'|xargs cat > RULE_NAME.fp
It's pretty easy to figure out what matched if you write a short perl
script to match regular expressions or just use pcregrep (perl regular

from localhost (localhost [127.0.0.1])
	by phobos.labs.netnoteinc.com (Postfix) with ESMTP id E4244440C8
	for <jm@localhost>; Mon, 22 Jul 2002 13:27:41 -0400 (EDT)
from dogma.slashnull.org [212.17.35.15]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Mon, 22 Jul 2002 18:27:41 +0100 (IST)
from webnote.net (mail.webnote.net [193.120.211.219]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g6MG1PY16604 for
    <jm-sa@jmason.org>; Mon, 22 Jul 2002 17:01:25 +0100
from usw-sf-list2.sourceforge.net (usw-sf-fw2.sourceforge.net
    [216.136.171.252]) by webnote.net (8.9.3/8.9.3) with ESMTP id KAA26773 for
    <jm-sa@jmason.org>; Sun, 21 Jul 2002 10:01:43 +0100
from usw-sf-list1-b.sourceforge.net ([10.3.1.13]
    helo=usw-sf-list1.sourceforge.net) by usw-sf-list2.sourceforge.net with
    esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17WCZP-0008CH-00; Sun,
    21 Jul 2002 02:00:03 -0700
from basket.ball.reliam.net ([213.91.6.7]) by
    usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id
    17WCYt-0001un-00 for <spamassassin-talk@lists.sourceforge.net>;
    Sun, 21 Jul 2002 01:59:31 -0700
from teich.garten.digitalprojects.com
    (port-212-202-162-53.reverse.qdsl-home.de [212.202.162.53]) by
    basket.ball.reliam.net (Postfix) with ESMTP id 0DD9A3DB0 for
    <spamassassin-talk@lists.sourceforge.net>; Sun, 21 Jul 2002 10:59:22 +0200
    (CEST)
by teich.garten.digitalprojects.com (Postfix, from userid 501)
    id 1E27153C32; Sun, 21 Jul 2002 10:59:21 +0200 (CEST)
from quoted-printable to 8bit by dogma.slashnull.org
    id g6MG1PY16604
From spamassassin-talk-admin@lists.sourceforge.net  Mon Jul 22 18:27:43 2002