Chapter 8. Reference

Table of Contents

1. Command line options
2. Configuration Commands
3. Configuration variables
3.1. abortnosubject
3.2. abortunmodified
3.3. aliasfile
3.4. aliasformat
3.5. allow8bit
3.6. allowansi
3.7. arrowcursor
3.8. asciichars
3.9. askbcc
3.10. askcc
3.11. assumedcharset
3.12. attachcharset
3.13. attachformat
3.14. attachsep
3.15. attachsplit
3.16. attribution
3.17. autoedit
3.18. autotag
3.19. beep
3.20. beepnew
3.21. bounce
3.22. bouncedelivered
3.23. braillefriendly
3.24. checkmboxsize
3.25. charset
3.26. checknew
3.27. collapseunread
3.28. uncollapsejump
3.29. composeformat
3.30. configcharset
3.31. confirmappend
3.32. confirmcreate
3.33. connecttimeout
3.34. contenttype
3.35. copy
3.36. cryptusegpgme
3.37. cryptusepka
3.38. cryptautopgp
3.39. cryptautosmime
3.40. dateformat
3.41. defaulthook
3.42. delete
3.43. deleteuntag
3.44. digestcollapse
3.45. displayfilter
3.46. dotlockprogram
3.47. dsnnotify
3.48. dsnreturn
3.49. duplicatethreads
3.50. editheaders
3.51. editor
3.52. encodefrom
3.53. envelopefromaddress
3.54. escape
3.55. fastreply
3.56. fccattach
3.57. fccclear
3.58. folder
3.59. folderformat
3.60. followupto
3.61. forcename
3.62. forwarddecode
3.63. forwardedit
3.64. forwardformat
3.65. forwardquote
3.66. from
3.67. gecosmask
3.68. hdrs
3.69. header
3.70. help
3.71. hiddenhost
3.72. hidelimited
3.73. hidemissing
3.74. hidethreadsubject
3.75. hidetoplimited
3.76. hidetopmissing
3.77. history
3.78. historyfile
3.79. honorfollowupto
3.80. hostname
3.81. ignorelinearwhitespace
3.82. ignorelistreplyto
3.83. imapauthenticators
3.84. imapchecksubscribed
3.85. imapdelimchars
3.86. imapheaders
3.87. imapidle
3.88. imapkeepalive
3.89. imaplistsubscribed
3.90. imaplogin
3.91. imappass
3.92. imappassive
3.93. imappeek
3.94. imapservernoise
3.95. imapuser
3.96. implicitautoview
3.97. include
3.98. includeonlyfirst
3.99. indentstring
3.100. indexformat
3.101. ispell
3.102. keepflagged
3.103. locale
3.104. mailcheck
3.105. mailcappath
3.106. mailcapsanitize
3.107. headercache
3.108. maildirheadercacheverify
3.109. headercachepagesize
3.110. headercachecompress
3.111. maildirtrash
3.112. markold
3.113. markers
3.114. mask
3.115. mbox
3.116. mboxtype
3.117. metoo
3.118. menucontext
3.119. menumoveoff
3.120. menuscroll
3.121. metakey
3.122. mhpurge
3.123. mhseqflagged
3.124. mhseqreplied
3.125. mhsequnseen
3.126. mimeforward
3.127. mimeforwarddecode
3.128. mimeforwardrest
3.129. mixentryformat
3.130. mixmaster
3.131. move
3.132. messagecachedir
3.133. messagecacheclean
3.134. messageformat
3.135. narrowtree
3.136. netinc
3.137. pager
3.138. pagercontext
3.139. pagerformat
3.140. pagerindexlines
3.141. pagerstop
3.142. cryptautosign
3.143. cryptautoencrypt
3.144. pgpignoresubkeys
3.145. cryptreplyencrypt
3.146. cryptreplysign
3.147. cryptreplysignencrypted
3.148. crypttimestamp
3.149. pgpusegpgagent
3.150. cryptverifysig
3.151. smimeisdefault
3.152. smimeaskcertlabel
3.153. smimedecryptusedefaultkey
3.154. pgpentryformat
3.155. pgpgoodsign
3.156. pgpcheckexit
3.157. pgplongids
3.158. pgpretainablesigs
3.159. pgpautoinline
3.160. pgpreplyinline
3.161. pgpshowunusable
3.162. pgpsignas
3.163. pgpstrictenc
3.164. pgptimeout
3.165. pgpsortkeys
3.166. pgpmimeauto
3.167. pgpautodecode
3.168. pgpdecodecommand
3.169. pgpgetkeyscommand
3.170. pgpverifycommand
3.171. pgpdecryptcommand
3.172. pgpclearsigncommand
3.173. pgpsigncommand
3.174. pgpencryptsigncommand
3.175. pgpencryptonlycommand
3.176. pgpimportcommand
3.177. pgpexportcommand
3.178. pgpverifykeycommand
3.179. pgplistsecringcommand
3.180. pgplistpubringcommand
3.181. forwarddecrypt
3.182. smimetimeout
3.183. smimeencryptwith
3.184. smimekeys
3.185. smimecalocation
3.186. smimecertificates
3.187. smimedecryptcommand
3.188. smimeverifycommand
3.189. smimeverifyopaquecommand
3.190. smimesigncommand
3.191. smimesignopaquecommand
3.192. smimeencryptcommand
3.193. smimepk7outcommand
3.194. smimegetcertcommand
3.195. smimegetsignercertcommand
3.196. smimeimportcertcommand
3.197. smimegetcertemailcommand
3.198. smimedefaultkey
3.199. sslclientcert
3.200. sslforcetls
3.201. sslstarttls
3.202. certificatefile
3.203. sslusesystemcerts
3.204. entropyfile
3.205. sslusesslv2
3.206. sslusesslv3
3.207. sslusetlsv1
3.208. sslmindhprimebits
3.209. sslcacertificatesfile
3.210. pipesplit
3.211. pipedecode
3.212. pipesep
3.213. popauthenticators
3.214. popauthtryall
3.215. popcheckinterval
3.216. popdelete
3.217. pophost
3.218. poplast
3.219. popreconnect
3.220. popuser
3.221. poppass
3.222. postindentstring
3.223. postpone
3.224. postponed
3.225. preconnect
3.226. print
3.227. printcommand
3.228. printdecode
3.229. printsplit
3.230. promptafter
3.231. querycommand
3.232. quit
3.233. quoteregexp
3.234. readinc
3.235. readonly
3.236. realname
3.237. recall
3.238. record
3.239. replyregexp
3.240. replyself
3.241. replyto
3.242. resolve
3.243. reversealias
3.244. reversename
3.245. reverserealname
3.246. rfc2047parameters
3.247. saveaddress
3.248. saveempty
3.249. savehistory
3.250. savename
3.251. score
3.252. scorethresholddelete
3.253. scorethresholdflag
3.254. scorethresholdread
3.255. sendcharset
3.256. sendmail
3.257. sendmailwait
3.258. shell
3.259. sigdashes
3.260. sigontop
3.261. signature
3.262. simplesearch
3.263. smartwrap
3.264. smileys
3.265. sleeptime
3.266. smtpauthenticators
3.267. smtppass
3.268. smtpurl
3.269. sort
3.270. sortalias
3.271. sortaux
3.272. sortbrowser
3.273. sortre
3.274. spamseparator
3.275. spoolfile
3.276. statuschars
3.277. statusformat
3.278. statusontop
3.279. strictthreads
3.280. suspend
3.281. textflowed
3.282. threadreceived
3.283. thoroughsearch
3.284. tilde
3.285. timeout
3.286. tmpdir
3.287. tochars
3.288. tunnel
3.289. use8bitmime
3.290. usedomain
3.291. useenvelopefrom
3.292. usefrom
3.293. useidn
3.294. useipv6
3.295. useragent
3.296. visual
3.297. waitkey
3.298. weed
3.299. wrap
3.300. wrapsearch
3.301. wrapmargin
3.302. writeinc
3.303. writebcc
4. Functions
4.1. generic
4.2. index
4.3. pager
4.4. alias
4.5. query
4.6. attach
4.7. compose
4.8. postpone
4.9. browser
4.10. pgp
4.11. smime
4.12. mix
4.13. editor

