Garrett Nievin added the comment:
Interestingly, mailutils mh (GNU Mailutils 2.99.99, Ubuntu 16.10)
doesn't have a problem with these files, so I'm using that instead of
nmh.
I assume this is relevant:
http://www.nongnu.org/nmh/diff.html
The limitation on the length of lines i
Garrett Nievin added the comment:
Yes, I couldn't access the mailbox at all. Here's what happens:
$ cat mymail.py ; ./mymail.py
#!/usr/bin/python3
import mailbox
for message in mailbox.MH('~/mail/Personal'):
print(message['subject'])
Traceback (most recen
New submission from Garrett Nievin:
Using Claws Mail, and mailbox.MH crashes on two different conditions:
1) sequence spans lines, suchly:
unseen: 1-222 225-300
990-1024 1048-2048
Not Pythonic, but I fixed it with this update:
def get_sequences(self):
"""Return a n