Alex Schuilenburg via Mailman-users writes:
Prefixing lines within an email body that begin "From " with '>' does not work with python3-mailman-hyperkitty 1.2.1-1 (debian) -
1.2.1 is very old, although check_hk_import has had only an irrelevant change since then. I believe the same is true of hyperkitty_import. Although changes are somewhat more extensive, the basic strategy of using mailbox.mbox to parse hasn't changed.
you may as well delete the remainder of the message.
Simple example: I have a message that contains the line:
From 1st April 2019, our turnover has exceeded the threshold for
Unfortunately this breaks hyperkitty_import which sees this as the start of a new message (FYI: check_hk_import reports n+1 messages in the mbox which only contains n messages, and hyperkitty_import fails as there are no subsequent header fields following the "From " such as message-id etc).
Are you sure you're reporting this correctly? I ask because I'd like to help but this doesn't look like it can be a Mailman problem to me. check_hk_import is a very simple script which merely reads an mbox file into a stdlib mailbox.mbox object. A quick test with a check_hk_import I have lying around (HyperKitty 1.3.8b1) works fine, no anomolies with From-stuffed lines.
hyperkitty_import is far more complex, but AFAICS in a quick look it also depends on the stdlib mailbox module to parse the mbox file. If the stdlib mailbox module is broken, that's going to break the world (which is what you see).
Perhaps Mark or somebody has a better idea, but this sounds to me like you have another mailbox.py on your pythonpath, perhaps from Python 2. If not, your Python 3 installation may be broken.
Steve