Running mutt with no arguments will make Mutt attempt to read your spool mailbox. However, it is possible to read other mailboxes and to send messages from the command line as well.

To read messages in a mailbox

mutt -nz -F muttrc -m type -f mailbox

To compose a new message

mutt -n -F muttrc -a file -c address -i filename -s subject file ... -- address address ...

Mutt also supports a ``batch'' mode to send prepared messages. Simply redirect input from the file you wish to send. For example,

mutt -s "data set for run 2" professor@bigschool.edu < /run2.dat

This command will send a message to ``professor@bigschool.edu'' with a subject of ``data set for run 2''. In the body of the message will be the contents of the file ``/run2.dat''.

All files passed with -a file will be attached as a MIME part to the message. To attach several files, use ``--'' to separate files and recipient addresses: mutt -a *.png -- some@one.org

The following are the commands understood by mutt.

The default file in which to save aliases created by the ``create-alias'' function.

Note: Mutt will not automatically source this file; you must explicitly use the ``source'' command for it to be executed.

The default for this option is the currently used muttrc file, or ``/.muttrc'' if no user muttrc was found.

This variable is a colon-separated list of character encoding schemes for text file attachments. If unset, charset value will be used instead. For example, the following configuration would work for Japanese text handling:

set attachcharset="iso-2022-jp:euc-jp:shiftjis:utf-8"

