NMH(7)
π NAME
mmh β Introduction to the Modern MH message system
okay bestie, this is the NMH(7) page (the mmh-0.4 edition), and it's your intro to the Modern MH message system. iykyk π
β¨ DESCRIPTION
okay so mmh is a powerful message handling system, based on nmh, which in turn bases on MH, the Rand Corporation's Message Handler. legacy icon behavior, honestly. π
Rather than being a single comprehensive program, mmh consists of a collection of fairly simple single-purpose programs to send, retrieve, organize, and manipulate messages. it's giving tiny tools, big slay energy. β¨
Unlike most other mail clients, mmh is not a closed system which must be explicitly run, then exited when you wish to return to the shell. Instead, you may freely intersperse mmh commands with other shell commands, allowing you to read and answer your mail while you search for a file or run programs as needed to find the answer to someone's question before answering their mail. no cap, that's the whole vibe. π¦
The rest of this manual entry is a quick tutorial which will teach you the basics of mmh. You should read the manual entries for the individual programs for complete documentation. π
To get started using mmh, put the directory /usr/bin on your $PATH. This is best done in one of the files: .profile, .login, .bashrc, or .cshrc in your home directory. (Check the manual entry for the shell you use, in case you don't know how to do this.) Then run the mmh command. If you've never used mmh before, it will create the necessary default files and directories after asking you if you wish it to do so. π«Ά
inc moves mail from your system maildrop into your mmh +inbox folder, converting it to the MH format (one file per message). It prints one line for each message it processes, containing the date, from and subject fields. It leaves the first message it processes as your current message. You'll need to run inc each time you wish to incorporate new mail into your mmh mail storage. π₯
scan prints a list of the messages in your current folder. π
The commands: show, next, and prev are used to read specific messages from the current folder. show displays the current message, or a specific message, which may be specified by its number, which you pass as an argument to show. next and prev display, respectively, the message numerically after or before the current message. In all cases, the message displayed becomes the current message. If there is no current message, show may be called with an argument, or next may be used to advance to the first message. β¨
rmm (remove message) deletes the current message. It may be called with message numbers passed as arguments, to delete specific messages. ποΈ
repl is used to respond to the current message (by default). It places you in the editor with a prototype response form. After completing your response, type li to list (review) it, or s to send it. π
comp allows you to compose a fresh message by putting you in the editor on a prototype message form, and then lets you send it. π
All the mmh commands may be run with the single argument: -help, which causes them to print a list of the arguments they may be invoked with and then exit. π
Commands which take a message number as an argument (scan, show, repl, ...) also take one of the letters: f, p, c, n, or l to indicate (respectively) the first, previous, current, next, or last message in the current folder (assuming they are defined). π₯
Commands which take a range of message numbers (rmm, scan, show, ...) also take any of the abbreviations:
<num1>-<num2>β Indicates all messages in the range<num1>to<num2>, inclusive. The range must be nonempty.<num>:+N/<num>:-Nβ Up toNmessages beginning with (or ending with) messagenum.nummay be any of the pre-defined symbols:f,p,c,norl.f:Nβ the first message, if it exists.p:Nβ the previous message, if it exists.n:Nβ the next message, if it exists.l:Nβ the last message, if it exists.
There are many other possibilities such as creating multiple folders for different topics, and automatically refiling messages according to subject, source, destination, or content. These are beyond the scope of this manual entry. π
π¬ all the mmh commands
Following is a list of all the mmh commands:
ali(1)β list mail aliasesanno(1)β annotate messagesburst(1)β explode digests into messagescomp(1)β compose a messagedist(1)β redistribute a message to additional addressesflist(1),flists(1)β list folders with messages in given sequence(s)folder(1),folders(1)β set/list current folder/messageforw(1)β forward messagesinc(1)β incorporate new mailmark(1)β manipulate message sequencesmhbuild(1)β translate MIME composition draftmhl(1)β produce formatted listings ofmhmessagesmhlist(1)β list information about MIME messagesmhmail(1)β send mail (mailxreplacement)mhparam(1)β printmmhprofile and context componentsmhpath(1)β print full pathnames ofmhmessages and foldersmhpgp(1)β verify and decrypt a message withgnupgmhsign(1)β sign or encrypt a message withgnupgmhstore(1)β store contents of MIME messages into filesmmh(1)β initialize themmhenvironmentmmhwrap(1)β invokemmhcommands if they are not in$PATHnew(1)β report on folders with new messagespackf(1)β pack messages inmhfolder into a singlemboxfilepick(1)β select messages by contentprompter(1)β prompting editor front-end formmhrcvdist(1)β asynchronously redistribute new mailrcvpack(1)β asynchronously append message tomboxfilercvstore(1)β asynchronously incorporate mail into a folderrefile(1)β file messages in other foldersrepl(1)β reply to a messagermf(1)β remove anmhfolderrmm(1)β remove messagessend(1)β send a messagesendfiles(1)β send multiple files in a MIME messageshow(1)β display (MIME) messagesslocal(1)β asynchronously filter and deliver new mailsortm(1)β sort messageswhatnow(1)β prompting front-end for sending messageswhatnow2(1)β front-end for handling draftswhom(1)β report to whom a message would go
π οΈ section 8 commands
ap(8)β parse addresses 822-styledp(8)β parse dates 822-stylefmtdump(8)β decodemhformat filesspost(8)β feed a message tosendmail
π file formats & concepts
The following man pages describe file formats and concepts:
mh-alias(5)β alias file formhmessage systemmh-format(5)β format file formhmessage systemmh-mail(5)β message format formhmessage systemmh-profile(5)β user customization for themmhmessage handlermh-draft(7)β draft folder facility formmhmh-sequence(7)β sequence specification formhmessage systemmmh(7)β Introduction to the Modern MH message system
π FILES
/usr/binβ containsmmhcommands/etc/mmhβ containsmmhformat files/usr/lib/mmhβ containsmmhlibrary commands$HOME/.mmhβ The user'smmhdirectory$HOME/.mmh/profileβ The user's profile$HOME/.mmh/contextβ The user's context$HOME/Mailβ Default location of the user's mail storage
π PROFILE COMPONENTS
Path:β Location of the user's mail storage
π°οΈ HISTORY
mmh is an experimental version of nmh, the New Mail Handler. Its name mmh stands for meillo's mail handler. π
π BUGS
If you encounter problems with an mmh program, please report them. When doing this, include the version information, which you can obtain by invoking the program with the -Version switch. π«‘
Send bug reports, comments, and suggestions to <mmh@marmaro.de> or to markus schnalke <meillo@marmaro.de>.
π SEE ALSO
mmh(1) mh-chart(1)
π this page came from MH.6.8, dated 2019-01-06 β bye bestie, go slay your inbox! π
π¦ where this page comes from
- alpine 3.24: mmh-doc 0.4-r3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms