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. imappipelinedepth
3.95. imapservernoise
3.96. imapuser
3.97. implicitautoview
3.98. include
3.99. includeonlyfirst
3.100. indentstring
3.101. indexformat
3.102. ispell
3.103. keepflagged
3.104. locale
3.105. mailcheck
3.106. mailcappath
3.107. mailcapsanitize
3.108. headercache
3.109. maildirheadercacheverify
3.110. headercachepagesize
3.111. headercachecompress
3.112. maildirtrash
3.113. markold
3.114. markers
3.115. mask
3.116. mbox
3.117. mboxtype
3.118. metoo
3.119. menucontext
3.120. menumoveoff
3.121. menuscroll
3.122. metakey
3.123. mhpurge
3.124. mhseqflagged
3.125. mhseqreplied
3.126. mhsequnseen
3.127. mimeforward
3.128. mimeforwarddecode
3.129. mimeforwardrest
3.130. mixentryformat
3.131. mixmaster
3.132. move
3.133. messagecachedir
3.134. messagecacheclean
3.135. messageformat
3.136. narrowtree
3.137. netinc
3.138. pager
3.139. pagercontext
3.140. pagerformat
3.141. pagerindexlines
3.142. pagerstop
3.143. cryptautosign
3.144. cryptautoencrypt
3.145. pgpignoresubkeys
3.146. cryptreplyencrypt
3.147. cryptreplysign
3.148. cryptreplysignencrypted
3.149. crypttimestamp
3.150. pgpusegpgagent
3.151. cryptverifysig
3.152. smimeisdefault
3.153. smimeaskcertlabel
3.154. smimedecryptusedefaultkey
3.155. pgpentryformat
3.156. pgpgoodsign
3.157. pgpcheckexit
3.158. pgplongids
3.159. pgpretainablesigs
3.160. pgpautoinline
3.161. pgpreplyinline
3.162. pgpshowunusable
3.163. pgpsignas
3.164. pgpstrictenc
3.165. pgptimeout
3.166. pgpsortkeys
3.167. pgpmimeauto
3.168. pgpautodecode
3.169. pgpdecodecommand
3.170. pgpgetkeyscommand
3.171. pgpverifycommand
3.172. pgpdecryptcommand
3.173. pgpclearsigncommand
3.174. pgpsigncommand
3.175. pgpencryptsigncommand
3.176. pgpencryptonlycommand
3.177. pgpimportcommand
3.178. pgpexportcommand
3.179. pgpverifykeycommand
3.180. pgplistsecringcommand
3.181. pgplistpubringcommand
3.182. forwarddecrypt
3.183. smimetimeout
3.184. smimeencryptwith
3.185. smimekeys
3.186. smimecalocation
3.187. smimecertificates
3.188. smimedecryptcommand
3.189. smimeverifycommand
3.190. smimeverifyopaquecommand
3.191. smimesigncommand
3.192. smimesignopaquecommand
3.193. smimeencryptcommand
3.194. smimepk7outcommand
3.195. smimegetcertcommand
3.196. smimegetsignercertcommand
3.197. smimeimportcertcommand
3.198. smimegetcertemailcommand
3.199. smimedefaultkey
3.200. sslclientcert
3.201. sslforcetls
3.202. sslstarttls
3.203. certificatefile
3.204. sslusesystemcerts
3.205. entropyfile
3.206. sslusesslv2
3.207. sslusesslv3
3.208. sslusetlsv1
3.209. sslmindhprimebits
3.210. sslcacertificatesfile
3.211. pipesplit
3.212. pipedecode
3.213. pipesep
3.214. popauthenticators
3.215. popauthtryall
3.216. popcheckinterval
3.217. popdelete
3.218. pophost
3.219. poplast
3.220. popreconnect
3.221. popuser
3.222. poppass
3.223. postindentstring
3.224. postpone
3.225. postponed
3.226. preconnect
3.227. print
3.228. printcommand
3.229. printdecode
3.230. printsplit
3.231. promptafter
3.232. querycommand
3.233. queryformat
3.234. quit
3.235. quoteregexp
3.236. readinc
3.237. readonly
3.238. realname
3.239. recall
3.240. record
3.241. replyregexp
3.242. replyself
3.243. replyto
3.244. resolve
3.245. reversealias
3.246. reversename
3.247. reverserealname
3.248. rfc2047parameters
3.249. saveaddress
3.250. saveempty
3.251. savehistory
3.252. savename
3.253. score
3.254. scorethresholddelete
3.255. scorethresholdflag
3.256. scorethresholdread
3.257. sendcharset
3.258. sendmail
3.259. sendmailwait
3.260. shell
3.261. sigdashes
3.262. sigontop
3.263. signature
3.264. simplesearch
3.265. smartwrap
3.266. smileys
3.267. sleeptime
3.268. smtpauthenticators
3.269. smtppass
3.270. smtpurl
3.271. sort
3.272. sortalias
3.273. sortaux
3.274. sortbrowser
3.275. sortre
3.276. spamseparator
3.277. spoolfile
3.278. statuschars
3.279. statusformat
3.280. statusontop
3.281. strictthreads
3.282. suspend
3.283. textflowed
3.284. threadreceived
3.285. thoroughsearch
3.286. tilde
3.287. timeinc
3.288. timeout
3.289. tmpdir
3.290. tochars
3.291. tunnel
3.292. use8bitmime
3.293. usedomain
3.294. useenvelopefrom
3.295. usefrom
3.296. useidn
3.297. useipv6
3.298. useragent
3.299. visual
3.300. waitkey
3.301. weed
3.302. wrap
3.303. wrapsearch
3.304. wrapmargin
3.305. writeinc
3.306. 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. Entries added to this file are encoded in the character set specified by configcharset if it is set or the current character set otherwise.

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.