Note: "iso-2022-*" must be put at the head of the value as shown above if included.

When set along with ``editheaders'', Mutt will skip the initial send-menu and allow you to immediately begin editing the body of your message. The send-menu may still be accessed once you have finished editing the body of your message.

Also see ``fastreply''.

Controls the format of the status line displayed in the Compose menu. This string is similar to ``statusformat'', but has its own set of printf()-like sequences:

a

total number of attachments

h

local hostname

l

approximate size (in bytes) of the current message

v

Mutt version string

See the text describing the ``statusformat'' option for more information on how to set ``composeformat''.

This variable controls the format of the date printed by the ``d'' sequence in ``indexformat''. This is passed to the strftime call to process the date. See the man page for strftime(3) for the proper syntax.

Unless the first character in the string is a bang (``!''), the month and week day names are expanded according to the locale specified in the variable ``locale''. If the first character in the string is a bang, the bang is discarded, and the month and week day names in the rest of the string are expanded in the C locale (that is in US English).

This variable allows you to customize the file browser display to your personal taste. This string is similar to ``indexformat'', but has its own set of printf()-like sequences:

C

current file number

d

date/time folder was last modified

f

filename

F

file permissions

g

group name (or numeric gid, if missing)

l

number of hard links

N

N if folder has new mail, blank otherwise

s

size in bytes

t

* if the file is tagged, blank otherwise

u

owner name (or numeric uid, if missing)

>X

right justify the rest of the string and pad with character "X"

|X

pad to the end of the line with character "X"

*X

soft-fill with character "X" as pad

For an explanation of `soft-fill', see the ``indexformat'' documentation.

Controls whether or not the Mail-Followup-To header field is generated when sending mail. When set, Mutt will generate this field when you are replying to a known mailing list, specified with the ``subscribe'' or ``lists'' commands.

This field has two purposes. First, preventing you from receiving duplicate copies of replies to messages which you send to mailing lists, and second, ensuring that you do get a reply separately for any messages sent to known lists to which you are not subscribed. The header will contain only the list's address for subscribed lists, and both the list address and your own email address for unsubscribed lists. Without this header, a group reply to your message sent to a subscribed list will be sent to both the list and your address, resulting in two copies of the same email for you.

This variable is similar to ``savename'', except that Mutt will store a copy of your outgoing message by the username of the address you are sending to even if that mailbox does not exist.

Also see the ``record'' variable.

When unset, the header fields normally added by the ``myhdr'' command are not created. This variable must be unset before composing a new message or replying in order to take effect. If set, the user defined header fields are added to every new message.

When set, mutt will skip the host name part of ``hostname'' variable when adding the domain part to addresses. This variable does not affect the generation of Message-IDs, and it will not lead to the cut-off of first-level domains.

This variable allows you to customize the message index display to your personal taste.

``Format strings'' are similar to the strings used in the ``C'' function printf to format output (see the man page for more detail). The following sequences are defined in Mutt:

a

address of the author

A

reply-to address (if present; otherwise: address of author)

b

filename of the original message folder (think mailBox)

B

the list to which the letter was sent, or else the folder name (b).

c

number of characters (bytes) in the message

C

current message number

d

date and time of the message in the format specified by ``dateformat'' converted to sender's time zone

D

date and time of the message in the format specified by ``dateformat'' converted to the local time zone

e

current message number in thread

E

number of messages in current thread

f

entire From: line (address + real name)

F

author name, or recipient name if the message is from you

H

spam attribute(s) of this message

i

message-id of the current message

l

number of lines in the message (does not work with maildir, mh, and possibly IMAP folders)

L

If an address in the To or CC header field matches an address defined by the users ``subscribe'' command, this displays "To <list-name>", otherwise the same as F.

m

total number of message in the mailbox

M

number of hidden messages if the thread is collapsed.

N

message score

n

author's real name (or address if missing)

O

(Original save folder) Where mutt would formerly have stashed the message: list name or recipient name if no list

P

progress indicator for the builtin pager (how much of the file has been displayed)

s

subject of the message

S

status of the message (N/D/d/!/r/*)

t

`to:' field (recipients)

