I installed mboxgrep on a system running SunOS 5.7 today. I encountered some minor problems last year when I installed the software on a Solaris 10 system (see Mboxgrep Installation on Solaris 10), but no problems at all with the installation this time. After unzipping and untarring the file I downloaded from freshmeat.net at http://freshmeat.net/projects/mboxgrep/, I changed my working directory to the one holding the mboxgrep files and issued the following commands:
./configure
make
make install
I needed to find all email messages in my inbox with the phrase "subnet by subnet", so I issued the following command:
mboxgrep -o subnetinfo "subnet by subnet" /var/mail/jimc
The -o mailboxname
creates an output file with the name
mailboxname
.