<<< Date Index >>>     <<< Thread Index >>>

How to tell if a maildir has mail in it?



I think this is one of my major problems with Maildir.

How do you tell whether a maildir mailbox has mail in it without
actually opening it?  If it was an mbox you'd see the size which,
amazingly enough, is zero if it's empty.  But with a maildir box all
you see is the directory size which tells you nothing about whether
there's anything in it.

There's the 'N' flag indicating new mail but nothing to indicate the
presence of old mail (or is there?).

-- 
Chris Green