$Id$ mdfrm is a simple mail reporting program inspired by elm's frm program. Whereas elm's frm operates on Berkeley mbox files, mdfrm operates on maildirs. It prints one line for each message in Maildir/new, first the From header and then the Subject header. mdfrm makes use of fgetln(3), which as far as i can tell is only available on BSD. To make this easy to use on other UNIX-like platforms, i have copied Marc Espie's portable implementation from OpenBSD make(1). See fgetln.c for details. Note that mdfrm.c was written and is maintained by Eric Gillespie, and is public domain software. fgetln.c, however, is code from OpenBSD make(1), some of which appears to be covered by the original four-clause Berkeley license and some of which is covered by the two-clause BSD variant.