[New-bugs-announce] [issue45882] mailbox fails to read message from mbox

Peter Wurmsdobler report at bugs.python.org
Tue Nov 23 13:18:02 EST 2021


New submission from Peter Wurmsdobler <peter at wurmsdobler.org>:

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 at 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.

----------
components: Library (Lib)
messages: 406873
nosy: peter4
priority: normal
severity: normal
status: open
title: mailbox fails to read message from mbox
type: behavior
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45882>
_______________________________________


More information about the New-bugs-announce mailing list