macOS
brew install nmhlocal Homebrew formula metadata
brew
New version of the MH mail handler. Version 1.8 via Homebrew; verified from local package data.
install
brew install nmhlocal Homebrew formula metadata
sudo apk add nmhAlpine Linux edge package indexes · nmh · source: dl-cdn.alpinelinux.org
sudo apt install nmhDebian stable package indexes · nmh · source: deb.debian.org
sudo dnf install nmhFedora Rawhide package metadata · nmh · source: dl.fedoraproject.org
nix profile install nixpkgs#nmhnixpkgs package indexes · pkgs/by-name/nm/nmh/package.nix · source: api.github.com
sudo zypper install nmhopenSUSE Tumbleweed package metadata · nmh · source: download.opensuse.org
overview
New version of the MH mail handler
history
nmh is the maintained 'new MH' implementation of the MH message handling system: a Unix mail environment made from many small commands rather than one monolithic mail client.
MH predates nmh by decades. RAND's 1979 user's manual describes MH as a UNIX shell-driven mail system where each mail activity is a separate command and each message is stored as a separate file in a folder directory. nmh continued that model as a mostly compatible replacement for MH, based on MH 6.8.3 from RAND and the University of California.
The nmh FAQ describes the fork as a response to the languishing state of MH: Richard Coleman created nmh from MH 6.8.3, added GNU autoconf, and fixed bugs and inconsistencies. Later maintainers moved the project infrastructure to Savannah, which remains the official source location.
nmh is niche by modern mail-client standards but important to Unix mail traditionalists because it preserves the MH composition model: commands such as inc, scan, show, repl, forw, refile, pick, sortm, and rmm compose naturally with shell scripts. The project page also points to front ends such as exmh and mh-e, showing that nmh is both an end-user toolkit and a substrate for other mail interfaces.
Package-manager coverage across Homebrew, Debian/Ubuntu, Fedora, Alpine, Nix, and openSUSE reflects long-tail adoption rather than hype adoption. Its value is continuity: scripts, habits, and mail stores built around MH semantics can keep working on contemporary Unix-like systems.
Package nerds use nmh when they want mail to be shell-native. Typical workflows initialize a profile, incorporate messages into MH folders, scan folders, show or reply to individual messages, refile mail by shell command, and use pick/sortm/mhpath/mhparam in scripts. The practical appeal is that the mailbox is regular files plus small commands, so grep, find, cron, editors, and shell aliases remain first-class tools.
The tradeoff is intentional: nmh is not a turnkey GUI mail app. It rewards users who want explicit control over message storage, composition drafts, aliases, profile settings, and MIME handling.
nmh matters because it is a living bridge from early Unix mail design to present package ecosystems. It is a good example of a package whose significance is architectural and historical rather than measured by broad consumer adoption.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.mh_profileexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
anno | cli | global executable | |
burst | cli | global executable | |
comp | cli | global executable | |
flist | cli | global executable | |
flists | cli | global executable | |
fmttest | cli | global executable | |
fnext | cli | global executable | |
folder | cli | global executable | |
folders | cli | global executable | |
forw | cli | global executable | |
fprev | cli | global executable | |
inc | cli | global executable | |
install-mh | cli | global executable | |
mhbuild | cli | global executable | |
mhfixmsg | cli | global executable | |
mhical | cli | global executable | |
mhlist | cli | global executable | |
mhlogin | cli | global executable | |
mhmail | cli | global executable | |
mhn | cli | global executable | |
mhparam | cli | global executable | |
mhpath | cli | global executable | |
mhshow | cli | global executable | |
mhstore | cli | global executable | |
msgchk | cli | global executable | |
new | cli | global executable | |
next | cli | global executable | |
packf | cli | global executable | |
prev | cli | global executable | |
prompter | cli | global executable | |
refile | cli | global executable | |
repl | cli | global executable | |
rmf | cli | global executable | |
rmm | cli | global executable | |
scan | cli | global executable | |
send | cli | global executable | |
sendfiles | cli | global executable | |
show | cli | global executable | |
sortm | cli | global executable | |
unseen | cli | global executable | |
whatnow | cli | global executable | |
whom | 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.
install metadata
| Package key | brew:nmh |
|---|---|
| Version | 1.8 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/nmh |
| Homepage | https://www.nongnu.org/nmh/ |
| Repository | https://git.savannah.nongnu.org/git/nmh.git |
| Upstream docs | https://www.nongnu.org/nmh |
| License | BSD-3-Clause |
| Source archive | https://download.savannah.gnu.org/releases/nmh/nmh-1.8.tar.gz |
| Dependencies | openssl@3, w3m |
| Uses from macOS | cyrus-sasl, ncurses |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, 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 | nmh |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Conflicts With |
|
| 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.
nmh 1.8-3
set of electronic mail handling programs
sudo apt install nmhnmh
nix profile install nixpkgs#nmhnmh 1.8-1build4
set of electronic mail handling programs
sudo apt install nmhnmh 1.8-r3
Powerful electronic mail handling system
sudo apk add nmhnmh-doc 1.8-r3
Powerful electronic mail handling system (documentation)
sudo apk add nmh-docnmh 1.8-10.fc44
A capable MIME-email-handling system with a command-line interface
https://savannah.nongnu.org/projects/nmh
sudo dnf install nmhnmh 1.8-1.5
Unix Mail Handler
sudo zypper install nmhsource 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.