This is a littel problem I found using maildrop under NetBSD.
(NetBsd bug pkg/15568)
If maildrop has to create a 'From ' line at the start of a mail item
then it erronously includes a blank line before it.
This causes some MUA (eg mutt) to complain that /var/mail/xyz isn't
a valid mailbox.
Even the maildrop man page says:
At least one mail program writes an empty line before a
From_ header when saving a message into a file. maildrop
ignores empty lines at the beginning of messages.
Use maildrop to deliver mail that doesn't have a 'From ' line into an
empty /var/mail/xyz mailbox then try to read the mail using mutt.
in pkgsrc/mail/maildrop/work/maildrop-1.3.7/maildrop/formatmbox.C
remove the \n from the "\nFrom " in FormatMbox::GetfromLine.
*** formatmbox.C Sun Feb 10 12:41:58 2002
--- formatmbox.C.issue Sun Feb 10 12:41:52 2002
***************
*** 42,48 ****
time(&tm);
! tempbuf="From ";
tempbuf += maildrop.msginfo.fromname;
tempbuf += ' ';
--- 42,48 ----
time(&tm);
! tempbuf="\nFrom ";
tempbuf += maildrop.msginfo.fromname;
tempbuf += ' ';
David