On Wed, Jan 10, 2007 at 10:15:52PM +0100, Alessandro Dotti Contra wrote:
> 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`
> 
> echo `grep "^From " $MAIL | wc -l
> 
> Should give a better result, since every mail should have an envelope
> from header (From .....).

I have done it this way:
Inb: `grep "^From: " /home/michael/mail/inbox/new/* | wc -l` dwm:`grep
"^From: " /home/michael/mail/dwm/new/* | wc -l`  dug:`grep "^From: "
/home/michael/mail/debian-user-german/new/* | wc -l`

this works for me with my Maildir-directory,
Thank all for your help...




Reply via email to