T

the appropriate character from the tochars string

u

user (login) name of the author

v

first name of the author, or the recipient if the message is from you

X

number of attachments (please see the ``attachments'' section for possible speed effects)

y

`x-label:' field, if present

Y

`x-label' field, if present, and (1) not at part of a thread tree, (2) at the top of a thread, or (3) `x-label' is different from preceding message's `x-label'.

Z

message status flags

{fmt}

the date and time of the message is converted to sender's time zone, and ``fmt'' is expanded by the library function ``strftime''; a leading bang disables locales

fmt

the date and time of the message is converted to the local time zone, and ``fmt'' is expanded by the library function ``strftime''; a leading bang disables locales

(fmt)

the local date and time when the message was received. ``fmt'' is expanded by the library function ``strftime''; a leading bang disables locales

<fmt>

the current local time. ``fmt'' is expanded by the library function ``strftime''; a leading bang disables locales.

>X

right justify the rest of the string and pad with character "X"

|X

pad to the end of the line with character "X"

*X

soft-fill with character "X" as pad

`Soft-fill' deserves some explanation. Normal right-justification will print everything to the left of the >, displaying padding and the whatever lies to the right only if there's room. By contrast, soft-fill gives priority to the right-hand side, guaranteeing space to display it and showing padding only if there's still room. If necessary, soft-fill will eat text leftwards to make room for rightward text.

See also: ``tochars''.

If set, automatically PGP or OpenSSL sign replies to messages which are encrypted. This makes sense in combination with ``cryptreplyencrypt'', because it allows you to sign all messages which are automatically encrypted. This works around the problem noted in ``cryptreplysign'', that mutt is not able to find out whether an encrypted message is also signed. (Crypto only)

This variable allows you to customize the PGP key selection menu to your personal taste. This string is similar to ``indexformat'', but has its own set of printf()-like sequences:

n

number

k

key id

u

user id

a

algorithm

l

key length

f

flags

c

capabilities

t

trust/validity of the key-uid association

<s>

date of the key where <s> is an strftime(3) expression

(PGP only)

This format string specifies a command which is used to decrypt application/x-pkcs7-mime attachments.

The OpenSSL command formats have their own set of printf-like sequences similar to PGP's:

f

Expands to the name of a file containing a message.

s

Expands to the name of a file containing the signature part of a multipart/signed attachment when verifying it.

k

The key-pair specified with smimedefaultkey

c

One or more certificate IDs.

a

The algorithm used for encryption.

C

CA location: Depending on whether smimecalocation points to a directory or file, this expands to "-CApath smimecalocation" or "-CAfile smimecalocation".

For examples on how to configure these formats, see the smime.rc in the samples/ subdirectory which has been installed on your system alongside the documentation. (S/MIME only)

Similar to the ``attribution'' variable, Mutt will append this string after the inclusion of a message which is being replied to.

Mutt allows you to indefinitely ``postpone sending a message'' which you are editing. When you choose to postpone a message, Mutt saves it in the mailbox specified by this variable. Also see the ``postpone'' variable.

Used in connection with the print-message command. If this option is set, the message is decoded before it is passed to the external command specified by printcommand. If this option is unset, no processing will be applied to the message when printing it. The latter setting may be useful if you are using some advanced printer filter which is able to properly format e-mail messages for printing.

Used in connection with the print-message command. If this option is set, the command specified by printcommand is executed once for each message which is to be printed. If this option is unset, the command specified by printcommand is executed only once, and all the messages are concatenated, with a form feed as the message separator.

Those who use the enscript(1) program's mail-printing mode will most likely want to set this option.

If you use an external ``pager'', setting this variable will cause Mutt to prompt you for a command when the pager exits rather than returning to the index menu. If unset, Mutt will return to the index menu when the external pager exits.

This variable fine-tunes the behaviour of the reversename feature. When it is set, mutt will use the address from incoming messages as-is, possibly including eventual real names. When it is unset, mutt will override any such real names with the setting of the realname variable.

When unset, mailboxes which contain no saved messages will be removed when closed (the exception is ``spoolfile'' which is never removed). If set, mailboxes are never removed.

Note: This only applies to mbox and MMDF folders, Mutt does not delete MH and Maildir directories.

This variable controls how copies of outgoing messages are saved. When set, a check is made to see if a mailbox specified by the recipient address exists (this is done by searching for a mailbox in the ``folder'' directory with the username part of the recipient address). If the mailbox exists, the outgoing message will be saved to that mailbox, otherwise the message is saved to the ``record'' mailbox.

Also see the ``forcename'' variable.

A colon-delimited list of character sets for outgoing messages. Mutt will use the first character set into which the text can be converted exactly. If your ``charset'' is not iso-8859-1 and recipients may not understand UTF-8, it is advisable to include in the list an appropriate widely used standard character set (such as iso-8859-2, koi8-r or iso-2022-jp) either instead of or after "iso-8859-1".

In case the text cannot be converted into one of these exactly, mutt uses ``charset'' as a fallback.

Specifies the number of seconds to wait for the ``sendmail'' process to finish before giving up and putting delivery in the background.

Mutt interprets the value of this variable as follows:

>0

number of seconds to wait for sendmail to finish before continuing

0

wait forever for sendmail to finish

<0

always put sendmail in the background without waiting

Note that if you specify a value other than 0, the output of the child process will be put in a temporary file. If there is some error, you will be informed as to where to find the output.

If set, a line containing ``-- '' will be inserted before your ``signature''. It is strongly recommended that you not unset this variable unless your ``signature'' contains just your name. The reason for this is because many software packages use ``-- n'' to detect your signature. For example, Mutt has the ability to highlight the signature in a different color in the builtin pager.

Specifies how Mutt should expand a simple search into a real search pattern. A simple search is one that does not contain any of the operators. See ``patterns'' for more information on search patterns.

For example, if you simply type joe at a search or limit prompt, Mutt will automatically expand it to the value specified by this variable. For the default value it would be:

f joe | s joe

Specifies the password for your SMTP account. If unset, Mutt will prompt you for your password when you first send mail via SMTP. See ``smtpurl'' to configure mutt to send mail via SMTP. Warning: you should only use this option when you are on a fairly secure machine, because the superuser can read your muttrc even if you are the only one who can read the file.

When sorting by threads, this variable controls how threads are sorted in relation to other threads, and how the branches of the thread trees are sorted. This can be set to any value that ``sort'' can, except threads (in that case, mutt will just use date-sent). You can also specify the last- prefix in addition to the reverse- prefix, but last- must come after reverse-. The last- prefix causes messages to be sorted against its siblings by which has the last descendant, using the rest of sortaux as an ordering. For instance, set sortaux=last- date-received would mean that if a new message is received in a thread, that thread becomes the last one displayed (or the first, if you have set sort=reverse-threads.) Note: For reversed ``sort'' order sortaux is reversed again (which is not the right thing to do, but kept to not break any existing configuration setting).

This variable is only useful when sorting by threads with ``strictthreads'' unset. In that case, it changes the heuristic mutt uses to thread messages by subject. With sortre set, mutt will only attach a message as the child of another message by subject if the subject of the child message starts with a substring matching the setting of ``replyregexp''. With sortre unset, mutt will attach the message whether or not this is the case, as long as the non-``replyregexp'' parts of both messages are identical.

``spamseparator'' controls what happens when multiple spam headers are matched: if unset, each successive header will overwrite any previous matches value for the spam label. If set, each successive match will append to the previous, using ``spamseparator'' as a separator.

Controls the characters used by the "r" indicator in ``statusformat''. The first character is used when the mailbox is unchanged. The second is used when the mailbox has been changed, and it needs to be resynchronized. The third is used if the mailbox is in read-only mode, or if the mailbox will not be written when exiting that mailbox (You can toggle whether to write changes to a mailbox with the toggle-write operation, bound by default to ""). The fourth is used to indicate that the current folder has been opened in attach- message mode (Certain operations like composing a new mail, replying, forwarding, etc. are not permitted in this mode).

Controls the format of the status line displayed in the index menu. This string is similar to ``indexformat'', but has its own set of printf()-like sequences:

b

number of mailboxes with new mail *

d

number of deleted messages *

f

the full pathname of the current mailbox

F

number of flagged messages *

h

local hostname

l

size (in bytes) of the current mailbox *

L

size (in bytes) of the messages shown (i.e., which match the current limit) *

m

the number of messages in the mailbox *

M

the number of messages shown (i.e., which match the current limit) *

n

number of new messages in the mailbox *

o

number of old unread messages *

p

number of postponed messages *

P

percentage of the way through the index

r

modified/read-only/won't-write/attach-message indicator, according to statuschars

s

current sorting mode (sort)

S

current aux sorting method (sortaux)

t

number of tagged messages *

u

number of unread messages *

v

Mutt version string

V

currently active limit pattern, if any *

>X

right justify the rest of the string and pad with "X"

|X

pad to the end of the line with "X"

*X

soft-fill with character "X" as pad

For an explanation of `soft-fill', see the ``indexformat'' documentation.

