formail did the trick. Thanks to those who answered. For the sake of
archives, here's how to "patch" ricochet:
formail -ds procmail /tmp/pmrc </tmp/spm
Sorry for such brief instructions. The only problem here is that I get
another copy of the spam in the spambox again. This can be fixed with some
> [mailto:razor-users-admin@lists.sourceforge.net]On Behalf Of Sven
> Sent: Tuesday, August 13, 2002 4:06 PM
> Subject: Re: [Razor-users] Ricochet Question Actually
> > From: "zeek" <zeek@sparklehouse.com>
> > Subject: [Razor-users] Ricochet Question Actually
> > I've not been able to find a list regarding ricochet (closely related to
> > razor: http://www.vipul.net/ricochet/) so I'm posting here.
> > Every few days I manually go through a spam harvest that Spamassassin
> > collects (by way of checking against osirosoft, razor, et.
> > with elm and for each piece of verified spam I pipe it to ricochet which
> > sends it off to the various parties involved (not as accurate
> > BTW). Needless to mention this is quite tedious and takes a considerable
> > My question, which is more of a perl/regexp question, is anyone
> > script that can take an entire mailbox (in proper UNIX mbox format) and
> > handle each piece of mail in it? To clarify, I'm looking for something
> > takes each piece of mail in a mailbox and pipes it to ricochet. This is
> > similar to what razor-report does with the -M option.
> Assuming that you have procmail installed you also have its companion
> formail. Formail can be used to parse an mbox into its component
> pass them to procmail. Specifiy a procmailrc file to use to
> each email and you're good to go. You could even set it up as a cron ...
> example: assuming your mailbox/email is "spambox"
> `formail -ds procmail /home/spambox/customProcmailrc < /var/mail/spambox`
> This will take the mbox /var/mail/spambox break it apart at the message
> separator ('^From '), send it off to procmail and instruct procmail to use
> the "customProcmailrc" config file found in spambox's home directory. That
> "customProcmailrc" would contain your rules for how to handle
> > From: Justin Shore <listuser@neo.pittstate.edu>
> > Subject: [Razor-users] Stripping the SpamAssassin report
> > Justin Shore, ES-SS ES-SSR      Pittsburg State University
> > Network & Systems Manager       Kelce 157Q
> > Office of Information Systems   Pittsburg, KS 66762
> > Warning:  This message has been quadruple Rot13'ed for your protection.