On Wed, Jan 10, 2007 at 11:23:52AM +0000, Tener Hades wrote:
> For mutt, I count the "Message-ID:" headers in my spoolfile ($MAIL).
> Thus:
>       echo `grep "^Message-ID:" $MAIL | wc -l`
> 
> But this is prone to be misleading as not all messages arrive with a
> Message-ID: header, and some arrive with multiple. But it's better
> then nothing.

With grepmail (http://grepmail.sourceforge.net/) you can do something 
like this:

        grepmail -B -H -v ^Status:\ RO /path/to/mbox | wc -l

Bryan

Reply via email to