Gnus development mailing list
 help / color / mirror / Atom feed
* From_ line problem -- when does it occur?
@ 1999-08-22 11:33 Kai Großjohann
  1999-08-22 13:42 ` Florian Weimer
  1999-08-22 16:31 ` Aaron M. Ucko
  0 siblings, 2 replies; 10+ messages in thread
From: Kai Großjohann @ 1999-08-22 11:33 UTC (permalink / raw)


We all know the infamous From_ line problem.  To reiterate: since
From_ lines mark the beginning of a message in a Unix mbox format
file, every "From " at the beginning of a line which does not start a
new message gets a ">" prepended to it, giving ">From ".  The problem
with this is that you can't say whether ">From " in a message is an
escaped From_ line or whether it was in the message in the first
place.

It is clear that the problem can be avoided: you change the file
format.  For example, if each message contains a header which gives
the length of the message, From_ lines within that message need not be
escaped.  Or you could use an algorithm which replaces "From " by
">From " and ">From " by ">>From " and so on.  Or you use a different
format altogether.  Or you use a one-file-per-message storage
structure.

I wonder when does this problem actually occur when using Gnus?
Obviously, it can't be avoided in some situations, but what about the
other situations?

When movemail reads mail from a POP server, it produces babyl output,
so the problem might be avoided in this case.  (Unless the POP server
reads from a Unix mbox file which has this problem.)

But if movemail reads from a Unix mbox file which uses the stupid
From_ line algorithm, the problem will persist within Gnus.

Does the problem in any way depend on the backend used?  I mean,
suppose you are reading incoming mail from a place without the From_
line problem (a babyl file, say): will the From_ line problem appear
in an nnfolder or nnmbox file?  Or does Gnus use a header or something
clever to prevent the problem?

Conversely: suppose movemail is reading a From_ line infected file;
does it help to use nnml as a backend?

kai
-- 
I like BOTH kinds of music.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1999-08-23 20:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-22 11:33 From_ line problem -- when does it occur? Kai Großjohann
1999-08-22 13:42 ` Florian Weimer
1999-08-22 16:31 ` Aaron M. Ucko
1999-08-22 17:37   ` Stainless Steel Rat
1999-08-22 20:34     ` Kai Großjohann
1999-08-23 17:01       ` Stainless Steel Rat
1999-08-23 17:34         ` Stainless Steel Rat
1999-08-23 19:20       ` Aaron M. Ucko
1999-08-23 20:10         ` Stainless Steel Rat
1999-08-23 20:15           ` Stainless Steel Rat

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).