This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: mailbox fails to read message from mbox
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.8
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: peter.wurmsdobler
Priority: normal Keywords:

Created on 2021-11-23 18:18 by peter.wurmsdobler, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg406873 - (view) Author: Peter Wurmsdobler (peter.wurmsdobler) Date: 2021-11-23 18:18
When using mailbox to convert mbox files to maildir, I have noticed that it cannot handle messages in the mbox file that start with two subsequent `From` lines in the header like:

From - Fri Feb 20 09:46:18 1998
>From Wed Feb 18 18:38:38 1998

A new maildir message will be created, but none of fields following the two header lines such as `Date` etc. will be parsed; the result is a message with header and body inside the message.
Date User Action Args
2022-04-11 14:59:52adminsetgithub: 90040
2021-11-23 18:18:02peter.wurmsdoblercreate