I would use "formail -s" to go through the mbox file, and pipe the mail through procmail w/ an appropriate recipe file to filter the mails as you'd want.
SpamAssassin is happy to markup your mails, but has no filtering capabilities since it doesn't deliver mail. On Sun, Feb 08, 2009 at 04:37:30PM -0800, cnone wrote: > How can I call spamc and loop through all mails(like 100 mbox email files) > under a directory and decide which is spam which is not and save the spams > in a different dir? -- Randomly Selected Tagline: "T5 - knows sendmail exists, can fog a mirror" - Seann Herdejurgen
pgp5x4qPYEPED.pgp
Description: PGP signature