BSD Ports

mail/nmh-devel 2026.08.23_1 FreeBSD

Cleaned up MH mailer suite

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
8419ded74e
License
BSD3CLAUSE
Categories
mail
Package size
1277.0 KiB, 6776.1 KiB installed

Description


What is it?

nmh (new MH) is an electronic mail handling system - a MUA (Mail User Agent) package for end-users to handle their e-mail. It was originally based on the package MH-6.8.3, and is intended to be a (mostly) compatible drop-in replacement for MH.

nmh consists of a collection of fairly simple single-purpose programs to send, receive, save, retrieve, and manipulate e-mail messages. Since nmh is not a single comprehensive program, you may freely intersperse nmh commands with other shells commands, or write custom scripts which utilize these commands in flexible ways.

In the other systems

SystemPortVersion
FreeBSDmail/nmh-devel2026.08.23_1
DragonFlymail/nmh-devel2025.01.08_1
HardenedBSDmail/nmh-devel2026.01.20_1
GhostBSDmail/nmh-devel2026.01.20_1

Install

Binary package:

pkg install nmh-devel

From the ports tree:

cd /usr/ports/mail/nmh-devel/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	nmh-devel>0:mail/nmh-devel

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2026.08.23_12026.08.23_12022.07.042025.06.11_12026.08.23_1
FreeBSD:14:quarterly2026.01.20_12026.01.20_1n/a2025.04.13_12026.01.20_1
FreeBSD:15:latest2026.08.23_12026.08.23_1n/a2025.06.11_12025.06.11_1
FreeBSD:15:quarterly2026.01.20_12026.01.20_1n/an/an/a
FreeBSD:16:latest2026.01.20_12026.08.23_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 2

The full lists below include those, and their dependencies in turn.

Build dependencies 25
Run dependencies 20

No port depends on this one.

Configuration

Options name: mail_nmh

OptionDefaultDescription
DOCSoffBuild and/or install documentation
DOToffDot file locking
ELINKSoffInstall dependencies for www/elinks
FCNTLofffcntl() file locking
FLOCKonflock() file locking
HASH_BKPoffUse hash as backup prefix (default is a comma)
LINKSoffInstall dependencies for www/links
LOCKFofflockf file locking
LYNXoffInstall dependencies for www/lynx
REPLYFILTERoffInstall dependencies for contrib/replyfilter
SASL2offSASL2 support
SENDMAIL_PIPEonUse local sendmail (connect through pipe)
SENDMAIL_SMTPoffUse local sendmail (connect through socket)
SMTPoffUse remote SMTP
TLSoffSecure network connection support via TLS
W3MonInstall dependencies for www/w3m
USES
autoreconf:build cpe gmake iconv ncurses python readline shebangfix
Service scripts
none
Conflicts with
ali ja-mh pixie p5-Dist-Joseki nmh-1.*

Message after installing

Some files you might need to customize include the following:

    mhn.defaults - adjust the programs used to handle various
	MIME content types.

    mts.conf - adjust the "servers" setting if you don't have
	a locally installed sendmail (or other MTA).

You may also find interesting freely avaiable book about nmh:
http://rand-mh.sourceforge.net/book/

Files

Manual pages 71
  • MH(7)
  • ali(1)
  • anno(1)
  • ap(8)
  • burst(1)
  • comp(1)
  • dist(1)
  • dp(8)
  • flist(1)
  • flists(1)
  • fmtdump(8)
  • fmttest(1)
  • fnext(1)
  • folder(1)
  • folders(1)
  • forw(1)
  • fprev(1)
  • inc(1)
  • install-mh(1)
  • mark(1)
  • mh-alias(5)
  • mh-chart(7)
  • mh-draft(5)
  • mh-folders(5)
  • mh-format(5)
  • mh-mail(5)
  • mh-mime(7)
  • mh-mkstemp(1)
  • mh-profile(5)
  • mh-sequence(5)
  • mh-tailor(5)
  • mh_profile(5)
  • mhbuild(1)
  • mhfixmsg(1)
  • mhical(1)
  • mhl(1)
  • mhlist(1)
  • mhlogin(1)
  • mhmail(1)
  • mhn(1)
  • mhparam(1)
  • mhpath(1)
  • mhshow(1)
  • mhstore(1)
  • msgchk(1)
  • mts.conf(5)
  • new(1)
  • next(1)
  • nmh(7)
  • packf(1)
  • pick(1)
  • post(8)
  • prev(1)
  • prompter(1)
  • rcvdist(1)
  • rcvpack(1)
  • rcvstore(1)
  • rcvtty(1)
  • refile(1)
  • repl(1)
  • rmf(1)
  • rmm(1)
  • scan(1)
  • send(1)
  • sendfiles(1)
  • show(1)
  • slocal(1)
  • sortm(1)
  • unseen(1)
  • whatnow(1)
  • whom(1)