When defined, Mutt will recode commands in rc files from this encoding to the current character set as specified by charset and aliases written to aliasfile from the current character set.

Please note that if setting charset it must be done before setting configcharset.

Recoding should be avoided as it may render unconvertable characters as question marks which can lead to undesired side effects (for example in regular expressions).

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 controls how much of your message is returned in DSN messages. It may be set to either hdrs to return just the message header, or full to return the full message.

Example: set dsnreturn=hdrs

Note: when using sendmail for delivery, you should not enable this unless you are either using Sendmail 8.8.x or greater or a MTA providing a sendmail(1)-compatible interface supporting the -R option for DSN. For SMTP delivery, it depends on the server whether DSN is supported or not.

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.

Affects the behaviour of the <reply> function when replying to messages from mailing lists (as defined by the ``subscribe'' or ``lists'' commands). When set, if the ``Reply-To:'' field is set to the same value as the ``To:'' field, Mutt assumes that the ``Reply-To:'' field was set by the mailing list to automate responses to the list, and will ignore this field. To direct a response to the mailing list when this option is set, use the <list-reply> function; <group-reply> will reply to both the sender and the list.

Specifies the password for your IMAP account. If unset, Mutt will prompt you for your password when you invoke the <fetch-mail> function. 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.

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

sender (address + real name), either From: or Return-Path:

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.

Note that these expandos are supported in ``save-hook'', ``fcc-hook'' and ``fcc-save-hook'', too.

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)

The name of your POP server for the <fetch-mail> function. You can also specify an alternative port, username and password, ie:

pops://username:password@popserver:port

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.

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''. If set, the headers and body/attachments of messages to be searched are decoded before searching. If unset, messages are searched as they appear in the folder.

Users searching attachments or for non-ASCII characters should set this value because decoding also includes MIME parsing/decoding and possible character set conversions. Otherwise mutt will attempt to match against the raw message received (for example quoted-printable encoded or with encoded headers) which may lead to incorrect search results.

