GitHub user sebbASF opened an issue:

    https://github.com/apache/incubator-ponymail/issues/212

    Bug: import-mbox.py fails to unescape >From lines

    The mbox format is not standardised, but most will escape a line starting 
with 'From ' by prepending a '>'.
    
    When importing such files, the '>' prefix needs to be stripped off.
    
    Sample import that is wrong:
    
    
https://lists.apache.org/thread.html/15f6963a8102a5c3be141b6151f2c22428011c4ed60511ca2da1582b@1451547586@%3Ckerby.directory.apache.org%3E
    
    AFAICT the problem is in the standard mailbox software which is part of 
Python.
    It looks like this escapes 'From ' on output, but does not unescape it on 
input.

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to