Theo Van Dinter wrote:
> You probably want "spamassassin --mbox". :)
> It won't modify the messages in-place, but you can do something like
> "spamassassin --mbox infile > outfile".
>
> If you're talking about sa-learn, though, it also knows --mbox.
>   
Yes, but he's got mixed spam and nonspam in one mbox. You've got to
split that before you can feed sa-learn.

>
> On Sun, Sep 20, 2009 at 9:46 PM, MySQL Student <mysqlstud...@gmail.com> wrote:
>   
>> Yeah, that's kind of what I thought. Maybe a program that can split
>> each message back into an individual file? Would procmail even help
>> here? Or even a simple shell script that looks for '^From ', redirects
>> it to a file, runs spamassassin -d on it, then re-runs SA on each
>> file? I could then concatenate each of them back together and pass it
>> through sa-learn.
>>     
>
>
>   

Reply via email to