newmail is a command line utility to check for new/unread mail in a recursive Maildir++ folder structure. It is written in pure ANSI C, should work on any POSIX compatible system, and can be used for other stuff—like, for example, in combination with Mutt—too.