Article View: comp.mail.misc
Article #234Delimiter of a standard mail spool file.
From: Eric A. Litman
Date: Fri, 10 Apr 1992 01:05
Date: Fri, 10 Apr 1992 01:05
11 lines
890 bytes
890 bytes
Could somebody please tell me what the standard delimiter of a mail spool file is? I would like to write a script that tells me how many messages I have total, the number new, and the number unread (as does Mail upon startup). I have written one that does this, but it chokes on forwarded messages when I grep for Message-Id: (I gave up on From: ). Thanks in advance. -Eric P.S. If somebody has already written something to do this (preferrable in C, that would be nice, too :-)
Technical Details
Message-ID:
<1992Apr10.010511.11691@wam.umd.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!wam.umd.edu!elitmanShow Full Headers
Complete Article Headers
Newsgroups: comp.mail.misc Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!wam.umd.edu!elitman From: elitman@wam.umd.edu (Eric A. Litman) Subject: Delimiter of a standard mail spool file. Message-ID: <1992Apr10.010511.11691@wam.umd.edu> Sender: usenet@wam.umd.edu (USENET News system) Nntp-Posting-Host: rac2.wam.umd.edu Organization: U. of Maryland, College Park. Date: Fri, 10 Apr 1992 01:05:11 GMT