nmh - Message Handling System

Welcome to the home of nmh, on savannah.nongnu.org.

The latest stable release of nmh is nmh 1.6. You can download it from savannah.

We are pleased to announce the release of nmh 1.6 on June 15th, 2014.

Nmh 1.6 contains a large number of bug fixes and new features. The release notes (see the NEWS file in the distribution) has a complete list of new features, but here are some highlights:

  • All proc entries in mh-profile(5) such as showproc or moreproc can now accept entries that contain spaces or shell metacharacters. Commands will either be space-splitted or passed to the shell to execute as needed.
  • File locking has been completely revamped; the locking method is selectable at runtime, sequence file locks are held on a transactional basis, and users can independently control the lock methods use for locking the mail spool file and nmh data files.
  • A new utility, fmttest, is now available. This program is designed to help a user debug and trace programs written using mh-format(5).
  • A new utility, mhfixmsg, is now available. This program is designed to transform MIME messages into decoded forms and repair invalid MIME headers.
  • The attach system has been completely revamped and integrated into mhbuild.
  • Mhbuild can now encode message headers using RFC-2047 encoding rules.
  • All nmh utilities can now encode and decode MIME parameters using RFC-2231 extended parameter encoding rules.
  • All outgoing messages are now processed with mhbuild to ensure that all messages are MIME-compliant.
  • Mh-format(5) now supports direct output for using terminfo(5) capabilities such as bold, underline, and color.
  • Mhstore and mhshow now supports RFC-2017 (access-type=url) for external message bodies.
  • If built with iconv(3) support, mhshow will convert text MIME content to the native character set.
  • Mhshow will by default only display text parts that are not marked as attachments, and using a single pager.

Please report problems in the bug tracker on savannah, or on the nmh-workers mailing list. Thanks!

Please check out the nmh project on savannah.

nmh (new MH) is a powerful electronic mail handling system. It was originally based on version 6.8.3 of the MH message system developed by the RAND Corporation and the University of California. It 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 a suite rather than a single monolithic program, you may freely intersperse nmh commands with other commands at your shell prompt, or write custom scripts which use these commands in flexible ways.

NOTE: All versions of nmh prior to 1.0.3 (as well as MH) contained a vulnerability where incoming mail messages with carefully designed MIME headers could cause the mhshow command to execute arbitrary shell code. Though the authors of nmh are not aware of any exploits of this hole, MH users and users of older versions of nmh are strongly encouraged to upgrade to the current version.


Source code:

Mailing lists:
There are three mailing lists for NMH, hosted by Savannah.

Frontends: Compatible Software: Help:

$Id: index.html,v 1.36 2014/06/16 02:29:13 kenh Exp $