]> git.armaanb.net Git - asd-repo.git/blob - junk/mutt/files/muttrc.5
The comeback
[asd-repo.git] / junk / mutt / files / muttrc.5
1 '\" t
2 .\" -*-nroff-*-
3 .\"
4 .\"     Copyright (C) 1996-2000 Michael R. Elkins <me@cs.hmc.edu>
5 .\"     Copyright (C) 1999-2000 Thomas Roessler <roessler@does-not-exist.org>
6 .\" 
7 .\"     This program is free software; you can redistribute it and/or modify
8 .\"     it under the terms of the GNU General Public License as published by
9 .\"     the Free Software Foundation; either version 2 of the License, or
10 .\"     (at your option) any later version.
11 .\" 
12 .\"     This program is distributed in the hope that it will be useful,
13 .\"     but WITHOUT ANY WARRANTY; without even the implied warranty of
14 .\"     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 .\"     GNU General Public License for more details.
16 .\" 
17 .\"     You should have received a copy of the GNU General Public License
18 .\"     along with this program; if not, write to the Free Software
19 .\"     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20 .\"
21 .de EX
22 .nf
23 .ft CW
24 ..
25 .de EE
26 .ft
27 .fi
28 ..
29 .TH muttrc 5 "January 2019" Unix "User Manuals"
30 .SH NAME
31 muttrc \- Configuration file for the Mutt Mail User Agent
32 .SH DESCRIPTION
33 .PP
34 A mutt configuration file consists of a series of \(lqcommands\(rq.
35 Each line of the file may contain one or more commands.  When
36 multiple commands are used, they must be separated by a semicolon
37 (\(lq\fB;\fP\(rq).
38 .PP
39 The hash mark, or pound sign (\(lq\fB#\fP\(rq), is used as a
40 \(lqcomment\(rq character. You can use it to annotate your
41 initialization file. All text after the comment character to the end
42 of the line is ignored.
43 .PP
44 Single quotes (\(lq\fB'\fP\(rq) and double quotes (\(lq\fB"\fP\(rq)
45 can be used to quote strings which contain spaces or other special
46 characters.  The difference between the two types of quotes is
47 similar to that of many popular shell programs, namely that a single
48 quote is used to specify a literal string (one that is not
49 interpreted for shell variables or quoting with a backslash [see
50 next paragraph]), while double quotes indicate a string which
51 should be evaluated.  For example, backticks are evaluated inside of
52 double quotes, but not single quotes.
53 .PP
54 \fB\(rs\fP quotes the next character, just as in shells such as bash and zsh.
55 For example, if want to put quotes (\(lq\fB"\fP\(rq) inside of a
56 string, you can use \(lq\fB\(rs\fP\(rq to force the next character
57 to be a literal instead of interpreted character.
58 .PP
59 \(lq\fB\(rs\(rs\fP\(rq means to insert a literal \(lq\fB\(rs\fP\(rq into the
60 line.  \(lq\fB\(rsn\fP\(rq and \(lq\fB\(rsr\fP\(rq have their usual
61 C meanings of linefeed and carriage-return, respectively.
62 .PP
63 A \(lq\fB\(rs\fP\(rq at the end of a line can be used to split commands over
64 multiple lines, provided that the split points don't appear in the
65 middle of command names.
66 .PP
67 It is also possible to substitute the output of a Unix command in an
68 initialization file.  This is accomplished by enclosing the command
69 in backticks (\fB`\fP\fIcommand\fP\fB`\fP).
70 .PP
71 UNIX environment variables can be accessed like the way it is done in shells
72 like sh and bash: Prepend the name of the variable by a dollar
73 (\(lq\fB\(Do\fP\(rq) sign.
74 .
75 .
76 .PP
77 .SH COMMANDS
78 .
79 .PP
80 .nf
81 \fBalias\fP [\fB-group\fP \fIname\fP [...]] \fIkey\fP \fIaddress\fP [\fB,\fP \fIaddress\fP [ ... ]]
82 \fBunalias\fP [\fB * \fP | \fIkey\fP ]
83 .fi
84 .IP
85 \fBalias\fP defines an alias \fIkey\fP for the given addresses. Each
86 \fIaddress\fP will be resolved into either an email address (user@example.com)
87 or a named email address (User Name <user@example.com>). The address may be specified in either format, or in the format \(lquser@example.com (User
88 Name)\(rq.
89 \fBunalias\fP removes the alias corresponding to the given \fIkey\fP or
90 all aliases when \(lq\fB*\fP\(rq is used as an argument. The optional
91 \fB-group\fP argument to \fBalias\fP causes the aliased address(es) to be
92 added to the named \fIgroup\fP.
93 .
94 .PP
95 .nf
96 \fBgroup\fP [\fB-group\fP \fIname\fP] [\fB-rx\fP \fIEXPR\fP [ \fI...\fP ]] [\fB-addr\fP \fIaddress\fP [ \fI...\fP ]]
97 \fBungroup\fP [\fB-group\fP \fIname\fP ] [ \fB*\fP | [[\fB-rx\fP \fIEXPR\fP [ \fI...\fP ]] [\fB-addr\fP \fIaddress\fP [ \fI...\fP ]]]
98 .fi
99 .IP
100 \fBgroup\fP is used to directly add either addresses or regular expressions to
101 the specified group or groups. The different categories of arguments to the
102 \fBgroup\fP command can be in any order. The flags \fI-rx\fP and \fI-addr\fP
103 specify what the following strings (that cannot begin with a hyphen) should be
104 interpreted as: either a regular expression or an email address, respectively.
105 \fBungroup\fP is used to remove addresses or regular expressions from the
106 specified group or groups. The syntax is similar to the \fBgroup\fP command,
107 however the special character \fB*\fP can be used to empty a group of all of
108 its contents.
109 .IP
110 These address groups can also be created implicitly by the \fBalias\fP, \fBlists\fP,
111 \fBsubscribe\fP and \fBalternates\fP commands by specifying the optional \fI-group\fP
112 option.
113 .IP
114 Once defined, these address groups can be used in patterns to search for and limit the
115 display to messages matching a group.
116 .
117 .PP
118 .nf
119 \fBalternates\fP [\fB-group\fP \fIname\fP] \fIregexp\fP [ \fIregexp\fP [ ... ]]
120 \fBunalternates\fP [\fB * \fP | \fIregexp\fP [ \fIregexp\fP [ ... ]] ]
121 .fi
122 .IP
123 \fBalternates\fP is used to inform mutt about alternate addresses
124 where you receive mail; you can use regular expressions to specify
125 alternate addresses.  This affects mutt's idea about messages
126 from you, and messages addressed to you.  \fBunalternates\fP removes
127 a regular expression from the list of known alternates. The \fB-group\fP flag
128 causes all of the subsequent regular expressions to be added to the named group.
129 .
130 .PP
131 .nf
132 \fBalternative_order\fP \fItype\fP[\fB/\fP\fIsubtype\fP] [ ... ]
133 \fBunalternative_order\fP [\fB * \fP | \fItype\fP/\fIsubtype\fP] [...]
134 .fi
135 .IP
136 \fBalternative_order\fP command permits you to define an order of preference which is
137 used by mutt to determine which part of a
138 \fBmultipart/alternative\fP body to display.
139 A subtype of \(lq\fB*\fP\(rq matches any subtype, as does an empty
140 subtype.   \fBunalternative_order\fP removes entries from the
141 ordered list or deletes the entire list when \(lq\fB*\fP\(rq is used
142 as an argument.
143 .
144 .PP
145 .nf
146 \fBattachments\fP [ \fB+\fP | \fB-\fP ]\fIdisposition\fP \fImime-type\fP
147 \fBunattachments\fP [ \fB+\fP | \fB-\fP ]\fIdisposition\fI \fImime-type\fP
148 \fBattachments\fP \fB?\fP
149 \fBunattachments\fP \fB*\fP
150 .fi
151 .IP
152 \fBattachments\fP specifies what kinds of attachments are used for Mutt's
153 attachment counting and searching support.
154 .IP
155 \fIdisposition\fP is the attachment's Content-Disposition type - either
156 inline or attachment. You can abbreviate this to I or A.
157 .IP
158 The first part of a message or multipart group, if inline, is counted
159 separately than other inline parts. Specify root or R for disposition
160 to count these as attachments. If this first part is of type
161 multipart/alternative, note that its top-level inline parts are also
162 counted via root disposition (if $count_alternatives is set).
163 .IP
164 \fIdisposition\fP is prefixed by either a \fB+\fP symbol or a \fB-\fP
165 symbol. If it's a \fB+\fP, you're saying that you want to allow this
166 disposition and MIME type to qualify. If it's a \fB-\fP, you're saying
167 that this disposition and MIME type is an exception to previous \fB+\fP
168 rules.
169 .IP
170 \fImime-type\fP is the MIME type of the attachment you want the
171 command to affect. A MIME type is always of the format major/minor,
172 where major describes the broad category of document you're looking
173 at, and minor describes the specific type within that category. The
174 major part of mime-type must be literal text (or the special token
175 \fB*\fP), but the minor part may be a regular expression. (Therefore,
176 \fB*/.*\fP matches any MIME type.)
177 .IP
178 The MIME types you give to the attachments directive are a kind of
179 pattern. When you use the attachments directive, the patterns you
180 specify are added to a list. When you use unattachments, the pattern
181 is removed from the list. The patterns are not expanded and matched to
182 specific MIME types at this time - they're just text in a
183 list. They're only matched when actually evaluating a message.
184 .
185 .PP
186 .nf
187 \fBauto_view\fP \fItype\fP[\fB/\fP\fIsubtype\fP] [ ... ]
188 \fBunauto_view\fP \fItype\fP[\fB/\fP\fIsubtype\fP] [ ... ]
189 .fi
190 .IP
191 This commands permits you to specify that mutt should automatically
192 convert the given MIME types to text/plain when displaying messages.
193 For this to work, there must be a 
194 .BR mailcap (5)
195 entry for the given MIME type with the 
196 .B copiousoutput
197 flag set.  A subtype of \(lq\fB*\fP\(rq 
198 matches any subtype, as does an empty subtype.
199 .
200 .PP
201 .nf
202 \fBmime_lookup\fP \fItype\fP[\fB/\fP\fIsubtype\fP] [ ... ]
203 \fBunmime_lookup\fP \fItype\fP[\fB/\fP\fIsubtype\fP] [ ... ]
204 .fi
205 .IP
206 This command permits you to define a list of "data" MIME content
207 types for which mutt will try to determine the actual file type from
208 the file name, and not use a 
209 .BR mailcap (5)
210 entry given for the original MIME type.  For instance, you may add
211 the \fBapplication/octet-stream\fP MIME type to this list.
212 .
213 .TP
214 \fBbind\fP \fImap1,map2,...\fP \fIkey\fP \fIfunction\fP
215 This command binds the given \fIkey\fP for the given \fImap\fP or maps
216 to the given \fIfunction\fP. Multiple maps may be specified by
217 separating them with commas (no whitespace is allowed).
218 .IP
219 Valid maps are:
220 .BR generic ", " alias ", " attach ", " 
221 .BR browser ", " editor ", "
222 .BR index ", " compose ", " 
223 .BR pager ", " pgp ", " postpone ", "
224 .BR mix .
225 .IP
226 For more information on keys and functions, please consult the Mutt
227 Manual. Note that the function name is to be specified without
228 angle brackets.
229 .
230 .TP
231 \fBaccount-hook\fP [\fB!\fP]\fIregexp\fP \fIcommand\fP
232 This hook is executed whenever you access a remote mailbox. Useful
233 to adjust configuration settings to different IMAP or POP servers.
234 .
235 .TP
236 \fBcharset-hook\fP \fIalias\fP \fIcharset\fP
237 This command defines an alias for a character set.  This is useful
238 to properly display messages which are tagged with a character set
239 name not known to mutt.
240 .
241 .TP
242 \fBiconv-hook\fP \fIcharset\fP \fIlocal-charset\fP
243 This command defines a system-specific name for a character set.
244 This is useful when your system's 
245 .BR iconv (3)
246 implementation does not understand MIME character set names (such as 
247 .BR iso-8859-1 ),
248 but instead insists on being fed with implementation-specific
249 character set names (such as
250 .BR 8859-1 ).
251 In this specific case, you'd put this into your configuration file:
252 .IP
253 .B "iconv-hook iso-8859-1 8859-1"
254 .
255 .TP
256 \fBmessage-hook\fP [\fB!\fP]\fIpattern\fP \fIcommand\fP
257 Before mutt displays (or formats for replying or forwarding) a
258 message which matches the given \fIpattern\fP (or, when it is
259 preceded by an exclamation mark, does not match the \fIpattern\fP),
260 the given \fIcommand\fP is executed.  When multiple
261 \fBmessage-hook\fPs match, they are  executed  in  the order in
262 which they occur in the configuration file.
263 .
264 .TP
265 \fBfolder-hook\fP [\fB!\fP]\fIregexp\fP \fIcommand\fP
266 When mutt enters a folder which matches \fIregexp\fP (or, when
267 \fIregexp\fP is preceded by an exclamation mark, does not match
268 \fIregexp\fP), the given \fIcommand\fP is executed.
269 .IP
270 When several \fBfolder-hook\fPs match a given mail folder, they are
271 executed in the order given in the configuration file.
272 .
273 .TP
274 \fBmacro\fP \fImap\fP \fIkey\fP \fIsequence\fP [ \fIdescription\fP ]
275 This command binds the given \fIsequence\fP of keys to the given
276 \fIkey\fP in the given \fImap\fP or maps.  For valid maps, see \fBbind\fP. To
277 specify multiple maps, put only a comma between the maps.
278 .PP
279 .nf
280 \fBcolor\fP \fIobject\fP [ \fIattribute\fP ... ] \fIforeground\fP \fIbackground\fP [ \fIregexp\fP ]
281 \fBcolor\fP index [ \fIattribute\fP ... ] \fIforeground\fP \fIbackground\fP [ \fIpattern\fP ]
282 \fBcolor\fP compose \fIcomposeobject\fP [ \fIattribute\fP ... ] \fIforeground\fP \fIbackground\fP
283 \fBuncolor\fP index \fIpattern\fP [ \fIpattern\fP ... ]
284 .fi
285 .IP
286 If your terminal supports color, these commands can be used to
287 assign \fIforeground\fP/\fIbackground\fP combinations to certain
288 objects.  Valid objects are:
289 .BR attachment ", " body ", " bold ", " error ", " header ", "
290 .BR hdrdefault ", " index ", " indicator ", " markers ", "
291 .BR message ", " normal ", " prompt ", " quoted ", " quoted\fIN\fP ", "
292 .BR search ", " signature ", " status ", " tilde ", " tree ", "
293 .BR underline .
294 If the sidebar is enabled the following objects are also valid:
295 .BR sidebar_divider ", " sidebar_flagged ", " sidebar_highlight ", "
296 .BR sidebar_indicator ", " sidebar_new ", " sidebar_spoolfile .
297 The
298 .BR body " and " header
299 objects allow you to restrict the colorization to a regular
300 expression.  The \fBindex\fP object permits you to select colored
301 messages by pattern.
302 .IP
303 Valid composeobjects include
304 .BR header ", " security_encrypt ", " security_sign ", "
305 .BR security_both ", " security_none .
306 .IP
307 Valid colors include:
308 .BR white ", " black ", " green ", " magenta ", " blue ", "
309 .BR cyan ", " yellow ", " red ", " default ", " color\fIN\fP .
310 .IP
311 Valid attributes include:
312 .BR none ", " bold ", " underline ", "
313 .BR reverse ", and " standout .
314 .
315 .PP
316 .nf
317 \fBmono\fP \fIobject\fP \fIattribute\fP [ \fIregexp\fP ]
318 \fBmono\fP index \fIattribute\fP [ \fIpattern\fP ]
319 .fi
320 .IP
321 For terminals which don't support color, you can still assign
322 attributes to objects.
323 .
324 .TP
325 [\fBun\fP]\fBignore\fP \fIpattern\fP [ \fIpattern\fP ... ]
326 The \fBignore\fP command permits you to specify header fields which
327 you usually don't wish to see.  Any header field whose tag
328 \fIbegins\fP with an \(lqignored\(rq pattern will be ignored.
329 .IP
330 The \fBunignore\fP command permits you to define exceptions from
331 the above mentioned list of ignored headers.
332 .
333 .PP
334 .nf
335 \fBlists\fP [\fB-group\fP \fIname\fP] \fIregexp\fP [ \fIregexp\fP ... ]
336 \fBunlists\fP \fIregexp\fP [ \fIregexp\fP ... ]
337 \fBsubscribe\fP [\fB-group\fP \fIname\fP] \fIregexp\fP [ \fIregexp\fP ... ]
338 \fBunsubscribe\fP \fIregexp\fP [ \fIregexp\fP ... ]
339 .fi
340 .IP
341 Mutt maintains two lists of mailing list address patterns, a list of
342 subscribed mailing lists, and a list of known mailing lists.  All
343 subscribed mailing lists are known.  Patterns use regular expressions.
344 .IP
345 The \fBlists\fP command adds a mailing list address to the list of
346 known mailing lists.  The \fBunlists\fP command removes a mailing
347 list from the lists of known and subscribed mailing lists.  The
348 \fBsubscribe\fP command adds a mailing list to the lists of known
349 and subscribed mailing lists.  The \fBunsubscribe\fP command removes
350 it from the list of subscribed mailing lists. The \fB-group\fP flag
351 adds all of the subsequent regular expressions to the named group.
352 .
353 .TP
354 \fBmbox-hook\fP [\fB!\fP]\fIregexp\fP \fImailbox\fP
355 When mutt changes to a mail folder which matches \fIregexp\fP,
356 \fImailbox\fP will be used as the \(lqmbox\(rq folder, i.e., read
357 messages will be moved to that folder when the mail folder is left.
358 .IP
359 The first matching \fBmbox-hook\fP applies.
360 .
361 .PP
362 .nf
363 \fBmailboxes\fP [[\fB-poll\fP | \fB-nopoll\fP] [[\fB-label\fP \fIlabel\fP] | \fB-nolabel\fP] \fIfilename\fP] [ ... ]
364 \fBunmailboxes\fP [ \fB*\fP | \fIfilename\fP ... ]
365 .fi
366 .IP
367 The \fBmailboxes\fP specifies folders which can receive mail and which will
368 be checked for new messages.  When changing folders, pressing space
369 will cycle through folders with new mail.  The \fBunmailboxes\fP
370 command is used to remove a file name from the list of folders which
371 can receive mail.  If "\fB*\fP" is specified as the file name, the
372 list is emptied.
373 .
374 .PP
375 .nf
376 \fBmy_hdr\fP \fIstring\fP
377 \fBunmy_hdr\fP \fIfield\fP
378 .fi
379 .IP
380 Using \fBmy_hdr\fP, you can define headers which will be added to
381 the messages you compose.  \fBunmy_hdr\fP will remove the given
382 user-defined headers.
383 .
384 .TP
385 \fBhdr_order\fP \fIheader1\fP \fIheader2\fP [ ... ]
386 With this command, you can specify an order in which mutt will
387 attempt to present headers to you when viewing messages.
388 .
389 .TP
390 \fBsave-hook\fP [\fB!\fP]\fIpattern\fP \fIfilename\fP
391 When a message matches \fIpattern\fP, the default file name when
392 saving it will be the given \fIfilename\fP.
393 .
394 .TP
395 \fBfcc-hook\fP [\fB!\fP]\fIpattern\fP \fIfilename\fP
396 When an outgoing message matches \fIpattern\fP, the default file
397 name for storing a copy (fcc) will be the given \fIfilename\fP.
398 .
399 .TP
400 \fBfcc-save-hook\fP [\fB!\fP]\fIpattern\fP \fIfilename\fP
401 This command is an abbreviation for identical \fBfcc-hook\fP and
402 \fBsave-hook\fP commands.
403 .
404 .TP
405 \fBsend-hook\fP [\fB!\fP]\fIpattern\fP \fIcommand\fP
406 When composing a message matching \fIpattern\fP, \fIcommand\fP is
407 executed.  When multiple \fBsend-hook\fPs match, they are executed
408 in the order in which they occur in the configuration file.
409 .
410 .TP
411 \fBsend2-hook\fP [\fB!\fP]\fIpattern\fP \fIcommand\fP
412 Whenever a message matching \fIpattern\fP is changed (either by
413 editing it or by using the compose menu), \fIcommand\fP
414 is executed. When multiple \fBsend2-hook\fPs match, they are
415 executed in the order in which they occur in the configuration file.
416 Possible applications include setting the $sendmail variable when a
417 message's from header is changed.
418 .IP
419 \fBsend2-hook\fP execution is not triggered by use of
420 \fBenter-command\fP from the compose menu.
421 .
422 .TP
423 \fBreply-hook\fP [\fB!\fP]\fIpattern\fP \fIcommand\fP
424 When replying to a message matching \fIpattern\fP, \fIcommand\fP is
425 executed.  When multiple \fBreply-hook\fPs match, they are executed
426 in the order in which they occur in the configuration file, but all
427 \fBreply-hook\fPs are matched and executed before \fBsend-hook\fPs,
428 regardless of their order in the configuration file.
429 .
430 .TP
431 \fBcrypt-hook\fP \fIregexp\fP \fIkey-id\fP
432 The crypt-hook command provides a method by which you can
433 specify the ID of the public key to be used when encrypting messages
434 to a certain recipient.  The meaning of "key ID" is to be taken
435 broadly: This can be a different e-mail address, a numerical key ID,
436 or even just an arbitrary search string.
437 You may use multiple
438 \fBcrypt-hook\fPs with the same \fIregexp\fP; multiple matching
439 \fBcrypt-hook\fPs result in the use of multiple \fIkey-id\fPs for
440 a recipient.
441 .
442 .TP
443 \fBindex-format-hook\fP \fIname\fP [\fB!\fP]\fIpattern\fP \fIformat-string\fP
444 This command is used to inject format strings dynamically into
445 $index_format based on pattern matching against the current message.
446 .IP
447 The $index_format expando \fI%@name@\fP specifies a placeholder for
448 the injection. Index-format-hooks with the same \fIname\fP are matched
449 using \fIpattern\fP against the current message. Matching is done in
450 the order specified in the .muttrc, with the first match being
451 used. The hook's \fIformat-string\fP is then substituted and evaluated.
452 .
453 .PP
454 .nf
455 \fBopen-hook\fP \fIregexp\fP "\fIcommand\fP"
456 \fBclose-hook\fP \fIregexp\fP "\fIcommand\fP"
457 \fBappend-hook\fP \fIregexp\fP "\fIcommand\fP"
458 .fi
459 .IP
460 These commands provide a way to handle compressed folders. The given
461 \fBregexp\fP specifies which folders are taken as compressed (e.g.
462 "\fI\\\\.gz$\fP"). The commands tell Mutt how to uncompress a folder
463 (\fBopen-hook\fP), compress a folder (\fBclose-hook\fP) or append a
464 compressed mail to a compressed folder (\fBappend-hook\fP). The
465 \fIcommand\fP string is the
466 .BR printf (3)
467 like format string, and it should accept two parameters: \fB%f\fP,
468 which is replaced with the (compressed) folder name, and \fB%t\fP
469 which is replaced with the name of the temporary folder to which to
470 write.
471 .
472 .PP
473 .nf
474 \fBpush\fP \fIstring\fP
475 \fBexec\fP \fIfunction\fP [ ... ]
476 .fi
477 .IP
478 \fBpush\fP adds the named \fIstring\fP to the keyboard buffer.
479 \(lqexec function\(rq is equivalent to \(lqpush <function>\(rq.
480 .
481 .TP
482 \fBrun\fP \fIMuttLisp\fP
483 .IP
484 The \fBrun\fP command evaluates the \fIMuttLisp\fP argument. The
485 output of the \fIMuttLisp\fP is then executed as a Mutt command, as if it
486 were typed in the muttrc instead.
487 .
488 .PP
489 .nf
490 \fBscore\fP \fIpattern\fP \fIvalue\fP
491 \fBunscore\fP [ \fB*\fP | \fIpattern\fP ... ]
492 .fi
493 .IP
494 The \fBscore\fP commands adds \fIvalue\fP to a message's score if
495 \fIpattern\fP matches it.  The \fBunscore\fP command removes score
496 entries from the list.
497 .
498 .PP
499 .nf
500 \fBset\fP [\fBno\fP|\fBinv\fP|\fB&\fP|\fB?\fP]\fIvariable\fP[=\fIvalue\fP] [ ... ]
501 \fBtoggle\fP \fIvariable\fP [ ... ]
502 \fBunset\fP \fIvariable\fP [ ... ]
503 \fBreset\fP \fIvariable\fP [ ... ]
504 .fi
505 .IP
506 These commands are used to set and manipulate configuration
507 variables.
508 .IP
509 Mutt knows four basic types of variables: boolean, number, string
510 and quadoption.  Boolean variables can be \fBset\fP (true),
511 \fBunset\fP (false), or \fBtoggle\fPd. Number variables can be assigned
512 a positive integer value.
513 .IP
514 String variables consist of any number of printable characters.
515 Strings must be enclosed in quotes if they contain spaces or tabs.
516 You may also use the \(lqC\(rq escape sequences \fB\\n\fP and
517 \fB\\t\fP for newline and tab, respectively.
518 .IP
519 Quadoption variables are used to control whether or not to be
520 prompted for certain actions, or to specify a default action.  A
521 value of \fByes\fP will cause the action to be carried out automatically
522 as if you had answered yes to the question.  Similarly, a value of
523 \fBno\fP will cause the action to be carried out as if you had
524 answered \(lqno.\(rq A value of \fBask-yes\fP will cause a prompt
525 with a default answer of \(lqyes\(rq and \fBask-no\fP will provide a
526 default answer of \(lqno.\(rq
527 .IP
528 The \fBreset\fP command resets all given variables to the compile
529 time defaults.  If you reset the special variable \fBall\fP, all
530 variables will reset to their compile time defaults.
531 .
532 .PP
533 .nf
534 \fBsetenv\fP [\fB?\fP]\fIvariable\fP [ \fIvalue\fP ]
535 \fBunsetenv\fP \fIvariable\fP
536 .fi
537 .IP
538 These alter the environment that Mutt passes on to its child
539 processes.  You can also query current environment values by prefixing
540 a “?” character.
541 .
542 .PP
543 .nf
544 \fBsidebar_whitelist\fP \fImailbox\fP [ \fImailbox\fP ...]
545 \fBunsidebar_whitelist\fP [ \fB*\fP | \fImailbox\fP ... ]
546 .fi
547 .IP
548 \fBsidebar_whitelist\fP specifies mailboxes that will always be
549 displayed in the sidebar, even if $sidebar_new_mail_only is set and
550 the mailbox does not contain new mail.
551 .IP
552 \fBunsidebar_whitelist\fP is used to remove a mailbox from the list of
553 whitelisted mailboxes. Use \fBunsidebar_whitelist *\fP to remove all
554 mailboxes.
555 .
556 .TP
557 \fBsource\fP \fIfilename\fP
558 The given file will be evaluated as a configuration file.
559 .
560 .PP
561 .nf
562 \fBspam\fP \fIpattern\fP \fIformat\fP
563 \fBnospam\fP \fIpattern\fP
564 .fi
565 .IP
566 These commands define spam-detection patterns from external spam
567 filters, so that mutt can sort, limit, and search on
568 ``spam tags'' or ``spam attributes'', or display them
569 in the index. See the Mutt manual for details.
570 .
571 .PP
572 .nf
573 \fBsubjectrx\fP \fIpattern\fP \fIreplacement\fP
574 \fBunsubjectrx\fP [ \fB*\fP | \fIpattern\fP ]
575 .fi
576 .IP
577 \fBsubjectrx\fP specifies a regular expression \fIpattern\fP which, if
578 detected in a message subject, causes the subject to be replaced with
579 the \fIreplacement\fP value. The \fIreplacement\fP is subject to
580 substitutions in the same way as for the \fBspam\fP command: %L for
581 the text to the left of the match, %R for text to the right of the
582 match, and %1 for the first subgroup in the match (etc). If you simply
583 want to erase the match, set it to \(lq%L%R\(rq. Any number of
584 \fBsubjectrx\fP commands may coexist.
585 .IP
586 Note this well: the \fIreplacement\fP value replaces the entire
587 subject, not just the match!
588 .IP
589 \fBunsubjectrx\fP removes a given \fBsubjectrx\fP from the
590 substitution list. If \fB*\fP is used as the pattern, all
591 substitutions will be removed.
592 .
593 .TP
594 \fBunhook\fP [\fB * \fP | \fIhook-type\fP ]
595 This command will remove all hooks of a given type, or all hooks
596 when \(lq\fB*\fP\(rq is used as an argument.  \fIhook-type\fP
597 can be any of the \fB-hook\fP commands documented above.
598 .
599 .PP
600 .nf
601 \fBmailto_allow\fP \fIheader-field\fP [ ... ]
602 \fBunmailto_allow\fP [ \fB*\fP | \fIheader-field\fP ... ]
603 .fi
604 .IP
605 These commands allow the user to modify the list of allowed header
606 fields in a \fImailto:\fP URL that Mutt will include in the
607 the generated message.  By default the list contains only
608 \fBsubject\fP and \fBbody\fP, as specified by RFC2368.
609 .
610 .TP
611 \fBecho\fP \fImessage\fP
612 Prints \fImessage\fP to the message window. After printing the
613 message, echo will pause for the number of seconds specified by
614 $sleep_time.
615 .
616 .TP
617 \fBcd\fP \fIdirectory\fP
618 Changes the current working directory.
619 .
620 .
621 .SH PATTERNS
622 .PP
623 In various places with mutt, including some of the above mentioned
624 \fBhook\fP commands, you can specify patterns to match messages.
625 .SS Constructing Patterns
626 .PP
627 A simple pattern consists of a modifier of the form
628 \(lq\fB~\fP\fIcharacter\fP\(rq, possibly followed by a parameter
629 against which mutt is supposed to match the object specified by
630 this modifier.  For some \fIcharacter\fPs, the \fB~\fP may be
631 replaced by another character to alter the behavior of the match.
632 These are described in the list of modifiers, below.
633 .PP
634 With some of these modifiers, the object to be matched consists of
635 several e-mail addresses.  In these cases, the object is matched if
636 at least one of these e-mail addresses matches. You can prepend a
637 hat (\(lq\fB^\fP\(rq) character to such a pattern to indicate that
638 \fIall\fP addresses must match in order to match the object.
639 .PP
640 You can construct complex patterns by combining simple patterns with
641 logical operators.  Logical AND is specified by simply concatenating
642 two simple patterns, for instance \(lq~C mutt-dev ~s bug\(rq.
643 Logical OR is specified by inserting a vertical bar (\(lq\fB|\fP\(rq)
644 between two patterns, for instance \(lq~C mutt-dev | ~s bug\(rq.
645 Additionally, you can negate a pattern by prepending a bang
646 (\(lq\fB!\fP\(rq) character.  For logical grouping, use braces
647 (\(lq()\(rq). Example: \(lq!(~t mutt|~c mutt) ~f elkins\(rq.
648 .SS Simple Patterns
649 .PP
650 Mutt understands the following simple patterns:
651 .P
652 .PD 0
653 .TP 12
654 ~A
655 all messages
656 .TP
657 ~b \fIEXPR\fP
658 messages which contain \fIEXPR\fP in the message body.
659 .TP
660 =b \fISTRING\fP
661 If IMAP is enabled, like ~b but searches for \fISTRING\fP on the server, rather than downloading each message and searching it locally.
662 .TP
663 ~B \fIEXPR\fP
664 messages which contain \fIEXPR\fP in the whole message.
665 .TP
666 =B \fISTRING\fP
667 If IMAP is enabled, like ~B but searches for \fISTRING\fP on the server, rather than downloading each message and searching it locally.
668 .TP
669 ~c \fIEXPR\fP
670 messages carbon-copied to \fIEXPR\fP
671 .TP
672 %c \fIGROUP\fP
673 messages carbon-copied to any member of \fIGROUP\fP
674 .TP
675 ~C \fIEXPR\fP
676 messages either to: or cc: \fIEXPR\fP
677 .TP
678 %C \fIGROUP\fP
679 messages either to: or cc: to any member of \fIGROUP\fP
680 .TP
681 ~d \fIMIN\fP-\fIMAX\fP
682 messages with \(lqdate-sent\(rq in a Date range
683 .TP
684 ~D
685 deleted messages
686 .TP
687 ~e \fIEXPR\fP
688 messages which contain \fIEXPR\fP in the \(lqSender\(rq field
689 .TP
690 %e \fIGROUP\fP
691 messages which contain a member of \fIGROUP\fP in the \(lqSender\(rq field
692 .TP
693 ~E
694 expired messages
695 .TP
696 ~f \fIEXPR\fP
697 messages originating from \fIEXPR\fP
698 .TP
699 %f \fIGROUP\fP
700 messages originating from any member of \fIGROUP\fP
701 .TP
702 ~F
703 flagged messages
704 .TP
705 ~g
706 PGP signed messages
707 .TP
708 ~G
709 PGP encrypted messages
710 .TP
711 ~h \fIEXPR\fP
712 messages which contain \fIEXPR\fP in the message header
713 .TP
714 =h \fISTRING\fP
715 If IMAP is enabled, like ~h but searches for \fISTRING\fP on the server, rather than downloading each message and searching it locally.  \fISTRING\fP must be of the form \(lqheader: substring\(rq
716 .TP
717 ~H \fIEXPR\fP
718 messages with spam tags matching \fIEXPR\fP
719 .TP
720 ~i \fIEXPR\fP
721 messages which match \fIEXPR\fP in the \(lqMessage-ID\(rq field
722 .TP
723 ~k
724 messages containing PGP key material
725 .TP
726 ~l
727 messages addressed to a known mailing list (defined by either \fBsubscribe\fP or \fBlist\fP)
728 .TP
729 ~L \fIEXPR\fP
730 messages either originated or received by \fIEXPR\fP
731 .TP
732 %L \fIGROUP\fP
733 messages either originated or received by any member of \fIGROUP\fP
734 .TP
735 ~m \fIMIN\fP-\fIMAX\fP
736 message in the range \fIMIN\fP to \fIMAX\fP
737 .TP
738 ~M \fIEXPR\fP
739 messages which contain a mime Content-Type matching \fIEXPR\fP
740 .TP
741 ~n \fIMIN\fP-\fIMAX\fP
742 messages with a score in the range \fIMIN\fP to \fIMAX\fP
743 .TP
744 ~N
745 new messages
746 .TP
747 ~O
748 old messages
749 .TP
750 ~p
751 messages addressed to you (consults $from, \fBalternates\fP, and local account/hostname information)
752 .TP
753 ~P
754 messages from you (consults $from, \fBalternates\fP, and local account/hostname information)
755 .TP
756 ~Q
757 messages which have been replied to
758 .TP
759 ~r \fIMIN\fP-\fIMAX\fP
760 messages with \(lqdate-received\(rq in a Date range
761 .TP
762 ~R
763 read messages
764 .TP
765 ~s \fIEXPR\fP
766 messages having \fIEXPR\fP in the \(lqSubject\(rq field.
767 .TP
768 ~S
769 superseded messages
770 .TP
771 ~t \fIEXPR\fP
772 messages addressed to \fIEXPR\fP
773 .TP
774 ~T
775 tagged messages
776 .TP
777 ~u
778 messages addressed to a subscribed mailing list (defined by \fBsubscribe\fP commands)
779 .TP
780 ~U
781 unread messages
782 .TP
783 ~v
784 message is part of a collapsed thread.
785 .TP
786 ~V
787 cryptographically verified messages
788 .TP
789 ~x \fIEXPR\fP
790 messages which contain \fIEXPR\fP in the \(lqReferences\(rq or \(lqIn-Reply-To\(rq field
791 .TP
792 ~X \fIMIN\fP-\fIMAX\fP
793 messages with MIN - MAX attachments
794 .TP
795 ~y \fIEXPR\fP
796 messages which contain \fIEXPR\fP in the \(lqX-Label\(rq field
797 .TP
798 ~z \fIMIN\fP-\fIMAX\fP
799 messages with a size in the range \fIMIN\fP to \fIMAX\fP
800 .TP
801 ~=
802 duplicated messages (see $duplicate_threads)
803 .TP
804 ~$
805 unreferenced message (requires threaded view)
806 .TP
807 ~(PATTERN)
808 messages in threads containing messages matching a certain pattern, e.g. all threads containing messages from you: ~(~P)
809 .TP
810 ~<(PATTERN)
811 messages whose immediate parent matches PATTERN, e.g. replies to your messages: ~<(~P)
812 .TP
813 ~>(PATTERN)
814 messages having an immediate child matching PATTERN, e.g. messages you replied to: ~>(~P)
815 .PD 1
816 .DT
817 .PP
818 In the above, \fIEXPR\fP is a regular expression.
819 .PP
820 With the \fB~d\fP, \fB~m\fP, \fB~n\fP, \fB~r\fP, \fB~X\fP, and \fB~z\fP modifiers, you can also
821 specify ranges in the forms \fB<\fP\fIMAX\fP, \fB>\fP\fIMIN\fP,
822 \fIMIN\fP\fB-\fP, and \fB-\fP\fIMAX\fP.
823 .PP
824 With the \fB~z\fP modifier, the suffixes \(lqK\(rq and \(lqM\(rq are allowed to specify
825 kilobyte and megabyte respectively.
826 .PP
827 The \fB~b\fP, \fB~B\fP, \fB~h\fP, \fB~M\fP, and \fB~X\fP modifiers
828 require reading each message in, which can be much slower.
829 .PP
830 You can force Mutt to treat \fIEXPR\fP as a simple string instead of a
831 regular expression by using = instead of ~ in the pattern name.
832 .SS Matching dates
833 .PP
834 The \fB~d\fP and \fB~r\fP modifiers are used to match date ranges,
835 which are interpreted to be given in your local time zone.
836 .PP
837 A date is of the form
838 \fIDD\fP[\fB/\fP\fIMM\fP[\fB/\fP[\fIcc\fP]\fIYY\fP]], that is, a
839 two-digit date, optionally followed by a two-digit month, optionally
840 followed by a year specifications.  Omitted fields default to the
841 current month and year.
842 .PP
843 Mutt understands either two or four digit year specifications.  When
844 given a two-digit year, mutt will interpret values less than 70 as
845 lying in the 21st century (i.e., \(lq38\(rq means 2038 and not 1938,
846 and \(lq00\(rq is interpreted as 2000), and values
847 greater than or equal to 70 as lying in the 20th century.
848 .PP
849 Note that this behavior \fIis\fP Y2K compliant, but that mutt
850 \fIdoes\fP have a Y2.07K problem.
851 .PP
852 Alternatively, you may use \fIYYYYMMDD\fP to specify a date.
853 .PP
854 If a date range consists of a single date, the modifier in question
855 will match that precise date.  If the date range consists of a dash
856 (\(lq\fB-\fP\(rq), followed by a date, this range will match any
857 date before and up to the date given.  Similarly, a date followed by
858 a dash matches the date given and any later point of time.  Two
859 dates, separated by a dash, match any date which lies in the given
860 range of time.
861 .PP
862 You can also modify any absolute date by giving an error range.  An
863 error range consists of one of the characters
864 .BR + ,
865 .BR - ,
866 .BR * ,
867 followed by a positive number, followed by one of the unit
868 characters
869 .BR y ,
870 .BR m ,
871 .BR w ", or"
872 .BR d ,
873 specifying a unit of years, months, weeks, or days.  
874 .B +
875 increases the maximum date matched by the given interval of time,
876 .B - 
877 decreases the minimum date matched by the given interval of time, and
878 .B *
879 increases the maximum date and decreases the minimum date matched by
880 the given interval of time.  It is possible to give multiple error
881 margins, which cumulate.  Example:
882 .B "1/1/2001-1w+2w*3d"
883 .PP
884 You can also specify offsets relative to the current date.  An
885 offset is specified as one of the characters
886 .BR < ,
887 .BR > ,
888 .BR = ,
889 followed by a positive number, followed by one of the unit
890 characters
891 .BR y ,
892 .BR m ,
893 .BR w ,
894 .BR d ,
895 .BR H ,
896 .BR M ", or"
897 .BR S .
898 .B >
899 matches dates which are older than the specified amount of time, an
900 offset which begins with the character
901 .B < 
902 matches dates which are more recent than the specified amount of time,
903 and an offset which begins with the character
904 .B =
905 matches points of time which are precisely the given amount of time
906 ago.
907 .SH CONFIGURATION VARIABLES
908
909 .TP
910 .B abort_noattach
911 .nf
912 Type: quadoption
913 Default: no
914 .fi
915 .IP
916 When the body of the message matches $abort_noattach_regexp and
917 there are no attachments, this quadoption controls whether to
918 abort sending the message.
919
920
921 .TP
922 .B abort_noattach_regexp
923 .nf
924 Type: regular expression
925 Default: \(lqattach\(rq
926 .fi
927 .IP
928 Specifies a regular expression to match against the body of the
929 message, to determine if an attachment was mentioned but
930 mistakenly forgotten.  If it matches, $abort_noattach will be
931 consulted to determine if message sending will be aborted.
932 .IP
933 Like other regular expressions in Mutt, the search is case
934 sensitive if the pattern contains at least one upper case letter,
935 and case insensitive otherwise.
936
937
938 .TP
939 .B abort_nosubject
940 .nf
941 Type: quadoption
942 Default: ask\-yes
943 .fi
944 .IP
945 If set to \fIyes\fP, when composing messages and no subject is given
946 at the subject prompt, composition will be aborted.  If set to
947 \fIno\fP, composing messages with no subject given at the subject
948 prompt will never be aborted.
949
950
951 .TP
952 .B abort_unmodified
953 .nf
954 Type: quadoption
955 Default: yes
956 .fi
957 .IP
958 If set to \fIyes\fP, composition will automatically abort after
959 editing the message body if no changes are made to the file (this
960 check only happens after the \fIfirst\fP edit of the file).  When set
961 to \fIno\fP, composition will never be aborted.
962
963
964 .TP
965 .B alias_file
966 .nf
967 Type: path
968 Default: \(lq~/.muttrc\(rq
969 .fi
970 .IP
971 The default file in which to save aliases created by the
972 \fB<create-alias>\fP function. Entries added to this file are
973 encoded in the character set specified by $config_charset if it
974 is \fIset\fP or the current character set otherwise.
975 .IP
976 \fBNote:\fP Mutt will not automatically source this file; you must
977 explicitly use the \(lqsource\(rq command for it to be executed in case
978 this option points to a dedicated alias file.
979 .IP
980 The default for this option is the currently used muttrc file, or
981 \(lq~/.muttrc\(rq if no user muttrc was found.
982
983
984 .TP
985 .B alias_format
986 .nf
987 Type: string
988 Default: \(lq%4n %2f %t %\-10a   %r\(rq
989 .fi
990 .IP
991 Specifies the format of the data displayed for the \(lqalias\(rq menu.  The
992 following \fBprintf(3)\fP\-style sequences are available:
993 .RS
994 .PD 0
995 .TP
996 %a 
997 alias name
998 .TP
999 %f 
1000 flags \- currently, a \(lqd\(rq for an alias marked for deletion
1001 .TP
1002 %n 
1003 index number
1004 .TP
1005 %r 
1006 address which alias expands to
1007 .TP
1008 %t 
1009 character which indicates if the alias is tagged for inclusion
1010 .RE
1011 .PD 1
1012
1013 .TP
1014 .B allow_8bit
1015 .nf
1016 Type: boolean
1017 Default: yes
1018 .fi
1019 .IP
1020 Controls whether 8\-bit data is converted to 7\-bit using either Quoted\-
1021 Printable or Base64 encoding when sending mail.
1022
1023
1024 .TP
1025 .B allow_ansi
1026 .nf
1027 Type: boolean
1028 Default: no
1029 .fi
1030 .IP
1031 Controls whether ANSI color codes in messages (and color tags in
1032 rich text messages) are to be interpreted.
1033 Messages containing these codes are rare, but if this option is \fIset\fP,
1034 their text will be colored accordingly. Note that this may override
1035 your color choices, and even present a security problem, since a
1036 message could include a line like
1037
1038 .IP
1039 .EX
1040 [\-\- PGP output follows ...
1041
1042 .EE
1043 .IP
1044 and give it the same color as your attachment color (see also
1045 $crypt_timestamp).
1046
1047
1048 .TP
1049 .B arrow_cursor
1050 .nf
1051 Type: boolean
1052 Default: no
1053 .fi
1054 .IP
1055 When \fIset\fP, an arrow (\(lq\->\(rq) will be used to indicate the current entry
1056 in menus instead of highlighting the whole line.  On slow network or modem
1057 links this will make response faster because there is less that has to
1058 be redrawn on the screen when moving to the next or previous entries
1059 in the menu.
1060
1061
1062 .TP
1063 .B ascii_chars
1064 .nf
1065 Type: boolean
1066 Default: no
1067 .fi
1068 .IP
1069 If \fIset\fP, Mutt will use plain ASCII characters when displaying thread
1070 and attachment trees, instead of the default \fIACS\fP characters.
1071
1072
1073 .TP
1074 .B askbcc
1075 .nf
1076 Type: boolean
1077 Default: no
1078 .fi
1079 .IP
1080 If \fIset\fP, Mutt will prompt you for blind\-carbon\-copy (Bcc) recipients
1081 before editing an outgoing message.
1082
1083
1084 .TP
1085 .B askcc
1086 .nf
1087 Type: boolean
1088 Default: no
1089 .fi
1090 .IP
1091 If \fIset\fP, Mutt will prompt you for carbon\-copy (Cc) recipients before
1092 editing the body of an outgoing message.
1093
1094
1095 .TP
1096 .B assumed_charset
1097 .nf
1098 Type: string
1099 Default: \(lq\(rq
1100 .fi
1101 .IP
1102 This variable is a colon\-separated list of character encoding
1103 schemes for messages without character encoding indication.
1104 Header field values and message body content without character encoding
1105 indication would be assumed that they are written in one of this list.
1106 By default, all the header fields and message body without any charset
1107 indication are assumed to be in \(lqus\-ascii\(rq.
1108 .IP
1109 For example, Japanese users might prefer this:
1110
1111 .IP
1112 .EX
1113 set assumed_charset=\(rqiso\-2022\-jp:euc\-jp:shift_jis:utf\-8\(rq
1114
1115 .EE
1116 .IP
1117 However, only the first content is valid for the message body.
1118
1119
1120 .TP
1121 .B attach_charset
1122 .nf
1123 Type: string
1124 Default: \(lq\(rq
1125 .fi
1126 .IP
1127 This variable is a colon\-separated list of character encoding
1128 schemes for text file attachments. Mutt uses this setting to guess
1129 which encoding files being attached are encoded in to convert them to
1130 a proper character set given in $send_charset.
1131 .IP
1132 If \fIunset\fP, the value of $charset will be used instead.
1133 For example, the following configuration would work for Japanese
1134 text handling:
1135
1136 .IP
1137 .EX
1138 set attach_charset=\(rqiso\-2022\-jp:euc\-jp:shift_jis:utf\-8\(rq
1139
1140 .EE
1141 .IP
1142 Note: for Japanese users, \(lqiso\-2022\-*\(rq must be put at the head
1143 of the value as shown above if included.
1144
1145
1146 .TP
1147 .B attach_format
1148 .nf
1149 Type: string
1150 Default: \(lq%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] \(rq
1151 .fi
1152 .IP
1153 This variable describes the format of the \(lqattachment\(rq menu.  The
1154 following \fBprintf(3)\fP\-style sequences are understood:
1155 .RS
1156 .PD 0
1157 .TP
1158 %C  
1159 charset
1160 .TP
1161 %c  
1162 requires charset conversion (\(lqn\(rq or \(lqc\(rq)
1163 .TP
1164 %D  
1165 deleted flag
1166 .TP
1167 %d  
1168 description (if none, falls back to %F)
1169 .TP
1170 %e  
1171 MIME content\-transfer\-encoding
1172 .TP
1173 %F  
1174 filename in content\-disposition header (if none, falls back to %f)
1175 .TP
1176 %f  
1177 filename
1178 .TP
1179 %I  
1180 disposition (\(lqI\(rq for inline, \(lqA\(rq for attachment)
1181 .TP
1182 %m  
1183 major MIME type
1184 .TP
1185 %M  
1186 MIME subtype
1187 .TP
1188 %n  
1189 attachment number
1190 .TP
1191 %Q  
1192 \(lqQ\(rq, if MIME part qualifies for attachment counting
1193 .TP
1194 %s  
1195 size (see formatstrings-size)
1196 .TP
1197 %t  
1198 tagged flag
1199 .TP
1200 %T  
1201 graphic tree characters
1202 .TP
1203 %u  
1204 unlink (=to delete) flag
1205 .TP
1206 %X  
1207 number of qualifying MIME parts in this part and its children
1208 (please see the \(lqattachments\(rq section for possible speed effects)
1209 .TP
1210 %>X 
1211 right justify the rest of the string and pad with character \(lqX\(rq
1212 .TP
1213 %|X 
1214 pad to the end of the line with character \(lqX\(rq
1215 .TP
1216 %*X 
1217 soft\-fill with character \(lqX\(rq as pad
1218 .RE
1219 .PD 1
1220 .IP
1221 For an explanation of \(lqsoft\-fill\(rq, see the $index_format documentation.
1222
1223
1224 .TP
1225 .B attach_save_dir
1226 .nf
1227 Type: path
1228 Default: \(lq\(rq
1229 .fi
1230 .IP
1231 The default directory to save attachments from the \(lqattachment\(rq menu.
1232 If it doesn't exist, Mutt will prompt to create the directory before
1233 saving.
1234 .IP
1235 If the path is invalid (e.g. not a directory, or cannot be
1236 chdir'ed to), Mutt will fall back to using the current directory.
1237
1238
1239 .TP
1240 .B attach_sep
1241 .nf
1242 Type: string
1243 Default: \(lq\\n\(rq
1244 .fi
1245 .IP
1246 The separator to add between attachments when operating (saving,
1247 printing, piping, etc) on a list of tagged attachments.
1248
1249
1250 .TP
1251 .B attach_split
1252 .nf
1253 Type: boolean
1254 Default: yes
1255 .fi
1256 .IP
1257 If this variable is \fIunset\fP, when operating (saving, printing, piping,
1258 etc) on a list of tagged attachments, Mutt will concatenate the
1259 attachments and will operate on them as a single attachment. The
1260 $attach_sep separator is added after each attachment. When \fIset\fP,
1261 Mutt will operate on the attachments one by one.
1262
1263
1264 .TP
1265 .B attribution
1266 .nf
1267 Type: string (localized)
1268 Default: \(lqOn %d, %n wrote:\(rq
1269 .fi
1270 .IP
1271 This is the string that will precede a message which has been included
1272 in a reply.  For a full listing of defined \fBprintf(3)\fP\-like sequences see
1273 the section on $index_format.
1274
1275
1276 .TP
1277 .B attribution_locale
1278 .nf
1279 Type: string
1280 Default: \(lq\(rq
1281 .fi
1282 .IP
1283 The locale used by \fBstrftime(3)\fP to format dates in the
1284 attribution string.  Legal values are the strings your system
1285 accepts for the locale environment variable \fB$LC_TIME\fP.
1286 .IP
1287 This variable is to allow the attribution date format to be
1288 customized by recipient or folder using hooks.  By default, Mutt
1289 will use your locale environment, so there is no need to set
1290 this except to override that default.
1291
1292
1293 .TP
1294 .B auto_subscribe
1295 .nf
1296 Type: boolean
1297 Default: no
1298 .fi
1299 .IP
1300 When \fIset\fP, Mutt assumes the presence of a List\-Post header
1301 means the recipient is subscribed to the list.  Unless the mailing list
1302 is in the \(lqunsubscribe\(rq or \(lqunlist\(rq lists, it will be added
1303 to the \(lqsubscribe\(rq list.  Parsing and checking these things slows
1304 header reading down, so this option is disabled by default.
1305
1306
1307 .TP
1308 .B auto_tag
1309 .nf
1310 Type: boolean
1311 Default: no
1312 .fi
1313 .IP
1314 When \fIset\fP, functions in the \fIindex\fP menu which affect a message
1315 will be applied to all tagged messages (if there are any).  When
1316 unset, you must first use the \fB<tag\-prefix>\fP function (bound to \(lq;\(rq
1317 by default) to make the next function apply to all tagged messages.
1318
1319
1320 .TP
1321 .B autocrypt
1322 .nf
1323 Type: boolean
1324 Default: no
1325 .fi
1326 .IP
1327 When \fIset\fP, enables autocrypt, which provides
1328 passive encryption protection with keys exchanged via headers.
1329 See \(lqautocryptdoc\(rq for more details.
1330 (Autocrypt only)
1331
1332
1333 .TP
1334 .B autocrypt_acct_format
1335 .nf
1336 Type: string
1337 Default: \(lq%4n %\-30a %20p %10s\(rq
1338 .fi
1339 .IP
1340 This variable describes the format of the \(lqautocrypt account\(rq menu.
1341 The following \fBprintf(3)\fP\-style sequences are understood
1342 .RS
1343 .PD 0
1344 .TP
1345 %a  
1346 email address
1347 .TP
1348 %k  
1349 gpg keyid
1350 .TP
1351 %n  
1352 current entry number
1353 .TP
1354 %p  
1355 prefer\-encrypt flag
1356 .TP
1357 %s  
1358 status flag (active/inactive)
1359 .RE
1360 .PD 1
1361 .IP
1362 (Autocrypt only)
1363
1364
1365 .TP
1366 .B autocrypt_dir
1367 .nf
1368 Type: path
1369 Default: \(lq~/.mutt/autocrypt\(rq
1370 .fi
1371 .IP
1372 This variable sets where autocrypt files are stored, including the GPG
1373 keyring and sqlite database.  See \(lqautocryptdoc\(rq for more details.
1374 (Autocrypt only)
1375
1376
1377 .TP
1378 .B autocrypt_reply
1379 .nf
1380 Type: boolean
1381 Default: yes
1382 .fi
1383 .IP
1384 When \fIset\fP, replying to an autocrypt email automatically
1385 enables autocrypt in the reply.  You may want to unset this if you're using
1386 the same key for autocrypt as normal web\-of\-trust, so that autocrypt
1387 isn't forced on for all encrypted replies.
1388 (Autocrypt only)
1389
1390
1391 .TP
1392 .B autoedit
1393 .nf
1394 Type: boolean
1395 Default: no
1396 .fi
1397 .IP
1398 When \fIset\fP along with $edit_headers, Mutt will skip the initial
1399 send\-menu (prompting for subject and recipients) and allow you to
1400 immediately begin editing the body of your
1401 message.  The send\-menu may still be accessed once you have finished
1402 editing the body of your message.
1403 .IP
1404 \fBNote:\fP when this option is \fIset\fP, you cannot use send\-hooks that depend
1405 on the recipients when composing a new (non\-reply) message, as the initial
1406 list of recipients is empty.
1407 .IP
1408 Also see $fast_reply.
1409
1410
1411 .TP
1412 .B background_edit
1413 .nf
1414 Type: boolean
1415 Default: no
1416 .fi
1417 .IP
1418 When \fIset\fP, Mutt will run $editor in the background during
1419 message composition.  A landing page will display, waiting for
1420 the $editor to exit.  The landing page may be exited, allowing
1421 perusal of the mailbox, or even for other messages to be
1422 composed.  Backgrounded sessions may be returned to via the
1423 \fB<background\-compose\-menu>\fP function.
1424 .IP
1425 For background editing to work properly, $editor must be set to
1426 an editor that does not try to use the Mutt terminal: for example
1427 a graphical editor, or a script launching (and waiting for) the
1428 editor in another Gnu Screen window.
1429 .IP
1430 For more details, see \(lqbgedit\(rq (\(rqBackground Editing\(rq in the manual).
1431
1432
1433 .TP
1434 .B background_confirm_quit
1435 .nf
1436 Type: boolean
1437 Default: yes
1438 .fi
1439 .IP
1440 When \fIset\fP, if there are any background edit sessions, you
1441 will be prompted to confirm exiting Mutt, in addition to the
1442 $quit prompt.
1443
1444
1445 .TP
1446 .B background_format
1447 .nf
1448 Type: string
1449 Default: \(lq%10S %7p %s\(rq
1450 .fi
1451 .IP
1452 This variable describes the format of the \(lqbackground compose\(rq
1453 menu.  The following \fBprintf(3)\fP\-style sequences are
1454 understood:
1455 .RS
1456 .PD 0
1457 .TP
1458 %i 
1459 parent message id (for replies and forwarded messages)
1460 .TP
1461 %n 
1462 the running number on the menu
1463 .TP
1464 %p 
1465 pid of the $editor process
1466 .TP
1467 %r 
1468 comma separated list of \(lqTo:\(rq recipients
1469 .TP
1470 %R 
1471 comma separated list of \(lqCc:\(rq recipients
1472 .TP
1473 %s 
1474 subject of the message
1475 .TP
1476 %S 
1477 status of the $editor process: running/finished
1478 .RE
1479 .PD 1
1480
1481 .TP
1482 .B beep
1483 .nf
1484 Type: boolean
1485 Default: yes
1486 .fi
1487 .IP
1488 When this variable is \fIset\fP, mutt will beep when an error occurs.
1489
1490
1491 .TP
1492 .B beep_new
1493 .nf
1494 Type: boolean
1495 Default: no
1496 .fi
1497 .IP
1498 When this variable is \fIset\fP, mutt will beep whenever it prints a message
1499 notifying you of new mail.  This is independent of the setting of the
1500 $beep variable.
1501
1502
1503 .TP
1504 .B bounce
1505 .nf
1506 Type: quadoption
1507 Default: ask\-yes
1508 .fi
1509 .IP
1510 Controls whether you will be asked to confirm bouncing messages.
1511 If set to \fIyes\fP you don't get asked if you want to bounce a
1512 message. Setting this variable to \fIno\fP is not generally useful,
1513 and thus not recommended, because you are unable to bounce messages.
1514
1515
1516 .TP
1517 .B bounce_delivered
1518 .nf
1519 Type: boolean
1520 Default: yes
1521 .fi
1522 .IP
1523 When this variable is \fIset\fP, mutt will include Delivered\-To headers when
1524 bouncing messages.  Postfix users may wish to \fIunset\fP this variable.
1525
1526
1527 .TP
1528 .B braille_friendly
1529 .nf
1530 Type: boolean
1531 Default: no
1532 .fi
1533 .IP
1534 When this variable is \fIset\fP, mutt will place the cursor at the beginning
1535 of the current line in menus, even when the $arrow_cursor variable
1536 is \fIunset\fP, making it easier for blind persons using Braille displays to
1537 follow these menus.  The option is \fIunset\fP by default because many
1538 visual terminals don't permit making the cursor invisible.
1539
1540
1541 .TP
1542 .B browser_abbreviate_mailboxes
1543 .nf
1544 Type: boolean
1545 Default: yes
1546 .fi
1547 .IP
1548 When this variable is \fIset\fP, mutt will abbreviate mailbox
1549 names in the browser mailbox list, using '~' and '='
1550 shortcuts.
1551 .IP
1552 The default \fB\(rqalpha\(rq\fP setting of $sort_browser uses
1553 locale\-based sorting (using \fBstrcoll(3)\fP), which ignores some
1554 punctuation.  This can lead to some situations where the order
1555 doesn't make intuitive sense.  In those cases, it may be
1556 desirable to \fIunset\fP this variable.
1557
1558
1559 .TP
1560 .B browser_sticky_cursor
1561 .nf
1562 Type: boolean
1563 Default: yes
1564 .fi
1565 .IP
1566 When this variable is \fIset\fP, the browser will attempt to keep
1567 the cursor on the same mailbox when performing various functions.
1568 These include moving up a directory, toggling between mailboxes
1569 and directory listing, creating/renaming a mailbox, toggling
1570 subscribed mailboxes, and entering a new mask.
1571
1572
1573 .TP
1574 .B certificate_file
1575 .nf
1576 Type: path
1577 Default: \(lq~/.mutt_certificates\(rq
1578 .fi
1579 .IP
1580 This variable specifies the file where the certificates you trust
1581 are saved. When an unknown certificate is encountered, you are asked
1582 if you accept it or not. If you accept it, the certificate can also
1583 be saved in this file and further connections are automatically
1584 accepted.
1585 .IP
1586 You can also manually add CA certificates in this file. Any server
1587 certificate that is signed with one of these CA certificates is
1588 also automatically accepted.
1589 .IP
1590 Example:
1591
1592 .IP
1593 .EX
1594 set certificate_file=~/.mutt/certificates
1595
1596 .EE
1597
1598
1599 .TP
1600 .B change_folder_next
1601 .nf
1602 Type: boolean
1603 Default: no
1604 .fi
1605 .IP
1606 When this variable is \fIset\fP, the \fB<change\-folder>\fP function
1607 mailbox suggestion will start at the next folder in your \(lqmailboxes\(rq
1608 list, instead of starting at the first folder in the list.
1609
1610
1611 .TP
1612 .B charset
1613 .nf
1614 Type: string
1615 Default: \(lq\(rq
1616 .fi
1617 .IP
1618 Character set your terminal uses to display and enter textual data.
1619 It is also the fallback for $send_charset.
1620 .IP
1621 Upon startup Mutt tries to derive this value from environment variables
1622 such as \fB$LC_CTYPE\fP or \fB$LANG\fP.
1623 .IP
1624 \fBNote:\fP It should only be set in case Mutt isn't able to determine the
1625 character set used correctly.
1626
1627
1628 .TP
1629 .B check_mbox_size
1630 .nf
1631 Type: boolean
1632 Default: no
1633 .fi
1634 .IP
1635 When this variable is \fIset\fP, mutt will use file size attribute instead of
1636 access time when checking for new mail in mbox and mmdf folders.
1637 .IP
1638 This variable is \fIunset\fP by default and should only be enabled when
1639 new mail detection for these folder types is unreliable or doesn't work.
1640 .IP
1641 Note that enabling this variable should happen before any \(lqmailboxes\(rq
1642 directives occur in configuration files regarding mbox or mmdf folders
1643 because mutt needs to determine the initial new mail status of such a
1644 mailbox by performing a fast mailbox scan when it is defined.
1645 Afterwards the new mail status is tracked by file size changes.
1646
1647
1648 .TP
1649 .B check_new
1650 .nf
1651 Type: boolean
1652 Default: yes
1653 .fi
1654 .IP
1655 \fBNote:\fP this option only affects \fImaildir\fP and \fIMH\fP style
1656 mailboxes.
1657 .IP
1658 When \fIset\fP, Mutt will check for new mail delivered while the
1659 mailbox is open.  Especially with MH mailboxes, this operation can
1660 take quite some time since it involves scanning the directory and
1661 checking each file to see if it has already been looked at.  If
1662 this variable is \fIunset\fP, no check for new mail is performed
1663 while the mailbox is open.
1664
1665
1666 .TP
1667 .B collapse_unread
1668 .nf
1669 Type: boolean
1670 Default: yes
1671 .fi
1672 .IP
1673 When \fIunset\fP, Mutt will not collapse a thread if it contains any
1674 unread messages.
1675
1676
1677 .TP
1678 .B compose_format
1679 .nf
1680 Type: string (localized)
1681 Default: \(lq\-\- Mutt: Compose  [Approx. msg size: %l   Atts: %a]%>\-\(rq
1682 .fi
1683 .IP
1684 Controls the format of the status line displayed in the \(lqcompose\(rq
1685 menu.  This string is similar to $status_format, but has its own
1686 set of \fBprintf(3)\fP\-like sequences:
1687 .RS
1688 .PD 0
1689 .TP
1690 %a 
1691 total number of attachments
1692 .TP
1693 %h 
1694 local hostname
1695 .TP
1696 %l 
1697 approximate size (in bytes) of the current message (see formatstrings-size)
1698 .TP
1699 %v 
1700 Mutt version string
1701 .RE
1702 .PD 1
1703 .IP
1704 See the text describing the $status_format option for more
1705 information on how to set $compose_format.
1706
1707
1708 .TP
1709 .B config_charset
1710 .nf
1711 Type: string
1712 Default: \(lq\(rq
1713 .fi
1714 .IP
1715 When defined, Mutt will recode commands in rc files from this
1716 encoding to the current character set as specified by $charset
1717 and aliases written to $alias_file from the current character set.
1718 .IP
1719 Please note that if setting $charset it must be done before
1720 setting $config_charset.
1721 .IP
1722 Recoding should be avoided as it may render unconvertable
1723 characters as question marks which can lead to undesired
1724 side effects (for example in regular expressions).
1725
1726
1727 .TP
1728 .B confirmappend
1729 .nf
1730 Type: boolean
1731 Default: yes
1732 .fi
1733 .IP
1734 When \fIset\fP, Mutt will prompt for confirmation when appending messages to
1735 an existing mailbox.
1736
1737
1738 .TP
1739 .B confirmcreate
1740 .nf
1741 Type: boolean
1742 Default: yes
1743 .fi
1744 .IP
1745 When \fIset\fP, Mutt will prompt for confirmation when saving messages to a
1746 mailbox which does not yet exist before creating it.
1747
1748
1749 .TP
1750 .B connect_timeout
1751 .nf
1752 Type: number
1753 Default: 30
1754 .fi
1755 .IP
1756 Causes Mutt to timeout a network connection (for IMAP, POP or SMTP) after this
1757 many seconds if the connection is not able to be established.  A negative
1758 value causes Mutt to wait indefinitely for the connection attempt to succeed.
1759
1760
1761 .TP
1762 .B content_type
1763 .nf
1764 Type: string
1765 Default: \(lqtext/plain\(rq
1766 .fi
1767 .IP
1768 Sets the default Content\-Type for the body of newly composed messages.
1769
1770
1771 .TP
1772 .B copy
1773 .nf
1774 Type: quadoption
1775 Default: yes
1776 .fi
1777 .IP
1778 This variable controls whether or not copies of your outgoing messages
1779 will be saved for later references.  Also see $record,
1780 $save_name, $force_name and \(lqfcc-hook\(rq.
1781
1782
1783 .TP
1784 .B copy_decode_weed
1785 .nf
1786 Type: boolean
1787 Default: no
1788 .fi
1789 .IP
1790 Controls whether Mutt will weed headers when invoking the
1791 \fB<decode\-copy>\fP or \fB<decode\-save>\fP functions.
1792
1793
1794 .TP
1795 .B count_alternatives
1796 .nf
1797 Type: boolean
1798 Default: no
1799 .fi
1800 .IP
1801 When \fIset\fP, Mutt will recurse inside multipart/alternatives while
1802 performing attachment searching and counting (see attachments).
1803 .IP
1804 Traditionally, multipart/alternative parts have simply represented
1805 different encodings of the main content of the email.  Unfortunately,
1806 some mail clients have started to place email attachments inside
1807 one of alternatives.  Setting this will allow Mutt to find
1808 and count matching attachments hidden there, and include them
1809 in the index via %X or through ~X pattern matching.
1810
1811
1812 .TP
1813 .B cursor_overlay
1814 .nf
1815 Type: boolean
1816 Default: no
1817 .fi
1818 .IP
1819 When \fIset\fP, Mutt will overlay the indicator, tree,
1820 sidebar_highlight, and sidebar_indicator colors onto the currently
1821 selected line.  This will allow \fBdefault\fP colors in those
1822 to be overridden, and for attributes to be merged between
1823 the layers.
1824
1825
1826 .TP
1827 .B crypt_autoencrypt
1828 .nf
1829 Type: boolean
1830 Default: no
1831 .fi
1832 .IP
1833 Setting this variable will cause Mutt to always attempt to PGP
1834 encrypt outgoing messages.  This is probably only useful in
1835 connection to the \(lqsend-hook\(rq command.  It can be overridden
1836 by use of the pgp menu, when encryption is not required or
1837 signing is requested as well.  If $smime_is_default is \fIset\fP,
1838 then OpenSSL is used instead to create S/MIME messages and
1839 settings can be overridden by use of the smime menu instead.
1840 (Crypto only)
1841
1842
1843 .TP
1844 .B crypt_autopgp
1845 .nf
1846 Type: boolean
1847 Default: yes
1848 .fi
1849 .IP
1850 This variable controls whether or not mutt may automatically enable
1851 PGP encryption/signing for messages.  See also $crypt_autoencrypt,
1852 $crypt_replyencrypt,
1853 $crypt_autosign, $crypt_replysign and $smime_is_default.
1854
1855
1856 .TP
1857 .B crypt_autosign
1858 .nf
1859 Type: boolean
1860 Default: no
1861 .fi
1862 .IP
1863 Setting this variable will cause Mutt to always attempt to
1864 cryptographically sign outgoing messages.  This can be overridden
1865 by use of the pgp menu, when signing is not required or
1866 encryption is requested as well. If $smime_is_default is \fIset\fP,
1867 then OpenSSL is used instead to create S/MIME messages and settings can
1868 be overridden by use of the smime menu instead of the pgp menu.
1869 (Crypto only)
1870
1871
1872 .TP
1873 .B crypt_autosmime
1874 .nf
1875 Type: boolean
1876 Default: yes
1877 .fi
1878 .IP
1879 This variable controls whether or not mutt may automatically enable
1880 S/MIME encryption/signing for messages. See also $crypt_autoencrypt,
1881 $crypt_replyencrypt,
1882 $crypt_autosign, $crypt_replysign and $smime_is_default.
1883
1884
1885 .TP
1886 .B crypt_confirmhook
1887 .nf
1888 Type: boolean
1889 Default: yes
1890 .fi
1891 .IP
1892 If set, then you will be prompted for confirmation of keys when using
1893 the \fIcrypt\-hook\fP command.  If unset, no such confirmation prompt will
1894 be presented.  This is generally considered unsafe, especially where
1895 typos are concerned.
1896
1897
1898 .TP
1899 .B crypt_opportunistic_encrypt
1900 .nf
1901 Type: boolean
1902 Default: no
1903 .fi
1904 .IP
1905 Setting this variable will cause Mutt to automatically enable and
1906 disable encryption, based on whether all message recipient keys
1907 can be located by Mutt.
1908 .IP
1909 When this option is enabled, Mutt will enable/disable encryption
1910 each time the TO, CC, and BCC lists are edited.  If
1911 $edit_headers is set, Mutt will also do so each time the message
1912 is edited.
1913 .IP
1914 While this is set, encryption can't be manually enabled/disabled.
1915 The pgp or smime menus provide a selection to temporarily disable
1916 this option for the current message.
1917 .IP
1918 If $crypt_autoencrypt or $crypt_replyencrypt enable encryption for
1919 a message, this option will be disabled for that message.  It can
1920 be manually re\-enabled in the pgp or smime menus.
1921 (Crypto only)
1922
1923
1924 .TP
1925 .B crypt_opportunistic_encrypt_strong_keys
1926 .nf
1927 Type: boolean
1928 Default: no
1929 .fi
1930 .IP
1931 When set, this modifies the behavior of $crypt_opportunistic_encrypt
1932 to only search for \(rqstrong keys\(rq, that is, keys with full validity
1933 according to the web\-of\-trust algorithm.  A key with marginal or no
1934 validity will not enable opportunistic encryption.
1935 .IP
1936 For S/MIME, the behavior depends on the backend.  Classic S/MIME will
1937 filter for certificates with the 't' (trusted) flag in the .index file.
1938 The GPGME backend will use the same filters as with OpenPGP, and depends
1939 on GPGME's logic for assigning the GPGME_VALIDITY_FULL and
1940 GPGME_VALIDITY_ULTIMATE validity flag.
1941
1942
1943 .TP
1944 .B crypt_protected_headers_read
1945 .nf
1946 Type: boolean
1947 Default: yes
1948 .fi
1949 .IP
1950 When set, Mutt will display protected headers in the pager,
1951 and will update the index and header cache with revised headers.
1952 Protected headers are stored inside the encrypted or signed part of an
1953 an email, to prevent disclosure or tampering.
1954 For more information see https://github.com/autocrypt/protected\-headers.
1955 Currently Mutt only supports the Subject header.
1956 .IP
1957 Encrypted messages using protected headers often substitute the exposed
1958 Subject header with a dummy value (see $crypt_protected_headers_subject).
1959 Mutt will update its concept of the correct subject \fBafter\fP the
1960 message is opened, i.e. via the \fB<display\-message>\fP function.
1961 If you reply to a message before opening it, Mutt will end up using
1962 the dummy Subject header, so be sure to open such a message first.
1963 (Crypto only)
1964
1965
1966 .TP
1967 .B crypt_protected_headers_save
1968 .nf
1969 Type: boolean
1970 Default: no
1971 .fi
1972 .IP
1973 When $crypt_protected_headers_read is set, and a message with a
1974 protected Subject is opened, Mutt will save the updated Subject
1975 into the header cache by default.  This allows searching/limiting
1976 based on the protected Subject header if the mailbox is
1977 re\-opened, without having to re\-open the message each time.
1978 However, for mbox/mh mailbox types, or if header caching is not
1979 set up, you would need to re\-open the message each time the
1980 mailbox was reopened before you could see or search/limit on the
1981 protected subject again.
1982 .IP
1983 When this variable is set, Mutt additionally saves the protected
1984 Subject back \fBin the clear\-text message headers\fP.  This
1985 provides better usability, but with the tradeoff of reduced
1986 security.  The protected Subject header, which may have
1987 previously been encrypted, is now stored in clear\-text in the
1988 message headers.  Copying the message elsewhere, via Mutt or
1989 external tools, could expose this previously encrypted data.
1990 Please make sure you understand the consequences of this before
1991 you enable this variable.
1992 (Crypto only)
1993
1994
1995 .TP
1996 .B crypt_protected_headers_subject
1997 .nf
1998 Type: string
1999 Default: \(lq...\(rq
2000 .fi
2001 .IP
2002 When $crypt_protected_headers_write is set, and the message is marked
2003 for encryption, this will be substituted into the Subject field in the
2004 message headers.
2005 To prevent a subject from being substituted, unset this variable, or set it
2006 to the empty string.
2007 (Crypto only)
2008
2009
2010 .TP
2011 .B crypt_protected_headers_write
2012 .nf
2013 Type: boolean
2014 Default: no
2015 .fi
2016 .IP
2017 When set, Mutt will generate protected headers for signed and
2018 encrypted emails.
2019 Protected headers are stored inside the encrypted or signed part of an
2020 an email, to prevent disclosure or tampering.
2021 For more information see https://github.com/autocrypt/protected\-headers.
2022 Currently Mutt only supports the Subject header.
2023 (Crypto only)
2024
2025
2026 .TP
2027 .B crypt_replyencrypt
2028 .nf
2029 Type: boolean
2030 Default: yes
2031 .fi
2032 .IP
2033 If \fIset\fP, automatically PGP or OpenSSL encrypt replies to messages which are
2034 encrypted.
2035 (Crypto only)
2036
2037
2038 .TP
2039 .B crypt_replysign
2040 .nf
2041 Type: boolean
2042 Default: no
2043 .fi
2044 .IP
2045 If \fIset\fP, automatically PGP or OpenSSL sign replies to messages which are
2046 signed.
2047 .IP
2048 \fBNote:\fP this does not work on messages that are encrypted
2049 \fIand\fP signed!
2050 (Crypto only)
2051
2052
2053 .TP
2054 .B crypt_replysignencrypted
2055 .nf
2056 Type: boolean
2057 Default: no
2058 .fi
2059 .IP
2060 If \fIset\fP, automatically PGP or OpenSSL sign replies to messages
2061 which are encrypted. This makes sense in combination with
2062 $crypt_replyencrypt, because it allows you to sign all
2063 messages which are automatically encrypted.  This works around
2064 the problem noted in $crypt_replysign, that mutt is not able
2065 to find out whether an encrypted message is also signed.
2066 (Crypto only)
2067
2068
2069 .TP
2070 .B crypt_timestamp
2071 .nf
2072 Type: boolean
2073 Default: yes
2074 .fi
2075 .IP
2076 If \fIset\fP, mutt will include a time stamp in the lines surrounding
2077 PGP or S/MIME output, so spoofing such lines is more difficult.
2078 If you are using colors to mark these lines, and rely on these,
2079 you may \fIunset\fP this setting.
2080 (Crypto only)
2081
2082
2083 .TP
2084 .B crypt_use_gpgme
2085 .nf
2086 Type: boolean
2087 Default: no
2088 .fi
2089 .IP
2090 This variable controls the use of the GPGME\-enabled crypto backends.
2091 If it is \fIset\fP and Mutt was built with gpgme support, the gpgme code for
2092 S/MIME and PGP will be used instead of the classic code.  Note that
2093 you need to set this option in .muttrc; it won't have any effect when
2094 used interactively.
2095 .IP
2096 Note that the GPGME backend does not support creating old\-style inline
2097 (traditional) PGP encrypted or signed messages (see $pgp_autoinline).
2098
2099
2100 .TP
2101 .B crypt_use_pka
2102 .nf
2103 Type: boolean
2104 Default: no
2105 .fi
2106 .IP
2107 Controls whether mutt uses PKA
2108 (see http://www.g10code.de/docs/pka\-intro.de.pdf) during signature
2109 verification (only supported by the GPGME backend).
2110
2111
2112 .TP
2113 .B crypt_verify_sig
2114 .nf
2115 Type: quadoption
2116 Default: yes
2117 .fi
2118 .IP
2119 If \fI\(lqyes\(rq\fP, always attempt to verify PGP or S/MIME signatures.
2120 If \fI\(lqask\-*\(rq\fP, ask whether or not to verify the signature.
2121 If \fI\(lqno\(rq\fP, never attempt to verify cryptographic signatures.
2122 (Crypto only)
2123
2124
2125 .TP
2126 .B date_format
2127 .nf
2128 Type: string
2129 Default: \(lq!%a, %b %d, %Y at %I:%M:%S%p %Z\(rq
2130 .fi
2131 .IP
2132 This variable controls the format of the date printed by the \(lq%d\(rq
2133 sequence in $index_format.  This is passed to the \fBstrftime(3)\fP
2134 function to process the date, see the man page for the proper syntax.
2135 .IP
2136 Unless the first character in the string is a bang (\(lq!\(rq), the month
2137 and week day names are expanded according to the locale.
2138 If the first character in the string is a
2139 bang, the bang is discarded, and the month and week day names in the
2140 rest of the string are expanded in the \fIC\fP locale (that is in US
2141 English).
2142
2143
2144 .TP
2145 .B default_hook
2146 .nf
2147 Type: string
2148 Default: \(lq~f %s !~P | (~P ~C %s)\(rq
2149 .fi
2150 .IP
2151 This variable controls how \(lqmessage-hook\(rq, \(lqreply-hook\(rq, \(lqsend-hook\(rq,
2152 \(lqsend2-hook\(rq, \(lqsave-hook\(rq, and \(lqfcc-hook\(rq will
2153 be interpreted if they are specified with only a simple regexp,
2154 instead of a matching pattern.  The hooks are expanded when they are
2155 declared, so a hook will be interpreted according to the value of this
2156 variable at the time the hook is declared.
2157 .IP
2158 The default value matches
2159 if the message is either from a user matching the regular expression
2160 given, or if it is from you (if the from address matches
2161 \(lqalternates\(rq) and is to or cc'ed to a user matching the given
2162 regular expression.
2163
2164
2165 .TP
2166 .B delete
2167 .nf
2168 Type: quadoption
2169 Default: ask\-yes
2170 .fi
2171 .IP
2172 Controls whether or not messages are really deleted when closing or
2173 synchronizing a mailbox.  If set to \fIyes\fP, messages marked for
2174 deleting will automatically be purged without prompting.  If set to
2175 \fIno\fP, messages marked for deletion will be kept in the mailbox.
2176
2177
2178 .TP
2179 .B delete_untag
2180 .nf
2181 Type: boolean
2182 Default: yes
2183 .fi
2184 .IP
2185 If this option is \fIset\fP, mutt will untag messages when marking them
2186 for deletion.  This applies when you either explicitly delete a message,
2187 or when you save it to another folder.
2188
2189
2190 .TP
2191 .B digest_collapse
2192 .nf
2193 Type: boolean
2194 Default: yes
2195 .fi
2196 .IP
2197 If this option is \fIset\fP, mutt's received\-attachments menu will not show the subparts of
2198 individual messages in a multipart/digest.  To see these subparts, press \(lqv\(rq on that menu.
2199
2200
2201 .TP
2202 .B display_filter
2203 .nf
2204 Type: path
2205 Default: \(lq\(rq
2206 .fi
2207 .IP
2208 When set, specifies a command used to filter messages.  When a message
2209 is viewed it is passed as standard input to $display_filter, and the
2210 filtered message is read from the standard output.
2211
2212
2213 .TP
2214 .B dotlock_program
2215 .nf
2216 Type: path
2217 Default: \(lq/usr/bin/mutt_dotlock\(rq
2218 .fi
2219 .IP
2220 Contains the path of the \fBmutt_dotlock(1)\fP binary to be used by
2221 mutt.
2222
2223
2224 .TP
2225 .B dsn_notify
2226 .nf
2227 Type: string
2228 Default: \(lq\(rq
2229 .fi
2230 .IP
2231 This variable sets the request for when notification is returned.  The
2232 string consists of a comma separated list (no spaces!) of one or more
2233 of the following: \fInever\fP, to never request notification,
2234 \fIfailure\fP, to request notification on transmission failure,
2235 \fIdelay\fP, to be notified of message delays, \fIsuccess\fP, to be
2236 notified of successful transmission.
2237 .IP
2238 Example:
2239
2240 .IP
2241 .EX
2242 set dsn_notify=\(rqfailure,delay\(rq
2243
2244 .EE
2245 .IP
2246 \fBNote:\fP when using $sendmail for delivery, you should not enable
2247 this unless you are either using Sendmail 8.8.x or greater or a MTA
2248 providing a \fBsendmail(1)\fP\-compatible interface supporting the \fB\-N\fP option
2249 for DSN. For SMTP delivery, DSN support is auto\-detected so that it
2250 depends on the server whether DSN will be used or not.
2251
2252
2253 .TP
2254 .B dsn_return
2255 .nf
2256 Type: string
2257 Default: \(lq\(rq
2258 .fi
2259 .IP
2260 This variable controls how much of your message is returned in DSN
2261 messages.  It may be set to either \fIhdrs\fP to return just the
2262 message header, or \fIfull\fP to return the full message.
2263 .IP
2264 Example:
2265
2266 .IP
2267 .EX
2268 set dsn_return=hdrs
2269
2270 .EE
2271 .IP
2272 \fBNote:\fP when using $sendmail for delivery, you should not enable
2273 this unless you are either using Sendmail 8.8.x or greater or a MTA
2274 providing a \fBsendmail(1)\fP\-compatible interface supporting the \fB\-R\fP option
2275 for DSN. For SMTP delivery, DSN support is auto\-detected so that it
2276 depends on the server whether DSN will be used or not.
2277
2278
2279 .TP
2280 .B duplicate_threads
2281 .nf
2282 Type: boolean
2283 Default: yes
2284 .fi
2285 .IP
2286 This variable controls whether mutt, when $sort is set to \fIthreads\fP, threads
2287 messages with the same Message\-Id together.  If it is \fIset\fP, it will indicate
2288 that it thinks they are duplicates of each other with an equals sign
2289 in the thread tree.
2290
2291
2292 .TP
2293 .B edit_headers
2294 .nf
2295 Type: boolean
2296 Default: no
2297 .fi
2298 .IP
2299 This option allows you to edit the header of your outgoing messages
2300 along with the body of your message.
2301 .IP
2302 Although the compose menu may have localized header labels, the
2303 labels passed to your editor will be standard RFC 2822 headers,
2304 (e.g. To:, Cc:, Subject:).  Headers added in your editor must
2305 also be RFC 2822 headers, or one of the pseudo headers listed in
2306 \(lqedit-header\(rq.  Mutt will not understand localized header
2307 labels, just as it would not when parsing an actual email.
2308 .IP
2309 \fBNote\fP that changes made to the References: and Date: headers are
2310 ignored for interoperability reasons.
2311
2312
2313 .TP
2314 .B editor
2315 .nf
2316 Type: path
2317 Default: \(lq\(rq
2318 .fi
2319 .IP
2320 This variable specifies which editor is used by mutt.
2321 It defaults to the value of the \fB$VISUAL\fP, or \fB$EDITOR\fP, environment
2322 variable, or to the string \(lqvi\(rq if neither of those are set.
2323 .IP
2324 The \fB$editor\fP string may contain a \fI%s\fP escape, which will be replaced by the name
2325 of the file to be edited.  If the \fI%s\fP escape does not appear in \fB$editor\fP, a
2326 space and the name to be edited are appended.
2327 .IP
2328 The resulting string is then executed by running
2329
2330 .IP
2331 .EX
2332 sh \-c 'string'
2333
2334 .EE
2335 .IP
2336 where \fIstring\fP is the expansion of \fB$editor\fP described above.
2337
2338
2339 .TP
2340 .B encode_from
2341 .nf
2342 Type: boolean
2343 Default: no
2344 .fi
2345 .IP
2346 When \fIset\fP, mutt will quoted\-printable encode messages when
2347 they contain the string \(lqFrom \(rq (note the trailing space) in the beginning of a line.
2348 This is useful to avoid the tampering certain mail delivery and transport
2349 agents tend to do with messages (in order to prevent tools from
2350 misinterpreting the line as a mbox message separator).
2351
2352
2353 .TP
2354 .B entropy_file
2355 .nf
2356 Type: path
2357 Default: \(lq\(rq
2358 .fi
2359 .IP
2360 The file which includes random data that is used to initialize SSL
2361 library functions.
2362
2363
2364 .TP
2365 .B envelope_from_address
2366 .nf
2367 Type: e-mail address
2368 Default: \(lq\(rq
2369 .fi
2370 .IP
2371 Manually sets the \fIenvelope\fP sender for outgoing messages.
2372 This value is ignored if $use_envelope_from is \fIunset\fP.
2373
2374
2375 .TP
2376 .B error_history
2377 .nf
2378 Type: number
2379 Default: 30
2380 .fi
2381 .IP
2382 This variable controls the size (in number of strings remembered)
2383 of the error messages displayed by mutt.  These can be shown with
2384 the \fB<error\-history>\fP function.  The history is cleared each
2385 time this variable is set.
2386
2387
2388 .TP
2389 .B escape
2390 .nf
2391 Type: string
2392 Default: \(lq~\(rq
2393 .fi
2394 .IP
2395 Escape character to use for functions in the built\-in editor.
2396
2397
2398 .TP
2399 .B fast_reply
2400 .nf
2401 Type: boolean
2402 Default: no
2403 .fi
2404 .IP
2405 When \fIset\fP, the initial prompt for recipients and subject are skipped
2406 when replying to messages, and the initial prompt for subject is
2407 skipped when forwarding messages.
2408 .IP
2409 \fBNote:\fP this variable has no effect when the $autoedit
2410 variable is \fIset\fP.
2411
2412
2413 .TP
2414 .B fcc_attach
2415 .nf
2416 Type: quadoption
2417 Default: yes
2418 .fi
2419 .IP
2420 This variable controls whether or not attachments on outgoing messages
2421 are saved along with the main body of your message.
2422
2423
2424 .TP
2425 .B fcc_before_send
2426 .nf
2427 Type: boolean
2428 Default: no
2429 .fi
2430 .IP
2431 When this variable is \fIset\fP, FCCs will occur before sending
2432 the message.  Before sending, the message cannot be manipulated,
2433 so it will be stored the exact same as sent:
2434 $fcc_attach and $fcc_clear will be ignored (using their default
2435 values).
2436 .IP
2437 When \fIunset\fP, the default, FCCs will occur after sending.
2438 Variables $fcc_attach and $fcc_clear will be respected, allowing
2439 it to be stored without attachments or encryption/signing if
2440 desired.
2441
2442
2443 .TP
2444 .B fcc_clear
2445 .nf
2446 Type: boolean
2447 Default: no
2448 .fi
2449 .IP
2450 When this variable is \fIset\fP, FCCs will be stored unencrypted and
2451 unsigned, even when the actual message is encrypted and/or
2452 signed.
2453 (PGP only)
2454
2455
2456 .TP
2457 .B fcc_delimiter
2458 .nf
2459 Type: string
2460 Default: \(lq\(rq
2461 .fi
2462 .IP
2463 When specified, this allows the ability to Fcc to more than one
2464 mailbox.  The fcc value will be split by this delimiter and Mutt
2465 will evaluate each part as a mailbox separately.
2466 .IP
2467 See $record, \(lqfcc-hook\(rq, and \(lqfcc-save-hook\(rq.
2468
2469
2470 .TP
2471 .B flag_safe
2472 .nf
2473 Type: boolean
2474 Default: no
2475 .fi
2476 .IP
2477 If set, flagged messages cannot be deleted.
2478
2479
2480 .TP
2481 .B folder
2482 .nf
2483 Type: path
2484 Default: \(lq~/Mail\(rq
2485 .fi
2486 .IP
2487 Specifies the default location of your mailboxes.  A \(lq+\(rq or \(lq=\(rq at the
2488 beginning of a pathname will be expanded to the value of this
2489 variable.  Note that if you change this variable (from the default)
2490 value you need to make sure that the assignment occurs \fIbefore\fP
2491 you use \(lq+\(rq or \(lq=\(rq for any other variables since expansion takes place
2492 when handling the \(lqmailboxes\(rq command.
2493
2494
2495 .TP
2496 .B folder_format
2497 .nf
2498 Type: string
2499 Default: \(lq%2C %t %N %F %2l %\-8.8u %\-8.8g %8s %d %f\(rq
2500 .fi
2501 .IP
2502 This variable allows you to customize the file browser display to your
2503 personal taste.  This string is similar to $index_format, but has
2504 its own set of \fBprintf(3)\fP\-like sequences:
2505 .RS
2506 .PD 0
2507 .TP
2508 %C  
2509 current file number
2510 .TP
2511 %d  
2512 date/time folder was last modified
2513 .TP
2514 %D  
2515 date/time folder was last modified using $date_format.
2516 .TP
2517 %f  
2518 filename (\(lq/\(rq is appended to directory names,
2519 \(lq@\(rq to symbolic links and \(lq*\(rq to executable
2520 files)
2521 .TP
2522 %F  
2523 file permissions
2524 .TP
2525 %g  
2526 group name (or numeric gid, if missing)
2527 .TP
2528 %l  
2529 number of hard links
2530 .TP
2531 %m  
2532 number of messages in the mailbox *
2533 .TP
2534 %n  
2535 number of unread messages in the mailbox *
2536 .TP
2537 %N  
2538 N if mailbox has new mail, blank otherwise
2539 .TP
2540 %s  
2541 size in bytes (see formatstrings-size)
2542 .TP
2543 %t  
2544 \(lq*\(rq if the file is tagged, blank otherwise
2545 .TP
2546 %u  
2547 owner name (or numeric uid, if missing)
2548 .TP
2549 %>X 
2550 right justify the rest of the string and pad with character \(lqX\(rq
2551 .TP
2552 %|X 
2553 pad to the end of the line with character \(lqX\(rq
2554 .TP
2555 %*X 
2556 soft\-fill with character \(lqX\(rq as pad
2557 .RE
2558 .PD 1
2559 .IP
2560 For an explanation of \(lqsoft\-fill\(rq, see the $index_format documentation.
2561 .IP
2562 * = can be optionally printed if nonzero
2563 .IP
2564 %m, %n, and %N only work for monitored mailboxes.
2565 %m requires $mail_check_stats to be set.
2566 %n requires $mail_check_stats to be set (except for IMAP mailboxes).
2567
2568
2569 .TP
2570 .B followup_to
2571 .nf
2572 Type: boolean
2573 Default: yes
2574 .fi
2575 .IP
2576 Controls whether or not the \(lqMail\-Followup\-To:\(rq header field is
2577 generated when sending mail.  When \fIset\fP, Mutt will generate this
2578 field when you are replying to a known mailing list, specified with
2579 the \(lqsubscribe\(rq or \(lqlists\(rq commands.
2580 .IP
2581 This field has two purposes.  First, preventing you from
2582 receiving duplicate copies of replies to messages which you send
2583 to mailing lists, and second, ensuring that you do get a reply
2584 separately for any messages sent to known lists to which you are
2585 not subscribed.
2586 .IP
2587 The header will contain only the list's address
2588 for subscribed lists, and both the list address and your own
2589 email address for unsubscribed lists.  Without this header, a
2590 group reply to your message sent to a subscribed list will be
2591 sent to both the list and your address, resulting in two copies
2592 of the same email for you.
2593
2594
2595 .TP
2596 .B force_name
2597 .nf
2598 Type: boolean
2599 Default: no
2600 .fi
2601 .IP
2602 This variable is similar to $save_name, except that Mutt will
2603 store a copy of your outgoing message by the username of the address
2604 you are sending to even if that mailbox does not exist.
2605 .IP
2606 Also see the $record variable.
2607
2608
2609 .TP
2610 .B forward_attachments
2611 .nf
2612 Type: quadoption
2613 Default: ask\-yes
2614 .fi
2615 .IP
2616 When forwarding inline (i.e. $mime_forward \fIunset\fP or
2617 answered with \(lqno\(rq and $forward_decode \fIset\fP), attachments
2618 which cannot be decoded in a reasonable manner will be attached
2619 to the newly composed message if this quadoption is \fIset\fP or
2620 answered with \(lqyes\(rq.
2621
2622
2623 .TP
2624 .B forward_attribution_intro
2625 .nf
2626 Type: string (localized)
2627 Default: \(lq\-\-\-\-\- Forwarded message from %f \-\-\-\-\-\(rq
2628 .fi
2629 .IP
2630 This is the string that will precede a message which has been forwarded
2631 in the main body of a message (when $mime_forward is unset).
2632 For a full listing of defined \fBprintf(3)\fP\-like sequences see
2633 the section on $index_format.  See also $attribution_locale.
2634
2635
2636 .TP
2637 .B forward_attribution_trailer
2638 .nf
2639 Type: string (localized)
2640 Default: \(lq\-\-\-\-\- End forwarded message \-\-\-\-\-\(rq
2641 .fi
2642 .IP
2643 This is the string that will follow a message which has been forwarded
2644 in the main body of a message (when $mime_forward is unset).
2645 For a full listing of defined \fBprintf(3)\fP\-like sequences see
2646 the section on $index_format.  See also $attribution_locale.
2647
2648
2649 .TP
2650 .B forward_decode
2651 .nf
2652 Type: boolean
2653 Default: yes
2654 .fi
2655 .IP
2656 Controls the decoding of complex MIME messages into \fBtext/plain\fP when
2657 forwarding a message.  The message header is also RFC2047 decoded.
2658 This variable is only used, if $mime_forward is \fIunset\fP,
2659 otherwise $mime_forward_decode is used instead.
2660
2661
2662 .TP
2663 .B forward_decrypt
2664 .nf
2665 Type: boolean
2666 Default: yes
2667 .fi
2668 .IP
2669 Controls the handling of encrypted messages when forwarding a message.
2670 When \fIset\fP, the outer layer of encryption is stripped off.  This
2671 variable is only used if $mime_forward is \fIset\fP and
2672 $mime_forward_decode is \fIunset\fP.
2673 (PGP only)
2674
2675
2676 .TP
2677 .B forward_edit
2678 .nf
2679 Type: quadoption
2680 Default: yes
2681 .fi
2682 .IP
2683 This quadoption controls whether or not the user is automatically
2684 placed in the editor when forwarding messages.  For those who always want
2685 to forward with no modification, use a setting of \(lqno\(rq.
2686
2687
2688 .TP
2689 .B forward_format
2690 .nf
2691 Type: string
2692 Default: \(lq[%a: %s]\(rq
2693 .fi
2694 .IP
2695 This variable controls the default subject when forwarding a message.
2696 It uses the same format sequences as the $index_format variable.
2697
2698
2699 .TP
2700 .B forward_quote
2701 .nf
2702 Type: boolean
2703 Default: no
2704 .fi
2705 .IP
2706 When \fIset\fP, forwarded messages included in the main body of the
2707 message (when $mime_forward is \fIunset\fP) will be quoted using
2708 $indent_string.
2709
2710
2711 .TP
2712 .B from
2713 .nf
2714 Type: e-mail address
2715 Default: \(lq\(rq
2716 .fi
2717 .IP
2718 When \fIset\fP, this variable contains a default from address.  It
2719 can be overridden using \(lqmy_hdr\(rq (including from a \(lqsend-hook\(rq) and
2720 $reverse_name.  This variable is ignored if $use_from is \fIunset\fP.
2721 .IP
2722 This setting defaults to the contents of the environment variable \fB$EMAIL\fP.
2723
2724
2725 .TP
2726 .B gecos_mask
2727 .nf
2728 Type: regular expression
2729 Default: \(lq^[^,]*\(rq
2730 .fi
2731 .IP
2732 A regular expression used by mutt to parse the GECOS field of a password
2733 entry when expanding the alias.  The default value
2734 will return the string up to the first \(lq,\(rq encountered.
2735 If the GECOS field contains a string like \(lqlastname, firstname\(rq then you
2736 should set it to \(lq\fB.*\fP\(rq.
2737 .IP
2738 This can be useful if you see the following behavior: you address an e\-mail
2739 to user ID \(lqstevef\(rq whose full name is \(lqSteve Franklin\(rq.  If mutt expands
2740 \(lqstevef\(rq to \(lq\(rqFranklin\(rq stevef@foo.bar\(rq then you should set the $gecos_mask to
2741 a regular expression that will match the whole name so mutt will expand
2742 \(lqFranklin\(rq to \(lqFranklin, Steve\(rq.
2743
2744
2745 .TP
2746 .B hdrs
2747 .nf
2748 Type: boolean
2749 Default: yes
2750 .fi
2751 .IP
2752 When \fIunset\fP, the header fields normally added by the \(lqmy_hdr\(rq
2753 command are not created.  This variable \fImust\fP be unset before
2754 composing a new message or replying in order to take effect.  If \fIset\fP,
2755 the user defined header fields are added to every new message.
2756
2757
2758 .TP
2759 .B header
2760 .nf
2761 Type: boolean
2762 Default: no
2763 .fi
2764 .IP
2765 When \fIset\fP, this variable causes Mutt to include the header
2766 of the message you are replying to into the edit buffer.
2767 The $weed setting applies.
2768
2769
2770 .TP
2771 .B header_cache
2772 .nf
2773 Type: path
2774 Default: \(lq\(rq
2775 .fi
2776 .IP
2777 This variable points to the header cache database.
2778 If pointing to a directory Mutt will contain a header cache
2779 database file per folder, if pointing to a file that file will
2780 be a single global header cache. By default it is \fIunset\fP so no header
2781 caching will be used.
2782 .IP
2783 Header caching can greatly improve speed when opening POP, IMAP
2784 MH or Maildir folders, see \(lqcaching\(rq for details.
2785
2786
2787 .TP
2788 .B header_cache_compress
2789 .nf
2790 Type: boolean
2791 Default: yes
2792 .fi
2793 .IP
2794 When mutt is compiled with qdbm, tokyocabinet, or kyotocabinet as header
2795 cache backend, this option determines whether the database will be compressed.
2796 Compression results in database files roughly being one fifth
2797 of the usual diskspace, but the decompression can result in a
2798 slower opening of cached folder(s) which in general is still
2799 much faster than opening non header cached folders.
2800
2801
2802 .TP
2803 .B header_cache_pagesize
2804 .nf
2805 Type: number (long)
2806 Default: 16384
2807 .fi
2808 .IP
2809 When mutt is compiled with either gdbm or bdb4 as the header cache backend,
2810 this option changes the database page size.  Too large or too small
2811 values can waste space, memory, or CPU time. The default should be more
2812 or less optimal for most use cases.
2813
2814
2815 .TP
2816 .B header_color_partial
2817 .nf
2818 Type: boolean
2819 Default: no
2820 .fi
2821 .IP
2822 When \fIset\fP, color header regexps behave like color body regexps:
2823 color is applied to the exact text matched by the regexp.  When
2824 \fIunset\fP, color is applied to the entire header.
2825 .IP
2826 One use of this option might be to apply color to just the header labels.
2827 .IP
2828 See \(lqcolor\(rq for more details.
2829
2830
2831 .TP
2832 .B help
2833 .nf
2834 Type: boolean
2835 Default: yes
2836 .fi
2837 .IP
2838 When \fIset\fP, help lines describing the bindings for the major functions
2839 provided by each menu are displayed on the first line of the screen.
2840 .IP
2841 \fBNote:\fP The binding will not be displayed correctly if the
2842 function is bound to a sequence rather than a single keystroke.  Also,
2843 the help line may not be updated if a binding is changed while Mutt is
2844 running.  Since this variable is primarily aimed at new users, neither
2845 of these should present a major problem.
2846
2847
2848 .TP
2849 .B hidden_host
2850 .nf
2851 Type: boolean
2852 Default: no
2853 .fi
2854 .IP
2855 When \fIset\fP, mutt will skip the host name part of $hostname variable
2856 when adding the domain part to addresses.  This variable does not
2857 affect the generation of Message\-IDs, and it will not lead to the
2858 cut\-off of first\-level domains.
2859
2860
2861 .TP
2862 .B hide_limited
2863 .nf
2864 Type: boolean
2865 Default: no
2866 .fi
2867 .IP
2868 When \fIset\fP, mutt will not show the presence of messages that are hidden
2869 by limiting, in the thread tree.
2870
2871
2872 .TP
2873 .B hide_missing
2874 .nf
2875 Type: boolean
2876 Default: yes
2877 .fi
2878 .IP
2879 When \fIset\fP, mutt will not show the presence of missing messages in the
2880 thread tree.
2881
2882
2883 .TP
2884 .B hide_thread_subject
2885 .nf
2886 Type: boolean
2887 Default: yes
2888 .fi
2889 .IP
2890 When \fIset\fP, mutt will not show the subject of messages in the thread
2891 tree that have the same subject as their parent or closest previously
2892 displayed sibling.
2893
2894
2895 .TP
2896 .B hide_top_limited
2897 .nf
2898 Type: boolean
2899 Default: no
2900 .fi
2901 .IP
2902 When \fIset\fP, mutt will not show the presence of messages that are hidden
2903 by limiting, at the top of threads in the thread tree.  Note that when
2904 $hide_limited is \fIset\fP, this option will have no effect.
2905
2906
2907 .TP
2908 .B hide_top_missing
2909 .nf
2910 Type: boolean
2911 Default: yes
2912 .fi
2913 .IP
2914 When \fIset\fP, mutt will not show the presence of missing messages at the
2915 top of threads in the thread tree.  Note that when $hide_missing is
2916 \fIset\fP, this option will have no effect.
2917
2918
2919 .TP
2920 .B history
2921 .nf
2922 Type: number
2923 Default: 10
2924 .fi
2925 .IP
2926 This variable controls the size (in number of strings remembered) of
2927 the string history buffer per category. The buffer is cleared each time the
2928 variable is set.
2929
2930
2931 .TP
2932 .B history_file
2933 .nf
2934 Type: path
2935 Default: \(lq~/.mutthistory\(rq
2936 .fi
2937 .IP
2938 The file in which Mutt will save its history.
2939 .IP
2940 Also see $save_history.
2941
2942
2943 .TP
2944 .B history_remove_dups
2945 .nf
2946 Type: boolean
2947 Default: no
2948 .fi
2949 .IP
2950 When \fIset\fP, all of the string history will be scanned for duplicates
2951 when a new entry is added.  Duplicate entries in the $history_file will
2952 also be removed when it is periodically compacted.
2953
2954
2955 .TP
2956 .B honor_disposition
2957 .nf
2958 Type: boolean
2959 Default: no
2960 .fi
2961 .IP
2962 When \fIset\fP, Mutt will not display attachments with a
2963 disposition of \(lqattachment\(rq inline even if it could
2964 render the part to plain text. These MIME parts can only
2965 be viewed from the attachment menu.
2966 .IP
2967 If \fIunset\fP, Mutt will render all MIME parts it can
2968 properly transform to plain text.
2969
2970
2971 .TP
2972 .B honor_followup_to
2973 .nf
2974 Type: quadoption
2975 Default: yes
2976 .fi
2977 .IP
2978 This variable controls whether or not a Mail\-Followup\-To header is
2979 honored when group\-replying to a message.
2980
2981
2982 .TP
2983 .B hostname
2984 .nf
2985 Type: string
2986 Default: \(lq\(rq
2987 .fi
2988 .IP
2989 Specifies the fully\-qualified hostname of the system mutt is running on
2990 containing the host's name and the DNS domain it belongs to. It is used
2991 as the domain part (after \(lq@\(rq) for local email addresses as well as
2992 Message\-Id headers.
2993 .IP
2994 Its value is determined at startup as follows: the node's
2995 hostname is first determined by the \fBuname(3)\fP function.  The
2996 domain is then looked up using the \fBgethostname(2)\fP and
2997 \fBgetaddrinfo(3)\fP functions.  If those calls are unable to
2998 determine the domain, the full value returned by uname is used.
2999 Optionally, Mutt can be compiled with a fixed domain name in
3000 which case a detected one is not used.
3001 .IP
3002 Starting in Mutt 2.0, the operations described in the previous
3003 paragraph are performed after the muttrc is processed, instead of
3004 beforehand.  This way, if the DNS operations are creating delays
3005 at startup, you can avoid those by manually setting the value in
3006 your muttrc.
3007 .IP
3008 Also see $use_domain and $hidden_host.
3009
3010
3011 .TP
3012 .B idn_decode
3013 .nf
3014 Type: boolean
3015 Default: yes
3016 .fi
3017 .IP
3018 When \fIset\fP, Mutt will show you international domain names decoded.
3019 Note: You can use IDNs for addresses even if this is \fIunset\fP.
3020 This variable only affects decoding. (IDN only)
3021
3022
3023 .TP
3024 .B idn_encode
3025 .nf
3026 Type: boolean
3027 Default: yes
3028 .fi
3029 .IP
3030 When \fIset\fP, Mutt will encode international domain names using
3031 IDN.  Unset this if your SMTP server can handle newer (RFC 6531)
3032 UTF\-8 encoded domains. (IDN only)
3033
3034
3035 .TP
3036 .B ignore_linear_white_space
3037 .nf
3038 Type: boolean
3039 Default: no
3040 .fi
3041 .IP
3042 This option replaces linear\-white\-space between encoded\-word
3043 and text to a single space to prevent the display of MIME\-encoded
3044 \(lqSubject:\(rq field from being divided into multiple lines.
3045
3046
3047 .TP
3048 .B ignore_list_reply_to
3049 .nf
3050 Type: boolean
3051 Default: no
3052 .fi
3053 .IP
3054 Affects the behavior of the \fB<reply>\fP function when replying to
3055 messages from mailing lists (as defined by the \(lqsubscribe\(rq or
3056 \(lqlists\(rq commands).  When \fIset\fP, if the \(lqReply\-To:\(rq field is
3057 set to the same value as the \(lqTo:\(rq field, Mutt assumes that the
3058 \(lqReply\-To:\(rq field was set by the mailing list to automate responses
3059 to the list, and will ignore this field.  To direct a response to the
3060 mailing list when this option is \fIset\fP, use the \fB<list-reply>\fP
3061 function; \fB<group\-reply>\fP will reply to both the sender and the
3062 list.
3063
3064
3065 .TP
3066 .B imap_authenticators
3067 .nf
3068 Type: string
3069 Default: \(lq\(rq
3070 .fi
3071 .IP
3072 This is a colon\-delimited list of authentication methods mutt may
3073 attempt to use to log in to an IMAP server, in the order mutt should
3074 try them.  Authentication methods are either \(lqlogin\(rq or the right
3075 side of an IMAP \(lqAUTH=xxx\(rq capability string, e.g. \(lqdigest\-md5\(rq, \(lqgssapi\(rq
3076 or \(lqcram\-md5\(rq. This option is case\-insensitive. If it's
3077 \fIunset\fP (the default) mutt will try all available methods,
3078 in order from most\-secure to least\-secure.
3079 .IP
3080 Example:
3081
3082 .IP
3083 .EX
3084 set imap_authenticators=\(rqgssapi:cram\-md5:login\(rq
3085
3086 .EE
3087 .IP
3088 \fBNote:\fP Mutt will only fall back to other authentication methods if
3089 the previous methods are unavailable. If a method is available but
3090 authentication fails, mutt will not connect to the IMAP server.
3091
3092
3093 .TP
3094 .B imap_check_subscribed
3095 .nf
3096 Type: boolean
3097 Default: no
3098 .fi
3099 .IP
3100 When \fIset\fP, mutt will fetch the set of subscribed folders from
3101 your server on connection, and add them to the set of mailboxes
3102 it polls for new mail just as if you had issued individual \(lqmailboxes\(rq
3103 commands.
3104
3105
3106 .TP
3107 .B imap_condstore
3108 .nf
3109 Type: boolean
3110 Default: no
3111 .fi
3112 .IP
3113 When \fIset\fP, mutt will use the CONDSTORE extension (RFC 7162)
3114 if advertised by the server.  Mutt's current implementation is basic,
3115 used only for initial message fetching and flag updates.
3116 .IP
3117 For some IMAP servers, enabling this will slightly speed up
3118 downloading initial messages.  Unfortunately, Gmail is not one
3119 those, and displays worse performance when enabled.  Your
3120 mileage may vary.
3121
3122
3123 .TP
3124 .B imap_deflate
3125 .nf
3126 Type: boolean
3127 Default: no
3128 .fi
3129 .IP
3130 When \fIset\fP, mutt will use the COMPRESS=DEFLATE extension (RFC
3131 4978) if advertised by the server.
3132 .IP
3133 In general a good compression efficiency can be achieved, which
3134 speeds up reading large mailboxes also on fairly good connections.
3135
3136
3137 .TP
3138 .B imap_delim_chars
3139 .nf
3140 Type: string
3141 Default: \(lq/.\(rq
3142 .fi
3143 .IP
3144 This contains the list of characters which you would like to treat
3145 as folder separators for displaying IMAP paths. In particular it
3146 helps in using the \(lq=\(rq shortcut for your \fIfolder\fP variable.
3147
3148
3149 .TP
3150 .B imap_fetch_chunk_size
3151 .nf
3152 Type: number (long)
3153 Default: 0
3154 .fi
3155 .IP
3156 When set to a value greater than 0, new headers will be
3157 downloaded in groups of this many headers per request.  If you
3158 have a very large mailbox, this might prevent a timeout and
3159 disconnect when opening the mailbox, by sending a FETCH per set
3160 of this many headers, instead of a single FETCH for all new
3161 headers.
3162
3163
3164 .TP
3165 .B imap_headers
3166 .nf
3167 Type: string
3168 Default: \(lq\(rq
3169 .fi
3170 .IP
3171 Mutt requests these header fields in addition to the default headers
3172 (\(lqDate:\(rq, \(lqFrom:\(rq, \(lqSender:\(rq, \(lqSubject:\(rq, \(lqTo:\(rq, \(lqCc:\(rq, \(lqMessage\-Id:\(rq,
3173 \(lqReferences:\(rq, \(lqContent\-Type:\(rq, \(lqContent\-Description:\(rq, \(lqIn\-Reply\-To:\(rq,
3174 \(lqReply\-To:\(rq, \(lqLines:\(rq, \(lqList\-Post:\(rq, \(lqX\-Label:\(rq) from IMAP
3175 servers before displaying the index menu. You may want to add more
3176 headers for spam detection.
3177 .IP
3178 \fBNote:\fP This is a space separated list, items should be uppercase
3179 and not contain the colon, e.g. \(lqX\-BOGOSITY X\-SPAM\-STATUS\(rq for the
3180 \(lqX\-Bogosity:\(rq and \(lqX\-Spam\-Status:\(rq header fields.
3181
3182
3183 .TP
3184 .B imap_idle
3185 .nf
3186 Type: boolean
3187 Default: no
3188 .fi
3189 .IP
3190 When \fIset\fP, mutt will attempt to use the IMAP IDLE extension
3191 to check for new mail in the current mailbox. Some servers
3192 (dovecot was the inspiration for this option) react badly
3193 to mutt's implementation. If your connection seems to freeze
3194 up periodically, try unsetting this.
3195
3196
3197 .TP
3198 .B imap_keepalive
3199 .nf
3200 Type: number
3201 Default: 300
3202 .fi
3203 .IP
3204 This variable specifies the maximum amount of time in seconds that mutt
3205 will wait before polling open IMAP connections, to prevent the server
3206 from closing them before mutt has finished with them. The default is
3207 well within the RFC\-specified minimum amount of time (30 minutes) before
3208 a server is allowed to do this, but in practice the RFC does get
3209 violated every now and then. Reduce this number if you find yourself
3210 getting disconnected from your IMAP server due to inactivity.
3211
3212
3213 .TP
3214 .B imap_list_subscribed
3215 .nf
3216 Type: boolean
3217 Default: no
3218 .fi
3219 .IP
3220 This variable configures whether IMAP folder browsing will look for
3221 only subscribed folders or all folders.  This can be toggled in the
3222 IMAP browser with the \fB<toggle\-subscribed>\fP function.
3223
3224
3225 .TP
3226 .B imap_login
3227 .nf
3228 Type: string
3229 Default: \(lq\(rq
3230 .fi
3231 .IP
3232 Your login name on the IMAP server.
3233 .IP
3234 This variable defaults to the value of $imap_user.
3235
3236
3237 .TP
3238 .B imap_oauth_refresh_command
3239 .nf
3240 Type: string
3241 Default: \(lq\(rq
3242 .fi
3243 .IP
3244 The command to run to generate an OAUTH refresh token for
3245 authorizing your connection to your IMAP server.  This command will be
3246 run on every connection attempt that uses the OAUTHBEARER authentication
3247 mechanism.  See \(lqoauth\(rq for details.
3248
3249
3250 .TP
3251 .B imap_pass
3252 .nf
3253 Type: string
3254 Default: \(lq\(rq
3255 .fi
3256 .IP
3257 Specifies the password for your IMAP account.  If \fIunset\fP, Mutt will
3258 prompt you for your password when you invoke the \fB<imap\-fetch\-mail>\fP function
3259 or try to open an IMAP folder.
3260 .IP
3261 \fBWarning\fP: you should only use this option when you are on a
3262 fairly secure machine, because the superuser can read your muttrc even
3263 if you are the only one who can read the file.
3264
3265
3266 .TP
3267 .B imap_passive
3268 .nf
3269 Type: boolean
3270 Default: yes
3271 .fi
3272 .IP
3273 When \fIset\fP, mutt will not open new IMAP connections to check for new
3274 mail.  Mutt will only check for new mail over existing IMAP
3275 connections.  This is useful if you don't want to be prompted for
3276 user/password pairs on mutt invocation, or if opening the connection
3277 is slow.
3278
3279
3280 .TP
3281 .B imap_peek
3282 .nf
3283 Type: boolean
3284 Default: yes
3285 .fi
3286 .IP
3287 When \fIset\fP, mutt will avoid implicitly marking your mail as read whenever
3288 you fetch a message from the server. This is generally a good thing,
3289 but can make closing an IMAP folder somewhat slower. This option
3290 exists to appease speed freaks.
3291
3292
3293 .TP
3294 .B imap_pipeline_depth
3295 .nf
3296 Type: number
3297 Default: 15
3298 .fi
3299 .IP
3300 Controls the number of IMAP commands that may be queued up before they
3301 are sent to the server. A deeper pipeline reduces the amount of time
3302 mutt must wait for the server, and can make IMAP servers feel much
3303 more responsive. But not all servers correctly handle pipelined commands,
3304 so if you have problems you might want to try setting this variable to 0.
3305 .IP
3306 \fBNote:\fP Changes to this variable have no effect on open connections.
3307
3308
3309 .TP
3310 .B imap_poll_timeout
3311 .nf
3312 Type: number
3313 Default: 15
3314 .fi
3315 .IP
3316 This variable specifies the maximum amount of time in seconds
3317 that mutt will wait for a response when polling IMAP connections
3318 for new mail, before timing out and closing the connection.  Set
3319 to 0 to disable timing out.
3320
3321
3322 .TP
3323 .B imap_qresync
3324 .nf
3325 Type: boolean
3326 Default: no
3327 .fi
3328 .IP
3329 When \fIset\fP, mutt will use the QRESYNC extension (RFC 7162)
3330 if advertised by the server.  Mutt's current implementation is basic,
3331 used only for initial message fetching and flag updates.
3332 .IP
3333 Note: this feature is currently experimental.  If you experience
3334 strange behavior, such as duplicate or missing messages please
3335 file a bug report to let us know.
3336
3337
3338 .TP
3339 .B imap_servernoise
3340 .nf
3341 Type: boolean
3342 Default: yes
3343 .fi
3344 .IP
3345 When \fIset\fP, mutt will display warning messages from the IMAP
3346 server as error messages. Since these messages are often
3347 harmless, or generated due to configuration problems on the
3348 server which are out of the users' hands, you may wish to suppress
3349 them at some point.
3350
3351
3352 .TP
3353 .B imap_user
3354 .nf
3355 Type: string
3356 Default: \(lq\(rq
3357 .fi
3358 .IP
3359 The name of the user whose mail you intend to access on the IMAP
3360 server.
3361 .IP
3362 This variable defaults to your user name on the local machine.
3363
3364
3365 .TP
3366 .B implicit_autoview
3367 .nf
3368 Type: boolean
3369 Default: no
3370 .fi
3371 .IP
3372 If set to \(lqyes\(rq, mutt will look for a mailcap entry with the
3373 \(lq\fBcopiousoutput\fP\(rq flag set for \fIevery\fP MIME attachment it doesn't have
3374 an internal viewer defined for.  If such an entry is found, mutt will
3375 use the viewer defined in that entry to convert the body part to text
3376 form.
3377
3378
3379 .TP
3380 .B include
3381 .nf
3382 Type: quadoption
3383 Default: ask\-yes
3384 .fi
3385 .IP
3386 Controls whether or not a copy of the message(s) you are replying to
3387 is included in your reply.
3388
3389
3390 .TP
3391 .B include_encrypted
3392 .nf
3393 Type: boolean
3394 Default: no
3395 .fi
3396 .IP
3397 Controls whether or not Mutt includes separately encrypted attachment
3398 contents when replying.
3399 .IP
3400 This variable was added to prevent accidental exposure of encrypted
3401 contents when replying to an attacker.  If a previously encrypted message
3402 were attached by the attacker, they could trick an unwary recipient into
3403 decrypting and including the message in their reply.
3404
3405
3406 .TP
3407 .B include_onlyfirst
3408 .nf
3409 Type: boolean
3410 Default: no
3411 .fi
3412 .IP
3413 Controls whether or not Mutt includes only the first attachment
3414 of the message you are replying.
3415
3416
3417 .TP
3418 .B indent_string
3419 .nf
3420 Type: string
3421 Default: \(lq> \(rq
3422 .fi
3423 .IP
3424 Specifies the string to prepend to each line of text quoted in a
3425 message to which you are replying.  You are strongly encouraged not to
3426 change this value, as it tends to agitate the more fanatical netizens.
3427 .IP
3428 The value of this option is ignored if $text_flowed is set, because
3429 the quoting mechanism is strictly defined for format=flowed.
3430 .IP
3431 This option is a format string, please see the description of
3432 $index_format for supported \fBprintf(3)\fP\-style sequences.
3433
3434
3435 .TP
3436 .B index_format
3437 .nf
3438 Type: string
3439 Default: \(lq%4C %Z %{%b %d} %\-15.15L (%?l?%4l&%4c?) %s\(rq
3440 .fi
3441 .IP
3442 This variable allows you to customize the message index display to
3443 your personal taste.
3444 .IP
3445 \(lqFormat strings\(rq are similar to the strings used in the C
3446 function \fBprintf(3)\fP to format output (see the man page for more details).
3447 For an explanation of the %? construct, see the $status_format description.
3448 The following sequences are defined in Mutt:
3449 .RS
3450 .PD 0
3451 .TP
3452 %a 
3453 address of the author
3454 .TP
3455 %A 
3456 reply\-to address (if present; otherwise: address of author)
3457 .TP
3458 %b 
3459 filename of the original message folder (think mailbox)
3460 .TP
3461 %B 
3462 the list to which the letter was sent, or else the folder name (%b).
3463 .TP
3464 %c 
3465 number of characters (bytes) in the message (see formatstrings-size)
3466 .TP
3467 %C 
3468 current message number
3469 .TP
3470 %d 
3471 date and time of the message in the format specified by
3472 $date_format converted to sender's time zone
3473 .TP
3474 %D 
3475 date and time of the message in the format specified by
3476 $date_format converted to the local time zone
3477 .TP
3478 %e 
3479 current message number in thread
3480 .TP
3481 %E 
3482 number of messages in current thread
3483 .TP
3484 %f 
3485 sender (address + real name), either From: or Return\-Path:
3486 .TP
3487 %F 
3488 author name, or recipient name if the message is from you
3489 .TP
3490 %H 
3491 spam attribute(s) of this message
3492 .TP
3493 %i 
3494 message\-id of the current message
3495 .TP
3496 %l 
3497 number of lines in the unprocessed message (may not work with
3498 maildir, mh, and IMAP folders)
3499 .TP
3500 %L 
3501 If an address in the \(lqTo:\(rq or \(lqCc:\(rq header field matches an address
3502 defined by the users \(lqsubscribe\(rq command, this displays
3503 \(rqTo <list\-name>\(rq, otherwise the same as %F.
3504 .TP
3505 %m 
3506 total number of message in the mailbox
3507 .TP
3508 %M 
3509 number of hidden messages if the thread is collapsed.
3510 .TP
3511 %N 
3512 message score
3513 .TP
3514 %n 
3515 author's real name (or address if missing)
3516 .TP
3517 %O 
3518 original save folder where mutt would formerly have
3519 stashed the message: list name or recipient name
3520 if not sent to a list
3521 .TP
3522 %P 
3523 progress indicator for the built\-in pager (how much of the file has been displayed)
3524 .TP
3525 %r 
3526 comma separated list of \(lqTo:\(rq recipients
3527 .TP
3528 %R 
3529 comma separated list of \(lqCc:\(rq recipients
3530 .TP
3531 %s 
3532 subject of the message
3533 .TP
3534 %S 
3535 single character status of the message (\(lqN\(rq/\(lqO\(rq/\(lqD\(rq/\(lqd\(rq/\(lq!\(rq/\(lqr\(rq/\(lq*\(rq)
3536 .TP
3537 %t 
3538 \(lqTo:\(rq field (recipients)
3539 .TP
3540 %T 
3541 the appropriate character from the $to_chars string
3542 .TP
3543 %u 
3544 user (login) name of the author
3545 .TP
3546 %v 
3547 first name of the author, or the recipient if the message is from you
3548 .TP
3549 %X 
3550 number of attachments
3551 (please see the \(lqattachments\(rq section for possible speed effects)
3552 .TP
3553 %y 
3554 \(lqX\-Label:\(rq field, if present
3555 .TP
3556 %Y 
3557 \(lqX\-Label:\(rq field, if present, and \fI(1)\fP not at part of a thread tree,
3558 \fI(2)\fP at the top of a thread, or \fI(3)\fP \(lqX\-Label:\(rq is different from
3559 preceding message's \(lqX\-Label:\(rq.
3560 .TP
3561 %Z 
3562 a three character set of message status flags.
3563 the first character is new/read/replied flags (\(lqn\(rq/\(lqo\(rq/\(lqr\(rq/\(lqO\(rq/\(lqN\(rq).
3564 the second is deleted or encryption flags (\(lqD\(rq/\(lqd\(rq/\(lqS\(rq/\(lqP\(rq/\(lqs\(rq/\(lqK\(rq).
3565 the third is either tagged/flagged (\(lq*\(rq/\(lq!\(rq), or one of the characters
3566 listed in $to_chars.
3567 .TP
3568 %@name@ 
3569 insert and evaluate format\-string from the matching
3570 \(lqindex-format-hook\(rq command
3571 .TP
3572 %{fmt} 
3573 the date and time of the message is converted to sender's
3574 time zone, and \(lqfmt\(rq is expanded by the library function
3575 \fBstrftime(3)\fP; a leading bang disables locales
3576 .TP
3577 %[fmt] 
3578 the date and time of the message is converted to the local
3579 time zone, and \(lqfmt\(rq is expanded by the library function
3580 \fBstrftime(3)\fP; a leading bang disables locales
3581 .TP
3582 %(fmt) 
3583 the local date and time when the message was received.
3584 \(lqfmt\(rq is expanded by the library function \fBstrftime(3)\fP;
3585 a leading bang disables locales
3586 .TP
3587 %<fmt> 
3588 the current local time. \(lqfmt\(rq is expanded by the library
3589 function \fBstrftime(3)\fP; a leading bang disables locales.
3590 .TP
3591 %>X    
3592 right justify the rest of the string and pad with character \(lqX\(rq
3593 .TP
3594 %|X    
3595 pad to the end of the line with character \(lqX\(rq
3596 .TP
3597 %*X    
3598 soft\-fill with character \(lqX\(rq as pad
3599 .RE
3600 .PD 1
3601 .IP
3602 Note that for mbox/mmdf, \(lq%l\(rq applies to the unprocessed message, and
3603 for maildir/mh, the value comes from the \(lqLines:\(rq header field when
3604 present (the meaning is normally the same). Thus the value depends on
3605 the encodings used in the different parts of the message and has little
3606 meaning in practice.
3607 .IP
3608 \(lqSoft\-fill\(rq deserves some explanation: Normal right\-justification
3609 will print everything to the left of the \(lq%>\(rq, displaying padding and
3610 whatever lies to the right only if there's room. By contrast,
3611 soft\-fill gives priority to the right\-hand side, guaranteeing space
3612 to display it and showing padding only if there's still room. If
3613 necessary, soft\-fill will eat text leftwards to make room for
3614 rightward text.
3615 .IP
3616 Note that these expandos are supported in
3617 \(lqsave-hook\(rq, \(lqfcc-hook\(rq, \(lqfcc-save-hook\(rq, and
3618 \(lqindex-format-hook\(rq.
3619 .IP
3620 They are also supported in the configuration variables $attribution,
3621 $forward_attribution_intro, $forward_attribution_trailer,
3622 $forward_format, $indent_string, $message_format, $pager_format,
3623 and $post_indent_string.
3624
3625
3626 .TP
3627 .B ispell
3628 .nf
3629 Type: path
3630 Default: \(lq/usr/bin/ispell\(rq
3631 .fi
3632 .IP
3633 How to invoke ispell (GNU's spell\-checking software).
3634
3635
3636 .TP
3637 .B keep_flagged
3638 .nf
3639 Type: boolean
3640 Default: no
3641 .fi
3642 .IP
3643 If \fIset\fP, read messages marked as flagged will not be moved
3644 from your spool mailbox to your $mbox mailbox, or as a result of
3645 a \(lqmbox-hook\(rq command.
3646
3647
3648 .TP
3649 .B mail_check
3650 .nf
3651 Type: number
3652 Default: 5
3653 .fi
3654 .IP
3655 This variable configures how often (in seconds) mutt should look for
3656 new mail. Also see the $timeout variable.
3657
3658
3659 .TP
3660 .B mail_check_recent
3661 .nf
3662 Type: boolean
3663 Default: yes
3664 .fi
3665 .IP
3666 When \fIset\fP, Mutt will only notify you about new mail that has been received
3667 since the last time you opened the mailbox.  When \fIunset\fP, Mutt will notify you
3668 if any new mail exists in the mailbox, regardless of whether you have visited it
3669 recently.
3670 .IP
3671 When \fI$mark_old\fP is set, Mutt does not consider the mailbox to contain new
3672 mail if only old messages exist.
3673
3674
3675 .TP
3676 .B mail_check_stats
3677 .nf
3678 Type: boolean
3679 Default: no
3680 .fi
3681 .IP
3682 When \fIset\fP, mutt will periodically calculate message
3683 statistics of a mailbox while polling for new mail.  It will
3684 check for unread, flagged, and total message counts.  Because
3685 this operation is more performance intensive, it defaults to
3686 \fIunset\fP, and has a separate option, $mail_check_stats_interval, to
3687 control how often to update these counts.
3688 .IP
3689 Message statistics can also be explicitly calculated by invoking the
3690 \fB<check\-stats>\fP
3691 function.
3692
3693
3694 .TP
3695 .B mail_check_stats_interval
3696 .nf
3697 Type: number
3698 Default: 60
3699 .fi
3700 .IP
3701 When $mail_check_stats is \fIset\fP, this variable configures
3702 how often (in seconds) mutt will update message counts.
3703
3704
3705 .TP
3706 .B mailcap_path
3707 .nf
3708 Type: string
3709 Default: \(lq\(rq
3710 .fi
3711 .IP
3712 This variable specifies which files to consult when attempting to
3713 display MIME bodies not directly supported by Mutt.  The default value
3714 is generated during startup: see the \(lqmailcap\(rq section of the manual.
3715
3716
3717 .TP
3718 .B mailcap_sanitize
3719 .nf
3720 Type: boolean
3721 Default: yes
3722 .fi
3723 .IP
3724 If \fIset\fP, mutt will restrict possible characters in mailcap % expandos
3725 to a well\-defined set of safe characters.  This is the safe setting,
3726 but we are not sure it doesn't break some more advanced MIME stuff.
3727 .IP
3728 \fBDON'T CHANGE THIS SETTING UNLESS YOU ARE REALLY SURE WHAT YOU ARE
3729 DOING!\fP
3730
3731
3732 .TP
3733 .B maildir_header_cache_verify
3734 .nf
3735 Type: boolean
3736 Default: yes
3737 .fi
3738 .IP
3739 Check for Maildir unaware programs other than mutt having modified maildir
3740 files when the header cache is in use.  This incurs one \fBstat(2)\fP per
3741 message every time the folder is opened (which can be very slow for NFS
3742 folders).
3743
3744
3745 .TP
3746 .B maildir_trash
3747 .nf
3748 Type: boolean
3749 Default: no
3750 .fi
3751 .IP
3752 If \fIset\fP, messages marked as deleted will be saved with the maildir
3753 trashed flag instead of unlinked.  \fBNote:\fP this only applies
3754 to maildir\-style mailboxes.  Setting it will have no effect on other
3755 mailbox types.
3756
3757
3758 .TP
3759 .B maildir_check_cur
3760 .nf
3761 Type: boolean
3762 Default: no
3763 .fi
3764 .IP
3765 If \fIset\fP, mutt will poll both the new and cur directories of
3766 a maildir folder for new messages.  This might be useful if other
3767 programs interacting with the folder (e.g. dovecot) are moving new
3768 messages to the cur directory.  Note that setting this option may
3769 slow down polling for new messages in large folders, since mutt has
3770 to scan all cur messages.
3771
3772
3773 .TP
3774 .B mark_macro_prefix
3775 .nf
3776 Type: string
3777 Default: \(lq'\(rq
3778 .fi
3779 .IP
3780 Prefix for macros created using mark\-message.  A new macro
3781 automatically generated with \fI<mark\-message>a\fP will be composed
3782 from this prefix and the letter \fIa\fP.
3783
3784
3785 .TP
3786 .B mark_old
3787 .nf
3788 Type: boolean
3789 Default: yes
3790 .fi
3791 .IP
3792 Controls whether or not mutt marks \fInew\fP \fBunread\fP
3793 messages as \fIold\fP if you exit a mailbox without reading them.
3794 With this option \fIset\fP, the next time you start mutt, the messages
3795 will show up with an \(lqO\(rq next to them in the index menu,
3796 indicating that they are old.
3797
3798
3799 .TP
3800 .B markers
3801 .nf
3802 Type: boolean
3803 Default: yes
3804 .fi
3805 .IP
3806 Controls the display of wrapped lines in the internal pager. If set, a
3807 \(lq+\(rq marker is displayed at the beginning of wrapped lines.
3808 .IP
3809 Also see the $smart_wrap variable.
3810
3811
3812 .TP
3813 .B mask
3814 .nf
3815 Type: regular expression
3816 Default: \(lq!^\\.[^.]\(rq
3817 .fi
3818 .IP
3819 A regular expression used in the file browser, optionally preceded by
3820 the \fInot\fP operator \(lq!\(rq.  Only files whose names match this mask
3821 will be shown. The match is always case\-sensitive.
3822
3823
3824 .TP
3825 .B mbox
3826 .nf
3827 Type: path
3828 Default: \(lq~/mbox\(rq
3829 .fi
3830 .IP
3831 This specifies the folder into which read mail in your $spoolfile
3832 folder will be appended.
3833 .IP
3834 Also see the $move variable.
3835
3836
3837 .TP
3838 .B mbox_type
3839 .nf
3840 Type: folder magic
3841 Default: mbox
3842 .fi
3843 .IP
3844 The default mailbox type used when creating new folders. May be any of
3845 \(lqmbox\(rq, \(lqMMDF\(rq, \(lqMH\(rq and \(lqMaildir\(rq. This is overridden by the
3846 \fB\-m\fP command\-line option.
3847
3848
3849 .TP
3850 .B menu_context
3851 .nf
3852 Type: number
3853 Default: 0
3854 .fi
3855 .IP
3856 This variable controls the number of lines of context that are given
3857 when scrolling through menus. (Similar to $pager_context.)
3858
3859
3860 .TP
3861 .B menu_move_off
3862 .nf
3863 Type: boolean
3864 Default: yes
3865 .fi
3866 .IP
3867 When \fIunset\fP, the bottom entry of menus will never scroll up past
3868 the bottom of the screen, unless there are less entries than lines.
3869 When \fIset\fP, the bottom entry may move off the bottom.
3870
3871
3872 .TP
3873 .B menu_scroll
3874 .nf
3875 Type: boolean
3876 Default: no
3877 .fi
3878 .IP
3879 When \fIset\fP, menus will be scrolled up or down one line when you
3880 attempt to move across a screen boundary.  If \fIunset\fP, the screen
3881 is cleared and the next or previous page of the menu is displayed
3882 (useful for slow links to avoid many redraws).
3883
3884
3885 .TP
3886 .B message_cache_clean
3887 .nf
3888 Type: boolean
3889 Default: no
3890 .fi
3891 .IP
3892 If \fIset\fP, mutt will clean out obsolete entries from the message cache when
3893 the mailbox is synchronized. You probably only want to set it
3894 every once in a while, since it can be a little slow
3895 (especially for large folders).
3896
3897
3898 .TP
3899 .B message_cachedir
3900 .nf
3901 Type: path
3902 Default: \(lq\(rq
3903 .fi
3904 .IP
3905 Set this to a directory and mutt will cache copies of messages from
3906 your IMAP and POP servers here. You are free to remove entries at any
3907 time.
3908 .IP
3909 When setting this variable to a directory, mutt needs to fetch every
3910 remote message only once and can perform regular expression searches
3911 as fast as for local folders.
3912 .IP
3913 Also see the $message_cache_clean variable.
3914
3915
3916 .TP
3917 .B message_format
3918 .nf
3919 Type: string
3920 Default: \(lq%s\(rq
3921 .fi
3922 .IP
3923 This is the string displayed in the \(lqattachment\(rq menu for
3924 attachments of type \fBmessage/rfc822\fP.  For a full listing of defined
3925 \fBprintf(3)\fP\-like sequences see the section on $index_format.
3926
3927
3928 .TP
3929 .B meta_key
3930 .nf
3931 Type: boolean
3932 Default: no
3933 .fi
3934 .IP
3935 If \fIset\fP, forces Mutt to interpret keystrokes with the high bit (bit 8)
3936 set as if the user had pressed the Esc key and whatever key remains
3937 after having the high bit removed.  For example, if the key pressed
3938 has an ASCII value of \fB0xf8\fP, then this is treated as if the user had
3939 pressed Esc then \(lqx\(rq.  This is because the result of removing the
3940 high bit from \fB0xf8\fP is \fB0x78\fP, which is the ASCII character
3941 \(lqx\(rq.
3942
3943
3944 .TP
3945 .B metoo
3946 .nf
3947 Type: boolean
3948 Default: no
3949 .fi
3950 .IP
3951 If \fIunset\fP, Mutt will remove your address (see the \(lqalternates\(rq
3952 command) from the list of recipients when replying to a message.
3953
3954
3955 .TP
3956 .B mh_purge
3957 .nf
3958 Type: boolean
3959 Default: no
3960 .fi
3961 .IP
3962 When \fIunset\fP, mutt will mimic mh's behavior and rename deleted messages
3963 to \fI,<old file name>\fP in mh folders instead of really deleting
3964 them. This leaves the message on disk but makes programs reading the folder
3965 ignore it. If the variable is \fIset\fP, the message files will simply be
3966 deleted.
3967 .IP
3968 This option is similar to $maildir_trash for Maildir folders.
3969
3970
3971 .TP
3972 .B mh_seq_flagged
3973 .nf
3974 Type: string
3975 Default: \(lqflagged\(rq
3976 .fi
3977 .IP
3978 The name of the MH sequence used for flagged messages.
3979
3980
3981 .TP
3982 .B mh_seq_replied
3983 .nf
3984 Type: string
3985 Default: \(lqreplied\(rq
3986 .fi
3987 .IP
3988 The name of the MH sequence used to tag replied messages.
3989
3990
3991 .TP
3992 .B mh_seq_unseen
3993 .nf
3994 Type: string
3995 Default: \(lqunseen\(rq
3996 .fi
3997 .IP
3998 The name of the MH sequence used for unseen messages.
3999
4000
4001 .TP
4002 .B mime_forward
4003 .nf
4004 Type: quadoption
4005 Default: no
4006 .fi
4007 .IP
4008 When \fIset\fP, the message you are forwarding will be attached as a
4009 separate \fBmessage/rfc822\fP MIME part instead of included in the main body of the
4010 message.  This is useful for forwarding MIME messages so the receiver
4011 can properly view the message as it was delivered to you. If you like
4012 to switch between MIME and not MIME from mail to mail, set this
4013 variable to \(lqask\-no\(rq or \(lqask\-yes\(rq.
4014 .IP
4015 Also see $forward_decode and $mime_forward_decode.
4016
4017
4018 .TP
4019 .B mime_forward_decode
4020 .nf
4021 Type: boolean
4022 Default: no
4023 .fi
4024 .IP
4025 Controls the decoding of complex MIME messages into \fBtext/plain\fP when
4026 forwarding a message while $mime_forward is \fIset\fP. Otherwise
4027 $forward_decode is used instead.
4028
4029
4030 .TP
4031 .B mime_forward_rest
4032 .nf
4033 Type: quadoption
4034 Default: yes
4035 .fi
4036 .IP
4037 When forwarding multiple attachments of a MIME message from the attachment
4038 menu, attachments which cannot be decoded in a reasonable manner will
4039 be attached to the newly composed message if this option is \fIset\fP.
4040
4041
4042 .TP
4043 .B mime_type_query_command
4044 .nf
4045 Type: string
4046 Default: \(lq\(rq
4047 .fi
4048 .IP
4049 This specifies a command to run, to determine the mime type of a
4050 new attachment when composing a message.  Unless
4051 $mime_type_query_first is set, this will only be run if the
4052 attachment's extension is not found in the mime.types file.
4053 .IP
4054 The string may contain a \(lq%s\(rq, which will be substituted with the
4055 attachment filename.  Mutt will add quotes around the string substituted
4056 for \(lq%s\(rq automatically according to shell quoting rules, so you should
4057 avoid adding your own.  If no \(lq%s\(rq is found in the string, Mutt will
4058 append the attachment filename to the end of the string.
4059 .IP
4060 The command should output a single line containing the
4061 attachment's mime type.
4062 .IP
4063 Suggested values are \(lqxdg\-mime query filetype\(rq or
4064 \(lqfile \-bi\(rq.
4065
4066
4067 .TP
4068 .B mime_type_query_first
4069 .nf
4070 Type: boolean
4071 Default: no
4072 .fi
4073 .IP
4074 When \fIset\fP, the $mime_type_query_command will be run before the
4075 mime.types lookup.
4076
4077
4078 .TP
4079 .B mix_entry_format
4080 .nf
4081 Type: string
4082 Default: \(lq%4n %c %\-16s %a\(rq
4083 .fi
4084 .IP
4085 This variable describes the format of a remailer line on the mixmaster
4086 chain selection screen.  The following \fBprintf(3)\fP\-like sequences are
4087 supported:
4088 .RS
4089 .PD 0
4090 .TP
4091 %n 
4092 The running number on the menu.
4093 .TP
4094 %c 
4095 Remailer capabilities.
4096 .TP
4097 %s 
4098 The remailer's short name.
4099 .TP
4100 %a 
4101 The remailer's e\-mail address.
4102 .RE
4103 .PD 1
4104
4105 .TP
4106 .B mixmaster
4107 .nf
4108 Type: path
4109 Default: \(lqmixmaster\(rq
4110 .fi
4111 .IP
4112 This variable contains the path to the Mixmaster binary on your
4113 system.  It is used with various sets of parameters to gather the
4114 list of known remailers, and to finally send a message through the
4115 mixmaster chain.
4116
4117
4118 .TP
4119 .B move
4120 .nf
4121 Type: quadoption
4122 Default: no
4123 .fi
4124 .IP
4125 Controls whether or not Mutt will move read messages
4126 from your spool mailbox to your $mbox mailbox, or as a result of
4127 a \(lqmbox-hook\(rq command.
4128
4129
4130 .TP
4131 .B muttlisp_inline_eval
4132 .nf
4133 Type: boolean
4134 Default: no
4135 .fi
4136 .IP
4137 If \fIset\fP, Mutt will evaluate bare parenthesis arguments to commands
4138 as MuttLisp expressions.
4139
4140
4141 .TP
4142 .B narrow_tree
4143 .nf
4144 Type: boolean
4145 Default: no
4146 .fi
4147 .IP
4148 This variable, when \fIset\fP, makes the thread tree narrower, allowing
4149 deeper threads to fit on the screen.
4150
4151
4152 .TP
4153 .B net_inc
4154 .nf
4155 Type: number
4156 Default: 10
4157 .fi
4158 .IP
4159 Operations that expect to transfer a large amount of data over the
4160 network will update their progress every $net_inc kilobytes.
4161 If set to 0, no progress messages will be displayed.
4162 .IP
4163 See also $read_inc, $write_inc and $net_inc.
4164
4165
4166 .TP
4167 .B new_mail_command
4168 .nf
4169 Type: path
4170 Default: \(lq\(rq
4171 .fi
4172 .IP
4173 If \fIset\fP, Mutt will call this command after a new message is received.
4174 See the $status_format documentation for the values that can be formatted
4175 into this command.
4176
4177
4178 .TP
4179 .B pager
4180 .nf
4181 Type: path
4182 Default: \(lqbuiltin\(rq
4183 .fi
4184 .IP
4185 This variable specifies which pager you would like to use to view
4186 messages. The value \(lqbuiltin\(rq means to use the built\-in pager, otherwise this
4187 variable should specify the pathname of the external pager you would
4188 like to use.
4189 .IP
4190 Using an external pager may have some disadvantages: Additional
4191 keystrokes are necessary because you can't call mutt functions
4192 directly from the pager, and screen resizes cause lines longer than
4193 the screen width to be badly formatted in the help menu.
4194 .IP
4195 When using an external pager, also see $prompt_after which defaults
4196 \fIset\fP.
4197
4198
4199 .TP
4200 .B pager_context
4201 .nf
4202 Type: number
4203 Default: 0
4204 .fi
4205 .IP
4206 This variable controls the number of lines of context that are given
4207 when displaying the next or previous page in the internal pager.  By
4208 default, Mutt will display the line after the last one on the screen
4209 at the top of the next page (0 lines of context).
4210 .IP
4211 This variable also specifies the amount of context given for search
4212 results. If positive, this many lines will be given before a match,
4213 if 0, the match will be top\-aligned.
4214
4215
4216 .TP
4217 .B pager_format
4218 .nf
4219 Type: string
4220 Default: \(lq\-%Z\- %C/%m: %\-20.20n   %s%*  \-\- (%P)\(rq
4221 .fi
4222 .IP
4223 This variable controls the format of the one\-line message \(lqstatus\(rq
4224 displayed before each message in either the internal or an external
4225 pager.  The valid sequences are listed in the $index_format
4226 section.
4227
4228
4229 .TP
4230 .B pager_index_lines
4231 .nf
4232 Type: number
4233 Default: 0
4234 .fi
4235 .IP
4236 Determines the number of lines of a mini\-index which is shown when in
4237 the pager.  The current message, unless near the top or bottom of the
4238 folder, will be roughly one third of the way down this mini\-index,
4239 giving the reader the context of a few messages before and after the
4240 message.  This is useful, for example, to determine how many messages
4241 remain to be read in the current thread.  One of the lines is reserved
4242 for the status bar from the index, so a setting of 6
4243 will only show 5 lines of the actual index.  A value of 0 results in
4244 no index being shown.  If the number of messages in the current folder
4245 is less than $pager_index_lines, then the index will only use as
4246 many lines as it needs.
4247
4248
4249 .TP
4250 .B pager_stop
4251 .nf
4252 Type: boolean
4253 Default: no
4254 .fi
4255 .IP
4256 When \fIset\fP, the internal\-pager will \fBnot\fP move to the next message
4257 when you are at the end of a message and invoke the \fB<next\-page>\fP
4258 function.
4259
4260
4261 .TP
4262 .B pattern_format
4263 .nf
4264 Type: string
4265 Default: \(lq%2n %\-15e  %d\(rq
4266 .fi
4267 .IP
4268 This variable describes the format of the \(lqpattern completion\(rq menu. The
4269 following \fBprintf(3)\fP\-style sequences are understood:
4270 .RS
4271 .PD 0
4272 .TP
4273 %d  
4274 pattern description
4275 .TP
4276 %e  
4277 pattern expression
4278 .TP
4279 %n  
4280 index number
4281 .RE
4282 .PD 1
4283 .IP
4284
4285
4286 .TP
4287 .B pgp_auto_decode
4288 .nf
4289 Type: boolean
4290 Default: no
4291 .fi
4292 .IP
4293 If \fIset\fP, mutt will automatically attempt to decrypt traditional PGP
4294 messages whenever the user performs an operation which ordinarily would
4295 result in the contents of the message being operated on.  For example,
4296 if the user displays a pgp\-traditional message which has not been manually
4297 checked with the \fB<check-traditional-pgp>\fP function, mutt will automatically
4298 check the message for traditional pgp.
4299
4300
4301 .TP
4302 .B pgp_autoinline
4303 .nf
4304 Type: boolean
4305 Default: no
4306 .fi
4307 .IP
4308 This option controls whether Mutt generates old\-style inline
4309 (traditional) PGP encrypted or signed messages under certain
4310 circumstances.  This can be overridden by use of the pgp menu,
4311 when inline is not required.  The GPGME backend does not support
4312 this option.
4313 .IP
4314 Note that Mutt might automatically use PGP/MIME for messages
4315 which consist of more than a single MIME part.  Mutt can be
4316 configured to ask before sending PGP/MIME messages when inline
4317 (traditional) would not work.
4318 .IP
4319 Also see the $pgp_mime_auto variable.
4320 .IP
4321 Also note that using the old\-style PGP message format is \fBstrongly\fP
4322 \fBdeprecated\fP.
4323 (PGP only)
4324
4325
4326 .TP
4327 .B pgp_check_exit
4328 .nf
4329 Type: boolean
4330 Default: yes
4331 .fi
4332 .IP
4333 If \fIset\fP, mutt will check the exit code of the PGP subprocess when
4334 signing or encrypting.  A non\-zero exit code means that the
4335 subprocess failed.
4336 (PGP only)
4337
4338
4339 .TP
4340 .B pgp_check_gpg_decrypt_status_fd
4341 .nf
4342 Type: boolean
4343 Default: yes
4344 .fi
4345 .IP
4346 If \fIset\fP, mutt will check the status file descriptor output
4347 of $pgp_decrypt_command and $pgp_decode_command for GnuPG status codes
4348 indicating successful decryption.  This will check for the presence of
4349 DECRYPTION_OKAY, absence of DECRYPTION_FAILED, and that all
4350 PLAINTEXT occurs between the BEGIN_DECRYPTION and END_DECRYPTION
4351 status codes.
4352 .IP
4353 If \fIunset\fP, mutt will instead match the status fd output
4354 against $pgp_decryption_okay.
4355 (PGP only)
4356
4357
4358 .TP
4359 .B pgp_clearsign_command
4360 .nf
4361 Type: string
4362 Default: \(lq\(rq
4363 .fi
4364 .IP
4365 This format is used to create an old\-style \(lqclearsigned\(rq PGP
4366 message.  Note that the use of this format is \fBstrongly\fP
4367 \fBdeprecated\fP.
4368 .IP
4369 This is a format string, see the $pgp_decode_command command for
4370 possible \fBprintf(3)\fP\-like sequences.
4371 (PGP only)
4372
4373
4374 .TP
4375 .B pgp_decode_command
4376 .nf
4377 Type: string
4378 Default: \(lq\(rq
4379 .fi
4380 .IP
4381 This format strings specifies a command which is used to decode
4382 application/pgp attachments.
4383 .IP
4384 The PGP command formats have their own set of \fBprintf(3)\fP\-like sequences:
4385 .RS
4386 .PD 0
4387 .TP
4388 %p 
4389 Expands to PGPPASSFD=0 when a pass phrase is needed, to an empty
4390 string otherwise. Note: This may be used with a %? construct.
4391 .TP
4392 %f 
4393 Expands to the name of a file containing a message.
4394 .TP
4395 %s 
4396 Expands to the name of a file containing the signature part
4397            of a \fBmultipart/signed\fP attachment when verifying it.
4398 .TP
4399 %a 
4400 The value of $pgp_sign_as if set, otherwise the value
4401 of $pgp_default_key.
4402 .TP
4403 %r 
4404 One or more key IDs (or fingerprints if available).
4405 .RE
4406 .PD 1
4407 .IP
4408 For examples on how to configure these formats for the various versions
4409 of PGP which are floating around, see the pgp and gpg sample configuration files in
4410 the \fBsamples/\fP subdirectory which has been installed on your system
4411 alongside the documentation.
4412 (PGP only)
4413
4414
4415 .TP
4416 .B pgp_decrypt_command
4417 .nf
4418 Type: string
4419 Default: \(lq\(rq
4420 .fi
4421 .IP
4422 This command is used to decrypt a PGP encrypted message.
4423 .IP
4424 This is a format string, see the $pgp_decode_command command for
4425 possible \fBprintf(3)\fP\-like sequences.
4426 (PGP only)
4427
4428
4429 .TP
4430 .B pgp_decryption_okay
4431 .nf
4432 Type: regular expression
4433 Default: \(lq\(rq
4434 .fi
4435 .IP
4436 If you assign text to this variable, then an encrypted PGP
4437 message is only considered successfully decrypted if the output
4438 from $pgp_decrypt_command contains the text.  This is used to
4439 protect against a spoofed encrypted message, with multipart/encrypted
4440 headers but containing a block that is not actually encrypted.
4441 (e.g. simply signed and ascii armored text).
4442 .IP
4443 Note that if $pgp_check_gpg_decrypt_status_fd is set, this variable
4444 is ignored.
4445 (PGP only)
4446
4447
4448 .TP
4449 .B pgp_default_key
4450 .nf
4451 Type: string
4452 Default: \(lq\(rq
4453 .fi
4454 .IP
4455 This is the default key\-pair to use for PGP operations.  It will be
4456 used for encryption (see $postpone_encrypt and $pgp_self_encrypt).
4457 .IP
4458 It will also be used for signing unless $pgp_sign_as is set.
4459 .IP
4460 The (now deprecated) \fIpgp_self_encrypt_as\fP is an alias for this
4461 variable, and should no longer be used.
4462 (PGP only)
4463
4464
4465 .TP
4466 .B pgp_encrypt_only_command
4467 .nf
4468 Type: string
4469 Default: \(lq\(rq
4470 .fi
4471 .IP
4472 This command is used to encrypt a body part without signing it.
4473 .IP
4474 This is a format string, see the $pgp_decode_command command for
4475 possible \fBprintf(3)\fP\-like sequences.
4476 (PGP only)
4477
4478
4479 .TP
4480 .B pgp_encrypt_sign_command
4481 .nf
4482 Type: string
4483 Default: \(lq\(rq
4484 .fi
4485 .IP
4486 This command is used to both sign and encrypt a body part.
4487 .IP
4488 This is a format string, see the $pgp_decode_command command for
4489 possible \fBprintf(3)\fP\-like sequences.
4490 (PGP only)
4491
4492
4493 .TP
4494 .B pgp_entry_format
4495 .nf
4496 Type: string
4497 Default: \(lq%4n %t%f %4l/0x%k %\-4a %2c %u\(rq
4498 .fi
4499 .IP
4500 This variable allows you to customize the PGP key selection menu to
4501 your personal taste. This string is similar to $index_format, but
4502 has its own set of \fBprintf(3)\fP\-like sequences:
4503 .RS
4504 .PD 0
4505 .TP
4506 %n     
4507 number
4508 .TP
4509 %k     
4510 key id
4511 .TP
4512 %u     
4513 user id
4514 .TP
4515 %a     
4516 algorithm
4517 .TP
4518 %l     
4519 key length
4520 .TP
4521 %f     
4522 flags
4523 .TP
4524 %c     
4525 capabilities
4526 .TP
4527 %t     
4528 trust/validity of the key\-uid association
4529 .TP
4530 %[<s>] 
4531 date of the key where <s> is an \fBstrftime(3)\fP expression
4532 .RE
4533 .PD 1
4534 .IP
4535 (PGP only)
4536
4537
4538 .TP
4539 .B pgp_export_command
4540 .nf
4541 Type: string
4542 Default: \(lq\(rq
4543 .fi
4544 .IP
4545 This command is used to export a public key from the user's
4546 key ring.
4547 .IP
4548 This is a format string, see the $pgp_decode_command command for
4549 possible \fBprintf(3)\fP\-like sequences.
4550 (PGP only)
4551
4552
4553 .TP
4554 .B pgp_getkeys_command
4555 .nf
4556 Type: string
4557 Default: \(lq\(rq
4558 .fi
4559 .IP
4560 This command is invoked whenever Mutt needs to fetch the public key associated with
4561 an email address.  Of the sequences supported by $pgp_decode_command, %r is
4562 the only \fBprintf(3)\fP\-like sequence used with this format.  Note that
4563 in this case, %r expands to the email address, not the public key ID (the key ID is
4564 unknown, which is why Mutt is invoking this command).
4565 (PGP only)
4566
4567
4568 .TP
4569 .B pgp_good_sign
4570 .nf
4571 Type: regular expression
4572 Default: \(lq\(rq
4573 .fi
4574 .IP
4575 If you assign a text to this variable, then a PGP signature is only
4576 considered verified if the output from $pgp_verify_command contains
4577 the text. Use this variable if the exit code from the command is 0
4578 even for bad signatures.
4579 (PGP only)
4580
4581
4582 .TP
4583 .B pgp_ignore_subkeys
4584 .nf
4585 Type: boolean
4586 Default: yes
4587 .fi
4588 .IP
4589 Setting this variable will cause Mutt to ignore OpenPGP subkeys. Instead,
4590 the principal key will inherit the subkeys' capabilities.  \fIUnset\fP this
4591 if you want to play interesting key selection games.
4592 (PGP only)
4593
4594
4595 .TP
4596 .B pgp_import_command
4597 .nf
4598 Type: string
4599 Default: \(lq\(rq
4600 .fi
4601 .IP
4602 This command is used to import a key from a message into
4603 the user's public key ring.
4604 .IP
4605 This is a format string, see the $pgp_decode_command command for
4606 possible \fBprintf(3)\fP\-like sequences.
4607 (PGP only)
4608
4609
4610 .TP
4611 .B pgp_list_pubring_command
4612 .nf
4613 Type: string
4614 Default: \(lq\(rq
4615 .fi
4616 .IP
4617 This command is used to list the public key ring's contents.  The
4618 output format must be analogous to the one used by
4619
4620 .IP
4621 .EX
4622 gpg \-\-list\-keys \-\-with\-colons \-\-with\-fingerprint
4623
4624 .EE
4625 .IP
4626 This format is also generated by the \fBmutt_pgpring\fP utility which comes
4627 with mutt.
4628 .IP
4629 Note: gpg's \fBfixed\-list\-mode\fP option should not be used.  It
4630 produces a different date format which may result in mutt showing
4631 incorrect key generation dates.
4632 .IP
4633 This is a format string, see the $pgp_decode_command command for
4634 possible \fBprintf(3)\fP\-like sequences.
4635 Note that in this case, %r expands to the search string, which is a list of
4636 one or more quoted values such as email address, name, or keyid.
4637 (PGP only)
4638
4639
4640 .TP
4641 .B pgp_list_secring_command
4642 .nf
4643 Type: string
4644 Default: \(lq\(rq
4645 .fi
4646 .IP
4647 This command is used to list the secret key ring's contents.  The
4648 output format must be analogous to the one used by:
4649
4650 .IP
4651 .EX
4652 gpg \-\-list\-keys \-\-with\-colons \-\-with\-fingerprint
4653
4654 .EE
4655 .IP
4656 This format is also generated by the \fBmutt_pgpring\fP utility which comes
4657 with mutt.
4658 .IP
4659 Note: gpg's \fBfixed\-list\-mode\fP option should not be used.  It
4660 produces a different date format which may result in mutt showing
4661 incorrect key generation dates.
4662 .IP
4663 This is a format string, see the $pgp_decode_command command for
4664 possible \fBprintf(3)\fP\-like sequences.
4665 Note that in this case, %r expands to the search string, which is a list of
4666 one or more quoted values such as email address, name, or keyid.
4667 (PGP only)
4668
4669
4670 .TP
4671 .B pgp_long_ids
4672 .nf
4673 Type: boolean
4674 Default: yes
4675 .fi
4676 .IP
4677 If \fIset\fP, use 64 bit PGP key IDs, if \fIunset\fP use the normal 32 bit key IDs.
4678 NOTE: Internally, Mutt has transitioned to using fingerprints (or long key IDs
4679 as a fallback).  This option now only controls the display of key IDs
4680 in the key selection menu and a few other places.
4681 (PGP only)
4682
4683
4684 .TP
4685 .B pgp_mime_auto
4686 .nf
4687 Type: quadoption
4688 Default: ask\-yes
4689 .fi
4690 .IP
4691 This option controls whether Mutt will prompt you for
4692 automatically sending a (signed/encrypted) message using
4693 PGP/MIME when inline (traditional) fails (for any reason).
4694 .IP
4695 Also note that using the old\-style PGP message format is \fBstrongly\fP
4696 \fBdeprecated\fP.
4697 (PGP only)
4698
4699
4700 .TP
4701 .B pgp_replyinline
4702 .nf
4703 Type: boolean
4704 Default: no
4705 .fi
4706 .IP
4707 Setting this variable will cause Mutt to always attempt to
4708 create an inline (traditional) message when replying to a
4709 message which is PGP encrypted/signed inline.  This can be
4710 overridden by use of the pgp menu, when inline is not
4711 required.  This option does not automatically detect if the
4712 (replied\-to) message is inline; instead it relies on Mutt
4713 internals for previously checked/flagged messages.
4714 .IP
4715 Note that Mutt might automatically use PGP/MIME for messages
4716 which consist of more than a single MIME part.  Mutt can be
4717 configured to ask before sending PGP/MIME messages when inline
4718 (traditional) would not work.
4719 .IP
4720 Also see the $pgp_mime_auto variable.
4721 .IP
4722 Also note that using the old\-style PGP message format is \fBstrongly\fP
4723 \fBdeprecated\fP.
4724 (PGP only)
4725
4726
4727 .TP
4728 .B pgp_retainable_sigs
4729 .nf
4730 Type: boolean
4731 Default: no
4732 .fi
4733 .IP
4734 If \fIset\fP, signed and encrypted messages will consist of nested
4735 \fBmultipart/signed\fP and \fBmultipart/encrypted\fP body parts.
4736 .IP
4737 This is useful for applications like encrypted and signed mailing
4738 lists, where the outer layer (\fBmultipart/encrypted\fP) can be easily
4739 removed, while the inner \fBmultipart/signed\fP part is retained.
4740 (PGP only)
4741
4742
4743 .TP
4744 .B pgp_self_encrypt
4745 .nf
4746 Type: boolean
4747 Default: yes
4748 .fi
4749 .IP
4750 When \fIset\fP, PGP encrypted messages will also be encrypted
4751 using the key in $pgp_default_key.
4752 (PGP only)
4753
4754
4755 .TP
4756 .B pgp_show_unusable
4757 .nf
4758 Type: boolean
4759 Default: yes
4760 .fi
4761 .IP
4762 If \fIset\fP, mutt will display non\-usable keys on the PGP key selection
4763 menu.  This includes keys which have been revoked, have expired, or
4764 have been marked as \(lqdisabled\(rq by the user.
4765 (PGP only)
4766
4767
4768 .TP
4769 .B pgp_sign_as
4770 .nf
4771 Type: string
4772 Default: \(lq\(rq
4773 .fi
4774 .IP
4775 If you have a different key pair to use for signing, you should
4776 set this to the signing key.  Most people will only need to set
4777 $pgp_default_key.  It is recommended that you use the keyid form
4778 to specify your key (e.g. \fB0x00112233\fP).
4779 (PGP only)
4780
4781
4782 .TP
4783 .B pgp_sign_command
4784 .nf
4785 Type: string
4786 Default: \(lq\(rq
4787 .fi
4788 .IP
4789 This command is used to create the detached PGP signature for a
4790 \fBmultipart/signed\fP PGP/MIME body part.
4791 .IP
4792 This is a format string, see the $pgp_decode_command command for
4793 possible \fBprintf(3)\fP\-like sequences.
4794 (PGP only)
4795
4796
4797 .TP
4798 .B pgp_sort_keys
4799 .nf
4800 Type: sort order
4801 Default: address
4802 .fi
4803 .IP
4804 Specifies how the entries in the pgp menu are sorted. The
4805 following are legal values:
4806 .RS
4807 .PD 0
4808 .TP
4809 address 
4810 sort alphabetically by user id
4811 .TP
4812 keyid   
4813 sort alphabetically by key id
4814 .TP
4815 date    
4816 sort by key creation date
4817 .TP
4818 trust   
4819 sort by the trust of the key
4820 .RE
4821 .PD 1
4822 .IP
4823 If you prefer reverse order of the above values, prefix it with
4824 \(lqreverse\-\(rq.
4825 (PGP only)
4826
4827
4828 .TP
4829 .B pgp_strict_enc
4830 .nf
4831 Type: boolean
4832 Default: yes
4833 .fi
4834 .IP
4835 If \fIset\fP, Mutt will automatically encode PGP/MIME signed messages as
4836 quoted\-printable.  Please note that unsetting this variable may
4837 lead to problems with non\-verifyable PGP signatures, so only change
4838 this if you know what you are doing.
4839 (PGP only)
4840
4841
4842 .TP
4843 .B pgp_timeout
4844 .nf
4845 Type: number (long)
4846 Default: 300
4847 .fi
4848 .IP
4849 The number of seconds after which a cached passphrase will expire if
4850 not used.
4851 (PGP only)
4852
4853
4854 .TP
4855 .B pgp_use_gpg_agent
4856 .nf
4857 Type: boolean
4858 Default: yes
4859 .fi
4860 .IP
4861 If \fIset\fP, mutt expects a \fBgpg\-agent(1)\fP process will handle
4862 private key passphrase prompts.  If \fIunset\fP, mutt will prompt
4863 for the passphrase and pass it via stdin to the pgp command.
4864 .IP
4865 Note that as of version 2.1, GnuPG automatically spawns an agent
4866 and requires the agent be used for passphrase management.  Since
4867 that version is increasingly prevalent, this variable now
4868 defaults \fIset\fP.
4869 .IP
4870 Mutt works with a GUI or curses pinentry program.  A TTY pinentry
4871 should not be used.
4872 .IP
4873 If you are using an older version of GnuPG without an agent running,
4874 or another encryption program without an agent, you will need to
4875 \fIunset\fP this variable.
4876 (PGP only)
4877
4878
4879 .TP
4880 .B pgp_verify_command
4881 .nf
4882 Type: string
4883 Default: \(lq\(rq
4884 .fi
4885 .IP
4886 This command is used to verify PGP signatures.
4887 .IP
4888 This is a format string, see the $pgp_decode_command command for
4889 possible \fBprintf(3)\fP\-like sequences.
4890 (PGP only)
4891
4892
4893 .TP
4894 .B pgp_verify_key_command
4895 .nf
4896 Type: string
4897 Default: \(lq\(rq
4898 .fi
4899 .IP
4900 This command is used to verify key information from the key selection
4901 menu.
4902 .IP
4903 This is a format string, see the $pgp_decode_command command for
4904 possible \fBprintf(3)\fP\-like sequences.
4905 (PGP only)
4906
4907
4908 .TP
4909 .B pipe_decode
4910 .nf
4911 Type: boolean
4912 Default: no
4913 .fi
4914 .IP
4915 Used in connection with the \fB<pipe\-message>\fP function.  When \fIunset\fP,
4916 Mutt will pipe the messages without any preprocessing. When \fIset\fP, Mutt
4917 will attempt to decode the messages first.
4918 .IP
4919 Also see $pipe_decode_weed, which controls whether headers will
4920 be weeded when this is \fIset\fP.
4921
4922
4923 .TP
4924 .B pipe_decode_weed
4925 .nf
4926 Type: boolean
4927 Default: yes
4928 .fi
4929 .IP
4930 For \fB<pipe\-message>\fP, when $pipe_decode is set, this further
4931 controls whether Mutt will weed headers.
4932
4933
4934 .TP
4935 .B pipe_sep
4936 .nf
4937 Type: string
4938 Default: \(lq\\n\(rq
4939 .fi
4940 .IP
4941 The separator to add between messages when piping a list of tagged
4942 messages to an external Unix command.
4943
4944
4945 .TP
4946 .B pipe_split
4947 .nf
4948 Type: boolean
4949 Default: no
4950 .fi
4951 .IP
4952 Used in connection with the \fB<pipe\-message>\fP function following
4953 \fB<tag\-prefix>\fP.  If this variable is \fIunset\fP, when piping a list of
4954 tagged messages Mutt will concatenate the messages and will pipe them
4955 all concatenated.  When \fIset\fP, Mutt will pipe the messages one by one.
4956 In both cases the messages are piped in the current sorted order,
4957 and the $pipe_sep separator is added after each message.
4958
4959
4960 .TP
4961 .B pop_auth_try_all
4962 .nf
4963 Type: boolean
4964 Default: yes
4965 .fi
4966 .IP
4967 If \fIset\fP, Mutt will try all available authentication methods.
4968 When \fIunset\fP, Mutt will only fall back to other authentication
4969 methods if the previous methods are unavailable. If a method is
4970 available but authentication fails, Mutt will not connect to the POP server.
4971
4972
4973 .TP
4974 .B pop_authenticators
4975 .nf
4976 Type: string
4977 Default: \(lq\(rq
4978 .fi
4979 .IP
4980 This is a colon\-delimited list of authentication methods mutt may
4981 attempt to use to log in to an POP server, in the order mutt should
4982 try them.  Authentication methods are either \(lquser\(rq, \(lqapop\(rq or any
4983 SASL mechanism, e.g. \(lqdigest\-md5\(rq, \(lqgssapi\(rq or \(lqcram\-md5\(rq.
4984 This option is case\-insensitive. If this option is \fIunset\fP
4985 (the default) mutt will try all available methods, in order from
4986 most\-secure to least\-secure.
4987 .IP
4988 Example:
4989
4990 .IP
4991 .EX
4992 set pop_authenticators=\(rqdigest\-md5:apop:user\(rq
4993
4994 .EE
4995
4996
4997 .TP
4998 .B pop_checkinterval
4999 .nf
5000 Type: number
5001 Default: 60
5002 .fi
5003 .IP
5004 This variable configures how often (in seconds) mutt should look for
5005 new mail in the currently selected mailbox if it is a POP mailbox.
5006
5007
5008 .TP
5009 .B pop_delete
5010 .nf
5011 Type: quadoption
5012 Default: ask\-no
5013 .fi
5014 .IP
5015 If \fIset\fP, Mutt will delete successfully downloaded messages from the POP
5016 server when using the \fB<fetch-mail>\fP function.  When \fIunset\fP, Mutt will
5017 download messages but also leave them on the POP server.
5018
5019
5020 .TP
5021 .B pop_host
5022 .nf
5023 Type: string
5024 Default: \(lq\(rq
5025 .fi
5026 .IP
5027 The name of your POP server for the \fB<fetch-mail>\fP function.  You
5028 can also specify an alternative port, username and password, i.e.:
5029
5030 .IP
5031 .EX
5032 [pop[s]://][username[:password]@]popserver[:port]
5033
5034 .EE
5035 .IP
5036 where \(lq[...]\(rq denotes an optional part.
5037
5038
5039 .TP
5040 .B pop_last
5041 .nf
5042 Type: boolean
5043 Default: no
5044 .fi
5045 .IP
5046 If this variable is \fIset\fP, mutt will try to use the \(lq\fBLAST\fP\(rq POP command
5047 for retrieving only unread messages from the POP server when using
5048 the \fB<fetch-mail>\fP function.
5049
5050
5051 .TP
5052 .B pop_oauth_refresh_command
5053 .nf
5054 Type: string
5055 Default: \(lq\(rq
5056 .fi
5057 .IP
5058 The command to run to generate an OAUTH refresh token for
5059 authorizing your connection to your POP server.  This command will be
5060 run on every connection attempt that uses the OAUTHBEARER authentication
5061 mechanism.  See \(lqoauth\(rq for details.
5062
5063
5064 .TP
5065 .B pop_pass
5066 .nf
5067 Type: string
5068 Default: \(lq\(rq
5069 .fi
5070 .IP
5071 Specifies the password for your POP account.  If \fIunset\fP, Mutt will
5072 prompt you for your password when you open a POP mailbox.
5073 .IP
5074 \fBWarning\fP: you should only use this option when you are on a
5075 fairly secure machine, because the superuser can read your muttrc
5076 even if you are the only one who can read the file.
5077
5078
5079 .TP
5080 .B pop_reconnect
5081 .nf
5082 Type: quadoption
5083 Default: ask\-yes
5084 .fi
5085 .IP
5086 Controls whether or not Mutt will try to reconnect to the POP server if
5087 the connection is lost.
5088
5089
5090 .TP
5091 .B pop_user
5092 .nf
5093 Type: string
5094 Default: \(lq\(rq
5095 .fi
5096 .IP
5097 Your login name on the POP server.
5098 .IP
5099 This variable defaults to your user name on the local machine.
5100
5101
5102 .TP
5103 .B post_indent_string
5104 .nf
5105 Type: string
5106 Default: \(lq\(rq
5107 .fi
5108 .IP
5109 Similar to the $attribution variable, Mutt will append this
5110 string after the inclusion of a message which is being replied to.
5111 For a full listing of defined \fBprintf(3)\fP\-like sequences see
5112 the section on $index_format.
5113
5114
5115 .TP
5116 .B postpone
5117 .nf
5118 Type: quadoption
5119 Default: ask\-yes
5120 .fi
5121 .IP
5122 Controls whether or not messages are saved in the $postponed
5123 mailbox when you elect not to send immediately.
5124 .IP
5125 Also see the $recall variable.
5126
5127
5128 .TP
5129 .B postponed
5130 .nf
5131 Type: path
5132 Default: \(lq~/postponed\(rq
5133 .fi
5134 .IP
5135 Mutt allows you to indefinitely \(lqpostpone sending a message\(rq which
5136 you are editing.  When you choose to postpone a message, Mutt saves it
5137 in the mailbox specified by this variable.
5138 .IP
5139 Also see the $postpone variable.
5140
5141
5142 .TP
5143 .B postpone_encrypt
5144 .nf
5145 Type: boolean
5146 Default: no
5147 .fi
5148 .IP
5149 When \fIset\fP, postponed messages that are marked for encryption will be
5150 self\-encrypted.  Mutt will first try to encrypt using the value specified
5151 in $pgp_default_key or $smime_default_key.  If those are not
5152 set, it will try the deprecated $postpone_encrypt_as.
5153 (Crypto only)
5154
5155
5156 .TP
5157 .B postpone_encrypt_as
5158 .nf
5159 Type: string
5160 Default: \(lq\(rq
5161 .fi
5162 .IP
5163 This is a deprecated fall\-back variable for $postpone_encrypt.
5164 Please use $pgp_default_key or $smime_default_key.
5165 (Crypto only)
5166
5167
5168 .TP
5169 .B preconnect
5170 .nf
5171 Type: string
5172 Default: \(lq\(rq
5173 .fi
5174 .IP
5175 If \fIset\fP, a shell command to be executed if mutt fails to establish
5176 a connection to the server. This is useful for setting up secure
5177 connections, e.g. with \fBssh(1)\fP. If the command returns a  nonzero
5178 status, mutt gives up opening the server. Example:
5179
5180 .IP
5181 .EX
5182 set preconnect=\(rqssh \-f \-q \-L 1234:mailhost.net:143 mailhost.net \\
5183 sleep 20 < /dev/null > /dev/null\(rq
5184
5185 .EE
5186 .IP
5187 Mailbox \(lqfoo\(rq on \(lqmailhost.net\(rq can now be reached
5188 as \(lq{localhost:1234}foo\(rq.
5189 .IP
5190 Note: For this example to work, you must be able to log in to the
5191 remote machine without having to enter a password.
5192
5193
5194 .TP
5195 .B print
5196 .nf
5197 Type: quadoption
5198 Default: ask\-no
5199 .fi
5200 .IP
5201 Controls whether or not Mutt really prints messages.
5202 This is set to \(lqask\-no\(rq by default, because some people
5203 accidentally hit \(lqp\(rq often.
5204
5205
5206 .TP
5207 .B print_command
5208 .nf
5209 Type: path
5210 Default: \(lqlpr\(rq
5211 .fi
5212 .IP
5213 This specifies the command pipe that should be used to print messages.
5214
5215
5216 .TP
5217 .B print_decode
5218 .nf
5219 Type: boolean
5220 Default: yes
5221 .fi
5222 .IP
5223 Used in connection with the \fB<print\-message>\fP function.  If this
5224 option is \fIset\fP, the message is decoded before it is passed to the
5225 external command specified by $print_command.  If this option
5226 is \fIunset\fP, no processing will be applied to the message when
5227 printing it.  The latter setting may be useful if you are using
5228 some advanced printer filter which is able to properly format
5229 e\-mail messages for printing.
5230 .IP
5231 Also see $print_decode_weed, which controls whether headers will
5232 be weeded when this is \fIset\fP.
5233
5234
5235 .TP
5236 .B print_decode_weed
5237 .nf
5238 Type: boolean
5239 Default: yes
5240 .fi
5241 .IP
5242 For \fB<print\-message>\fP, when $print_decode is set, this
5243 further controls whether Mutt will weed headers.
5244
5245
5246 .TP
5247 .B print_split
5248 .nf
5249 Type: boolean
5250 Default: no
5251 .fi
5252 .IP
5253 Used in connection with the \fB<print\-message>\fP function.  If this option
5254 is \fIset\fP, the command specified by $print_command is executed once for
5255 each message which is to be printed.  If this option is \fIunset\fP,
5256 the command specified by $print_command is executed only once, and
5257 all the messages are concatenated, with a form feed as the message
5258 separator.
5259 .IP
5260 Those who use the \fBenscript\fP(1) program's mail\-printing mode will
5261 most likely want to \fIset\fP this option.
5262
5263
5264 .TP
5265 .B prompt_after
5266 .nf
5267 Type: boolean
5268 Default: yes
5269 .fi
5270 .IP
5271 If you use an \fIexternal\fP $pager, setting this variable will
5272 cause Mutt to prompt you for a command when the pager exits rather
5273 than returning to the index menu.  If \fIunset\fP, Mutt will return to the
5274 index menu when the external pager exits.
5275
5276
5277 .TP
5278 .B query_command
5279 .nf
5280 Type: path
5281 Default: \(lq\(rq
5282 .fi
5283 .IP
5284 This specifies the command Mutt will use to make external address
5285 queries.  The string may contain a \(lq%s\(rq, which will be substituted
5286 with the query string the user types.  Mutt will add quotes around the
5287 string substituted for \(lq%s\(rq automatically according to shell quoting
5288 rules, so you should avoid adding your own.  If no \(lq%s\(rq is found in
5289 the string, Mutt will append the user's query to the end of the string.
5290 See \(lqquery\(rq for more information.
5291
5292
5293 .TP
5294 .B query_format
5295 .nf
5296 Type: string
5297 Default: \(lq%4c %t %\-25.25a %\-25.25n %?e?(%e)?\(rq
5298 .fi
5299 .IP
5300 This variable describes the format of the \(lqquery\(rq menu. The
5301 following \fBprintf(3)\fP\-style sequences are understood:
5302 .RS
5303 .PD 0
5304 .TP
5305 %a  
5306 destination address
5307 .TP
5308 %c  
5309 current entry number
5310 .TP
5311 %e  
5312 extra information *
5313 .TP
5314 %n  
5315 destination name
5316 .TP
5317 %t  
5318 \(lq*\(rq if current entry is tagged, a space otherwise
5319 .TP
5320 %>X 
5321 right justify the rest of the string and pad with \(lqX\(rq
5322 .TP
5323 %|X 
5324 pad to the end of the line with \(lqX\(rq
5325 .TP
5326 %*X 
5327 soft\-fill with character \(lqX\(rq as pad
5328 .RE
5329 .PD 1
5330 .IP
5331 For an explanation of \(lqsoft\-fill\(rq, see the $index_format documentation.
5332 .IP
5333 * = can be optionally printed if nonzero, see the $status_format documentation.
5334
5335
5336 .TP
5337 .B quit
5338 .nf
5339 Type: quadoption
5340 Default: yes
5341 .fi
5342 .IP
5343 This variable controls whether \(lqquit\(rq and \(lqexit\(rq actually quit
5344 from mutt.  If this option is \fIset\fP, they do quit, if it is \fIunset\fP, they
5345 have no effect, and if it is set to \fIask\-yes\fP or \fIask\-no\fP, you are
5346 prompted for confirmation when you try to quit.
5347
5348
5349 .TP
5350 .B quote_regexp
5351 .nf
5352 Type: regular expression
5353 Default: \(lq^([ \\t]*[|>:}#])+\(rq
5354 .fi
5355 .IP
5356 A regular expression used in the internal pager to determine quoted
5357 sections of text in the body of a message. Quoted text may be filtered
5358 out using the \fB<toggle\-quoted>\fP command, or colored according to the
5359 \(lqcolor quoted\(rq family of directives.
5360 .IP
5361 Higher levels of quoting may be colored differently (\(lqcolor quoted1\(rq,
5362 \(lqcolor quoted2\(rq, etc.). The quoting level is determined by removing
5363 the last character from the matched text and recursively reapplying
5364 the regular expression until it fails to produce a match.
5365 .IP
5366 Match detection may be overridden by the $smileys regular expression.
5367
5368
5369 .TP
5370 .B read_inc
5371 .nf
5372 Type: number
5373 Default: 10
5374 .fi
5375 .IP
5376 If set to a value greater than 0, Mutt will display which message it
5377 is currently on when reading a mailbox or when performing search actions
5378 such as search and limit. The message is printed after
5379 this many messages have been read or searched (e.g., if set to 25, Mutt will
5380 print a message when it is at message 25, and then again when it gets
5381 to message 50).  This variable is meant to indicate progress when
5382 reading or searching large mailboxes which may take some time.
5383 When set to 0, only a single message will appear before the reading
5384 the mailbox.
5385 .IP
5386 Also see the $write_inc, $net_inc and $time_inc variables and the
5387 \(lqtuning\(rq section of the manual for performance considerations.
5388
5389
5390 .TP
5391 .B read_only
5392 .nf
5393 Type: boolean
5394 Default: no
5395 .fi
5396 .IP
5397 If \fIset\fP, all folders are opened in read\-only mode.
5398
5399
5400 .TP
5401 .B realname
5402 .nf
5403 Type: string
5404 Default: \(lq\(rq
5405 .fi
5406 .IP
5407 This variable specifies what \(lqreal\(rq or \(lqpersonal\(rq name should be used
5408 when sending messages.
5409 .IP
5410 By default, this is the GECOS field from \fB/etc/passwd\fP.  Note that this
5411 variable will \fInot\fP be used when the user has set a real name
5412 in the $from variable.
5413
5414
5415 .TP
5416 .B recall
5417 .nf
5418 Type: quadoption
5419 Default: ask\-yes
5420 .fi
5421 .IP
5422 Controls whether or not Mutt recalls postponed messages
5423 when composing a new message.
5424 .IP
5425 Setting this variable to \fIyes\fP is not generally useful, and thus not
5426 recommended.  Note that the \fB<recall\-message>\fP function can be used
5427 to manually recall postponed messages.
5428 .IP
5429 Also see $postponed variable.
5430
5431
5432 .TP
5433 .B record
5434 .nf
5435 Type: path
5436 Default: \(lq~/sent\(rq
5437 .fi
5438 .IP
5439 This specifies the file into which your outgoing messages should be
5440 appended.  (This is meant as the primary method for saving a copy of
5441 your messages, but another way to do this is using the \(lqmy_hdr\(rq
5442 command to create a \(lqBcc:\(rq field with your email address in it.)
5443 .IP
5444 The value of \fI$record\fP is overridden by the $force_name and
5445 $save_name variables, and the \(lqfcc-hook\(rq command.  Also see $copy
5446 and $write_bcc.
5447 .IP
5448 Multiple mailboxes may be specified if $fcc_delimiter is
5449 set to a string delimiter.
5450
5451
5452 .TP
5453 .B reflow_space_quotes
5454 .nf
5455 Type: boolean
5456 Default: yes
5457 .fi
5458 .IP
5459 This option controls how quotes from format=flowed messages are displayed
5460 in the pager and when replying (with $text_flowed \fIunset\fP).
5461 When set, this option adds spaces after each level of quote marks, turning
5462 \(rq>>>foo\(rq into \(rq> > > foo\(rq.
5463 .IP
5464 \fBNote:\fP If $reflow_text is \fIunset\fP, this option has no effect.
5465 Also, this option does not affect replies when $text_flowed is \fIset\fP.
5466
5467
5468 .TP
5469 .B reflow_text
5470 .nf
5471 Type: boolean
5472 Default: yes
5473 .fi
5474 .IP
5475 When \fIset\fP, Mutt will reformat paragraphs in text/plain
5476 parts marked format=flowed.  If \fIunset\fP, Mutt will display paragraphs
5477 unaltered from how they appear in the message body.  See RFC3676 for
5478 details on the \fIformat=flowed\fP format.
5479 .IP
5480 Also see $reflow_wrap, and $wrap.
5481
5482
5483 .TP
5484 .B reflow_wrap
5485 .nf
5486 Type: number
5487 Default: 78
5488 .fi
5489 .IP
5490 This variable controls the maximum paragraph width when reformatting text/plain
5491 parts when $reflow_text is \fIset\fP.  When the value is 0, paragraphs will
5492 be wrapped at the terminal's right margin.  A positive value sets the
5493 paragraph width relative to the left margin.  A negative value set the
5494 paragraph width relative to the right margin.
5495 .IP
5496 Also see $wrap.
5497
5498
5499 .TP
5500 .B reply_regexp
5501 .nf
5502 Type: regular expression
5503 Default: \(lq^(re([\\[0\-9\\]+])*|aw):[ \\t]*\(rq
5504 .fi
5505 .IP
5506 A regular expression used to recognize reply messages when threading
5507 and replying. The default value corresponds to the English \(rqRe:\(rq and
5508 the German \(rqAw:\(rq.
5509
5510
5511 .TP
5512 .B reply_self
5513 .nf
5514 Type: boolean
5515 Default: no
5516 .fi
5517 .IP
5518 If \fIunset\fP and you are replying to a message sent by you, Mutt will
5519 assume that you want to reply to the recipients of that message rather
5520 than to yourself.
5521 .IP
5522 Also see the \(lqalternates\(rq command.
5523
5524
5525 .TP
5526 .B reply_to
5527 .nf
5528 Type: quadoption
5529 Default: ask\-yes
5530 .fi
5531 .IP
5532 If \fIset\fP, when replying to a message, Mutt will use the address listed
5533 in the Reply\-to: header as the recipient of the reply.  If \fIunset\fP,
5534 it will use the address in the From: header field instead.  This
5535 option is useful for reading a mailing list that sets the Reply\-To:
5536 header field to the list address and you want to send a private
5537 message to the author of a message.
5538
5539
5540 .TP
5541 .B resolve
5542 .nf
5543 Type: boolean
5544 Default: yes
5545 .fi
5546 .IP
5547 When \fIset\fP, the cursor will be automatically advanced to the next
5548 (possibly undeleted) message whenever a command that modifies the
5549 current message is executed.
5550
5551
5552 .TP
5553 .B resume_draft_files
5554 .nf
5555 Type: boolean
5556 Default: no
5557 .fi
5558 .IP
5559 If \fIset\fP, draft files (specified by \fB\-H\fP on the command
5560 line) are processed similarly to when resuming a postponed
5561 message.  Recipients are not prompted for; send\-hooks are not
5562 evaluated; no alias expansion takes place; user\-defined headers
5563 and signatures are not added to the message.
5564
5565
5566 .TP
5567 .B resume_edited_draft_files
5568 .nf
5569 Type: boolean
5570 Default: yes
5571 .fi
5572 .IP
5573 If \fIset\fP, draft files previously edited (via \fB\-E \-H\fP on
5574 the command line) will have $resume_draft_files automatically
5575 set when they are used as a draft file again.
5576 .IP
5577 The first time a draft file is saved, mutt will add a header,
5578 X\-Mutt\-Resume\-Draft to the saved file.  The next time the draft
5579 file is read in, if mutt sees the header, it will set
5580 $resume_draft_files.
5581 .IP
5582 This option is designed to prevent multiple signatures,
5583 user\-defined headers, and other processing effects from being
5584 made multiple times to the draft file.
5585
5586
5587 .TP
5588 .B reverse_alias
5589 .nf
5590 Type: boolean
5591 Default: no
5592 .fi
5593 .IP
5594 This variable controls whether or not Mutt will display the \(lqpersonal\(rq
5595 name from your aliases in the index menu if it finds an alias that
5596 matches the message's sender.  For example, if you have the following
5597 alias:
5598
5599 .IP
5600 .EX
5601 alias juser abd30425@somewhere.net (Joe User)
5602
5603 .EE
5604 .IP
5605 and then you receive mail which contains the following header:
5606
5607 .IP
5608 .EX
5609 From: abd30425@somewhere.net
5610
5611 .EE
5612 .IP
5613 It would be displayed in the index menu as \(lqJoe User\(rq instead of
5614 \(lqabd30425@somewhere.net.\(rq  This is useful when the person's e\-mail
5615 address is not human friendly.
5616
5617
5618 .TP
5619 .B reverse_name
5620 .nf
5621 Type: boolean
5622 Default: no
5623 .fi
5624 .IP
5625 It may sometimes arrive that you receive mail to a certain machine,
5626 move the messages to another machine, and reply to some the messages
5627 from there.  If this variable is \fIset\fP, the default \fIFrom:\fP line of
5628 the reply messages is built using the address where you received the
5629 messages you are replying to \fBif\fP that address matches your
5630 \(lqalternates\(rq.  If the variable is \fIunset\fP, or the address that would be
5631 used doesn't match your \(lqalternates\(rq, the \fIFrom:\fP line will use
5632 your address on the current machine.
5633 .IP
5634 Also see the \(lqalternates\(rq command and $reverse_realname.
5635
5636
5637 .TP
5638 .B reverse_realname
5639 .nf
5640 Type: boolean
5641 Default: yes
5642 .fi
5643 .IP
5644 This variable fine\-tunes the behavior of the $reverse_name feature.
5645 .IP
5646 When it is \fIunset\fP, Mutt will remove the real name part of a
5647 matching address.  This allows the use of the email address
5648 without having to also use what the sender put in the real name
5649 field.
5650 .IP
5651 When it is \fIset\fP, Mutt will use the matching address as\-is.
5652 .IP
5653 In either case, a missing real name will be filled in afterwards
5654 using the value of $realname.
5655
5656
5657 .TP
5658 .B rfc2047_parameters
5659 .nf
5660 Type: boolean
5661 Default: no
5662 .fi
5663 .IP
5664 When this variable is \fIset\fP, Mutt will decode RFC2047\-encoded MIME
5665 parameters. You want to set this variable when mutt suggests you
5666 to save attachments to files named like:
5667
5668 .IP
5669 .EX
5670 =?iso\-8859\-1?Q?file=5F=E4=5F991116=2Ezip?=
5671
5672 .EE
5673 .IP
5674 When this variable is \fIset\fP interactively, the change won't be
5675 active until you change folders.
5676 .IP
5677 Note that this use of RFC2047's encoding is explicitly
5678 prohibited by the standard, but nevertheless encountered in the
5679 wild.
5680 .IP
5681 Also note that setting this parameter will \fInot\fP have the effect
5682 that mutt \fIgenerates\fP this kind of encoding.  Instead, mutt will
5683 unconditionally use the encoding specified in RFC2231.
5684
5685
5686 .TP
5687 .B save_address
5688 .nf
5689 Type: boolean
5690 Default: no
5691 .fi
5692 .IP
5693 If \fIset\fP, mutt will take the sender's full address when choosing a
5694 default folder for saving a mail. If $save_name or $force_name
5695 is \fIset\fP too, the selection of the Fcc folder will be changed as well.
5696
5697
5698 .TP
5699 .B save_empty
5700 .nf
5701 Type: boolean
5702 Default: yes
5703 .fi
5704 .IP
5705 When \fIunset\fP, mailboxes which contain no saved messages will be removed
5706 when closed (the exception is $spoolfile which is never removed).
5707 If \fIset\fP, mailboxes are never removed.
5708 .IP
5709 \fBNote:\fP This only applies to mbox and MMDF folders, Mutt does not
5710 delete MH and Maildir directories.
5711
5712
5713 .TP
5714 .B save_history
5715 .nf
5716 Type: number
5717 Default: 0
5718 .fi
5719 .IP
5720 This variable controls the size of the history (per category) saved in the
5721 $history_file file.
5722
5723
5724 .TP
5725 .B save_name
5726 .nf
5727 Type: boolean
5728 Default: no
5729 .fi
5730 .IP
5731 This variable controls how copies of outgoing messages are saved.
5732 When \fIset\fP, a check is made to see if a mailbox specified by the
5733 recipient address exists (this is done by searching for a mailbox in
5734 the $folder directory with the \fIusername\fP part of the
5735 recipient address).  If the mailbox exists, the outgoing message will
5736 be saved to that mailbox, otherwise the message is saved to the
5737 $record mailbox.
5738 .IP
5739 Also see the $force_name variable.
5740
5741
5742 .TP
5743 .B score
5744 .nf
5745 Type: boolean
5746 Default: yes
5747 .fi
5748 .IP
5749 When this variable is \fIunset\fP, scoring is turned off.  This can
5750 be useful to selectively disable scoring for certain folders when the
5751 $score_threshold_delete variable and related are used.
5752
5753
5754 .TP
5755 .B score_threshold_delete
5756 .nf
5757 Type: number
5758 Default: \-1
5759 .fi
5760 .IP
5761 Messages which have been assigned a score equal to or lower than the value
5762 of this variable are automatically marked for deletion by mutt.  Since
5763 mutt scores are always greater than or equal to zero, the default setting
5764 of this variable will never mark a message for deletion.
5765
5766
5767 .TP
5768 .B score_threshold_flag
5769 .nf
5770 Type: number
5771 Default: 9999
5772 .fi
5773 .IP
5774 Messages which have been assigned a score greater than or equal to this
5775 variable's value are automatically marked \(rqflagged\(rq.
5776
5777
5778 .TP
5779 .B score_threshold_read
5780 .nf
5781 Type: number
5782 Default: \-1
5783 .fi
5784 .IP
5785 Messages which have been assigned a score equal to or lower than the value
5786 of this variable are automatically marked as read by mutt.  Since
5787 mutt scores are always greater than or equal to zero, the default setting
5788 of this variable will never mark a message read.
5789
5790
5791 .TP
5792 .B search_context
5793 .nf
5794 Type: number
5795 Default: 0
5796 .fi
5797 .IP
5798 For the pager, this variable specifies the number of lines shown
5799 before search results. By default, search results will be top\-aligned.
5800
5801
5802 .TP
5803 .B send_charset
5804 .nf
5805 Type: string
5806 Default: \(lqus\-ascii:iso\-8859\-1:utf\-8\(rq
5807 .fi
5808 .IP
5809 A colon\-delimited list of character sets for outgoing messages. Mutt will use the
5810 first character set into which the text can be converted exactly.
5811 If your $charset is not \(lqiso\-8859\-1\(rq and recipients may not
5812 understand \(lqUTF\-8\(rq, it is advisable to include in the list an
5813 appropriate widely used standard character set (such as
5814 \(lqiso\-8859\-2\(rq, \(lqkoi8\-r\(rq or \(lqiso\-2022\-jp\(rq) either instead of or after
5815 \(lqiso\-8859\-1\(rq.
5816 .IP
5817 In case the text cannot be converted into one of these exactly,
5818 mutt uses $charset as a fallback.
5819
5820
5821 .TP
5822 .B send_multipart_alternative
5823 .nf
5824 Type: quadoption
5825 Default: no
5826 .fi
5827 .IP
5828 If \fIset\fP, Mutt will generate a multipart/alternative
5829 container and an alternative part using the filter script specified in
5830 $send_multipart_alternative_filter.
5831 See the section \(lqMIME Multipart/Alternative\(rq (alternative-order).
5832 .IP
5833 Note that enabling multipart/alternative is not compatible with inline
5834 PGP encryption.  Mutt will prompt to use PGP/MIME in that case.
5835
5836
5837 .TP
5838 .B send_multipart_alternative_filter
5839 .nf
5840 Type: path
5841 Default: \(lq\(rq
5842 .fi
5843 .IP
5844 This specifies a filter script, which will convert the main
5845 (composed) message of the email to an alternative format.  The
5846 message will be piped to the filter's stdin.  The expected output
5847 of the filter is the generated mime type, e.g. text/html,
5848 followed by a blank line, and then the converted content.
5849 See the section \(lqMIME Multipart/Alternative\(rq (alternative-order).
5850
5851
5852 .TP
5853 .B sendmail
5854 .nf
5855 Type: path
5856 Default: \(lq/usr/sbin/sendmail \-oem \-oi\(rq
5857 .fi
5858 .IP
5859 Specifies the program and arguments used to deliver mail sent by Mutt.
5860 Mutt expects that the specified program interprets additional
5861 arguments as recipient addresses.  Mutt appends all recipients after
5862 adding a \fB\-\-\fP delimiter (if not already present).  Additional
5863 flags, such as for $use_8bitmime, $use_envelope_from,
5864 $dsn_notify, or $dsn_return will be added before the delimiter.
5865 .IP
5866 \fBSee also:\fP $write_bcc.
5867
5868
5869 .TP
5870 .B sendmail_wait
5871 .nf
5872 Type: number
5873 Default: 0
5874 .fi
5875 .IP
5876 Specifies the number of seconds to wait for the $sendmail process
5877 to finish before giving up and putting delivery in the background.
5878 .IP
5879 Mutt interprets the value of this variable as follows:
5880 .RS
5881 .PD 0
5882 .TP
5883 >0 
5884 number of seconds to wait for sendmail to finish before continuing
5885 .TP
5886 0  
5887 wait forever for sendmail to finish
5888 .TP
5889 <0 
5890 always put sendmail in the background without waiting
5891 .RE
5892 .PD 1
5893 .IP
5894 Note that if you specify a value other than 0, the output of the child
5895 process will be put in a temporary file.  If there is some error, you
5896 will be informed as to where to find the output.
5897
5898
5899 .TP
5900 .B shell
5901 .nf
5902 Type: path
5903 Default: \(lq\(rq
5904 .fi
5905 .IP
5906 Command to use when spawning a subshell.  By default, the user's login
5907 shell from \fB/etc/passwd\fP is used.
5908
5909
5910 .TP
5911 .B sidebar_delim_chars
5912 .nf
5913 Type: string
5914 Default: \(lq/.\(rq
5915 .fi
5916 .IP
5917 This contains the list of characters which you would like to treat
5918 as folder separators for displaying paths in the sidebar.
5919 .IP
5920 Local mail is often arranged in directories: `dir1/dir2/mailbox'.
5921
5922 .IP
5923 .EX
5924 set sidebar_delim_chars='/'
5925
5926 .EE
5927 .IP
5928 IMAP mailboxes are often named: `folder1.folder2.mailbox'.
5929
5930 .IP
5931 .EX
5932 set sidebar_delim_chars='.'
5933
5934 .EE
5935 .IP
5936 \fBSee also:\fP $sidebar_short_path, $sidebar_folder_indent, $sidebar_indent_string.
5937
5938
5939 .TP
5940 .B sidebar_divider_char
5941 .nf
5942 Type: string
5943 Default: \(lq|\(rq
5944 .fi
5945 .IP
5946 This specifies the characters to be drawn between the sidebar (when
5947 visible) and the other Mutt panels. ASCII and Unicode line\-drawing
5948 characters are supported.
5949
5950
5951 .TP
5952 .B sidebar_folder_indent
5953 .nf
5954 Type: boolean
5955 Default: no
5956 .fi
5957 .IP
5958 Set this to indent mailboxes in the sidebar.
5959 .IP
5960 \fBSee also:\fP $sidebar_short_path, $sidebar_indent_string, $sidebar_delim_chars.
5961
5962
5963 .TP
5964 .B sidebar_format
5965 .nf
5966 Type: string
5967 Default: \(lq%B%*  %n\(rq
5968 .fi
5969 .IP
5970 This variable allows you to customize the sidebar display. This string is
5971 similar to $index_format, but has its own set of \fBprintf(3)\fP\-like
5972 sequences:
5973 .RS
5974 .PD 0
5975 .TP
5976 %B  
5977 Name of the mailbox
5978 .TP
5979 %S  
5980 * Size of mailbox (total number of messages)
5981 .TP
5982 %N  
5983 * Number of unread messages in the mailbox
5984 .TP
5985 %n  
5986 N if mailbox has new mail, blank otherwise
5987 .TP
5988 %F  
5989 * Number of Flagged messages in the mailbox
5990 .TP
5991 %!  
5992 \(lq!\(rq : one flagged message;
5993 \(lq!!\(rq : two flagged messages;
5994 \(lqn!\(rq : n flagged messages (for n > 2).
5995 Otherwise prints nothing.
5996 .TP
5997 %d  
5998 * @ Number of deleted messages
5999 .TP
6000 %L  
6001 * @ Number of messages after limiting
6002 .TP
6003 %t  
6004 * @ Number of tagged messages
6005 .TP
6006 %>X 
6007 right justify the rest of the string and pad with \(lqX\(rq
6008 .TP
6009 %|X 
6010 pad to the end of the line with \(lqX\(rq
6011 .TP
6012 %*X 
6013 soft\-fill with character \(lqX\(rq as pad
6014 .RE
6015 .PD 1
6016 .IP
6017 * = Can be optionally printed if nonzero
6018 @ = Only applicable to the current folder
6019 .IP
6020 In order to use %S, %N, %F, and %!, $mail_check_stats must
6021 be \fIset\fP.  When thus set, a suggested value for this option is
6022 \(rq%B%?F? [%F]?%* %?N?%N/?%S\(rq.
6023
6024
6025 .TP
6026 .B sidebar_indent_string
6027 .nf
6028 Type: string
6029 Default: \(lq  \(rq
6030 .fi
6031 .IP
6032 This specifies the string that is used to indent mailboxes in the sidebar.
6033 It defaults to two spaces.
6034 .IP
6035 \fBSee also:\fP $sidebar_short_path, $sidebar_folder_indent, $sidebar_delim_chars.
6036
6037
6038 .TP
6039 .B sidebar_new_mail_only
6040 .nf
6041 Type: boolean
6042 Default: no
6043 .fi
6044 .IP
6045 When set, the sidebar will only display mailboxes containing new, or
6046 flagged, mail.
6047 .IP
6048 \fBSee also:\fP sidebar_whitelist.
6049
6050
6051 .TP
6052 .B sidebar_next_new_wrap
6053 .nf
6054 Type: boolean
6055 Default: no
6056 .fi
6057 .IP
6058 When set, the \fB<sidebar\-next\-new>\fP command will not stop and the end of
6059 the list of mailboxes, but wrap around to the beginning. The
6060 \fB<sidebar\-prev\-new>\fP command is similarly affected, wrapping around to
6061 the end of the list.
6062
6063
6064 .TP
6065 .B sidebar_relative_shortpath_indent
6066 .nf
6067 Type: boolean
6068 Default: no
6069 .fi
6070 .IP
6071 When set, this option changes how $sidebar_short_path and
6072 $sidebar_folder_indent perform shortening and indentation: both
6073 will look at the previous sidebar entries and shorten/indent
6074 relative to the most recent parent.
6075 .IP
6076 An example of this option set/unset for mailboxes listed in this
6077 order, with $sidebar_short_path=yes,
6078 $sidebar_folder_indent=yes, and $sidebar_indent_string=\(rq→\(rq:
6079 .RS
6080 .PD 0
6081 .TP
6082 \fBmailbox\fP  
6083 \fBset\fP   
6084 \fBunset\fP
6085 .TP
6086 \fB=a.b\fP     
6087 \fB=a.b\fP  
6088 \fB→b\fP
6089 .TP
6090 \fB=a.b.c.d\fP 
6091 \fB→c.d\fP  
6092 \fB→→→d\fP
6093 .TP
6094 \fB=a.b.e\fP   
6095 \fB→e\fP    
6096 \fB→→e\fP
6097 .RE
6098 .PD 1
6099 .IP
6100 The second line illustrates most clearly.  With this option set,
6101 \fB=a.b.c.d\fP is shortened relative to \fB=a.b\fP, becoming
6102 \fBc.d\fP; it is also indented one place relative to \fB=a.b\fP.
6103 With this option unset \fB=a.b.c.d\fP is always shortened to the
6104 last part of the mailbox, \fBd\fP and is indented three places,
6105 with respect to $folder (represented by '=').
6106 .IP
6107 When set, the third line will also be indented and shortened
6108 relative to the first line.
6109
6110
6111 .TP
6112 .B sidebar_short_path
6113 .nf
6114 Type: boolean
6115 Default: no
6116 .fi
6117 .IP
6118 By default the sidebar will show the mailbox's path, relative to the
6119 $folder variable. Setting \fBsidebar_shortpath=yes\fP will shorten the
6120 names relative to the previous name. Here's an example:
6121 .RS
6122 .PD 0
6123 .TP
6124 \fBshortpath=no\fP 
6125 \fBshortpath=yes\fP 
6126 \fBshortpath=yes, folderindent=yes, indentstr=\(rq..\(rq\fP
6127 .TP
6128 \fBfruit\fP        
6129 \fBfruit\fP         
6130 \fBfruit\fP
6131 .TP
6132 \fBfruit.apple\fP  
6133 \fBapple\fP         
6134 \fB..apple\fP
6135 .TP
6136 \fBfruit.banana\fP 
6137 \fBbanana\fP        
6138 \fB..banana\fP
6139 .TP
6140 \fBfruit.cherry\fP 
6141 \fBcherry\fP        
6142 \fB..cherry\fP
6143 .RE
6144 .PD 1
6145 .IP
6146 \fBSee also:\fP $sidebar_delim_chars, $sidebar_folder_indent, $sidebar_indent_string.
6147
6148
6149 .TP
6150 .B sidebar_sort_method
6151 .nf
6152 Type: sort order
6153 Default: order
6154 .fi
6155 .IP
6156 Specifies how to sort mailbox entries in the sidebar.  By default, the
6157 entries are sorted alphabetically.  Valid values:
6158 .RS
6159 .PD 0
6160 .TP
6161 \(hy alpha (alphabetically)
6162 .TP
6163 \(hy count (all message count)
6164 .TP
6165 \(hy flagged (flagged message count)
6166 .TP
6167 \(hy name (alphabetically)
6168 .TP
6169 \(hy new (unread message count)
6170 .TP
6171 \(hy path (alphabetically)
6172 .TP
6173 \(hy unread (unread message count)
6174 .TP
6175 \(hy unsorted
6176 .RE
6177 .PD 1
6178 .IP
6179 You may optionally use the \(lqreverse\-\(rq prefix to specify reverse sorting
6180 order (example: \(lq\fBset sidebar_sort_method=reverse\-alpha\fP\(rq).
6181
6182
6183 .TP
6184 .B sidebar_use_mailbox_shortcuts
6185 .nf
6186 Type: boolean
6187 Default: no
6188 .fi
6189 .IP
6190 When set, sidebar mailboxes will be displayed with mailbox shortcut prefixes
6191 \(rq=\(rq or \(rq~\(rq.
6192 .IP
6193 When unset, the sidebar will trim off a matching $folder prefix
6194 but otherwise not use mailbox shortcuts.
6195
6196
6197 .TP
6198 .B sidebar_visible
6199 .nf
6200 Type: boolean
6201 Default: no
6202 .fi
6203 .IP
6204 This specifies whether or not to show sidebar. The sidebar shows a list of
6205 all your mailboxes.
6206 .IP
6207 \fBSee also:\fP $sidebar_format, $sidebar_width
6208
6209
6210 .TP
6211 .B sidebar_width
6212 .nf
6213 Type: number
6214 Default: 30
6215 .fi
6216 .IP
6217 This controls the width of the sidebar.  It is measured in screen columns.
6218 For example: sidebar_width=20 could display 20 ASCII characters, or 10
6219 Chinese characters.
6220
6221
6222 .TP
6223 .B sig_dashes
6224 .nf
6225 Type: boolean
6226 Default: yes
6227 .fi
6228 .IP
6229 If \fIset\fP, a line containing \(lq\-\- \(rq (note the trailing space) will be inserted before your
6230 $signature.  It is \fBstrongly\fP recommended that you not \fIunset\fP
6231 this variable unless your signature contains just your name.  The
6232 reason for this is because many software packages use \(lq\-\- \\n\(rq to
6233 detect your signature.  For example, Mutt has the ability to highlight
6234 the signature in a different color in the built\-in pager.
6235
6236
6237 .TP
6238 .B sig_on_top
6239 .nf
6240 Type: boolean
6241 Default: no
6242 .fi
6243 .IP
6244 If \fIset\fP, the signature will be included before any quoted or forwarded
6245 text.  It is \fBstrongly\fP recommended that you do not set this variable
6246 unless you really know what you are doing, and are prepared to take
6247 some heat from netiquette guardians.
6248
6249
6250 .TP
6251 .B signature
6252 .nf
6253 Type: path
6254 Default: \(lq~/.signature\(rq
6255 .fi
6256 .IP
6257 Specifies the filename of your signature, which is appended to all
6258 outgoing messages.   If the filename ends with a pipe (\(lq|\(rq), it is
6259 assumed that filename is a shell command and input should be read from
6260 its standard output.
6261
6262
6263 .TP
6264 .B simple_search
6265 .nf
6266 Type: string
6267 Default: \(lq~f %s | ~s %s\(rq
6268 .fi
6269 .IP
6270 Specifies how Mutt should expand a simple search into a real search
6271 pattern.  A simple search is one that does not contain any of the \(lq~\(rq pattern
6272 modifiers.  See \(lqpatterns\(rq for more information on search patterns.
6273 .IP
6274 For example, if you simply type \(lqjoe\(rq at a search or limit prompt, Mutt
6275 will automatically expand it to the value specified by this variable by
6276 replacing \(lq%s\(rq with the supplied string.
6277 For the default value, \(lqjoe\(rq would be expanded to: \(lq~f joe | ~s joe\(rq.
6278
6279
6280 .TP
6281 .B size_show_bytes
6282 .nf
6283 Type: boolean
6284 Default: no
6285 .fi
6286 .IP
6287 If \fIset\fP, message sizes will display bytes for values less than
6288 1 kilobyte.  See formatstrings-size.
6289
6290
6291 .TP
6292 .B size_show_fractions
6293 .nf
6294 Type: boolean
6295 Default: yes
6296 .fi
6297 .IP
6298 If \fIset\fP, message sizes will be displayed with a single decimal value
6299 for sizes from 0 to 10 kilobytes and 1 to 10 megabytes.
6300 See formatstrings-size.
6301
6302
6303 .TP
6304 .B size_show_mb
6305 .nf
6306 Type: boolean
6307 Default: yes
6308 .fi
6309 .IP
6310 If \fIset\fP, message sizes will display megabytes for values greater than
6311 or equal to 1 megabyte.  See formatstrings-size.
6312
6313
6314 .TP
6315 .B size_units_on_left
6316 .nf
6317 Type: boolean
6318 Default: no
6319 .fi
6320 .IP
6321 If \fIset\fP, message sizes units will be displayed to the left of the number.
6322 See formatstrings-size.
6323
6324
6325 .TP
6326 .B sleep_time
6327 .nf
6328 Type: number
6329 Default: 1
6330 .fi
6331 .IP
6332 Specifies time, in seconds, to pause while displaying certain informational
6333 messages, while moving from folder to folder and after expunging
6334 messages from the current folder.  The default is to pause one second, so
6335 a value of zero for this option suppresses the pause.
6336
6337
6338 .TP
6339 .B smart_wrap
6340 .nf
6341 Type: boolean
6342 Default: yes
6343 .fi
6344 .IP
6345 Controls the display of lines longer than the screen width in the
6346 internal pager. If \fIset\fP, long lines are wrapped at a word boundary.  If
6347 \fIunset\fP, lines are simply wrapped at the screen edge. Also see the
6348 $markers variable.
6349
6350
6351 .TP
6352 .B smileys
6353 .nf
6354 Type: regular expression
6355 Default: \(lq(>From )|(:[\-^]?[][)(><}{|/DP])\(rq
6356 .fi
6357 .IP
6358 The \fIpager\fP uses this variable to catch some common false
6359 positives of $quote_regexp, most notably smileys and not consider
6360 a line quoted text if it also matches $smileys. This mostly
6361 happens at the beginning of a line.
6362
6363
6364 .TP
6365 .B smime_ask_cert_label
6366 .nf
6367 Type: boolean
6368 Default: yes
6369 .fi
6370 .IP
6371 This flag controls whether you want to be asked to enter a label
6372 for a certificate about to be added to the database or not. It is
6373 \fIset\fP by default.
6374 (S/MIME only)
6375
6376
6377 .TP
6378 .B smime_ca_location
6379 .nf
6380 Type: path
6381 Default: \(lq\(rq
6382 .fi
6383 .IP
6384 This variable contains the name of either a directory, or a file which
6385 contains trusted certificates for use with OpenSSL.
6386 (S/MIME only)
6387
6388
6389 .TP
6390 .B smime_certificates
6391 .nf
6392 Type: path
6393 Default: \(lq\(rq
6394 .fi
6395 .IP
6396 Since for S/MIME there is no pubring/secring as with PGP, mutt has to handle
6397 storage and retrieval of keys by itself. This is very basic right
6398 now, and keys and certificates are stored in two different
6399 directories, both named as the hash\-value retrieved from
6400 OpenSSL. There is an index file which contains mailbox\-address
6401 keyid pairs, and which can be manually edited. This option points to
6402 the location of the certificates.
6403 (S/MIME only)
6404
6405
6406 .TP
6407 .B smime_decrypt_command
6408 .nf
6409 Type: string
6410 Default: \(lq\(rq
6411 .fi
6412 .IP
6413 This format string specifies a command which is used to decrypt
6414 \fBapplication/x\-pkcs7\-mime\fP attachments.
6415 .IP
6416 The OpenSSL command formats have their own set of \fBprintf(3)\fP\-like sequences
6417 similar to PGP's:
6418 .RS
6419 .PD 0
6420 .TP
6421 %f 
6422 Expands to the name of a file containing a message.
6423 .TP
6424 %s 
6425 Expands to the name of a file containing the signature part
6426            of a \fBmultipart/signed\fP attachment when verifying it.
6427 .TP
6428 %k 
6429 The key\-pair specified with $smime_default_key
6430 .TP
6431 %c 
6432 One or more certificate IDs.
6433 .TP
6434 %a 
6435 The algorithm used for encryption.
6436 .TP
6437 %d 
6438 The message digest algorithm specified with $smime_sign_digest_alg.
6439 .TP
6440 %C 
6441 CA location:  Depending on whether $smime_ca_location
6442            points to a directory or file, this expands to
6443            \(lq\-CApath $smime_ca_location\(rq or \(lq\-CAfile $smime_ca_location\(rq.
6444 .RE
6445 .PD 1
6446 .IP
6447 For examples on how to configure these formats, see the \fBsmime.rc\fP in
6448 the \fBsamples/\fP subdirectory which has been installed on your system
6449 alongside the documentation.
6450 (S/MIME only)
6451
6452
6453 .TP
6454 .B smime_decrypt_use_default_key
6455 .nf
6456 Type: boolean
6457 Default: yes
6458 .fi
6459 .IP
6460 If \fIset\fP (default) this tells mutt to use the default key for decryption. Otherwise,
6461 if managing multiple certificate\-key\-pairs, mutt will try to use the mailbox\-address
6462 to determine the key to use. It will ask you to supply a key, if it can't find one.
6463 (S/MIME only)
6464
6465
6466 .TP
6467 .B smime_default_key
6468 .nf
6469 Type: string
6470 Default: \(lq\(rq
6471 .fi
6472 .IP
6473 This is the default key\-pair to use for S/MIME operations, and must be
6474 set to the keyid (the hash\-value that OpenSSL generates) to work properly.
6475 .IP
6476 It will be used for encryption (see $postpone_encrypt and
6477 $smime_self_encrypt). If GPGME is enabled, this is the key id displayed
6478 by gpgsm.
6479 .IP
6480 It will be used for decryption unless $smime_decrypt_use_default_key
6481 is \fIunset\fP.
6482 .IP
6483 It will also be used for signing unless $smime_sign_as is set.
6484 .IP
6485 The (now deprecated) \fIsmime_self_encrypt_as\fP is an alias for this
6486 variable, and should no longer be used.
6487 (S/MIME only)
6488
6489
6490 .TP
6491 .B smime_encrypt_command
6492 .nf
6493 Type: string
6494 Default: \(lq\(rq
6495 .fi
6496 .IP
6497 This command is used to create encrypted S/MIME messages.
6498 .IP
6499 This is a format string, see the $smime_decrypt_command command for
6500 possible \fBprintf(3)\fP\-like sequences.
6501 (S/MIME only)
6502
6503
6504 .TP
6505 .B smime_encrypt_with
6506 .nf
6507 Type: string
6508 Default: \(lqaes256\(rq
6509 .fi
6510 .IP
6511 This sets the algorithm that should be used for encryption.
6512 Valid choices are \(lqaes128\(rq, \(lqaes192\(rq, \(lqaes256\(rq, \(lqdes\(rq, \(lqdes3\(rq, \(lqrc2\-40\(rq, \(lqrc2\-64\(rq, \(lqrc2\-128\(rq.
6513 (S/MIME only)
6514
6515
6516 .TP
6517 .B smime_get_cert_command
6518 .nf
6519 Type: string
6520 Default: \(lq\(rq
6521 .fi
6522 .IP
6523 This command is used to extract X509 certificates from a PKCS7 structure.
6524 .IP
6525 This is a format string, see the $smime_decrypt_command command for
6526 possible \fBprintf(3)\fP\-like sequences.
6527 (S/MIME only)
6528
6529
6530 .TP
6531 .B smime_get_cert_email_command
6532 .nf
6533 Type: string
6534 Default: \(lq\(rq
6535 .fi
6536 .IP
6537 This command is used to extract the mail address(es) used for storing
6538 X509 certificates, and for verification purposes (to check whether the
6539 certificate was issued for the sender's mailbox).
6540 .IP
6541 This is a format string, see the $smime_decrypt_command command for
6542 possible \fBprintf(3)\fP\-like sequences.
6543 (S/MIME only)
6544
6545
6546 .TP
6547 .B smime_get_signer_cert_command
6548 .nf
6549 Type: string
6550 Default: \(lq\(rq
6551 .fi
6552 .IP
6553 This command is used to extract only the signers X509 certificate from a S/MIME
6554 signature, so that the certificate's owner may get compared to the
6555 email's \(lqFrom:\(rq field.
6556 .IP
6557 This is a format string, see the $smime_decrypt_command command for
6558 possible \fBprintf(3)\fP\-like sequences.
6559 (S/MIME only)
6560
6561
6562 .TP
6563 .B smime_import_cert_command
6564 .nf
6565 Type: string
6566 Default: \(lq\(rq
6567 .fi
6568 .IP
6569 This command is used to import a certificate via smime_keys.
6570 .IP
6571 This is a format string, see the $smime_decrypt_command command for
6572 possible \fBprintf(3)\fP\-like sequences.
6573 (S/MIME only)
6574
6575
6576 .TP
6577 .B smime_is_default
6578 .nf
6579 Type: boolean
6580 Default: no
6581 .fi
6582 .IP
6583 The default behavior of mutt is to use PGP on all auto\-sign/encryption
6584 operations. To override and to use OpenSSL instead this must be \fIset\fP.
6585 However, this has no effect while replying, since mutt will automatically
6586 select the same application that was used to sign/encrypt the original
6587 message.  (Note that this variable can be overridden by unsetting $crypt_autosmime.)
6588 (S/MIME only)
6589
6590
6591 .TP
6592 .B smime_keys
6593 .nf
6594 Type: path
6595 Default: \(lq\(rq
6596 .fi
6597 .IP
6598 Since for S/MIME there is no pubring/secring as with PGP, mutt has to handle
6599 storage and retrieval of keys/certs by itself. This is very basic right now,
6600 and stores keys and certificates in two different directories, both
6601 named as the hash\-value retrieved from OpenSSL. There is an index file
6602 which contains mailbox\-address keyid pair, and which can be manually
6603 edited. This option points to the location of the private keys.
6604 (S/MIME only)
6605
6606
6607 .TP
6608 .B smime_pk7out_command
6609 .nf
6610 Type: string
6611 Default: \(lq\(rq
6612 .fi
6613 .IP
6614 This command is used to extract PKCS7 structures of S/MIME signatures,
6615 in order to extract the public X509 certificate(s).
6616 .IP
6617 This is a format string, see the $smime_decrypt_command command for
6618 possible \fBprintf(3)\fP\-like sequences.
6619 (S/MIME only)
6620
6621
6622 .TP
6623 .B smime_self_encrypt
6624 .nf
6625 Type: boolean
6626 Default: yes
6627 .fi
6628 .IP
6629 When \fIset\fP, S/MIME encrypted messages will also be encrypted
6630 using the certificate in $smime_default_key.
6631 (S/MIME only)
6632
6633
6634 .TP
6635 .B smime_sign_as
6636 .nf
6637 Type: string
6638 Default: \(lq\(rq
6639 .fi
6640 .IP
6641 If you have a separate key to use for signing, you should set this
6642 to the signing key. Most people will only need to set $smime_default_key.
6643 (S/MIME only)
6644
6645
6646 .TP
6647 .B smime_sign_command
6648 .nf
6649 Type: string
6650 Default: \(lq\(rq
6651 .fi
6652 .IP
6653 This command is used to created S/MIME signatures of type
6654 \fBmultipart/signed\fP, which can be read by all mail clients.
6655 .IP
6656 This is a format string, see the $smime_decrypt_command command for
6657 possible \fBprintf(3)\fP\-like sequences.  NOTE: %c and %k will default
6658 to $smime_sign_as if set, otherwise $smime_default_key.
6659 (S/MIME only)
6660
6661
6662 .TP
6663 .B smime_sign_digest_alg
6664 .nf
6665 Type: string
6666 Default: \(lqsha256\(rq
6667 .fi
6668 .IP
6669 This sets the algorithm that should be used for the signature message digest.
6670 Valid choices are \(lqmd5\(rq, \(lqsha1\(rq, \(lqsha224\(rq, \(lqsha256\(rq, \(lqsha384\(rq, \(lqsha512\(rq.
6671 (S/MIME only)
6672
6673
6674 .TP
6675 .B smime_sign_opaque_command
6676 .nf
6677 Type: string
6678 Default: \(lq\(rq
6679 .fi
6680 .IP
6681 This command is used to created S/MIME signatures of type
6682 \fBapplication/x\-pkcs7\-signature\fP, which can only be handled by mail
6683 clients supporting the S/MIME extension.
6684 .IP
6685 This is a format string, see the $smime_decrypt_command command for
6686 possible \fBprintf(3)\fP\-like sequences.
6687 (S/MIME only)
6688
6689
6690 .TP
6691 .B smime_timeout
6692 .nf
6693 Type: number (long)
6694 Default: 300
6695 .fi
6696 .IP
6697 The number of seconds after which a cached passphrase will expire if
6698 not used.
6699 (S/MIME only)
6700
6701
6702 .TP
6703 .B smime_verify_command
6704 .nf
6705 Type: string
6706 Default: \(lq\(rq
6707 .fi
6708 .IP
6709 This command is used to verify S/MIME signatures of type \fBmultipart/signed\fP.
6710 .IP
6711 This is a format string, see the $smime_decrypt_command command for
6712 possible \fBprintf(3)\fP\-like sequences.
6713 (S/MIME only)
6714
6715
6716 .TP
6717 .B smime_verify_opaque_command
6718 .nf
6719 Type: string
6720 Default: \(lq\(rq
6721 .fi
6722 .IP
6723 This command is used to verify S/MIME signatures of type
6724 \fBapplication/x\-pkcs7\-mime\fP.
6725 .IP
6726 This is a format string, see the $smime_decrypt_command command for
6727 possible \fBprintf(3)\fP\-like sequences.
6728 (S/MIME only)
6729
6730
6731 .TP
6732 .B smtp_authenticators
6733 .nf
6734 Type: string
6735 Default: \(lq\(rq
6736 .fi
6737 .IP
6738 This is a colon\-delimited list of authentication methods mutt may
6739 attempt to use to log in to an SMTP server, in the order mutt should
6740 try them.  Authentication methods are any SASL mechanism, e.g.
6741 \(lqdigest\-md5\(rq, \(lqgssapi\(rq or \(lqcram\-md5\(rq.
6742 This option is case\-insensitive. If it is \(lqunset\(rq
6743 (the default) mutt will try all available methods, in order from
6744 most\-secure to least\-secure.
6745 .IP
6746 Example:
6747
6748 .IP
6749 .EX
6750 set smtp_authenticators=\(rqdigest\-md5:cram\-md5\(rq
6751
6752 .EE
6753
6754
6755 .TP
6756 .B smtp_oauth_refresh_command
6757 .nf
6758 Type: string
6759 Default: \(lq\(rq
6760 .fi
6761 .IP
6762 The command to run to generate an OAUTH refresh token for
6763 authorizing your connection to your SMTP server.  This command will be
6764 run on every connection attempt that uses the OAUTHBEARER authentication
6765 mechanism.  See \(lqoauth\(rq for details.
6766
6767
6768 .TP
6769 .B smtp_pass
6770 .nf
6771 Type: string
6772 Default: \(lq\(rq
6773 .fi
6774 .IP
6775 Specifies the password for your SMTP account.  If \fIunset\fP, Mutt will
6776 prompt you for your password when you first send mail via SMTP.
6777 See $smtp_url to configure mutt to send mail via SMTP.
6778 .IP
6779 \fBWarning\fP: you should only use this option when you are on a
6780 fairly secure machine, because the superuser can read your muttrc even
6781 if you are the only one who can read the file.
6782
6783
6784 .TP
6785 .B smtp_url
6786 .nf
6787 Type: string
6788 Default: \(lq\(rq
6789 .fi
6790 .IP
6791 Defines the SMTP smarthost where sent messages should relayed for
6792 delivery. This should take the form of an SMTP URL, e.g.:
6793
6794 .IP
6795 .EX
6796 smtp[s]://[user[:pass]@]host[:port]
6797
6798 .EE
6799 .IP
6800 where \(lq[...]\(rq denotes an optional part.
6801 Setting this variable overrides the value of the $sendmail
6802 variable.
6803 .IP
6804 Also see $write_bcc.
6805
6806
6807 .TP
6808 .B sort
6809 .nf
6810 Type: sort order
6811 Default: date
6812 .fi
6813 .IP
6814 Specifies how to sort messages in the \(lqindex\(rq menu.  Valid values
6815 are:
6816 .RS
6817 .PD 0
6818 .TP
6819 \(hy date or date\-sent
6820 .TP
6821 \(hy date\-received
6822 .TP
6823 \(hy from
6824 .TP
6825 \(hy mailbox\-order (unsorted)
6826 .TP
6827 \(hy score
6828 .TP
6829 \(hy size
6830 .TP
6831 \(hy spam
6832 .TP
6833 \(hy subject
6834 .TP
6835 \(hy threads
6836 .TP
6837 \(hy to
6838 .RE
6839 .PD 1
6840 .IP
6841 You may optionally use the \(lqreverse\-\(rq prefix to specify reverse sorting
6842 order (example: \(lq\fBset sort=reverse\-date\-sent\fP\(rq).
6843
6844
6845 .TP
6846 .B sort_alias
6847 .nf
6848 Type: sort order
6849 Default: alias
6850 .fi
6851 .IP
6852 Specifies how the entries in the \(lqalias\(rq menu are sorted.  The
6853 following are legal values:
6854 .RS
6855 .PD 0
6856 .TP
6857 \(hy address (sort alphabetically by email address)
6858 .TP
6859 \(hy alias (sort alphabetically by alias name)
6860 .TP
6861 \(hy unsorted (leave in order specified in .muttrc)
6862 .RE
6863 .PD 1
6864
6865 .TP
6866 .B sort_aux
6867 .nf
6868 Type: sort order
6869 Default: date
6870 .fi
6871 .IP
6872 This provides a secondary sort for messages in the \(lqindex\(rq menu, used
6873 when the $sort value is equal for two messages.
6874 .IP
6875 When sorting by threads, this variable controls how threads are sorted
6876 in relation to other threads, and how the branches of the thread trees
6877 are sorted.  This can be set to any value that $sort can, except
6878 \(lqthreads\(rq (in that case, mutt will just use \(lqdate\-sent\(rq).  You can also
6879 specify the \(lqlast\-\(rq prefix in addition to the \(lqreverse\-\(rq prefix, but \(lqlast\-\(rq
6880 must come after \(lqreverse\-\(rq.  The \(lqlast\-\(rq prefix causes messages to be
6881 sorted against its siblings by which has the last descendant, using
6882 the rest of $sort_aux as an ordering.  For instance,
6883
6884 .IP
6885 .EX
6886 set sort_aux=last\-date\-received
6887
6888 .EE
6889 .IP
6890 would mean that if a new message is received in a
6891 thread, that thread becomes the last one displayed (or the first, if
6892 you have \(lq\fBset sort=reverse\-threads\fP\(rq.)
6893 .IP
6894 Note: For reversed\-threads $sort
6895 order, $sort_aux is reversed again (which is not the right thing to do,
6896 but kept to not break any existing configuration setting).
6897
6898
6899 .TP
6900 .B sort_browser
6901 .nf
6902 Type: sort order
6903 Default: alpha
6904 .fi
6905 .IP
6906 Specifies how to sort entries in the file browser.  By default, the
6907 entries are sorted alphabetically.  Valid values:
6908 .RS
6909 .PD 0
6910 .TP
6911 \(hy alpha (alphabetically)
6912 .TP
6913 \(hy count
6914 .TP
6915 \(hy date
6916 .TP
6917 \(hy size
6918 .TP
6919 \(hy unread
6920 .TP
6921 \(hy unsorted
6922 .RE
6923 .PD 1
6924 .IP
6925 You may optionally use the \(lqreverse\-\(rq prefix to specify reverse sorting
6926 order (example: \(lq\fBset sort_browser=reverse\-date\fP\(rq).
6927
6928
6929 .TP
6930 .B sort_re
6931 .nf
6932 Type: boolean
6933 Default: yes
6934 .fi
6935 .IP
6936 This variable is only useful when sorting by threads with
6937 $strict_threads \fIunset\fP.  In that case, it changes the heuristic
6938 mutt uses to thread messages by subject.  With $sort_re \fIset\fP, mutt will
6939 only attach a message as the child of another message by subject if
6940 the subject of the child message starts with a substring matching the
6941 setting of $reply_regexp.  With $sort_re \fIunset\fP, mutt will attach
6942 the message whether or not this is the case, as long as the
6943 non\-$reply_regexp parts of both messages are identical.
6944
6945
6946 .TP
6947 .B spam_separator
6948 .nf
6949 Type: string
6950 Default: \(lq,\(rq
6951 .fi
6952 .IP
6953 This variable controls what happens when multiple spam headers
6954 are matched: if \fIunset\fP, each successive header will overwrite any
6955 previous matches value for the spam label. If \fIset\fP, each successive
6956 match will append to the previous, using this variable's value as a
6957 separator.
6958
6959
6960 .TP
6961 .B spoolfile
6962 .nf
6963 Type: path
6964 Default: \(lq\(rq
6965 .fi
6966 .IP
6967 If your spool mailbox is in a non\-default place where Mutt cannot find
6968 it, you can specify its location with this variable.  Mutt will
6969 initially set this variable to the value of the environment
6970 variable \fB$MAIL\fP or \fB$MAILDIR\fP if either is defined.
6971
6972
6973 .TP
6974 .B ssl_ca_certificates_file
6975 .nf
6976 Type: path
6977 Default: \(lq\(rq
6978 .fi
6979 .IP
6980 This variable specifies a file containing trusted CA certificates.
6981 Any server certificate that is signed with one of these CA
6982 certificates is also automatically accepted. (GnuTLS only)
6983 .IP
6984 Example:
6985
6986 .IP
6987 .EX
6988 set ssl_ca_certificates_file=/etc/ssl/certs/ca\-certificates.crt
6989
6990 .EE
6991
6992
6993 .TP
6994 .B ssl_client_cert
6995 .nf
6996 Type: path
6997 Default: \(lq\(rq
6998 .fi
6999 .IP
7000 The file containing a client certificate and its associated private
7001 key.
7002
7003
7004 .TP
7005 .B ssl_force_tls
7006 .nf
7007 Type: boolean
7008 Default: yes
7009 .fi
7010 .IP
7011 If this variable is \fIset\fP, Mutt will require that all connections
7012 to remote servers be encrypted. Furthermore it will attempt to
7013 negotiate TLS even if the server does not advertise the capability,
7014 since it would otherwise have to abort the connection anyway. This
7015 option supersedes $ssl_starttls.
7016
7017
7018 .TP
7019 .B ssl_min_dh_prime_bits
7020 .nf
7021 Type: number
7022 Default: 0
7023 .fi
7024 .IP
7025 This variable specifies the minimum acceptable prime size (in bits)
7026 for use in any Diffie\-Hellman key exchange. A value of 0 will use
7027 the default from the GNUTLS library. (GnuTLS only)
7028
7029
7030 .TP
7031 .B ssl_starttls
7032 .nf
7033 Type: quadoption
7034 Default: yes
7035 .fi
7036 .IP
7037 If \fIset\fP (the default), mutt will attempt to use \fBSTARTTLS\fP on servers
7038 advertising the capability. When \fIunset\fP, mutt will not attempt to
7039 use \fBSTARTTLS\fP regardless of the server's capabilities.
7040 .IP
7041 \fBNote\fP that \fBSTARTTLS\fP is subject to many kinds of
7042 attacks, including the ability of a machine\-in\-the\-middle to
7043 suppress the advertising of support.  Setting $ssl_force_tls is
7044 recommended if you rely on \fBSTARTTLS\fP.
7045
7046
7047 .TP
7048 .B ssl_use_sslv2
7049 .nf
7050 Type: boolean
7051 Default: no
7052 .fi
7053 .IP
7054 If \fIset\fP , Mutt will use SSLv2 when communicating with servers that
7055 request it. \fBN.B. As of 2011, SSLv2 is considered insecure, and using
7056 is inadvisable. See https://tools.ietf.org/html/rfc6176 .\fP
7057 (OpenSSL only)
7058
7059
7060 .TP
7061 .B ssl_use_sslv3
7062 .nf
7063 Type: boolean
7064 Default: no
7065 .fi
7066 .IP
7067 If \fIset\fP , Mutt will use SSLv3 when communicating with servers that
7068 request it. \fBN.B. As of 2015, SSLv3 is considered insecure, and using
7069 it is inadvisable. See https://tools.ietf.org/html/rfc7525 .\fP
7070
7071
7072 .TP
7073 .B ssl_use_tlsv1
7074 .nf
7075 Type: boolean
7076 Default: no
7077 .fi
7078 .IP
7079 If \fIset\fP , Mutt will use TLSv1.0 when communicating with servers that
7080 request it. \fBN.B. As of 2015, TLSv1.0 is considered insecure, and using
7081 it is inadvisable. See https://tools.ietf.org/html/rfc7525 .\fP
7082
7083
7084 .TP
7085 .B ssl_use_tlsv1_1
7086 .nf
7087 Type: boolean
7088 Default: no
7089 .fi
7090 .IP
7091 If \fIset\fP , Mutt will use TLSv1.1 when communicating with servers that
7092 request it. \fBN.B. As of 2015, TLSv1.1 is considered insecure, and using
7093 it is inadvisable. See https://tools.ietf.org/html/rfc7525 .\fP
7094
7095
7096 .TP
7097 .B ssl_use_tlsv1_2
7098 .nf
7099 Type: boolean
7100 Default: yes
7101 .fi
7102 .IP
7103 If \fIset\fP , Mutt will use TLSv1.2 when communicating with servers that
7104 request it.
7105
7106
7107 .TP
7108 .B ssl_use_tlsv1_3
7109 .nf
7110 Type: boolean
7111 Default: yes
7112 .fi
7113 .IP
7114 If \fIset\fP , Mutt will use TLSv1.3 when communicating with servers that
7115 request it.
7116
7117
7118 .TP
7119 .B ssl_usesystemcerts
7120 .nf
7121 Type: boolean
7122 Default: yes
7123 .fi
7124 .IP
7125 If set to \fIyes\fP, mutt will use CA certificates in the
7126 system\-wide certificate store when checking if a server certificate
7127 is signed by a trusted CA. (OpenSSL only)
7128
7129
7130 .TP
7131 .B ssl_verify_dates
7132 .nf
7133 Type: boolean
7134 Default: yes
7135 .fi
7136 .IP
7137 If \fIset\fP (the default), mutt will not automatically accept a server
7138 certificate that is either not yet valid or already expired. You should
7139 only unset this for particular known hosts, using the
7140 \fB<account-hook>\fP function.
7141
7142
7143 .TP
7144 .B ssl_verify_host
7145 .nf
7146 Type: boolean
7147 Default: yes
7148 .fi
7149 .IP
7150 If \fIset\fP (the default), mutt will not automatically accept a server
7151 certificate whose host name does not match the host used in your folder
7152 URL. You should only unset this for particular known hosts, using
7153 the \fB<account-hook>\fP function.
7154
7155
7156 .TP
7157 .B ssl_verify_partial_chains
7158 .nf
7159 Type: boolean
7160 Default: no
7161 .fi
7162 .IP
7163 This option should not be changed from the default unless you understand
7164 what you are doing.
7165 .IP
7166 Setting this variable to \fIyes\fP will permit verifying partial
7167 certification chains, i. e. a certificate chain where not the root,
7168 but an intermediate certificate CA, or the host certificate, are
7169 marked trusted (in $certificate_file), without marking the root
7170 signing CA as trusted.
7171 .IP
7172 (OpenSSL 1.0.2b and newer only).
7173
7174
7175 .TP
7176 .B ssl_ciphers
7177 .nf
7178 Type: string
7179 Default: \(lq\(rq
7180 .fi
7181 .IP
7182 Contains a colon\-separated list of ciphers to use when using SSL.
7183 For OpenSSL, see ciphers(1) for the syntax of the string.
7184 .IP
7185 For GnuTLS, this option will be used in place of \(rqNORMAL\(rq at the
7186 start of the priority string.  See gnutls_priority_init(3) for the
7187 syntax and more details. (Note: GnuTLS version 2.1.7 or higher is
7188 required.)
7189
7190
7191 .TP
7192 .B status_chars
7193 .nf
7194 Type: string
7195 Default: \(lq\-*%A\(rq
7196 .fi
7197 .IP
7198 Controls the characters used by the \(lq%r\(rq indicator in
7199 $status_format. The first character is used when the mailbox is
7200 unchanged. The second is used when the mailbox has been changed, and
7201 it needs to be resynchronized. The third is used if the mailbox is in
7202 read\-only mode, or if the mailbox will not be written when exiting
7203 that mailbox (You can toggle whether to write changes to a mailbox
7204 with the \fB<toggle\-write>\fP operation, bound by default to \(lq%\(rq). The fourth
7205 is used to indicate that the current folder has been opened in attach\-
7206 message mode (Certain operations like composing a new mail, replying,
7207 forwarding, etc. are not permitted in this mode).
7208
7209
7210 .TP
7211 .B status_format
7212 .nf
7213 Type: string (localized)
7214 Default: \(lq\-%r\-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?B? Back:%B?%?l? %l?]\-\-\-(%s/%S)\-%>\-(%P)\-\-\-\(rq
7215 .fi
7216 .IP
7217 Controls the format of the status line displayed in the \(lqindex\(rq
7218 menu.  This string is similar to $index_format, but has its own
7219 set of \fBprintf(3)\fP\-like sequences:
7220 .RS
7221 .PD 0
7222 .TP
7223 %b  
7224 number of mailboxes with new mail *
7225 .TP
7226 %B  
7227 number of backgrounded editing sessions *
7228 .TP
7229 %d  
7230 number of deleted messages *
7231 .TP
7232 %f  
7233 the full pathname of the current mailbox
7234 .TP
7235 %F  
7236 number of flagged messages *
7237 .TP
7238 %h  
7239 local hostname
7240 .TP
7241 %l  
7242 size (in bytes) of the current mailbox (see formatstrings-size) *
7243 .TP
7244 %L  
7245 size (in bytes) of the messages shown
7246 (i.e., which match the current limit) (see formatstrings-size) *
7247 .TP
7248 %m  
7249 the number of messages in the mailbox *
7250 .TP
7251 %M  
7252 the number of messages shown (i.e., which match the current limit) *
7253 .TP
7254 %n  
7255 number of new messages in the mailbox *
7256 .TP
7257 %o  
7258 number of old unread messages *
7259 .TP
7260 %p  
7261 number of postponed messages *
7262 .TP
7263 %P  
7264 percentage of the way through the index
7265 .TP
7266 %r  
7267 modified/read\-only/won't\-write/attach\-message indicator,
7268 according to $status_chars
7269 .TP
7270 %R  
7271 number of read messages *
7272 .TP
7273 %s  
7274 current sorting mode ($sort)
7275 .TP
7276 %S  
7277 current aux sorting method ($sort_aux)
7278 .TP
7279 %t  
7280 number of tagged messages *
7281 .TP
7282 %u  
7283 number of unread messages *
7284 .TP
7285 %v  
7286 Mutt version string
7287 .TP
7288 %V  
7289 currently active limit pattern, if any *
7290 .TP
7291 %>X 
7292 right justify the rest of the string and pad with \(lqX\(rq
7293 .TP
7294 %|X 
7295 pad to the end of the line with \(lqX\(rq
7296 .TP
7297 %*X 
7298 soft\-fill with character \(lqX\(rq as pad
7299 .RE
7300 .PD 1
7301 .IP
7302 For an explanation of \(lqsoft\-fill\(rq, see the $index_format documentation.
7303 .IP
7304 * = can be optionally printed if nonzero
7305 .IP
7306 Some of the above sequences can be used to optionally print a string
7307 if their value is nonzero.  For example, you may only want to see the
7308 number of flagged messages if such messages exist, since zero is not
7309 particularly meaningful.  To optionally print a string based upon one
7310 of the above sequences, the following construct is used:
7311 .IP
7312 \fB%?<sequence_char>?<optional_string>?\fP
7313 .IP
7314 where \fIsequence_char\fP is a character from the table above, and
7315 \fIoptional_string\fP is the string you would like printed if
7316 \fIsequence_char\fP is nonzero.  \fIoptional_string\fP \fBmay\fP contain
7317 other sequences as well as normal text, but you may \fBnot\fP nest
7318 optional strings.
7319 .IP
7320 Here is an example illustrating how to optionally print the number of
7321 new messages in a mailbox:
7322 .IP
7323 \fB%?n?%n new messages.?\fP
7324 .IP
7325 You can also switch between two strings using the following construct:
7326 .IP
7327 \fB%?<sequence_char>?<if_string>&<else_string>?\fP
7328 .IP
7329 If the value of \fIsequence_char\fP is non\-zero, \fIif_string\fP will
7330 be expanded, otherwise \fIelse_string\fP will be expanded.
7331 .IP
7332 You can force the result of any \fBprintf(3)\fP\-like sequence to be lowercase
7333 by prefixing the sequence character with an underscore (\(lq_\(rq) sign.
7334 For example, if you want to display the local hostname in lowercase,
7335 you would use: \(lq\fB%_h\fP\(rq.
7336 .IP
7337 If you prefix the sequence character with a colon (\(lq:\(rq) character, mutt
7338 will replace any dots in the expansion by underscores. This might be helpful
7339 with IMAP folders that don't like dots in folder names.
7340
7341
7342 .TP
7343 .B status_on_top
7344 .nf
7345 Type: boolean
7346 Default: no
7347 .fi
7348 .IP
7349 Setting this variable causes the \(lqstatus bar\(rq to be displayed on
7350 the first line of the screen rather than near the bottom. If $help
7351 is \fIset\fP, too it'll be placed at the bottom.
7352
7353
7354 .TP
7355 .B strict_threads
7356 .nf
7357 Type: boolean
7358 Default: no
7359 .fi
7360 .IP
7361 If \fIset\fP, threading will only make use of the \(lqIn\-Reply\-To\(rq and
7362 \(lqReferences:\(rq fields when you $sort by message threads.  By
7363 default, messages with the same subject are grouped together in
7364 \(lqpseudo threads.\(rq. This may not always be desirable, such as in a
7365 personal mailbox where you might have several unrelated messages with
7366 the subjects like \(lqhi\(rq which will get grouped together. See also
7367 $sort_re for a less drastic way of controlling this
7368 behavior.
7369
7370
7371 .TP
7372 .B suspend
7373 .nf
7374 Type: boolean
7375 Default: yes
7376 .fi
7377 .IP
7378 When \fIunset\fP, mutt won't stop when the user presses the terminal's
7379 \fIsusp\fP key, usually \(lq^Z\(rq. This is useful if you run mutt
7380 inside an xterm using a command like \(lq\fBxterm \-e mutt\fP\(rq.
7381
7382
7383 .TP
7384 .B text_flowed
7385 .nf
7386 Type: boolean
7387 Default: no
7388 .fi
7389 .IP
7390 When \fIset\fP, mutt will generate \(lqformat=flowed\(rq bodies with a content type
7391 of \(lq\fBtext/plain; format=flowed\fP\(rq.
7392 This format is easier to handle for some mailing software, and generally
7393 just looks like ordinary text.  To actually make use of this format's
7394 features, you'll need support in your editor.
7395 .IP
7396 The option only controls newly composed messages.  Postponed messages,
7397 resent messages, and draft messages (via \-H on the command line) will
7398 use the content\-type of the source message.
7399 .IP
7400 Note that $indent_string is ignored when this option is \fIset\fP.
7401
7402
7403 .TP
7404 .B thorough_search
7405 .nf
7406 Type: boolean
7407 Default: yes
7408 .fi
7409 .IP
7410 Affects the \fB~b\fP and \fB~h\fP search operations described in
7411 section \(lqpatterns\(rq.  If \fIset\fP, the headers and body/attachments of
7412 messages to be searched are decoded before searching. If \fIunset\fP,
7413 messages are searched as they appear in the folder.
7414 .IP
7415 Users searching attachments or for non\-ASCII characters should \fIset\fP
7416 this value because decoding also includes MIME parsing/decoding and possible
7417 character set conversions. Otherwise mutt will attempt to match against the
7418 raw message received (for example quoted\-printable encoded or with encoded
7419 headers) which may lead to incorrect search results.
7420
7421
7422 .TP
7423 .B thread_received
7424 .nf
7425 Type: boolean
7426 Default: no
7427 .fi
7428 .IP
7429 When \fIset\fP, mutt uses the date received rather than the date sent
7430 to thread messages by subject.
7431
7432
7433 .TP
7434 .B tilde
7435 .nf
7436 Type: boolean
7437 Default: no
7438 .fi
7439 .IP
7440 When \fIset\fP, the internal\-pager will pad blank lines to the bottom of the
7441 screen with a tilde (\(lq~\(rq).
7442
7443
7444 .TP
7445 .B time_inc
7446 .nf
7447 Type: number
7448 Default: 0
7449 .fi
7450 .IP
7451 Along with $read_inc, $write_inc, and $net_inc, this
7452 variable controls the frequency with which progress updates are
7453 displayed. It suppresses updates less than $time_inc milliseconds
7454 apart. This can improve throughput on systems with slow terminals,
7455 or when running mutt on a remote system.
7456 .IP
7457 Also see the \(lqtuning\(rq section of the manual for performance considerations.
7458
7459
7460 .TP
7461 .B timeout
7462 .nf
7463 Type: number
7464 Default: 600
7465 .fi
7466 .IP
7467 When Mutt is waiting for user input either idling in menus or
7468 in an interactive prompt, Mutt would block until input is
7469 present. Depending on the context, this would prevent certain
7470 operations from working, like checking for new mail or keeping
7471 an IMAP connection alive.
7472 .IP
7473 This variable controls how many seconds Mutt will at most wait
7474 until it aborts waiting for input, performs these operations and
7475 continues to wait for input.
7476 .IP
7477 A value of zero or less will cause Mutt to never time out.
7478
7479
7480 .TP
7481 .B tmpdir
7482 .nf
7483 Type: path
7484 Default: \(lq\(rq
7485 .fi
7486 .IP
7487 This variable allows you to specify where Mutt will place its
7488 temporary files needed for displaying and composing messages.  If
7489 this variable is not set, the environment variable \fB$TMPDIR\fP is
7490 used.  If \fB$TMPDIR\fP is not set then \(lq\fB/var/tmp\fP\(rq is used.
7491
7492
7493 .TP
7494 .B to_chars
7495 .nf
7496 Type: string
7497 Default: \(lq +TCFL\(rq
7498 .fi
7499 .IP
7500 Controls the character used to indicate mail addressed to you.  The
7501 first character is the one used when the mail is \fInot\fP addressed to your
7502 address.  The second is used when you are the only
7503 recipient of the message.  The third is when your address
7504 appears in the \(lqTo:\(rq header field, but you are not the only recipient of
7505 the message.  The fourth character is used when your
7506 address is specified in the \(lqCc:\(rq header field, but you are not the only
7507 recipient.  The fifth character is used to indicate mail that was sent
7508 by \fIyou\fP.  The sixth character is used to indicate when a mail
7509 was sent to a mailing\-list you subscribe to.
7510
7511
7512 .TP
7513 .B trash
7514 .nf
7515 Type: path
7516 Default: \(lq\(rq
7517 .fi
7518 .IP
7519 If set, this variable specifies the path of the trash folder where the
7520 mails marked for deletion will be moved, instead of being irremediably
7521 purged.
7522 .IP
7523 NOTE: When you delete a message in the trash folder, it is really
7524 deleted, so that you have a way to clean the trash.
7525
7526
7527 .TP
7528 .B ts_icon_format
7529 .nf
7530 Type: string (localized)
7531 Default: \(lqM%?n?AIL&ail?\(rq
7532 .fi
7533 .IP
7534 Controls the format of the icon title, as long as \(lq$ts_enabled\(rq is set.
7535 This string is identical in formatting to the one used by
7536 \(lq$status_format\(rq.
7537
7538
7539 .TP
7540 .B ts_enabled
7541 .nf
7542 Type: boolean
7543 Default: no
7544 .fi
7545 .IP
7546 Controls whether mutt tries to set the terminal status line and icon name.
7547 Most terminal emulators emulate the status line in the window title.
7548
7549
7550 .TP
7551 .B ts_status_format
7552 .nf
7553 Type: string (localized)
7554 Default: \(lqMutt with %?m?%m messages&no messages?%?n? [%n NEW]?\(rq
7555 .fi
7556 .IP
7557 Controls the format of the terminal status line (or window title),
7558 provided that \(lq$ts_enabled\(rq has been set. This string is identical in
7559 formatting to the one used by \(lq$status_format\(rq.
7560
7561
7562 .TP
7563 .B tunnel
7564 .nf
7565 Type: string
7566 Default: \(lq\(rq
7567 .fi
7568 .IP
7569 Setting this variable will cause mutt to open a pipe to a command
7570 instead of a raw socket. You may be able to use this to set up
7571 preauthenticated connections to your IMAP/POP3/SMTP server. Example:
7572
7573 .IP
7574 .EX
7575 set tunnel=\(rqssh \-q mailhost.net /usr/local/libexec/imapd\(rq
7576
7577 .EE
7578 .IP
7579 Note: For this example to work you must be able to log in to the remote
7580 machine without having to enter a password.
7581 .IP
7582 When set, Mutt uses the tunnel for all remote connections.
7583 Please see \(lqaccount-hook\(rq in the manual for how to use different
7584 tunnel commands per connection.
7585
7586
7587 .TP
7588 .B tunnel_is_secure
7589 .nf
7590 Type: boolean
7591 Default: yes
7592 .fi
7593 .IP
7594 When \fIset\fP, Mutt will assume the $tunnel connection does not need
7595 STARTTLS to be enabled.  It will also allow IMAP PREAUTH server
7596 responses inside a tunnel to proceed.  This is appropriate if $tunnel
7597 uses ssh or directly invokes the server locally.
7598 .IP
7599 When \fIunset\fP, Mutt will negotiate STARTTLS according to the
7600 ssl_starttls and ssl_force_tls variables.  If ssl_force_tls is
7601 set, Mutt will abort connecting if an IMAP server responds with PREAUTH.
7602 This setting is appropriate if $tunnel does not provide security and
7603 could be tampered with by attackers.
7604
7605
7606 .TP
7607 .B uncollapse_jump
7608 .nf
7609 Type: boolean
7610 Default: no
7611 .fi
7612 .IP
7613 When \fIset\fP, Mutt will jump to the next unread message, if any,
7614 when the current thread is \fIun\fPcollapsed.
7615
7616
7617 .TP
7618 .B uncollapse_new
7619 .nf
7620 Type: boolean
7621 Default: yes
7622 .fi
7623 .IP
7624 When \fIset\fP, Mutt will automatically uncollapse any collapsed thread
7625 that receives a new message. When \fIunset\fP, collapsed threads will
7626 remain collapsed. the presence of the new message will still affect
7627 index sorting, though.
7628
7629
7630 .TP
7631 .B use_8bitmime
7632 .nf
7633 Type: boolean
7634 Default: no
7635 .fi
7636 .IP
7637 \fBWarning:\fP do not set this variable unless you are using a version
7638 of sendmail which supports the \fB\-B8BITMIME\fP flag (such as sendmail
7639 8.8.x) or you may not be able to send mail.
7640 .IP
7641 When \fIset\fP, Mutt will invoke $sendmail with the \fB\-B8BITMIME\fP
7642 flag when sending 8\-bit messages to enable ESMTP negotiation.
7643
7644
7645 .TP
7646 .B use_domain
7647 .nf
7648 Type: boolean
7649 Default: yes
7650 .fi
7651 .IP
7652 When \fIset\fP, Mutt will qualify all local addresses (ones without the
7653 \(lq@host\(rq portion) with the value of $hostname.  If \fIunset\fP, no
7654 addresses will be qualified.
7655
7656
7657 .TP
7658 .B use_envelope_from
7659 .nf
7660 Type: boolean
7661 Default: no
7662 .fi
7663 .IP
7664 When \fIset\fP, mutt will set the \fIenvelope\fP sender of the message.
7665 If $envelope_from_address is \fIset\fP, it will be used as the sender
7666 address. If \fIunset\fP, mutt will attempt to derive the sender from the
7667 \(lqFrom:\(rq header.
7668 .IP
7669 Note that this information is passed to sendmail command using the
7670 \fB\-f\fP command line switch. Therefore setting this option is not useful
7671 if the $sendmail variable already contains \fB\-f\fP or if the
7672 executable pointed to by $sendmail doesn't support the \fB\-f\fP switch.
7673
7674
7675 .TP
7676 .B use_from
7677 .nf
7678 Type: boolean
7679 Default: yes
7680 .fi
7681 .IP
7682 When \fIset\fP, Mutt will generate the \(lqFrom:\(rq header field when
7683 sending messages.  If \fIunset\fP, no \(lqFrom:\(rq header field will be
7684 generated unless the user explicitly sets one using the \(lqmy_hdr\(rq
7685 command.
7686
7687
7688 .TP
7689 .B use_ipv6
7690 .nf
7691 Type: boolean
7692 Default: yes
7693 .fi
7694 .IP
7695 When \fIset\fP, Mutt will look for IPv6 addresses of hosts it tries to
7696 contact.  If this option is \fIunset\fP, Mutt will restrict itself to IPv4 addresses.
7697 Normally, the default should work.
7698
7699
7700 .TP
7701 .B user_agent
7702 .nf
7703 Type: boolean
7704 Default: no
7705 .fi
7706 .IP
7707 When \fIset\fP, mutt will add a \(lqUser\-Agent:\(rq header to outgoing
7708 messages, indicating which version of mutt was used for composing
7709 them.
7710
7711
7712 .TP
7713 .B visual
7714 .nf
7715 Type: path
7716 Default: \(lq\(rq
7717 .fi
7718 .IP
7719 Specifies the visual editor to invoke when the \(lq\fB~v\fP\(rq command is
7720 given in the built\-in editor.
7721
7722
7723 .TP
7724 .B wait_key
7725 .nf
7726 Type: boolean
7727 Default: yes
7728 .fi
7729 .IP
7730 Controls whether Mutt will ask you to press a key after an external command
7731 has been invoked by these functions: \fB<shell\-escape>\fP,
7732 \fB<pipe\-message>\fP, \fB<pipe\-entry>\fP, \fB<print\-message>\fP,
7733 and \fB<print\-entry>\fP commands.
7734 .IP
7735 It is also used when viewing attachments with \(lqauto_view\(rq, provided
7736 that the corresponding mailcap entry has a \fIneedsterminal\fP flag,
7737 and the external program is interactive.
7738 .IP
7739 When \fIset\fP, Mutt will always ask for a key. When \fIunset\fP, Mutt will wait
7740 for a key only if the external command returned a non\-zero status.
7741
7742
7743 .TP
7744 .B weed
7745 .nf
7746 Type: boolean
7747 Default: yes
7748 .fi
7749 .IP
7750 When \fIset\fP, mutt will weed headers when displaying, forwarding,
7751 or replying to messages.
7752 .IP
7753 Also see $copy_decode_weed, $pipe_decode_weed, $print_decode_weed.
7754
7755
7756 .TP
7757 .B wrap
7758 .nf
7759 Type: number
7760 Default: 0
7761 .fi
7762 .IP
7763 When set to a positive value, mutt will wrap text at $wrap characters.
7764 When set to a negative value, mutt will wrap text so that there are $wrap
7765 characters of empty space on the right side of the terminal. Setting it
7766 to zero makes mutt wrap at the terminal width.
7767 .IP
7768 Also see $reflow_wrap.
7769
7770
7771 .TP
7772 .B wrap_headers
7773 .nf
7774 Type: number
7775 Default: 78
7776 .fi
7777 .IP
7778 This option specifies the number of characters to use for wrapping
7779 an outgoing message's headers. Allowed values are between 78 and 998
7780 inclusive.
7781 .IP
7782 \fBNote:\fP This option usually shouldn't be changed. RFC5233
7783 recommends a line length of 78 (the default), so \fBplease only change
7784 this setting when you know what you're doing\fP.
7785
7786
7787 .TP
7788 .B wrap_search
7789 .nf
7790 Type: boolean
7791 Default: yes
7792 .fi
7793 .IP
7794 Controls whether searches wrap around the end.
7795 .IP
7796 When \fIset\fP, searches will wrap around the first (or last) item. When
7797 \fIunset\fP, incremental searches will not wrap.
7798
7799
7800 .TP
7801 .B wrapmargin
7802 .nf
7803 Type: number
7804 Default: 0
7805 .fi
7806 .IP
7807 (DEPRECATED) Equivalent to setting $wrap with a negative value.
7808
7809
7810 .TP
7811 .B write_bcc
7812 .nf
7813 Type: boolean
7814 Default: no
7815 .fi
7816 .IP
7817 Controls whether mutt writes out the \(lqBcc:\(rq header when
7818 preparing messages to be sent.  Some MTAs, such as Exim and
7819 Courier, do not strip the \(lqBcc:\(rq header; so it is advisable to
7820 leave this unset unless you have a particular need for the header
7821 to be in the sent message.
7822 .IP
7823 If mutt is set to deliver directly via SMTP (see $smtp_url),
7824 this option does nothing: mutt will never write out the \(lqBcc:\(rq
7825 header in this case.
7826 .IP
7827 Note this option only affects the sending of messages.  Fcc'ed
7828 copies of a message will always contain the \(lqBcc:\(rq header if
7829 one exists.
7830
7831
7832 .TP
7833 .B write_inc
7834 .nf
7835 Type: number
7836 Default: 10
7837 .fi
7838 .IP
7839 When writing a mailbox, a message will be printed every
7840 $write_inc messages to indicate progress.  If set to 0, only a
7841 single message will be displayed before writing a mailbox.
7842 .IP
7843 Also see the $read_inc, $net_inc and $time_inc variables and the
7844 \(lqtuning\(rq section of the manual for performance considerations.
7845
7846
7847 .\" -*-nroff-*-
7848 .SH SEE ALSO
7849 .PP
7850 .BR iconv (1),
7851 .BR iconv (3),
7852 .BR mailcap (5),
7853 .BR maildir (5),
7854 .BR mbox (5),
7855 .BR mutt (1),
7856 .BR printf (3),
7857 .BR regex (7),
7858 .BR strftime (3)
7859 .PP
7860 The Mutt Manual
7861 .PP
7862 The Mutt home page: http://www.mutt.org/
7863 .SH AUTHOR
7864 .PP
7865 Michael Elkins, and others.  Use <mutt-dev@mutt.org> to contact
7866 the developers.