Here are ports for converters/py-tnefparse and an optional but useful dep archivers/py-compressed_rtf.
I need to process some emails that were forwarded as attachment via what looks like an inbox rule an o365 which end up as a ridiculous tnef file which the existing converters/tnef does not handle at all. tnefparse isn't brilliant at it either but at least it allows me to convert the winmail.dat to a zip with a single unnamed file which I can then pass through tnefparse again and at least extract the message body. (Thanks, Microsoft!) OK to import? (also accepting suggestions of other software to handle these in case there's something else which does a better job :) Information for inst:py3-tnefparse-1.4.0 Comment: TNEF decoding and attachment extraction Description: This is a pure-python library for decoding Microsoft's Transport Neutral Encapsulation Format (TNEF). A command-line utility, tnefparse, is also provided to list contents of TNEF files, extract attachments found inside them and so on. Maintainer: The OpenBSD ports mailing-list <[email protected]> WWW: http://alir3z4.github.io/html2text/ Information for inst:py3-compressed_rtf-1.0.6 Comment: handle Compressed Rich Text Format (RTF) attachments Required by: py3-tnefparse-1.4.0 Description: Python module to work with Compressed Rich Text Format (RTF) files (also known as "LZFu"). Based on Rich Text Format (RTF) Compression Algorithm: https://msdn.microsoft.com/en-us/library/cc463890(v=exchg.80).aspx Maintainer: The OpenBSD ports mailing-list <[email protected]> WWW: https://github.com/delimitry/compressed_rtf
py-tnefparse.tgz
Description: application/tar-gz
