Nmh is an email system based on the MH email system and is intended to
be a (mostly) compatible drop-in replacement for MH. Nmh isn't a
single comprehensive program. Instead, it consists of a number of
fairly simple single-purpose programs for sending, receiving, saving,
retrieving and otherwise manipulating email messages. You can freely
intersperse nmh commands with other shell commands or write custom
scripts which utilize nmh commands. If you want to use nmh as a true
email user agent, you'll want to also install exmh to provide a user
interface for it--nmh only has a command line interface.
ali Ali searches the named mail alias files for each of the given aliases. It creates a list of addresses for those aliases, and writes that list on standard... anno Anno manipulates header fields or annotations in messages. Header fields consist of a field name and an optional field body as defined by RFC 2822. The... burst Burst considers the specified messages in the named folder to be Internet digests, and explodes them in that folder. If -inplace is given, each digest is... comp Comp is used to create a new message to be mailed. It copies a message form to the draft being composed and then invokes an editor on the draft (unless -noedit... dist Dist is similar to forw. It prepares the specified message for redistribution to addresses that (presumably) are not on the original address list. flist Flist is used to search a list of folders and display the number of messages in these folders that are in a given sequence or set of sequences (for example the... fmttest Fmttest is used to test programs written for the nmh format language as specified by mh-format(5). It is also intended to replace the ap, dp, and fmtdump... folder Since the nmh environment is the shell, it is easy to lose track of the current folder from day to day. When folder is given the -print switch (the default)... forw Forw may be used to prepare a message containing other messages. It constructs the new message from a forms (components) file, with a body composed of the... inc Inc incorporates mail from the user's incoming mail drop into an nmh folder. If the mail drop is a file, it can be in mbox or MMDF format. If the mail drop is a... install-mh Install-mh is the nmh program to create the initial setup for a first-time nmh user. Install-mh lives in two places for historical reasons. The -auto option... mark The mark command manipulates message sequences by adding or deleting message numbers from folder-specific message sequences, or by listing those sequences and... mhbuild The mhbuild command will translate a MIME composition draft into a valid MIME message. mhbuild creates multi-media messages as specified in RFC 2045 to RFC... mhfixmsg mhfixmsg rewrites MIME messages, applying specific transformations such as decoding of MIME-encoded message parts and repairing invalid MIME headers. MIME... mhl Mhl is an nmh command for filtering and/or displaying text messages. It is the default method of displaying text messages for nmh (it is the default showproc)... mhlist The mhlist command allows you to list information (essentially a table of contents) about the various parts of a collection of MIME (multi-media) messages... mhmail mhmail is intended as a replacement for the standard Berkeley mail program (mail or mailx), which is compatible with nmh. This program is intended for the use... mh-mkstemp mkstemp creates a temporary file using mkstemp(3), or if the -suffix switch is available and used, mkstemps(3). The file name identifies a unique, newly created... mhn Mhn is deprecated. It is retained only for backwards compatibility. You should migrate to using the commands mhlist, mhshow, and mhstore. mhparam mhparam writes the value of the specified profile component to the standard output separated by newlines. Component name matching is case-insensitive. If the... mhpath mhpath expands and sorts the message list `msgs' and writes the full pathnames of the messages to the standard output separated by newlines. If no `msgs' are... mhshow The mhshow command display contents of a MIME (multi-media) message or collection of messages. mhshow manipulates multi-media messages as specified in RFC 2045... mhstore The mhstore command allows you to store the contents of a collection of MIME (multi-media) messages into files or other messages. mhstore manipulates... msgchk The msgchk program checks all known mail drops for mail waiting for you. For those drops which have mail for you, msgchk will indicate if it believes that you... msh msh is an interactive program that implements a subset of the normal nmh commands operating on a single file in mmdf format. That is, msh is used to read a file... new New in its default mode produces a one-line-per-folder listing of all folders containing messages in the listed sequences or in the sequences listed in the... next Next performs a show on the next message in the specified (or current) folder. Like show, it passes any switches on to the program showproc or showmimeproc... packf Packf will pack copies of messages from a folder, into a single file. If the -mbox switch is given (the default), then the messages are separated using mbox... pick Pick searches within a folder for messages with the specified contents, and then identifies those messages. Two types of search primitives are available... prev Prev performs a show on the previous message in the specified (or current) folder. Like show, it passes any switches on to the program named by showproc or... prompter Prompter is an editor front-end for nmh which allows rapid composition of messages. This program is not normally invoked directly by users but takes the place... rcvdist The rcvdist program will accept a message on its standard input and resend a copy of this message to all of the addresses listed on its command line. When a... rcvpack The rcvpack program will append a copy of the message to the file listed on its command line. If the -mbox switch is given (the default), then the messages are... rcvstore Rcvstore incorporates a message from the standard input into an nmh folder. This command is typically used in conjunction with mail filtering programs such as... rcvtty The rcvtty can be used to report new mail. It is used primarily in conjunction with mail filtering agents such as slocal or procmail. The rcvtty program... refile Refile moves (see mv(1)) or links (see ln(1)) messages from a source folder into one or more destination folders. If you think of a message as a sheet of paper... repl Repl may be used to produce a reply to an existing message. In its simplest form (with no arguments), repl will set up a message-form skeleton in reply to the... rmf Rmf removes all of the messages (files) within the specified (or default) folder, and then removes the folder (directory) itself. If there are any files within... rmm By default, rmm will remove the specified messages by renaming each of the message files with a site-dependent prefix (usually a comma). Such files will then... scan Scan produces a one-line-per-message listing of the specified folder or messages. Each scan line contains the message number (name), the date, the “From:”... send Send will cause each of the specified files to be delivered to each of the destinations in the “To:”, “cc:”, “Bcc:”, “Dcc:”, and “Fcc:” fields of the message... sendfiles The shell script sendfiles is used to send a collection of files and directories via electronic mail. sendfiles will archive the files and directories you name... show Show lists each of the specified messages to the standard output (typically, the terminal). By default, text (non-MIME) messages are filtered and displayed by... slocal Slocal is a program designed to allow you to have your inbound mail processed according to a complex set of selection criteria. You do not normally invoke... sortm Sortm sorts the specified messages in the named folder according to the chronological order of the “Date:” field of each message. If no messages are specified... whatnow Whatnow is the default program that queries the user about the disposition of a composed draft. It is normally automatically invoked by one of the nmh commands... whom Whom is used to expand the headers of a message into a set of addresses and optionally verify that those addresses are deliverable at that time (if -check is... mh-draft There are a number of interesting advanced facilities for the composition of outgoing mail.The Draft Folder The comp, dist, forw, repl, and whom commands have... mh-folders nmh stores messages in the files and directories of the host filesystem according to the following rules: one folder per directory mh-format Several nmh commands utilize either a format string or a format file during their execution. For example, scan uses a format string which directs it how to... mh-mail nmh processes messages in a particular format. It should be noted that although neither Bell nor Berkeley mailers produce message files in the format that nmh... mh-profile Each user of nmh is expected to have a file named .mh_profile in his or her home directory. This file contains a set of user parameters used by some or all of... mh-sequence A sequence (or sequence set) is a symbolic name representing a message or collection of messages. nmh has several internally defined sequences, as well as... mh-tailor The file /etc/nmh/mts.conf defines run-time options for those nmh programs which interact (in some form) with the message transport system. At present, these... mh-chart ali [-alias aliasfile] [-list | -nolist] [-user | -nouser] [-version] [-help] [aliases ...] anno [+folder] [msgs] [-component field] [-inplace | -noinplace]... mh-mime The acronym MIME stands for Multipurpose Internet Mail Extensions, the format of Internet messages used to send multi-media content. The nmh command suite has... nmh nmh is the name of a powerful message handling system. Rather than being a single comprehensive program, nmh consists of a collection of fairly simple... ap Ap is a program that parses addresses according to the ARPA Internet standard. It also understands many non-standard formats. It is useful for seeing how nmh... conflict Conflict is deprecated and will be removed from the next nmh release. Conflict is a program that checks to see if the interface between nmh and the transport... dp Dp is a program that parses dates according to the ARPA Internet standard. It also understands many non-standard formats, such as those produced by TOPS-20... fmtdump Fmtdump is a program that parses an nmh format file and produces a pseudo-language listing of the how nmh interprets the file. This is useful when debugging a... post Post is the default program called by send to deliver the message in file to local and remote users. In fact, most of the features attributed to send in its...