At 1:52 PM -0400 8/13/02, Theo Van Dinter wrote:
>On Tue, Aug 13, 2002 at 11:58:03AM -0500, Justin Shore wrote:
>>  I'm assuming I need to strip the SpamAssassinReport.txt attachments
>>  from my spam mailbox before I run the mailbox through razor-report,
>>  correct?  Does anyone know of an easy way to do this?
>use "spamassassin -r".  It'll take a message, strip the SA bits, and
Ah...  You learn something new every day!  This would make things
quite a bit easier.  I assume it can handle a mailbox full of mail to
report rather than a single piece of spam from STDIN.  I'll check the

from localhost (localhost [127.0.0.1])
	by phobos.labs.netnoteinc.com (Postfix) with ESMTP id 6252843C44
	for <jm@localhost>; Wed, 14 Aug 2002 05:45:30 -0400 (EDT)
from phobos [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Wed, 14 Aug 2002 10:45:30 +0100 (IST)
from usw-sf-list2.sourceforge.net (usw-sf-fw2.sourceforge.net
    [216.136.171.252]) by dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id
    g7DID6412851 for <jm-razor@jmason.org>; Tue, 13 Aug 2002 19:13:06 +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 17eg5O-0002er-00; Tue,
    13 Aug 2002 11:08:06 -0700
from h-66-134-120-173.lsanca54.covad.net ([66.134.120.173]
    helo=stealthgeeks.net) by usw-sf-list1.sourceforge.net with smtp (Exim
    3.31-VA-mm2 #1 (Debian)) id 17eg4n-0008EI-00 for
    <razor-users@lists.sourceforge.net>; Tue, 13 Aug 2002 11:07:29 -0700
from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP;
    13 Aug 2002 18:07:27 -0000
From razor-users-admin@lists.sourceforge.net  Wed Aug 14 10:46:18 2002

On Tue, 13 Aug 2002, David Raistrick wrote:
> > On Tue, 13 Aug 2002, Justin Shore wrote:
> > > I'm assuming I need to strip the SpamAssassinReport.txt attachments
> > > from my spam mailbox before I run the mailbox through razor-report,
> > > correct?  Does anyone know of an easy way to do this?
> To actually answer Justin's question, (one can assume that he has
> rewrite_subject and report_header turned on because he wants them..and
> that he would like to be able to strip the added bits off before he sends
> them to razor) something as simple as the following would probably work
> just fine.  Just pipe your message through this, then on into
Report this message as verified spam.  This will sub-
mit the mail message read from STDIN to various spam-
blocker databases, such as Vipul's Razor (
http://razor.sourceforge.net/ ) and the Distributed
If the message contains SpamAssassin markup, this will
be stripped out automatically before submission.