pkg-plist 203
  • bin/ali
  • bin/anno
  • bin/burst
  • bin/comp
  • bin/dist
  • bin/flist
  • bin/flists
  • bin/fmttest
  • bin/fnext
  • bin/folder
  • bin/folders
  • bin/forw
  • bin/fprev
  • @group mail
  • @mode 2755
  • bin/inc
  • @mode
  • @group
  • bin/install-mh
  • bin/mark
  • bin/mhbuild
  • bin/mhfixmsg
  • bin/mhlist
  • bin/mhical
  • bin/mhlogin
  • bin/mhmail
  • bin/mhn
  • bin/mhparam
  • bin/mhpath
  • bin/mhshow
  • bin/mhstore
  • bin/msgchk
  • bin/new
  • bin/next
  • bin/packf
  • bin/pick
  • bin/prev
  • bin/prompter
  • bin/refile
  • bin/repl
  • bin/rmf
  • bin/rmm
  • bin/scan
  • bin/send
  • bin/sendfiles
  • bin/show
  • bin/sortm
  • bin/unseen
  • bin/whatnow
  • bin/whom
  • @sample etc/nmh/MailAliases-dist etc/nmh/MailAliases
  • @sample etc/nmh/bash_completion_nmh-dist etc/nmh/bash_completion_nmh
  • @sample etc/nmh/mhical.12hour-dist etc/nmh/mhical.12hour
  • @sample etc/nmh/mhical.24hour-dist etc/nmh/mhical.24hour
  • @sample etc/nmh/mhl.replywithoutbody-dist etc/nmh/mhl.replywithoutbody
  • @sample etc/nmh/rmmproc.messageid-dist etc/nmh/rmmproc.messageid
  • @sample etc/nmh/components-dist etc/nmh/components
  • @sample etc/nmh/digestcomps-dist etc/nmh/digestcomps
  • @sample etc/nmh/distcomps-dist etc/nmh/distcomps
  • @sample etc/nmh/forwcomps-dist etc/nmh/forwcomps
  • @sample etc/nmh/mhl.body-dist etc/nmh/mhl.body
  • @sample etc/nmh/mhl.digest-dist etc/nmh/mhl.digest
  • @sample etc/nmh/mhl.format-dist etc/nmh/mhl.format
  • @sample etc/nmh/mhl.forward-dist etc/nmh/mhl.forward
  • @sample etc/nmh/mhl.headers-dist etc/nmh/mhl.headers
  • @sample etc/nmh/mhl.reply-dist etc/nmh/mhl.reply
  • @sample etc/nmh/mhn.defaults-dist etc/nmh/mhn.defaults
  • @sample etc/nmh/mhshow.marker-dist etc/nmh/mhshow.marker
  • @sample etc/nmh/mts.conf-dist etc/nmh/mts.conf
  • @sample etc/nmh/rcvdistcomps-dist etc/nmh/rcvdistcomps
  • @sample etc/nmh/rcvdistcomps.outbox-dist etc/nmh/rcvdistcomps.outbox
  • @sample etc/nmh/replcomps-dist etc/nmh/replcomps
  • @sample etc/nmh/replgroupcomps-dist etc/nmh/replgroupcomps
  • @sample etc/nmh/scan.MMDDYY-dist etc/nmh/scan.MMDDYY
  • @sample etc/nmh/scan.YYYYMMDD-dist etc/nmh/scan.YYYYMMDD
  • @sample etc/nmh/scan.curses-dist etc/nmh/scan.curses
  • @sample etc/nmh/scan.default-dist etc/nmh/scan.default
  • @sample etc/nmh/scan.highlighted-dist etc/nmh/scan.highlighted
  • @sample etc/nmh/scan.mailx-dist etc/nmh/scan.mailx
  • @sample etc/nmh/scan.nomime-dist etc/nmh/scan.nomime
  • @sample etc/nmh/scan.size-dist etc/nmh/scan.size
  • @sample etc/nmh/scan.time-dist etc/nmh/scan.time
  • @sample etc/nmh/scan.timely-dist etc/nmh/scan.timely
  • @sample etc/nmh/scan.unseen-dist etc/nmh/scan.unseen
  • libexec/nmh/ap
  • libexec/nmh/dp
  • libexec/nmh/fmtdump
  • libexec/nmh/mhl
  • libexec/nmh/mkstemp
  • libexec/nmh/post
  • libexec/nmh/rcvdist
  • libexec/nmh/rcvpack
  • libexec/nmh/rcvstore
  • libexec/nmh/rcvtty
  • libexec/nmh/slocal
  • libexec/nmh/spost
  • libexec/nmh/viamail
  • share/man/man1/ali.1.gz
  • share/man/man1/anno.1.gz
  • share/man/man1/burst.1.gz

The first 100 are listed.

distinfo 1
FileSizeSHA256
cschuber-nmh-2026.08.23-765d228a_GH0.tar.gz8.024012e+0633ca69bdac11ddf703fa817ef220ab9e3f93e223560d3e5c07bc4cb5b62dbf05

Commit history 5

DateCommitCreditsLog message
8419ded74e Cy Schubert mail/nmh-devel: Update for real
I had cut and pasted the git hash from my copy of the savannah repo instead of my github copy. Long story short, I should have been paying more attention. Thanks to "Herbert J. Skuhra" <[email protected]> for pointing this out and providing a patch. Fixes: b2eb4db3310a Pointy hat to: cy
b2eb4db331 Cy Schubert mail/nmh-devel: Update to latest GH commit
Update to the latest nmh commit on savannah, proxied through my GH account.
b476fcf6b7 Cy Schubert mail/nmh-devel: Fix stage-qa
Add USES=python and list python files in docs to satisfy stage-qa. PR: 298190
d63f7788d8 Cy Schubert mail/nmh-devel: Remove unneeded WRKSRC assignment
Fixes: 86516d72fab5
86516d72fa Cy Schubert mail/nmh-devel: Switch to my GH repo
Fetching git hashes from savannah no longer works (though fetching versioned snapshots still does). As such we must proxy through my github account.