Along with readinc, writeinc, and netinc, this variable controls the frequency with which progress updates are displayed. It suppresses updates less than timeinc milliseconds apart. This can improve throughput on systems with slow terminals, or when running mutt on a remote system.

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-alias>acreate an alias from a message sender
<bounce-message>bremail a message to another user
<break-thread>#break the thread in two
<change-folder>copen a different folder
<change-folder-readonly>ESC copen a different folder in read only mode
<next-unread-mailbox>not boundopen next mailbox with new mail
<collapse-thread>ESC vcollapse/uncollapse current thread
<collapse-all>ESC Vcollapse/uncollapse all threads
<copy-message>Ccopy a message to a file/mailbox
<decode-copy>ESC Cmake decoded (text/plain) copy
<decode-save>ESC smake decoded copy (text/plain) and delete
<delete-message>ddelete the current entry
<delete-pattern>Ddelete messages matching a pattern
<delete-thread>^Ddelete all messages in thread
<delete-subthread>ESC ddelete all messages in subthread
<edit>eedit the raw message
<edit-type>^Eedit attachment content type
<forward-message>fforward a message with comments
<flag-message>Ftoggle a message's 'important' flag
<group-reply>greply to all recipients
<fetch-mail>Gretrieve mail from POP server
<imap-fetch-mail>not boundforce retrieval of mail from IMAP server
<display-toggle-weed>hdisplay message and toggle header weeding
<next-undeleted>jmove to the next undeleted message
<previous-undeleted>kmove to the previous undeleted message
<limit>lshow only messages matching a pattern
<link-threads>&link tagged message to the current one
<list-reply>Lreply to specified mailing list
<mail>mcompose a new mail message
<toggle-new>Ntoggle a message's 'new' flag
<toggle-write>%toggle whether the mailbox will be rewritten
<next-thread>^Njump to the next thread
<next-subthread>ESC njump to the next subthread
<query>Qquery external program for addresses
<quit>qsave changes to mailbox and quit
<reply>rreply to a message
<show-limit>ESC lshow currently active limit pattern
<sort-mailbox>osort messages
<sort-reverse>Osort messages in reverse order
<print-message>pprint the current entry
<previous-thread>^Pjump to previous thread
<previous-subthread>ESC pjump to previous subthread
<recall-message>Rrecall a postponed message
<read-thread>^Rmark the current thread as read
<read-subthread>ESC rmark the current subthread as read
<resend-message>ESC euse the current message as a template for a new one
<save-message>ssave message/attachment to a file
<tag-pattern>Ttag messages matching a pattern
<tag-subthread>not boundtag the current subthread
<tag-thread>ESC ttag the current thread
<untag-pattern>^Tuntag messages matching a pattern
<undelete-message>uundelete the current entry
<undelete-pattern>Uundelete messages matching a pattern
<undelete-subthread>ESC uundelete all messages in subthread
<undelete-thread>^Uundelete all messages in thread
<view-attachments>vshow MIME attachments
<show-version>Vshow the Mutt version number and date
<set-flag>wset a status flag on a message
<clear-flag>Wclear a status flag from a message
<display-message>RETdisplay 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-new>not boundjump to the next new message
<next-new-then-unread>TABjump to the next new or unread message
<previous-new>not boundjump to the previous new message
<previous-new-then-unread>ESC TABjump to the previous new or unread message
<next-unread>not boundjump to the next unread message
<previous-unread>not boundjump to the previous unread message
<parent-message>Pjump to parent message in thread
<extract-keys>^Kextract supported public keys
<forget-passphrase>^Fwipe passphrase(s) from memory
<check-traditional-pgp>ESC Pcheck for classic PGP
<mail-key>ESC kmail a PGP public key
<decrypt-copy>not boundmake decrypted copy
<decrypt-save>not boundmake decrypted copy and delete

Table 8.4. Default pager function bindings

