[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mbox bugs?
From: |
Kurt Hackenberg |
Subject: |
Mbox bugs? |
Date: |
Sun, 23 Jan 2022 21:02:36 -0500 |
User-agent: |
Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 |
While testing the current mailutils, I tried a few things, and found
what look like two bugs in the mbox read stuff.
Attached are two files, t1.mboxrd and t1_mu.dotmail. I created the first
one outside mailutils, and used movemail to read it and write the
second, converting mbox to dotmail.
I believe these days mailutils treats all mbox files as the Rahul Dhesi
variant, and, on read, unescapes message lines that start with ">From ".
In this case, it unescaped the first two such lines, but not the third.
And, in the output dotmail file, the message has a blank line added at
the end, before the dot line that marks the end of the message. I guess
the mbox read code treated the blank line after the message in the mbox
file as part of the message, which it's not -- the blank line is part of
mbox format.
The extra blank line doesn't show up when movemail converts other
formats to dotmail, so it's probably not a bug in the dotmail code.
t1.mboxrd
Description: Text document
t1_mu.dotmail
Description: Text document
- Mbox bugs?,
Kurt Hackenberg <=