Article View: comp.mail.misc
Article #3948Re: mbox file format wanted !!!
From: Tony L. Hansen
Date: Tue, 12 Jan 1993 05:07
Date: Tue, 12 Jan 1993 05:07
36 lines
1693 bytes
1693 bytes
< From: povlphp@uts.uni-c.dk (Povl H. Pedersen) < Header says it all. I want the format of the mbox file that is tandard on < unix systems. I would prefer not to parse lots of source code to find it. There are two types of headers: UNIX Postmark headers and RFC 822 headers. The UNIX Postmark headers are the lines which start with "From " and ">From ". They look like From <user> <date-string> or From <user> <date-string> remote from <system> The RFC 822 headers are the Keyword: style headers. A mailbox consists of multiple messages, one after the other. A mail message looks like this: 1 "From " UNIX postmark header 0 or more ">From " UNIX postmark headers 0 or more RFC 822 headers 0 or 1 blank line the message body On some UNIX systems, if one of the RFC 822 headers is a "Content-Length:" header, then the message body consists of exactly the number of bytes specified in that header. If there is no "Content-Length:" header, then the next message is started by a line which starts with the characters "From ". I hope this helps. Tony Hansen hansen@pegasus.att.com, tony@attmail.com att!pegasus!hansen, attmail!tony
Technical Details
Message-ID:
<1993Jan12.050718.9664@cbnewsk.cb.att.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsk!pegasus!hansenReferences:
<1993Jan3.222004.28788@uts.uni-c.dk>Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.misc Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsk!pegasus!hansen From: hansen@pegasus.att.com (Tony L. Hansen) Subject: Re: mbox file format wanted !!! Organization: AT&T Date: Tue, 12 Jan 1993 05:07:18 GMT Message-ID: <1993Jan12.050718.9664@cbnewsk.cb.att.com> Summary: the format Keywords: mail, mailbox References: <1993Jan3.222004.28788@uts.uni-c.dk> Sender: hansen@cbnewsk.cb.att.com (tony.l.hansen) Lines: 36