FunctionDefault keyDescription
<break-thread>#break the thread in two
<create-alias>acreate an alias from a message sender
<bounce-message>bremail a message to another user
<change-folder>copen a different folder
<change-folder-readonly>ESC copen a different folder in read only mode
<next-unread-mailbox>not boundopen next mailbox with new mail
<copy-message>Ccopy a message to a file/mailbox
<decode-copy>ESC Cmake decoded (text/plain) copy
<delete-message>ddelete the current entry
<delete-thread>^Ddelete all messages in thread
<delete-subthread>ESC ddelete all messages in subthread
<edit>eedit the raw message
<edit-type>^Eedit attachment content type
<forward-message>fforward a message with comments
<flag-message>Ftoggle a message's 'important' flag
<group-reply>greply to all recipients
<imap-fetch-mail>not boundforce retrieval of mail from IMAP server
<display-toggle-weed>hdisplay message and toggle header weeding
<next-undeleted>jmove to the next undeleted message
<next-entry>Jmove to the next entry
<previous-undeleted>kmove to the previous undeleted message
<previous-entry>Kmove to the previous entry
<link-threads>&link tagged message to the current one
<list-reply>Lreply to specified mailing list
<redraw-screen>^Lclear and redraw the screen
<mail>mcompose a new mail message
<mark-as-new>Ntoggle a message's 'new' flag
<search-next>nsearch for next match
<next-thread>^Njump to the next thread
<next-subthread>ESC njump to the next subthread
<print-message>pprint the current entry
<previous-thread>^Pjump to previous thread
<previous-subthread>ESC pjump to previous subthread
<quit>Qsave changes to mailbox and quit
<exit>qexit this menu
<reply>rreply to a message
<recall-message>Rrecall a postponed message
<read-thread>^Rmark the current thread as read
<read-subthread>ESC rmark the current subthread as read
<resend-message>ESC euse the current message as a template for a new one
<save-message>ssave message/attachment to a file
<skip-quoted>Sskip beyond quoted text
<decode-save>ESC smake decoded copy (text/plain) and delete
<tag-message>ttag the current entry
<toggle-quoted>Ttoggle display of quoted text
<undelete-message>uundelete the current entry
<undelete-subthread>ESC uundelete all messages in subthread
<undelete-thread>^Uundelete all messages in thread
<view-attachments>vshow MIME attachments
<show-version>Vshow the Mutt version number and date
<search-toggle>\\toggle search pattern coloring
<display-address>@display full address of sender
<next-new>not boundjump to the next new message
<pipe-message>|pipe message/attachment to a shell command
<help>?this screen
<next-page>Spacemove 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-reverse>ESC /search backwards for a regular expression
<search-opposite>not boundsearch for next match in opposite direction
<next-line>RETscroll down one line
<jump>not boundjump to an index number
<next-unread>not boundjump to the next unread message
<previous-new>not boundjump to the previous new message
<previous-unread>not boundjump to the previous unread message
<half-up>not boundscroll up 1/2 page
<half-down>not boundscroll down 1/2 page
<previous-line>not boundscroll up one line
<bottom>not boundjump to the bottom of the message
<parent-message>Pjump to parent message in thread
<check-traditional-pgp>ESC Pcheck for classic PGP
<mail-key>ESC kmail a PGP public key
<extract-keys>^Kextract supported public keys
<forget-passphrase>^Fwipe passphrase(s) from memory
<decrypt-copy>not boundmake decrypted copy
<decrypt-save>not boundmake decrypted copy and delete

Table 8.8. Default compose function bindings

FunctionDefault keyDescription
<attach-file>aattach file(s) to this message
<attach-message>Aattach message(s) to this message
<edit-bcc>bedit the BCC list
<edit-cc>cedit the CC list
<copy-file>Csave message/attachment to a file
<detach-file>Ddelete the current entry
<toggle-disposition>^Dtoggle disposition between inline/attachment
<edit-description>dedit attachment description
<edit-message>eedit the message
<edit-headers>Eedit the message with headers
<edit-file>^X eedit the file to be attached
<edit-encoding>^Eedit attachment transfer-encoding
<edit-from>ESC fedit the from field
<edit-fcc>fenter a file to save a copy of this message in
<filter-entry>Ffilter attachment through a shell command
<get-attachment>Gget a temporary copy of an attachment
<display-toggle-weed>hdisplay message and toggle header weeding
<ispell>irun ispell on the message
<print-entry>lprint the current entry
<edit-mime>medit attachment using mailcap entry
<new-mime>ncompose new attachment using mailcap entry
<postpone-message>Psave this message to send later
<edit-reply-to>redit the Reply-To field
<rename-file>Rrename/move an attached file
<edit-subject>sedit the subject of this message
<edit-to>tedit the TO list
<edit-type>^Tedit attachment content type
<write-fcc>wwrite the message to a folder
<toggle-unlink>utoggle whether to delete file after sending it
<toggle-recode>not boundtoggle recoding of this attachment
<update-encoding>Uupdate an attachment's encoding info
<view-attach>RETview attachment using mailcap entry if necessary
<send-message>ysend the message
<pipe-entry>|pipe message/attachment to a shell command
<attach-key>ESC kattach a PGP public key
<pgp-menu>pshow PGP options
<forget-passphrase>^Fwipe passphrase(s) from memory
<smime-menu>Sshow S/MIME options
<mix>Msend the message through a mixmaster remailer chain