On Thu, 2004-11-04 at 14:05 -0500, Brian Reichert wrote:
> On Thu, Nov 04, 2004 at 10:08:56AM -0500, Anthony R. J. Ball wrote:
> > 
> >   Not sure how you could get sendmail to do it, but with perl you could
> > probably do it in about 20-50 lines. Just pull the messages one by one,
> > if spamc exits 0, send it along.
> 
> If you already have all of this mail rattling around, then use
> 'formail' to cause it to be re-delivered.  This is part of the
> procmail distribution.

Indeed, formail is your friend. I use it's -s flag all the time to re-
process mail in various ways that doesn't make sense on a mailbox level,
but does on a message level (e.g. handing it to different learning
systems or splitting up an existing mailbox).

Combined with Perl it's amazing. A bit like the find(1) of mailbox
tools.

-- 
ããã <[EMAIL PROTECTED]>

_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to