* = can be optionally printed if nonzero

Some of the above sequences can be used to optionally print a string if their value is nonzero. For example, you may only want to see the number of flagged messages if such messages exist, since zero is not particularly meaningful. To optionally print a string based upon one of the above sequences, the following construct is used:

?<sequencechar>?<optionalstring>?

where sequencechar is a character from the table above, and optionalstring is the string you would like printed if sequencechar is nonzero. optionalstring may contain other sequences as well as normal text, but you may not nest optional strings.

Here is an example illustrating how to optionally print the number of new messages in a mailbox: ?n?n new messages.?

You can also switch between two strings using the following construct:

?<sequencechar>?<ifstring>&<elsestring>?

If the value of sequencechar is non-zero, ifstring will be expanded, otherwise elsestring will be expanded.

You can force the result of any printf-like sequence to be lowercase by prefixing the sequence character with an underscore () sign. For example, if you want to display the local hostname in lowercase, you would use: h

If you prefix the sequence character with a colon (:) character, mutt will replace any dots in the expansion by underscores. This might be helpful with IMAP folders that don't like dots in folder names.

If set, threading will only make use of the ``In-Reply-To'' and ``References'' fields when you ``sort'' by message threads. By default, messages with the same subject are grouped together in ``pseudo threads.''. This may not always be desirable, such as in a personal mailbox where you might have several unrelated messages with the subject ``hi'' which will get grouped together. See also ``sortre'' for a less drastic way of controlling this behaviour.

