MH-CHART(7mh)
β¨ NAME β¨
mh-chart β it's giving chart of all nmh commands and their options π
Welcome to the MH-CHART(7mh) manual, bestie! This page is literally a chart of every single nmh command and all their options. No cap. It's a lot, so we're splitting it into parts. This is part 1. Let's get into it. π«Ά
πΈ SYNOPSIS πΈ
Okay so here's the whole synopsis. I'm gonna list every command with its exact synopsis in a code block. I'll add my own commentary because I love you, but the code is exact. Don't @ me. π
ali
ali [-help] [-version] [-alias aliasfile] [-list | -nolist] [-user |
-nouser] [aliases ...]
Here's the synopsis for ali, bestie. Look at all those options. π
anno
anno [-help] [-version] [+folder] [msgs] [-component field] [-inplace |
-noinplace] [-date | -nodate] [-draft] [-append] [-list] [-delete]
[-number [num|all]] [-preserve | -nopreserve] [-text body]
anno is serving options: component, inplace, date, draft, append, list, delete, number, preserve, text. Periodt.
/usr/lib/mh/ap
/usr/lib/mh/ap [-help] [-version] [-form formatfile] [-format string]
[-width columns] addrs ...
This is /usr/lib/mh/ap, iconic. It takes addresses and formats them.
burst
burst [-help] [-version] [+folder] [msgs] [-inplace | -noinplace] [-mime
| -nomime] [-automime] [-quiet | -noquiet] [-verbose | -noverbose]
burst is here with inplace, mime, automime, quiet, verbose. The way that it bursts⦠obsessed.
comp
comp [-help] [-version] [+folder] [msg] [-form formfile] [-use | -nouse]
[-file file] [-draftfolder +folder] [-draftmessage msg]
[-nodraftfolder] [-editor editor] [-noedit] [-width columns] [-from
address] [-to address] [-cc address] [-fcc +folder] [-subject text]
[-whatnowproc program] [-nowhatnowproc] [-build]
comp has so many options: form, use, file, draftfolder, draftmessage, nodraftfolder, editor, noedit, width, from, to, cc, fcc, subject, whatnowproc, nowhatnowproc, build. It's giving composer vibes. π
dist
dist [-help] [-version] [+folder] [msg] [-form formfile] [-annotate |
-noannotate] [-inplace | -noinplace] [-draftfolder +folder]
[-draftmessage msg] [-nodraftfolder] [-editor editor] [-noedit]
[-width columns] [-from address] [-to address] [-cc address] [-fcc
+folder] [-whatnowproc program] [-nowhatnowproc] [-atfile]
[-noatfile]
dist is here with annotate, inplace, draftfolder, draftmessage, nodraftfolder, editor, noedit, width, from, to, cc, fcc, whatnowproc, nowhatnowproc, atfile, noatfile. Very demure, very mindful.
/usr/lib/mh/dp
/usr/lib/mh/dp [-help] [-version] [-form formatfile] [-format string]
[-width columns] dates ...
/usr/lib/mh/dp takes dates and formats them. Love that for you.
flist
flist [-help] [-version] [+folder1 [+folder2 ...]] [-sequence name1
[-sequence name2 ...]] [-all | -noall] [-showzero | -noshowzero]
[-recurse | -norecurse] [-fast | -nofast] [-alpha | -noalpha]
flist has sequence, all, showzero, recurse, fast, alpha. And guess what?
flistsis equivalent toflist -all
So if you want all the folders, just use flists. Slay.
/usr/lib/mh/fmtdump
/usr/lib/mh/fmtdump [-help] [-version] [-form formatfile] [-format
string]
/usr/lib/mh/fmtdump dumps formats. That's it. Iconic.
fmttest
fmttest [-help] [-version] [-form formatfile] [-format formatstring]
[-address | -raw | -date | -message] [-file | -nofile] [--component
component-text] [-dupaddrs | -nodupaddrs] [-ccme | -noccme]
[-outsize size-in-characters] [-width column-width] [-msgnum
number] [-msgcur flag] [-msgsize size] [-unseen flag] [-dump |
-nodump] [-trace | -notrace] [+folder] [msgs | strings]
fmttest has address, raw, date, message, file, component, dupaddrs, ccme, outsize, width, msgnum, msgcur, msgsize, unseen, dump, trace. So many options, so little time. π
folder
folder [-help] [-version] [+folder] [msg] [-all | -noall] [-create |
-nocreate] [-fast | -nofast] [-header | -noheader] [-recurse |
-norecurse] [-total | -nototal] [-list | -nolist] [-push | -pop]
[-pack | -nopack] [-print | -noprint] [-verbose | -noverbose]
folder has all, create, fast, header, recurse, total, list, push, pop, pack, print, verbose. And guess what?
foldersis equivalent tofolder -all
So use folders to see all the folders. π
forw
forw [-help] [-version] [+folder] [msgs] [-annotate | -noannotate]
[-form formfile] [-format | -noformat] [-filter filterfile]
[-inplace | -noinplace] [-mime | -nomime] [-draftfolder +folder]
[-draftmessage msg] [-nodraftfolder] [-editor editor] [-noedit]
[-width columns] [-from address] [-to address] [-cc address] [-fcc
+folder] [-subject text] [-whatnowproc program] [-nowhatnowproc]
[-dashstuffing | -nodashstuffing] [-build] [-file msgfile]
And there's a second synopsis for forw:
forw [-help] [-version] [+folder] [msgs] [-digest list] [-issue number]
[-volume number] [other switches for forw]
forw forwards messages. The first one has annotate, form, format, filter, inplace, mime, draftfolder, draftmessage, nodraftfolder, editor, noedit, width, from, to, cc, fcc, subject, whatnowproc, nowhatnowproc, dashstuffing, build, file. The second is for digests with digest list, issue number, volume number, and other switches for forw. So versatile. π
inc
inc [-help] [-version] [+folder] [-audit audit-file] [-noaudit]
[-changecur | -nochangecur] [-form formfile] [-format string]
[-file name] [-silent | -nosilent] [-truncate | -notruncate]
[-width columns] [-host hostname] [-port portname/number] [-user
username] [-proxy command] [-sasl | -nosasl] [-saslmech mechanism]
[-authservice service] [-tls] [-initialtls] [-notls] [-certverify |
-nocertverify] [-snoop]
inc has audit, noaudit, changecur, form, format, file, silent, truncate, width, host, port, user, proxy, sasl, saslmech, authservice, tls, initialtls, notls, certverify, snoop. So many network options. It's giving secure vibes. π₯
/usr/lib/mh/install-mh
/usr/lib/mh/install-mh [-help] [-version] [-auto] [-check]
/usr/lib/mh/install-mh has auto and check. Simple. π
mark
mark [-help] [-version] [+folder] [msgs] [-sequence name ...] [-add |
-delete | -list] [-public | -nopublic] [-zero | -nozero] [-empty |
-noempty] [-range | -norange]
mark has sequence, add, delete, list, public, zero, empty, range. Very useful. π
/usr/lib/mh/mkstemp
/usr/lib/mh/mkstemp [-help] [-version] [-directory directory] [-prefix
prefix] [-suffix suffix]
/usr/lib/mh/mkstemp has directory, prefix, suffix. Iconic.
mhbuild
mhbuild [-help] [-version] file [-auto | -noauto] [-list | -nolist]
[-realsize | -norealsize] [-headers | -noheaders] [-directives |
-nodirectives] [-rfc934mode | -norfc934mode] [-contentid |
-nocontentid] [-verbose | -noverbose] [-disposition |
-nodisposition] [-headerencoding encoding-algorithm |
-autoheaderencoding] [-maxunencoded line-length] [-dist]
mhbuild has auto, list, realsize, headers, directives, rfc934mode, contentid, verbose, disposition, headerencoding, autoheaderencoding, maxunencoded, dist. It's giving MIME queen. π
mhfixmsg
mhfixmsg [-help] [-version] [+folder] [msgs | absolute pathname | -file
file] [-decodetext 8bit|7bit|binary | -nodecodetext] [-decodetypes
type/[subtype][,...]] [-decodeheaderfieldbodies utf-8 |
-nodecodeheaderfieldbodies] [-crlflinebreaks | -nocrlflinebreaks]
[-textcharset charset | -notextcharset] [-reformat | -noreformat]
[-replacetextplain | -noreplacetextplain] [-fixboundary |
-nofixboundary] [-fixcte | -nofixcte] [-checkbase64 |
-nocheckbase64] [-fixtype mimetype] [-outfile outfile] [-rmmproc
program] [-normmproc] [-changecur | -nochangecur] [-verbose |
-noverbose]
mhfixmsg has decodetext, decodetypes, decodeheaderfieldbodies, crlflinebreaks, textcharset, reformat, replacetextplain, fixboundary, fixcte, checkbase64, fixtype, outfile, rmmproc, normmproc, changecur, verbose. So many fixes. π§
mhical
mhical [-help] [-version] [-form formatfile] [-format formatstring]
[[-reply accept | decline | tentative] | -cancel] [-attendee
address] [-contenttype] [-infile infile] [-outfile outfile]
[-unfold] [-debug]
mhical has form, format, reply, cancel, attendee, contenttype, infile, outfile, unfold, debug. Very calendar. π
/usr/lib/mh/mhl
/usr/lib/mh/mhl [-help] [-version] [-bell | -nobell] [-clear | -noclear]
[-folder +folder] [-form formfile] [-length lines] [-width columns]
[-moreproc program] [-nomoreproc] [-fmtproc program] [-nofmtproc]
[files ...]
/usr/lib/mh/mhl has bell, clear, folder, form, length, width, moreproc, nomoreproc, fmtproc, nofmtproc, files. So many display options. π
mhlist
mhlist [-help] [-version] [+folder] [msgs] [-file file] [-part number]
... [-type content] ... [-prefer content] ... [-noprefer]
[-headers | -noheaders] [-realsize | -norealsize] [-changecur |
-nochangecur] [-verbose | -noverbose] [-disposition |
-nodisposition]
This implementation is no longer supported but is left here for information. That's because Google now only supports POP except with a private client ID. Also, it no longer supports OOB requests to Google's OAuth 2.0 authorization endpoint.
Okay so mhlist is here, but important: the implementation is no longer supported, bestie. It's left here for information only. Because Google now only supports POP except with a private client ID. Also, it no longer supports OOB requests to Google's OAuth 2.0 authorization endpoint. So don't come crying to me if it doesn't work. π
mhlogin
mhlogin [-help] [-version] [-user username] [-saslmech mechanism]
[-authservice service] [-browser command] [-snoop]
mhlogin has user, saslmech, authservice, browser, snoop. Get that authentication. π
mhmail
mhmail [-help] [-version] [-to] addrs ... [-attach file] [-body text]
[-cc addrs ...] [-from addr] [-headerfield name:value] [-subject
subject] [-resent] [switches for post ... | -profile [switches for
send ...]] [-send | -nosend]
mhmail has to, attach, body, cc, from, headerfield, subject, resent, switches for post, profile, switches for send, send, nosend. And guess what?
mhmailwith no arguments is equivalent toinc
So if you just run mhmail, it's like running inc. Slay.
mhn
mhn [-help] [-version] [+folder] [msgs] [-file file] [-part number] ...
[-type content] ... [-show | -noshow] [-list | -nolist] [-store |
-nostore] [-headers | -noheaders] [-realsize | -norealsize]
[-serialonly | -noserialonly] [-form formfile] [-pause | -nopause]
[-auto | -noauto]
And a second synopsis for mhn:
mhn -build file [-rfc934mode | -norfc934mode]
mhn has show, list, store, headers, realsize, serialonly, form, pause, auto. And the build mode. Very retro. π
mhparam
mhparam [-help] [-version] [components] [-all] [-component |
-nocomponent] [-debug]
mhparam has components, all, component, nocomponent, debug. Get those params. π
mhpath
mhpath [-help] [-version] [+folder] [msgs]
mhpath is simple. Iconic.
mhshow
mhshow [-help] [-version] [+folder] [msgs] [-file file] [-part number]
... [-type content] ... [-prefer content] ... [-noprefer]
[-concat | -noconcat] [-textonly | -notextonly] [-inlineonly |
-noinlineonly] [-header | -noheader] [-form formfile] [-markform
formfile]
mhshow has file, part, type, prefer, noprefer, concat, textonly, inlineonly, header, form, markform. So many ways to show. π
mhstore
mhstore [-help] [-version] [+folder] [msgs] [-file file] [-outfile
outfile] [-part number] ... [-type content] ... [-prefer content]
... [-noprefer] [-auto | -noauto] [-clobber always | auto | suffix
| ask | never] [-verbose | -noverbose]
mhstore has file, outfile, part, type, prefer, noprefer, auto, clobber, verbose. Clobber has values: always, auto, suffix, ask, never. So many choices. π
msgchk
msgchk [-help] [-version] [-date | -nodate] [-notify all/mail/nomail ]
[-nonotify all/mail/nomail ] [-host hostname] [-port
portname/number] [-user username] [-sasl | -nosasl] [-saslmech
mechanism] [-tls] [-initialtls] [-notls] [-certverify |
-nocertverify] [-authservice service] [-snoop] [users ... ]
msgchk has date, notify, nonotify, host, port, user, sasl, saslmech, tls, initialtls, notls, certverify, authservice, snoop, users. Get that mail check. π¬
new
new [-help] [-version] [sequences] [-mode mode] [-folders foldersfile]
new has sequences, mode, folders. And guess what?
fnextis equivalent tonew -mode fnext
fprevis equivalent tonew -mode fprev
unseenis equivalent tonew -mode unseen
So many aliases. π
next
next [-help] [-version] [+folder] [-showproc program] [-showmimeproc
program] [-header | -noheader] [-checkmime | -nocheckmime]
[switches for showproc or showmimeproc]
next has showproc, showmimeproc, header, checkmime, and switches for showproc or showmimeproc. So convenient. π
packf
packf [-help] [-version] [+folder] [msgs] [-file name] [-mbox] [-mmdf]
packf has file, mbox, mmdf. Pack it up. π¦
pick
pick [-help] [-version] [+folder] [msgs] [-reverse ...] [-and ...]
[-or ...] [-not ...] [-lbrace ... -rbrace] [--component pattern]
[-cc pattern] [-date pattern] [-from pattern] [-search pattern]
[-subject pattern] [-to pattern] [-after date] [-before date]
[-datefield field] [-sequence name ...] [-nosequence] [-public |
-nopublic] [-zero | -nozero] [-list | -nolist] [-debug]
pick has reverse, and, or, not, lbrace, rbrace, component, cc, date, from, search, subject, to, after, before, datefield, sequence, nosequence, public, zero, list, debug. It's giving search queen. π
/usr/lib/mh/post
/usr/lib/mh/post [-help] [-version] [-alias aliasfile] [-filter
filterfile] [-nofilter] [-format | -noformat] [-mime | -nomime]
[-msgid | -nomsgid] [-messageid localname | random] [-verbose |
-noverbose] [-watch | -nowatch] [-width columns] [-mts smtp |
sendmail/smtp | sendmail/pipe] [-sendmail program] [-server
servername] [-port portname/number] [-sasl] [-nosasl] [-saslmech
mechanism] [-user username] [-tls] [-initialtls] [-notls] [-snoop]
file
/usr/lib/mh/post has alias, filter, nofilter, format, mime, msgid, messageid, verbose, watch, width, mts, sendmail, server, port, sasl, nosasl, saslmech, user, tls, initialtls, notls, snoop, file. So many mail transfer options. π§
prev
prev [-help] [-version] [+folder] [-showproc program] [-showmimeproc
program] [-header | -noheader] [-checkmime | -nocheckmime]
[switches for showproc or showmimeproc]
prev has the same options as next. So useful. π
prompter
prompter [-help] [-version] [-erase chr] [-kill chr] [-prepend |
-noprepend] [-rapid | -norapid] [-doteof | -nodoteof] file
prompter has erase, kill, prepend, rapid, doteof, file. Get that input. β¨οΈ
/usr/lib/mh/rcvdist
/usr/lib/mh/rcvdist [-help] [-version] [-form formfile] [switches for
postproc] address1 ...
/usr/lib/mh/rcvdist has form, switches for postproc, addresses. Slay.
/usr/lib/mh/rcvpack
/usr/lib/mh/rcvpack [-help] [-version] file [-mbox] [-mmdf]
/usr/lib/mh/rcvpack has file, mbox, mmdf. π¦
/usr/lib/mh/rcvstore
/usr/lib/mh/rcvstore [-help] [-version] [+folder] [-create | -nocreate]
[-unseen | -nounseen] [-zero | -nozero] [-sequence name ...]
[-public | -nopublic]
/usr/lib/mh/rcvstore has create, unseen, zero, sequence, public. πΎ
/usr/lib/mh/rcvtty
/usr/lib/mh/rcvtty [-help] [-version] [command] [-form formatfile]
[-format string] [-width columns] [-bell | -nobell] [-newline |
-nonewline] [-biff]
/usr/lib/mh/rcvtty has command, form, format, width, bell, newline, biff. So retro. π₯οΈ
refile
refile [-help] [-version] [msgs] [-draft] [-link | -nolink] [-preserve |
-nopreserve] [-retainsequences | -noretainsequences] [-unlink |
-nounlink] [-src +folder] [-file file] [-rmmproc program]
[-normmproc] +folder1 ...
refile has draft, link, preserve, retainsequences, unlink, src, file, rmmproc, normmproc, folders. So many ways to move messages. π
repl
repl [-help] [-version] [+folder] [msg] [-annotate | -noannotate]
[-group | -nogroup] [-cc all/to/cc/me] [-nocc all/to/cc/me] [-query
| -noquery] [-form formfile] [-format | -noformat] [-filter
filterfile] [-inplace | -noinplace] [-mime | -nomime] [-fcc
+folder] [-width columns] [-draftfolder +folder] [-draftmessage
msg] [-nodraftfolder] [-editor editor] [-noedit] [-convertargs type
argstring] [-whatnowproc program] [-nowhatnowproc] [-atfile]
[-noatfile] [-fmtproc program] [-nofmtproc] [-build] [-file
msgfile]
repl has annotate, group, cc, nocc, query, form, format, filter, inplace, mime, fcc, width, draftfolder, draftmessage, nodraftfolder, editor, noedit, convertargs, whatnowproc, nowhatnowproc, atfile, noatfile, fmtproc, nofmtproc, build, file. It's giving reply queen. π
rmf
rmf [-help] [-version] [+folder] [-interactive | -nointeractive]
rmf has interactive. Be careful, bestie. Don't delete your whole life. π
Okay that's the end of part 1. More parts follow, so don't go anywhere. π
β¦and we're BACK in the synopsis, bestie, because this page lists literally every command nmh ships with and we are not skipping a single one of them. no crumbs left behind π buckle up:
rmm ποΈβ¨
rmm [-help] [-version] [+folder] [msgs] [-unlink | -nounlink] [-rmmproc
program] [-normmproc]
scan ππΈ
scan [-help] [-version] [+folder] [msgs] [-clear | -noclear] [-form
formatfile] [-format string] [-header | -noheader] [-width columns]
[-reverse | -noreverse] [-file filename]
send π€π and it's giving long β this one has more flags than my skincare routine, and honestly? iconic.
send [-help] [-version] [-alias aliasfile] [-draft] [-draftfolder
+folder] [-draftmessage msg] [-nodraftfolder] [-filter filterfile]
[-nofilter] [-format | -noformat] [-forward | -noforward] [-mime |
-nomime] [-msgid | -nomsgid] [-messageid localname | random] [-push
| -nopush] [-verbose | -noverbose] [-watch | -nowatch] [-mts smtp |
sendmail/smtp | sendmail/pipe] [-sendmail program] [-server
servername] [-port port-name/number] [-sasl] [-nosasl] [-saslmech
mechanism] [-authservice service] [-snoop] [-user username] [-tls]
[-initialtls] [-notls] [-certverify] [-nocertverify] [-width
columns] [file ...]
sendfiles ππ¦ (note how it's got its own little multi-line layout, she's special)
sendfiles [-help] [-version] [-compress bzip2 | compress | gzip | lzma |
none]
[-from sender]
-to recipient -subject subject | recipient subject
file/directory1 [file/directory2 ...]
show ππ
show [-help] [-version] [+folder] [msgs] [-draft] [-showproc program]
[-showmimeproc program] [-header | -noheader] [-checkmime |
-nocheckmime] [-concat | -noconcat] [switches for showproc or
showmimeproc]
slocal π§π β heads up bestie, she lives at a full absolute path, she's not just vibing in your $PATH:
/usr/lib/mh/slocal [-help] [-version] [-addr address] [-info data]
[-sender sender] [-user username] [-mailbox mbox] [-file file]
[-maildelivery deliveryfile] [-verbose | -noverbose] [-suppressdup
| -nosuppressdup] [-debug]
sortm πβ
sortm [-help] [-version] [+folder] [msgs] [-all | -noall] [-datefield
field] [-textfield field] [-notextfield] [-limit days] [-nolimit]
[-check | -nocheck] [-verbose | -noverbose]
whatnow ππ (the name alone is a whole mood)
whatnow [-help] [-version] [-draftfolder +folder] [-draftmessage msg]
[-nodraftfolder] [-editor editor] [-noedit] [-prompt string] [file]
whom ππ
whom [-help] [-version] [-alias aliasfile] [-check | -nocheck]
[-draftfolder +folder] [-draftmessage msg] [-nodraftfolder] [-mts
smtp | sendmail/smtp | sendmail/pipe] [-server servername] [-port
port-name/number] [-sasl] [-saslmech mechanism] [-snoop] [-user
username] [-tls] [-initialtls] [-notls] [file] [-draft]
ok and that's the entire command roster, no cap π«Ά if you're looking for the deeper tea on any single one of these β every flag, every default, every gotcha β each command has its own page, and this chart is literally the map to all of them.
π¦ SEE ALSO π¦
mh-chart(7)β chart of all nmh commands and their options (this page)
yes bestie, the SEE ALSO points at this exact page π it's a mirror moment, it's self-referential main character energy, it's fine, we love her.
and that's a wrap on the chart, gorgeous π this whole masterpiece is nmh-1.8, dated December 10, 2024 β go forth and man responsibly, you absolute Unix icon πβ¨ periodt.
π¦ where this page comes from
- debian trixie: nmh 1.8-3
- ubuntu questing: nmh 1.8-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms