Re: [Mutt] #714: Lines starting From aren't escaped saving from Maildir to mbox
#714: Lines starting From aren't escaped saving from Maildir to mbox
Comment (by rtc):
Replying to [comment:12 vinc17]:
> I've noticed that he avoids talking about the restrictions on line
lengths: escaping a "From " line adds a character, which is bad if the
maximum line length had already been reached. ...
> Though this doesn't apply to mailbox formats, I wouldn't be surprised if
some/much mail software assumes that messages in mailboxes are in the
RFC2822 format (this would be rather logical after all).
The RFC message format is a layer above the mailbox. The mailbox stores
collections of messages transparently, that is, without assumptions about
the message format, while it should be possible to store the messages in
any mailbox format, without any assumptions about its structure. If you
read from a mailbox, you must hence undo the From_ quoting before assuming
that you can handle the message.
> Also, if one assumes that nowadays, mail software supports MIME,
quoted-printable allows to encode the "From" without any corruption.
That would tamper with the message and violate the layer separation
principle.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/714#comment:13>