Affects the b and h search operations described in section ``patterns'' above. If set, the headers and attachments of messages to be searched are decoded before searching. If unset, messages are searched as they appear in the folder.

When set, mutt will set the envelope sender of the message. If ``envelopefromaddress'' is set, it will be used as the sender address. If not, mutt will attempt to derive the sender from the "From:" header.

Note that this information is passed to sendmail command using the "-f" command line switch. Therefore setting this option is not useful if the ``sendmail'' variable already contains "-f" or if the executable pointed to by sendmail doesn't support the "-f" switch.

Controls whether Mutt will ask you to press a key after shell- escape, pipe-message, pipe-entry, print-message, and print-entry commands.

It is also used when viewing attachments with ``autoview'', provided that the corresponding mailcap entry has a needsterminal flag, and the external program is interactive.

When set, Mutt will always ask for a key. When unset, Mutt will wait for a key only if the external command returned a non-zero status.

When set to a positive value, mutt will wrap text at wrap characters. When set to a negative value, mutt will wrap text so that there are wrap characters of empty space on the right side of the terminal.

The following is the list of available functions listed by the mapping in which they are available. The default key setting is given, and an explanation of what the function does. The key bindings of these functions can be changed with the bind command.

The generic menu is not a real menu, but specifies common functions (such as movement) available in all menus except for pager and editor. Changing settings for this menu will affect the default bindings for all menus (except as noted).

Table 8.3. Default index function bindings

