There are enough spam filters, or otherwise general purpose mail filters with spam rulesets that it'd be pointless to reinvent the wheel.
Especially because we don't know how to have the messages stored (500 files may be 500 mbox format mailboxes, or 500 messages, or 500 Outlook mailboxes, etc.)
spam.abuse.net has a rather long list of mail filters. Many are SMTP based, but you can always just set something up to reprocess the mail.
If you just need a program for filtering mail, based on whatever rules you're using, you could try Mail::Procmail. I've never used the module, but I've been using the original procmail implementation for years for sorting mailing lists, spam, etc.
You might also search CPAN for spam which pulls up a lot of hits.
In reply to Re: I need a simple spam fitler to sort through about 500 files
by jhourcle
in thread I need a simple spam fitler to sort through about 500 files
by originalkilroy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |