BSD Ports

mail/tnef2txt 1.4 NetBSD

Portable application/ms-tnef parser

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Categories
mail
Package size
8.9 KiB, 19.1 KiB installed

Description

Several Microsoft Windows email applications support the Transport Neutral Encapsulation Format (TNEF). This is a method for MAPI compliant mail programs to transfer data to each other across gateways. Generally, a mail agent will create a MIME multipart message containing the text body of the mail message, and a single attachment of type application/ms-tnef. This attachment at least follows the format of MIME messages, if not the intent. Usually, this bitstream contains no more information than is already contained in the headers and body of the message, but instead of attaching attachments to the email message as separate MIME attachments, they are included in the TNEF attachment. To handle this, I wrote a program tnef2txt which will dump the information in the TNEF bitstream, and also dump files to disk which are contained in the bitstream. Just run the program without arguments for usage information. You can call this program from a mailcap file with the following line:

application/ms-tnef; tnef2txt %s; copiousoutput

or, if you wish to save attachments to disk which are in the bitstream:

application/ms-tnef; tnef2txt -s %s; copiousoutput

In the other systems

The newest version among them is 1.4, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDmail/tnef2txt1.4 newestnone known-[email protected]-
FreeBSDtextproc/tnef2txt by name1.4 newestnone known-[email protected]-
DragonFlytextproc/tnef2txt by name1.4 newestnone known-[email protected]-
HardenedBSDtextproc/tnef2txt by name1.4 newestno data-[email protected]-
GhostBSDtextproc/tnef2txt by name1.4 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkgin install tnef2txt

From pkgsrc:

cd /usr/pkgsrc/mail/tnef2txt && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.4
NetBSD 10.1 aarch641.4
SmartOS / illumos x86_641.4
macOS 15 arm641.4

Dependencies

No port depends on this one.