On 2026-01-28 11:30:47 +0800, Kevin J. McCarthy wrote:
> Maybe this brings us full circle, to either leaving things as they are, or
> trying out the reverse line scanner to compensate for verbose return paths,
> and not worrying about the crazier example given.  Thoughts, everyone?

Perhaps accept only the strict format by default and have an option
to accept any line starting with "From " as a separator?

Moreover, I think that in the cases where a "From " line is required
during parsing (e.g. at the start of a mbox file or at a position
obtained from the Content-Length of the previous message), it is
always safe to accept any "From " line format (instead of giving
an error saying that the mailbox is corrupted).

-- 
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