[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: e-mail with line in body beginning with "From"



On Sat, 10 Dec 2022 at 19:05, <paulf@quillandmouse.com> wrote:
> On Fri, 9 Dec 2022 20:39:34 -0600 Greg Marks <gtmarks@gmail.com> wrote:

> > In a recent instance, the body of the e-mail contained a line
> > beginning with the word "From"; the sendmail program prefixed the
> > line with the character ">" and a space (evidently interpreting
> > "From" as a header line that needed to be quoted).  This was more
> > than just a trivial annoyance, since it rendered my digital signature
> > on the e-mail invalid.

> > Is there a way to tell the Postfix sendmail command not to alter any
> > such lines in the body of the message?  (I'm afraid I wasn't able to
> > discern an answer in the man page for sendmail or by searching the
> > postfix.org site.)

> You don't want to do this. Consider an MUA which stores your mail in
> "mbox" format-- one email right after another in one file. The
> delimiter is a line which starts at the left margin with the word
> "From". For this to work, any other line which starts with "From" must
> be "armored". And the way you do that is to precede it with "> ".

> I don't know the RFCs involved, but I'm guessing they mandate or
> suggest this treatment.

Here's a reference describing 'mbox' format, which provides
reference RFCs:
  https://manpages.debian.org/bullseye/mutt/mbox.5.en.html


Reply to: