But I have a whole mbox with 10,000 messages. How can I pipe all the
messages and move them?

----- Original Message ----- 
From: "Jim Maul" <[EMAIL PROTECTED]>
To: "Andrew Xiang" <[EMAIL PROTECTED]>
Cc: <users@spamassassin.apache.org>
Sent: Wednesday, December 08, 2004 12:21 PM
Subject: Re: how to run SA3.0.1 on a existing mailbox


> Andrew Xiang wrote:
> > I want to run spamassassin on my existing /var/mail/mymailbox and only
move
> > all the spam mail into /var/mail/spam .
> >
> > Is there   a way to do that?
> >
> > thanks
> > Andrew
> >
> >
> >
>
> you could run spamassassin -e on the message and then make a quick
> script to check the return status and move the messages accordingly.
>
>       -e, --exit-code                   Exit with a non-zero exit code
> if the tested message was spam
>
> SA doesnt move anything on its own so you'd have to script it.
>
> -Jim
>

Reply via email to