classification
Title: mailbox fails to read message from mbox
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.8
process
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 2021-11-23 18:18 by peter.wurmsdobler.

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 namel@company.com 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.
History
Date User Action Args
2021-11-23 18:18:02peter.wurmsdoblercreate