If you have procmail installed, you can do something like this fairly easily 
using formail -- see its manpage for details.  (assuming you using mbox 
mailboxes)

If you're using maildir or something similar, it's even easier.

In both cases, I'd strongly recommend using spamc instead of spamassassin -P or 
you'll be wasting a lot of time and CPU cycles.

C

[EMAIL PROTECTED] wrote:

> Date: Fri, 15 Mar 2002 19:12:55 -0800 (PST)
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: [SAtalk] Running spamassassin on an existing spool...
> 
> 
> Hi,
> 
> I want to run spamassassin on a copy of my mail spool and have it pump
> out a duplicate spool, only with spam marked out per regular operation.
> 
> Before I haul off and either modify it to do this or create some other
> dumb perl script to work in combination with spamassassin, is there an
> easy way of doing this with the existing tools?
> 
> - Colby
> 
> 
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
> 
> 
> 


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to