Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1exp 11/4/83; site ihuxu.UUCP Path: utzoo!linus!philabs!seismo!harpo!eagle!mhuxl!ihnp4!ihuxu!jhall From: jhall@ihuxu.UUCP Newsgroups: net.mail Subject: looking for definition of a USENET mail item Message-ID: <221@ihuxu.UUCP> Date: Thu, 15-Dec-83 14:16:00 EST Article-I.D.: ihuxu.221 Posted: Thu Dec 15 14:16:00 1983 Date-Received: Sat, 17-Dec-83 03:17:47 EST Organization: AT&T Bell Labs, Naperville, Il Lines: 20 I'm looking for a definition of a mail item as used as a standard in the various mail programs on USENET. I've found that the following rather naive definition works on the couple of hundred incoming mail items I've been saving: A mail item consists of a line beginning with the string "From " starting in column one, followed by zero or more lines that do not start with "From ", and ending upon an EOF or upon reaching the start of the next mail item. The key point of course is that this assumes that lines in the contents of the message do not begin with "From ", or more likely have been prepended with ">" by the mailer before sending. I suspect that there's a better definition out there, although I am skeptical about a universal standard for almost anything on USENET. Please post your replies to the net. -- --John R. Hall, ihuxu!jhall