iamamoose commented on PR #247:
URL: 
https://github.com/apache/incubator-ponymail-foal/pull/247#issuecomment-1486628345

   Trying to import the attached file without this patch:
   
   $ pipenv run ./import-mbox.py --source  /tmp/mjc11a-sanitised.mbox.txt  
--html2text --lid [email protected] --dry
   ...
   Thread-1: Slurping /tmp/mjc11a-sanitised.mbox.txt
   Thread-1: Failed to parse: Return=<[email protected]> Message-Id=<195589600>
   Thread-1: Parsed 0 records (failed: 1) from /tmp/mjc11a-sanitised.mbox.txt
   Thread-1: Done, 0 elements left to slurp
   All done! 0 records inserted after 0 seconds. 1 records were bad and 
ignored. 0 duplicates were ignored.
   
   with it, and setting the config option
   
   $ pipenv run ./import-mbox.py --source  /tmp/mjc11a-sanitised.mbox.txt  
--html2text --lid [email protected] --dry
   ...
   Thread-1: Slurping /tmp/mjc11a-sanitised.mbox.txt
   No text or html body found, using what we have
   Thread-1: Parsed 1 records (failed: 0) from /tmp/mjc11a-sanitised.mbox.txt
   Thread-1: Done, 0 elements left to slurp
   All done! 1 records inserted after 0 seconds. 0 records were bad and 
ignored. 0 duplicates were ignored.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to