From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9839 Path: main.gmane.org!not-for-mail From: visigoth@naiad.fac.cs.cmu.edu Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus, movemail, POP3, trailing empty lines Date: 08 Feb 1997 06:50:06 -0500 Sender: visigoth@naiad.fac.cs.cmu.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035149803 20853 80.91.224.250 (20 Oct 2002 21:36:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:36:43 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id EAA21805 for ; Sat, 8 Feb 1997 04:08:54 -0800 Original-Received: from naiad.fac.cs.cmu.edu (NAIAD.FAC.CS.CMU.EDU [128.2.191.173]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Sat, 8 Feb 1997 12:50:33 +0100 Original-To: ding@ifi.uio.no In-Reply-To: Lars Magne Ingebrigtsen's message of 08 Feb 1997 10:25:29 +0100 Original-Lines: 48 X-Mailer: Red Gnus v0.82/Emacs 19.34 Source-Info: Sender is really visigoth@naiad.fac.cs.cmu.edu Xref: main.gmane.org gmane.emacs.gnus.general:9839 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9839 Lars Magne Ingebrigtsen writes: > Yes; the change was made around 0.70, I think. The new version is > more correct than the last version, but it doesn't deal with these > types of misconstructed spool files. The "From " header is supposed > to have a blank line before it, from what I understand. Okay--here's a quote from the document I found which talks about mbox format. It's from the man pages that come with qmail (yes, D.J. Bernstein is a flaming, uh, maniac, but I think this is reasonable): A message encoded in mbox format begins with a From_ line, continues with a series of non-From_ lines, and ends with a blank line. {...} HOW A MESSAGE IS READ A reader scans through an mbox file looking for From_ lines. Any From_ line marks the beginning of a message. The reader should not attempt to take advantage of the fact that every From_ line (past the beginning of the file) is preceded by a blank line. {...} It's my belief, that regardless of what any standard says, Gnus should accept messages in this broken format. Remember: the goal is to accept as many formats as possible, even if they're broken, and to produce only correct output. >>From ... some stuff >>From this line is in the message, not a new one some more stuff should never be generated as an mbox file, unless Content-Length is included in the file, because From lines are quoted with >. This is *not* ambiguous. The above can only be generated by two sequential messages. The fact that we know of at least one place that the above can happen for two messages and no places where it can occur for a single message leads me to a rather obvious conclusion. Sorry to rant, but I don't see why this is being argued about. John.