FunctionDefault keyDescription
create-aliasacreate an alias from a message sender
bounce-messagebremail a message to another user
break-thread#break the thread in two
change-foldercopen a different folder
change-folder-readonlyESC copen a different folder in read only mode
next-unread-mailboxnot boundopen next mailbox with new mail
collapse-threadESC vcollapse/uncollapse current thread
collapse-allESC Vcollapse/uncollapse all threads
copy-messageCcopy a message to a file/mailbox
decode-copyESC Cmake decoded (text/plain) copy
decode-saveESC smake decoded copy (text/plain) and delete
delete-messageddelete the current entry
delete-patternDdelete messages matching a pattern
delete-thread^Ddelete all messages in thread
delete-subthreadESC ddelete all messages in subthread
editeedit the raw message
edit-type^Eedit attachment content type
forward-messagefforward a message with comments
flag-messageFtoggle a message's 'important' flag
group-replygreply to all recipients
fetch-mailGretrieve mail from POP server
imap-fetch-mailnot boundforce retrieval of mail from IMAP server
display-toggle-weedhdisplay message and toggle header weeding
next-undeletedjmove to the next undeleted message
previous-undeletedkmove to the previous undeleted message
limitlshow only messages matching a pattern
link-threads&link tagged message to the current one
list-replyLreply to specified mailing list
mailmcompose a new mail message
toggle-newNtoggle a message's 'new' flag
toggle-write%toggle whether the mailbox will be rewritten
next-thread^Njump to the next thread
next-subthreadESC njump to the next subthread
queryQquery external program for addresses
quitqsave changes to mailbox and quit
replyrreply to a message
show-limitESC lshow currently active limit pattern
sort-mailboxosort messages
sort-reverseOsort messages in reverse order
print-messagepprint the current entry
previous-thread^Pjump to previous thread
previous-subthreadESC pjump to previous subthread
recall-messageRrecall a postponed message
read-thread^Rmark the current thread as read
read-subthreadESC rmark the current subthread as read
resend-messageESC euse the current message as a template for a new one
save-messagessave message/attachment to a file
tag-patternTtag messages matching a pattern
tag-subthreadnot boundtag the current subthread
tag-threadESC ttag the current thread
untag-pattern^Tuntag messages matching a pattern
undelete-messageuundelete the current entry
undelete-patternUundelete messages matching a pattern
undelete-subthreadESC uundelete all messages in subthread
undelete-thread^Uundelete all messages in thread
view-attachmentsvshow MIME attachments
show-versionVshow the Mutt version number and date
set-flagwset a status flag on a message
clear-flagWclear a status flag from a message
display-messageRETdisplay a message
buffy-list.list mailboxes with new mail
sync-mailbox$save changes to mailbox
display-address@display full address of sender
pipe-message|pipe message/attachment to a shell command
next-newnot boundjump to the next new message
next-new-then-unreadTABjump to the next new or unread message
previous-newnot boundjump to the previous new message
previous-new-then-unreadESC TABjump to the previous new or unread message
next-unreadnot boundjump to the next unread message
previous-unreadnot boundjump to the previous unread message
parent-messagePjump to parent message in thread
extract-keys^Kextract supported public keys
forget-passphrase^Fwipe passphrase(s) from memory
check-traditional-pgpESC Pcheck for classic PGP
mail-keyESC kmail a PGP public key
decrypt-copynot boundmake decrypted copy
decrypt-savenot boundmake decrypted copy and delete

Table 8.4. Default pager function bindings

