macOS
brew install tneflocal Homebrew formula metadata
sudo port install tnefMacPorts ports tree · textproc/tnef/Portfile · source: api.github.com
brew
Microsoft MS-TNEF attachment unpacker. Version 1.4.18 via Homebrew; verified from local package data.
install
brew install tneflocal Homebrew formula metadata
sudo port install tnefMacPorts ports tree · textproc/tnef/Portfile · source: api.github.com
sudo apk add tnefAlpine Linux edge package indexes · tnef · source: dl-cdn.alpinelinux.org
sudo apt install tnefDebian stable package indexes · tnef · source: deb.debian.org
sudo dnf install tnefFedora Rawhide package metadata · tnef · source: dl.fedoraproject.org
nix profile install nixpkgs#tnefnixpkgs package indexes · pkgs/by-name/tn/tnef/package.nix · source: api.github.com
sudo zypper install tnefopenSUSE Tumbleweed package metadata · tnef · source: download.opensuse.org
overview
Microsoft MS-TNEF attachment unpacker
history
TNEF is a small Unix command-line utility for unpacking Microsoft Transport Neutral Encapsulation Format attachments, commonly encountered as `application/ms-tnef` or `winmail.dat` files from Outlook and Exchange environments.
The project history is unusually well preserved in its NEWS file. It began with a 0.6 first public release, reached 1.0 with MAPI attribute parsing and long filename support, and then accumulated the practical fixes expected of a mail-attachment unpacker: safer path handling, tar-like command options, automated tests, NetBSD and big-endian portability, Mac OS X configuration fixes, MIME type listing, RTF body saving, Unicode handling, and memory/security hardening.
Development reflects the long tail of interoperability with proprietary mail formats. The README explains the reason for the tool: Outlook and Exchange caused more mail to be wrapped in Microsoft's TNEF format, and this program let users extract attachments without needing Microsoft Outlook. Later NEWS entries show maintenance around Unicode filenames, multi-value MAPI attributes, allocator hardening, integer overflow checks, null pointer avoidance, and malicious input handling.
TNEF became a classic packaging target because it solves a small but recurring system-administration problem. The supplied package facts list Homebrew, Debian, Ubuntu, Alpine, Fedora/DNF, MacPorts, Nix, and openSUSE/Zypper packaging, showing that it is carried broadly despite its narrow scope.
The README says it is mainly tested and used on GNU/Linux and Cygwin and should work on other Unix-like systems. That portability claim matches its package footprint: it is the kind of single-purpose C utility that distributions keep available so mail clients, scripts, and users can recover attachments from Microsoft-heavy environments.
Users run `tnef` against a TNEF attachment to list or extract embedded files, message bodies, MIME types, or RTF data depending on options. Its normal role is not a daemon or workflow manager but a rescue utility for mail attachments that arrived in a Microsoft-only wrapper.
The project is especially useful in mixed Unix/Windows organizations, where a developer, sysadmin, or mail user may receive an attachment that is unreadable in a standard Unix mail client.
For package nerds, TNEF is a good example of a tiny utility that earns wide distribution packaging because it removes friction at an old interoperability boundary. It is not glamorous, but it turns a proprietary mail wrapper into ordinary files using normal Unix command-line patterns.
Its NEWS file is also a reminder that small parsers for hostile or malformed file formats need maintenance: many later releases are about bounds checks, overflows, Unicode edge cases, and safer extraction behavior.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
tnef | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/verdammelt/tnef
install metadata
| Package key | brew:tnef |
|---|---|
| Version | 1.4.18 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/tnef |
| Homepage | https://github.com/verdammelt/tnef |
| Repository | https://github.com/verdammelt/tnef |
| Upstream docs | https://github.com/verdammelt/tnef#readme |
| License | GPL-2.0-or-later |
| Source archive | https://github.com/verdammelt/tnef/archive/refs/tags/1.4.18.tar.gz |
| Build dependencies | autoconf, automake, libtool |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | tnef |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
tnef 1.4.18-4
Tool to unpack MIME application/ms-tnef attachments
https://github.com/verdammelt/tnef
sudo apt install tneftnef
nix profile install nixpkgs#tneftnef 1.4.18-3
Tool to unpack MIME application/ms-tnef attachments
https://github.com/verdammelt/tnef
sudo apt install tneftnef 1.4.18-r0
Program for unpacking ms-tnef MIME attachment
https://github.com/verdammelt/tnef
sudo apk add tneftnef-doc 1.4.18-r0
Program for unpacking ms-tnef MIME attachment (documentation)
https://github.com/verdammelt/tnef
sudo apk add tnef-doctnef 1.4.18-17.fc45
Extract files from email attachments like WINMAIL.DAT
https://github.com/verdammelt/tnef
sudo dnf install tneftnef-dolphin 1.4.18-17.fc45
Provides TNEF extract extension for KDE's Dolphin file manager
https://github.com/verdammelt/tnef
sudo dnf install tnef-dolphintnef-nautilus 1.4.18-17.fc45
Provides TNEF extract extension for Gnome's Nautilus file manager
https://github.com/verdammelt/tnef
sudo dnf install tnef-nautilustnef 1.4.18-4.3
Uncompress MS-TNEF Archives
https://github.com/verdammelt/tnef
sudo zypper install tneftnef
sudo port install tnefsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.