Subject: Re: bin/3286: sendmail doesn't escape 'From' and uses wrong id for .forward
To: None <netbsd-bugs@NetBSD.ORG>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: netbsd-bugs
Date: 03/04/1997 10:09:02
>>> When sendmail receives a mail that contains lines beginning with
>>> 'From' it does not escape them.

>> Do you mean "any line that starts with 'From'" or "lines that could
>> be taken as valid 'From_' lines"?
> [the latter]
> der Mouse argues for changing the Agent, is that elm or mail.local ?

Of those two, more likely the latter.  I mean whatever program is
responsible for taking the message and stuffing it into an mbox-format
maildrop file - ie, don't mangle perfectly innocent text lines unless
and until you are _certain_ it's going into an mbox-format file, which
basically means do it as late as possible.  (Doing it in elm is no
help; elm is the UA, which _reads_ the mbox-format maildrop; by the
time elm gets hold of the message, either the escaping has already
happened or it's too late for it to do any good.)

> mail.local has code for escaping From but doesn't seem to do it.

Then it seems to me that _that_ is the appropriate thing to fix.  (I'd
say the _right_ fix is to abandon the broken maildrop format, but too
many third-party UAs rely on it.)

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B