FunctionDefault keyDescription
break-thread#break the thread in two
create-aliasacreate an alias from a message sender
bounce-messagebremail a message to another user
change-foldercopen a different folder
change-folder-readonlyESC copen a different folder in read only mode
next-unread-mailboxnot boundopen next mailbox with new mail
copy-messageCcopy a message to a file/mailbox
decode-copyESC Cmake decoded (text/plain) copy
delete-messageddelete the current entry
delete-thread^Ddelete all messages in thread
delete-subthreadESC ddelete all messages in subthread
editeedit the raw message
edit-type^Eedit attachment content type
forward-messagefforward a message with comments
flag-messageFtoggle a message's 'important' flag
group-replygreply to all recipients
imap-fetch-mailnot boundforce retrieval of mail from IMAP server
display-toggle-weedhdisplay message and toggle header weeding
next-undeletedjmove to the next undeleted message
next-entryJmove to the next entry
previous-undeletedkmove to the previous undeleted message
previous-entryKmove to the previous entry
link-threads&link tagged message to the current one
list-replyLreply to specified mailing list
redraw-screen^Lclear and redraw the screen
mailmcompose a new mail message
mark-as-newNtoggle a message's 'new' flag
search-nextnsearch for next match
next-thread^Njump to the next thread
next-subthreadESC njump to the next subthread
print-messagepprint the current entry
previous-thread^Pjump to previous thread
previous-subthreadESC pjump to previous subthread
quitQsave changes to mailbox and quit
exitqexit this menu
replyrreply to a message
recall-messageRrecall a postponed message
read-thread^Rmark the current thread as read
read-subthreadESC rmark the current subthread as read
resend-messageESC euse the current message as a template for a new one
save-messagessave message/attachment to a file
skip-quotedSskip beyond quoted text
decode-saveESC smake decoded copy (text/plain) and delete
tag-messagettag the current entry
toggle-quotedTtoggle display of quoted text
undelete-messageuundelete the current entry
undelete-subthreadESC uundelete all messages in subthread
undelete-thread^Uundelete all messages in thread
view-attachmentsvshow MIME attachments
show-versionVshow the Mutt version number and date
search-toggle\\toggle search pattern coloring
display-address@display full address of sender
next-newnot boundjump to the next new message
pipe-message|pipe message/attachment to a shell command
help?this screen
next-pageSpacemove to the next page
previous-page-move to the previous page
top^jump to the top of the message
sync-mailbox$save changes to mailbox
shell-escape!invoke a command in a subshell
enter-command:enter a muttrc command
buffy-list.list mailboxes with new mail
search/search for a regular expression
search-reverseESC /search backwards for a regular expression
search-oppositenot boundsearch for next match in opposite direction
next-lineRETscroll down one line
jumpnot boundjump to an index number
next-unreadnot boundjump to the next unread message
previous-newnot boundjump to the previous new message
previous-unreadnot boundjump to the previous unread message
half-upnot boundscroll up 1/2 page
half-downnot boundscroll down 1/2 page
previous-linenot boundscroll up one line
bottomnot boundjump to the bottom of the message
parent-messagePjump to parent message in thread
check-traditional-pgpESC Pcheck for classic PGP
mail-keyESC kmail a PGP public key
extract-keys^Kextract supported public keys
forget-passphrase^Fwipe passphrase(s) from memory
decrypt-copynot boundmake decrypted copy
decrypt-savenot boundmake decrypted copy and delete

Table 8.8. Default compose function bindings

FunctionDefault keyDescription
attach-fileaattach file(s) to this message
attach-messageAattach message(s) to this message
edit-bccbedit the BCC list
edit-cccedit the CC list
copy-fileCsave message/attachment to a file
detach-fileDdelete the current entry
toggle-disposition^Dtoggle disposition between inline/attachment
edit-descriptiondedit attachment description
edit-messageeedit the message
edit-headersEedit the message with headers
edit-file^X eedit the file to be attached
edit-encoding^Eedit attachment transfer-encoding
edit-fromESC fedit the from field
edit-fccfenter a file to save a copy of this message in
filter-entryFfilter attachment through a shell command
get-attachmentGget a temporary copy of an attachment
display-toggle-weedhdisplay message and toggle header weeding
ispellirun ispell on the message
print-entrylprint the current entry
edit-mimemedit attachment using mailcap entry
new-mimencompose new attachment using mailcap entry
postpone-messagePsave this message to send later
edit-reply-toredit the Reply-To field
rename-fileRrename/move an attached file
edit-subjectsedit the subject of this message
edit-totedit the TO list
edit-type^Tedit attachment content type
write-fccwwrite the message to a folder
toggle-unlinkutoggle whether to delete file after sending it
toggle-recodenot boundtoggle recoding of this attachment
update-encodingUupdate an attachment's encoding info
view-attachRETview attachment using mailcap entry if necessary
send-messageysend the message
pipe-entry|pipe message/attachment to a shell command
attach-keyESC kattach a PGP public key
pgp-menupshow PGP options
forget-passphrase^Fwipe passphrase(s) from memory
smime-menuSshow S/MIME options
mixMsend the message through a mixmaster remailer chain