Gnus development mailing list
 help / color / mirror / Atom feed
From: visigoth@naiad.fac.cs.cmu.edu
Subject: Re: Gnus, movemail, POP3, trailing empty lines
Date: 08 Feb 1997 06:50:06 -0500	[thread overview]
Message-ID: <vpdpvyb4ivl.fsf@naiad.fac.cs.cmu.edu> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of 08 Feb 1997 10:25:29 +0100

Lars Magne Ingebrigtsen <larsi@ifi.uio.no> 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.


  reply	other threads:[~1997-02-08 11:50 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-03 15:24 Kai Grossjohann
1997-02-03 16:36 ` Rich Pieri
1997-02-03 20:01   ` visigoth
1997-02-04  0:50     ` Lars Magne Ingebrigtsen
1997-02-04 12:05   ` Kai Grossjohann
1997-02-04 13:03     ` Bernard.Steiner
1997-02-04 13:10     ` Per Abrahamsen
1997-02-04 13:43       ` Kai Grossjohann
1997-02-04 14:41         ` Bernard.Steiner
1997-02-04 15:23         ` Rich Pieri
1997-02-04 15:31           ` Kai Grossjohann
1997-02-04 10:14 ` dave edmondson
1997-02-04 14:52   ` Rich Pieri
1997-02-05 22:40   ` Michael Huehne
1997-02-05 10:47 ` Kai Grossjohann
1997-02-08  9:25   ` Lars Magne Ingebrigtsen
1997-02-08 11:50     ` visigoth [this message]
1997-02-08 12:32       ` Per Abrahamsen
1997-02-08 16:08         ` Frank D. Cringle
1997-02-08 19:11           ` Steven L Baur
1997-02-09  2:58         ` Rich Pieri
1997-02-09  9:34           ` Per Abrahamsen
1997-02-09 14:56             ` Randal Schwartz
1997-02-09 15:32               ` mbox quoting (was: Re: Gnus, movemail, POP3, trailing empty lines) Per Abrahamsen
1997-02-10 14:52                 ` Rich Pieri
1997-02-10 15:30                   ` Per Abrahamsen
1997-02-10 15:45                   ` Lars Balker Rasmussen
1997-02-11  9:25                     ` Greg Stark
1997-02-11 11:36                       ` Per Abrahamsen
1997-02-11 12:52                         ` Lars Magne Ingebrigtsen
1997-02-11 13:44                           ` Per Abrahamsen
1997-02-11 18:43                           ` Sudish Joseph
1997-02-12  7:35                             ` Per Abrahamsen
1997-02-12 12:52                               ` Randal Schwartz
1997-02-12  8:47                             ` Lars Magne Ingebrigtsen
1997-02-11 12:57                         ` Randal Schwartz
1997-02-11 13:28                           ` Per Abrahamsen
1997-02-11 13:33                             ` Randal Schwartz
1997-02-11 14:16                               ` Per Abrahamsen
1997-02-11 16:13                                 ` Rich Pieri
1997-02-12  7:28                                   ` Per Abrahamsen
1997-02-11 15:00                               ` Rich Pieri
1997-02-09 16:19             ` Gnus, movemail, POP3, trailing empty lines Rich Pieri
1997-02-09 22:21               ` Mark Eichin
1997-02-10  4:44                 ` Lars Magne Ingebrigtsen
1997-02-10  4:45       ` Lars Magne Ingebrigtsen
1997-02-10  8:05         ` visigoth
1997-02-11 12:38           ` Lars Magne Ingebrigtsen
1997-02-03 23:48 St. Suika Fenderson Roberts
1997-02-04  1:59 ` Lars Magne Ingebrigtsen
1997-02-04  3:22   ` Jason L Tibbitts III

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vpdpvyb4ivl.fsf@naiad.fac.cs.cmu.edu \
    --to=visigoth@naiad.fac.cs.cmu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).