On Sun, Jan 25, 2026 at 06:09:39PM +0800, Kevin J. McCarthy wrote:

See gitlab issue 433.

This changes the From line parser to work in reverse.  When it gets to
the return path, it just slurps it all in, allowing the address parser
to make sense of it separately.

When the new code slurps it all in, how does it know where to stop? Does it count on recognizing date-time syntax? What if that syntax is unusual?

Does Mutt have any regression testing of its mbox parsing?

This change is to handle these sample mbox From_ lines from issue 433 (indented here for safety):

    From [email protected] (comment) Sat Jul 27 03:26:47 1996
    From u3 <[email protected]> Mon Aug 12 14:43:33 1996

Wow, I've never seen that.

I have seen something analogous in the date-time part of mbox From_ lines: syntax from RFC 822 Date: headers. That also originated in the mid-1990s, at one mail service; I haven't seen it there since, or ever anywhere else.

Both are confused, of course. RFC 822 and mbox are two different things.

In my case, I patched up those mbox files by hand, so existing software could read them.

Reply via email to