Subject: Re: bin/3286: sendmail doesn't escape 'From'
To: None <netbsd-bugs@NetBSD.ORG>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: netbsd-bugs
Date: 03/04/1997 12:32:47
>> The rule that mail.local uses is that if the line starts with
>> "From " *and* the previous line was blank, it sticks a ">" in front;
>> otherwise it leaves it unchanged.  This gets along well with
>> Berkeley Mail, which requires the blank line to recognize a new
>> message, but not so well with other mailers.

Then, I believe, the "other mailers" are broken; a message boundary in
the mbox file format is defined to be "From " immediately following two
consecutive newlines (with an implicit message begin at the beginning
of the file).  Always has been.  If some UAs mistake "From " after one
(but not two) newlines for a message boundary, then their mbox parsing
code is simply broken, as much so as if it mistook any other string for
a message boundary.

> btw.  Nobody has mentioned anything about sendmail using uid "daemon"
> when reading root's .forward file ?

That is correct, at least as far as what I've seen goes.  (Is it when
_reading_ root's .forward, or when _executing pipes therefrom_?)

					der Mouse

		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B