On 2026-01-28 18:05:34 -0500, Derek Martin wrote:
> [...]
> Messages which have paragraphs in the body which start with From
> should do one of:
> 
>     1. escape that From (ONLY if preceded by a newline)
>     2. Use the Content-Length header to mark where the message ends
>     3. Use quoted-printable encoding or some other well-known and
>        well-supported encoding to alleviate the need to escape the
>        "\nFrom " line.
> 
> If your MDA writes messages to folders without doing one of those
> three things, it will fail to interoperate with well-written, robust
> mailers.  Mutt should not care about that.

(1) was probably acceptable in the past, but escaping such a "From "
is unacceptable in attachments. And anyway, the MDA also needs to
support the Content-Length header in order not to break it by the
other methods, and also ensure that it is correct before copying
the message to a mbox file (before that, this header is not used).

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to