Mboxgrep is a nifty little utility for finding particular messages in a mailbox on a Unix or Linux system. It allows you to scan an entire mailbox file for messages using a regular expression. Its features include the following:
Features:
- support for mbox (either plain or compressed), MH, nnmh, nnml and maildir folders
- ability of reading mbox folders and out from another mboxgrep process from standard input
- support for basic and extended POSIX regular expressions, and optionally, Perl-complatible regular expressions (if linked with the PCRE library)
- ability of limiting the search to message body or headers (although the whole message is scanned by default)
- message counting
- recursive search through directories
- ability to invert the sense of matching
- ability to write found messages to another mailbox
- filtering duplicate messages
But if you have a default Solaris 10 installation, you may have to set path variables appropriately to compile and run it.
[ More Info ]