Initial import of mutt-ng.
[apps/madmutt.git] / doc / manual.sgml
1 <!doctype linuxdoc system>
2
3 <article>
4
5 <title>The Mutt E-Mail Client
6 <author>by Michael Elkins <htmlurl url="mailto:me@cs.hmc.edu" name="&lt;me@cs.hmc.edu&gt;">
7 <date>version 1.5.6
8 <abstract>
9 ``All mail clients suck.  This one just sucks less.'' -me, circa 1995
10 </abstract>
11
12 <toc>
13
14 <sect>Introduction
15 <p>
16 <bf/Mutt/ is a small but very powerful text-based MIME mail client.  Mutt is
17 highly configurable, and is well suited to the mail power user with advanced
18 features like key bindings, keyboard macros, mail threading, regular
19 expression searches and a powerful pattern matching language for selecting
20 groups of messages.
21
22 <sect1>Mutt Home Page
23 <p>
24 <htmlurl url="http://www.mutt.org/"
25 name="http://www.mutt.org/">
26
27 <sect1>Mailing Lists
28 <p>
29 To subscribe to one of the following mailing lists, send a message with the
30 word <em/subscribe/ in the body to
31 <tt/list-name/<em/-request/<tt/@mutt.org/.
32
33 <itemize>
34 <item><htmlurl url="mailto:mutt-announce-request@mutt.org"
35 name="mutt-announce@mutt.org"> -- low traffic list for announcements
36 <item><htmlurl url="mailto:mutt-users-request@mutt.org"
37 name="mutt-users@mutt.org"> -- help, bug reports and feature requests
38 <item><htmlurl url="mailto:mutt-dev-request@mutt.org" name="mutt-dev@mutt.org"> -- development mailing list
39 </itemize>
40
41 <bf/Note:/ all messages posted to <em/mutt-announce/ are automatically
42 forwarded to <em/mutt-users/, so you do not need to be subscribed to both
43 lists.
44
45 <sect1>Software Distribution Sites
46 <p>
47 <itemize>
48 <item><htmlurl url="ftp://ftp.mutt.org/mutt/"
49 name="ftp://ftp.mutt.org/mutt/">
50 </itemize>
51 <p>
52 For a list of mirror sites, please refer to <htmlurl
53 url="http://www.mutt.org/download.html"
54 name="http://www.mutt.org/download.html">.
55
56 <sect1>IRC
57 <p>
58 Visit channel <em/#mutt/ on <htmlurl
59 url="http://www.openprojects.net" name="OpenProjects.Net
60 (www.openprojects.net)"> to chat with other people interested in Mutt.
61
62 <sect1>USENET
63 <p>
64 See the newsgroup <htmlurl url="news:comp.mail.mutt" name="comp.mail.mutt">.
65
66 <sect1>Copyright
67 <p>
68 Mutt is Copyright (C) 1996-2000 Michael R. Elkins
69 &lt;me@cs.hmc.edu&gt; and others
70
71 This program is free software; you can redistribute it and/or modify
72 it under the terms of the GNU General Public License as published by
73 the Free Software Foundation; either version 2 of the License, or
74 (at your option) any later version.
75
76 This program is distributed in the hope that it will be useful,
77 but WITHOUT ANY WARRANTY; without even the implied warranty of
78 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
79 GNU General Public License for more details.
80
81 You should have received a copy of the GNU General Public License
82 along with this program; if not, write to the Free Software
83 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
84
85 <sect>Getting Started
86 <p>
87
88 This section is intended as a brief overview of how to use Mutt.  There are
89 many other features which are described elsewhere in the manual.  There
90 is even more information available in the Mutt FAQ and various web
91 pages.  See the <htmlurl url="http://www.mutt.org/mutt/"
92 name="Mutt Page"> for more details.
93
94 The keybindings described in this section are the defaults as distributed.
95 Your local system administrator may have altered the defaults for your site.
96 You can always type ``?'' in any menu to display the current bindings.
97
98 The first thing you need to do is invoke mutt, simply by typing mutt
99 at the command line.  There are various command-line options, see 
100 either the mutt man page or the <ref id="commandline" name="reference">.
101
102 <sect1>Moving Around in Menus
103 <p>
104
105 Information is presented in menus, very similar to ELM.  Here is a table
106 showing the common keys used to navigate menus in Mutt.
107
108 <tscreen><verb>
109 j or Down       next-entry      move to the next entry
110 k or Up         previous-entry  move to the previous entry
111 z or PageDn     page-down       go to the next page
112 Z or PageUp     page-up         go to the previous page
113 = or Home       first-entry     jump to the first entry
114 * or End        last-entry      jump to the last entry
115 q               quit            exit the current menu
116 ?               help            list all keybindings for the current menu
117 </verb></tscreen>
118
119 <sect1>Editing Input Fields<label id="editing">
120 <p>
121 Mutt has a builtin line editor which is used as the primary way to input
122 textual data such as email addresses or filenames.  The keys used to move
123 around while editing are very similar to those of Emacs.
124
125 <tscreen><verb>
126 ^A or <Home>    bol             move to the start of the line
127 ^B or <Left>    backward-char   move back one char
128 Esc B           backward-word   move back one word
129 ^D or <Delete>  delete-char     delete the char under the cursor
130 ^E or <End>     eol             move to the end of the line
131 ^F or <Right>   forward-char    move forward one char
132 Esc F           forward-word    move forward one word
133 <Tab>           complete        complete filename or alias
134 ^T              complete-query  complete address with query
135 ^K              kill-eol        delete to the end of the line
136 ESC d           kill-eow        delete to the end ot the word
137 ^W              kill-word       kill the word in front of the cursor
138 ^U              kill-line       delete entire line
139 ^V              quote-char      quote the next typed key
140 <Up>            history-up      recall previous string from history
141 <Down>          history-down    recall next string from history
142 <BackSpace>     backspace       kill the char in front of the cursor
143 Esc u           upcase-word     convert word to upper case
144 Esc l           downcase-word   convert word to lower case
145 Esc c           capitalize-word capitalize the word
146 ^G              n/a             abort
147 <Return>        n/a             finish editing
148 </verb></tscreen>
149
150 You can remap the <em/editor/ functions using the <ref id="bind" name="bind">
151 command.  For example, to make the <em/Delete/ key delete the character in
152 front of the cursor rather than under, you could use
153
154 <tt/bind editor &lt;delete&gt; backspace/
155
156 <sect1>Reading Mail - The Index and Pager
157 <p>
158
159 Similar to many other mail clients, there are two modes in which mail is
160 read in Mutt.  The first is the index of messages in the mailbox, which is
161 called the ``index'' in Mutt.  The second mode is the display of the
162 message contents.  This is called the ``pager.''
163
164 The next few sections describe the functions provided in each of these
165 modes.
166
167 <sect2>The Message Index
168 <p>
169
170 <tscreen><verb>
171 c               change to a different mailbox
172 ESC c           change to a folder in read-only mode
173 C               copy the current message to another mailbox
174 ESC C           decode a message and copy it to a folder
175 ESC s           decode a message and save it to a folder
176 D               delete messages matching a pattern
177 d               delete the current message
178 F               mark as important
179 l               show messages matching a pattern
180 N               mark message as new
181 o               change the current sort method
182 O               reverse sort the mailbox
183 q               save changes and exit
184 s               save-message
185 T               tag messages matching a pattern
186 t               toggle the tag on a message
187 ESC t           toggle tag on entire message thread
188 U               undelete messages matching a pattern
189 u               undelete-message
190 v               view-attachments
191 x               abort changes and exit
192 <Return>        display-message
193 <Tab>           jump to the next new message
194 @               show the author's full e-mail address
195 $               save changes to mailbox
196 /               search
197 ESC /           search-reverse
198 ^L              clear and redraw the screen
199 ^T              untag messages matching a pattern
200 </verb></tscreen>
201
202 <sect3>Status Flags
203 <p>
204
205 In addition to who sent the message and the subject, a short summary of
206 the disposition of each message is printed beside the message number.
207 Zero or more of the following ``flags'' may appear, which mean:
208
209 <p>
210 <descrip>
211 <tag/D/ message is deleted (is marked for deletion)
212 <tag/d/ message have attachments marked for deletion
213 <tag/K/ contains a PGP public key
214 <tag/N/ message is new
215 <tag/O/ message is old
216 <tag/P/ message is PGP encrypted
217 <tag/r/ message has been replied to
218 <tag/S/ message is signed, and the signature is succesfully verified
219 <tag/s/ message is signed
220 <tag/!/ message is flagged
221 <tag/*/ message is tagged
222 </descrip>
223
224 Some of the status flags can be turned on or off using
225 <itemize>
226 <item><bf/set-flag/ (default: w)
227 <item><bf/clear-flag/ (default: W)
228 </itemize>
229
230 <p>
231 Furthermore, the following flags reflect who the message is addressed
232 to.  They can be customized with the
233 <ref id="to_chars" name="&dollar;to&lowbar;chars"> variable.
234
235 <p>
236 <descrip>
237 <tag/+/ message is to you and you only
238 <tag/T/ message is to you, but also to or cc'ed to others
239 <tag/C/ message is cc'ed to you
240 <tag/F/ message is from you
241 <tag/L/ message is sent to a subscribed mailing list
242 </descrip>
243
244 <sect2>The Pager
245 <p>
246
247 By default, Mutt uses its builtin pager to display the body of messages.
248 The pager is very similar to the Unix program <em/less/ though not nearly as
249 featureful.
250
251 <tscreen><verb>
252 <Return>        go down one line
253 <Space>         display the next page (or next message if at the end of a message)
254 -               go back to the previous page
255 n               search for next match
256 S               skip beyond quoted text
257 T               toggle display of quoted text
258 ?               show keybindings
259 /               search for a regular expression (pattern)
260 ESC /           search backwards for a regular expression
261 \               toggle search pattern coloring
262 ^               jump to the top of the message
263 </verb></tscreen>
264
265 In addition, many of the functions from the <em/index/ are available in
266 the pager, such as <em/delete-message/ or <em/copy-message/ (this is one
267 advantage over using an external pager to view messages).
268
269 Also, the internal pager supports a couple other advanced features. For
270 one, it will accept and translate the ``standard'' nroff sequences for
271 bold and underline. These sequences are a series of either the letter,
272 backspace (^H), the letter again for bold or the letter, backspace,
273 ``&lowbar;'' for denoting underline. Mutt will attempt to display these
274 in bold and underline respectively if your terminal supports them. If
275 not, you can use the bold and underline <ref id="color" name="color">
276 objects to specify a color or mono attribute for them.
277
278 Additionally, the internal pager supports the ANSI escape sequences for
279 character attributes.  Mutt translates them into the correct color and
280 character settings.  The sequences Mutt supports are:
281
282 <p>
283 <tscreen><verb>
284 ESC [ Ps;Ps;Ps;...;Ps m
285 where Ps =
286 0    All Attributes Off
287 1    Bold on
288 4    Underline on
289 5    Blink on
290 7    Reverse video on
291 3x   Foreground color is x
292 4x   Background color is x
293
294 Colors are
295 0    black
296 1    red
297 2    green
298 3    yellow
299 4    blue
300 5    magenta
301 6    cyan
302 7    white
303 </verb></tscreen>
304
305 Mutt uses these attributes for handling text/enriched messages, and they
306 can also be used by an external <ref id="auto_view" name="autoview">
307 script for highlighting purposes.  <bf/Note:/ If you change the colors for your
308 display, for example by changing the color associated with color2 for
309 your xterm, then that color will be used instead of green.
310
311 <sect2>Threaded Mode<label id="threads">
312 <p>
313 When the mailbox is <ref id="sort" name="sorted"> by <em/threads/, there are
314 a few additional functions available in the <em/index/ and <em/pager/ modes.
315
316 <tscreen><verb>
317 ^D      delete-thread           delete all messages in the current thread
318 ^U      undelete-thread         undelete all messages in the current thread
319 ^N      next-thread             jump to the start of the next thread
320 ^P      previous-thread         jump to the start of the previous thread
321 ^R      read-thread             mark the current thread as read
322 ESC d   delete-subthread        delete all messages in the current subthread
323 ESC u   undelete-subthread      undelete all messages in the current subthread
324 ESC n   next-subthread          jump to the start of the next subthread
325 ESC p   previous-subthread      jump to the start of the previous subthread
326 ESC r   read-subthread          mark the current subthread as read
327 ESC t   tag-thread              toggle the tag on the current thread
328 ESC v   collapse-thread         toggle collapse for the current thread
329 ESC V   collapse-all            toggle collapse for all threads
330 P       parent-message          jump to parent message in thread
331 </verb></tscreen>
332
333 <bf/Note:/ Collapsing a thread displays only the first message
334 in the thread and hides the others. This is useful when threads
335 contain so many messages that you can only see a handful of threads on
336 the screen. See %M in <ref id="index_format"name="&dollar;index&lowbar;format">.
337 For example, you could use "&percnt;?M?(#&percnt;03M)&amp;(&percnt;4l)?" in <ref
338 id="index_format"name="&dollar;index&lowbar;format"> to optionally
339 display the number of hidden messages if the thread is collapsed.
340
341 See also: <ref id="strict_threads" name="&dollar;strict&lowbar;threads">.
342
343 <sect2>Miscellaneous Functions
344 <p><bf/create-alias/<label id="create-alias"> (default: a)<newline>
345
346 Creates a new alias based upon the current message (or prompts for a
347 new one).  Once editing is complete, an <ref id="alias" name="alias">
348 command is added to the file specified by the <ref id="alias_file"
349 name="&dollar;alias&lowbar;file"> variable for future use. <bf/Note:/
350 Specifying an <ref id="alias_file" name="&dollar;alias&lowbar;file">
351 does not add the aliases specified there-in, you must also <ref
352 id="source" name="source"> the file.
353
354 <p><bf/check-traditional-pgp/<label id="check-traditional-pgp"> (default: ESC P)<newline>
355
356 This function will search the current message for content signed or
357 encrypted with PGP the "traditional" way, that is, without proper
358 MIME tagging.  Technically, this function will temporarily change
359 the MIME content types of the body parts containing PGP data; this
360 is similar to the <ref id="edit-type" name="edit-type"> function's
361 effect.
362
363
364 <p><bf/display-toggle-weed/<label id="display-toggle-weed"> (default: h)<newline>
365
366 Toggles the weeding of message header fields specified by <ref id="ignore"
367 name="ignore"> commands.
368
369 <p><bf/edit/<label id="edit"> (default: e)<newline>
370
371 This command (available in the ``index'' and ``pager'') allows you to
372 edit the raw current message as it's present in the mail folder.
373 After you have finished editing, the changed message will be
374 appended to the current folder, and the original message will be
375 marked for deletion.
376
377 <p><bf/edit-type/<label id="edit-type"><newline>
378 (default: ^E on the attachment menu, and in the pager and index menus; ^T on the
379 compose menu)
380
381 This command is used to temporarily edit an attachment's content
382 type to fix, for instance, bogus character set parameters.  When
383 invoked from the index or from the pager, you'll have the
384 opportunity to edit the top-level attachment's content type.  On the
385 <ref id="attach_menu" name="attachment menu">, you can change any
386 attachment's content type. These changes are not persistent, and get
387 lost upon changing folders.
388
389 Note that this command is also available on the <ref
390 id="compose_menu" name="compose menu">.  There, it's used to
391 fine-tune the properties of attachments you are going to send.
392
393 <p><bf/enter-command/<label id="enter-command"> (default: ``:'')<newline>
394
395 This command is used to execute any command you would normally put in a
396 configuration file.  A common use is to check the settings of variables, or
397 in conjunction with <ref id="macro" name="macros"> to change settings on the
398 fly.
399
400 <p><bf/extract-keys/<label id="extract-keys"> (default: ^K)<newline>
401
402 This command extracts PGP public keys from the current or tagged
403 message(s) and adds them to your PGP public key ring.
404
405 <p><bf/forget-passphrase/<label id="forget-passphrase"> (default:
406 ^F)<newline> 
407
408 This command wipes the passphrase(s) from memory. It is useful, if
409 you misspelled the passphrase.
410
411 <p><bf/list-reply/<label id="list-reply"> (default: L)<newline>
412
413 Reply to the current or tagged message(s) by extracting any addresses which
414 match the addresses given by the <ref id="lists" name="lists or subscribe">
415 commands, but also honor any <tt/Mail-Followup-To/ header(s) if the
416 <ref id="honor_followup_to" name="&dollar;honor&lowbar;followup&lowbar;to">
417 configuration variable is set.  Using this when replying to messages posted
418 to mailing lists helps avoid duplicate copies being sent to the author of
419 the message you are replying to.
420
421 <bf/pipe-message/<label id="pipe-message"> (default: |)<newline>
422
423 Asks for an external Unix command and pipes the current or
424 tagged message(s) to it.  The variables <ref id="pipe_decode"
425 name="&dollar;pipe&lowbar;decode">, <ref id="pipe_split"
426 name="&dollar;pipe&lowbar;split">, <ref id="pipe_sep"
427 name="&dollar;pipe&lowbar;sep"> and <ref id="wait_key"
428 name="&dollar;wait&lowbar;key"> control the exact behaviour of this
429 function.
430
431 <bf/resend-message/<label id="resend-message"> (default: ESC e)<newline>
432
433 With resend-message, mutt takes the current message as a template for a
434 new message.  This function is best described as "recall from arbitrary
435 folders".  It can conveniently be used to forward MIME messages while
436 preserving the original mail structure. Note that the amount of headers
437 included here depends on the value of the <ref id="weed" name="&dollar;weed">
438 variable.
439
440 This function is also available from the attachment menu. You can use this
441 to easily resend a message which was included with a bounce message
442 as a message/rfc822 body part.
443
444 <bf/shell-escape/<label id="shell-escape"> (default: !)<newline>
445
446 Asks for an external Unix command and executes it.  The <ref
447 id="wait_key" name="&dollar;wait&lowbar;key"> can be used to control
448 whether Mutt will wait for a key to be pressed when the command returns
449 (presumably to let the user read the output of the command), based on
450 the return status of the named command.
451
452 <bf/toggle-quoted/<label id="toggle-quoted"> (default: T)<newline>
453
454 The <em/pager/ uses the <ref id="quote_regexp"
455 name="&dollar;quote&lowbar;regexp"> variable to detect quoted text when
456 displaying the body of the message.  This function toggles the display
457 of the quoted material in the message.  It is particularly useful when
458 are interested in just the response and there is a large amount of
459 quoted text in the way.
460
461 <bf/skip-quoted/<label id="skip-quoted"> (default: S)<newline>
462
463 This function will go to the next line of non-quoted text which come
464 after a line of quoted text in the internal pager.
465
466 <sect1>Sending Mail
467 <p>
468
469 The following bindings are available in the <em/index/ for sending
470 messages.
471
472 <tscreen><verb>
473 m       compose         compose a new message
474 r       reply           reply to sender
475 g       group-reply     reply to all recipients
476 L       list-reply      reply to mailing list address
477 f       forward         forward message
478 b       bounce          bounce (remail) message
479 ESC k   mail-key        mail a PGP public key to someone
480 </verb></tscreen>
481
482 Bouncing a message sends the message as is to the recipient you
483 specify.  Forwarding a message allows you to add comments or
484 modify the message you are forwarding.  These items are discussed
485 in greater detail in the next chapter <ref id="forwarding_mail"
486 name="``Forwarding and Bouncing Mail''">.
487
488 Mutt will then enter the <em/compose/ menu and prompt you for the
489 recipients to place on the ``To:'' header field.  Next, it will ask
490 you for the ``Subject:'' field for the message, providing a default if
491 you are replying to or forwarding a message.  See also <ref id="askcc"
492 name="&dollar;askcc">, <ref id="askbcc" name="&dollar;askbcc">, <ref
493 id="autoedit" name="&dollar;autoedit">, <ref id="bounce"
494 name="&dollar;bounce">, and <ref id="fast_reply"
495 name="&dollar;fast&lowbar;reply"> for changing how Mutt asks these
496 questions.
497
498 Mutt will then automatically start your <ref id="editor"
499 name="&dollar;editor"> on the message body.  If the <ref id="edit_headers"
500 name="&dollar;edit&lowbar;headers"> variable is set, the headers will be at
501 the top of the message in your editor.  Any messages you are replying
502 to will be added in sort order to the message, with appropriate <ref
503 id="attribution" name="&dollar;attribution">, <ref id="indent_string"
504 name="&dollar;indent&lowbar;string"> and <ref id="post_indent_string"
505 name="&dollar;post&lowbar;indent&lowbar;string">.  When forwarding a
506 message, if the <ref id="mime_forward" name="&dollar;mime&lowbar;forward">
507 variable is unset, a copy of the forwarded message will be included.  If
508 you have specified a <ref id="signature" name="&dollar;signature">, it
509 will be appended to the message.
510
511 Once you have finished editing the body of your mail message, you are
512 returned to the <em/compose/ menu.  The following options are available:
513
514 <tscreen><verb>
515 a       attach-file             attach a file
516 A       attach-message          attach message(s) to the message
517 ESC k   attach-key              attach a PGP public key
518 d       edit-description        edit description on attachment
519 D       detach-file             detach a file
520 t       edit-to                 edit the To field
521 ESC f   edit-from               edit the From field
522 r       edit-reply-to           edit the Reply-To field
523 c       edit-cc                 edit the Cc field
524 b       edit-bcc                edit the Bcc field
525 y       send-message            send the message
526 s       edit-subject            edit the Subject
527 S       smime-menu              select S/MIME options
528 f       edit-fcc                specify an ``Fcc'' mailbox
529 p       pgp-menu                select PGP options
530 P       postpone-message        postpone this message until later
531 q       quit                    quit (abort) sending the message
532 w       write-fcc               write the message to a folder
533 i       ispell                  check spelling (if available on your system)
534 ^F      forget-passphrase       wipe passphrase(s) from memory
535 </verb></tscreen>
536
537 <bf/Note:/ The attach-message function will prompt you for a folder to
538 attach messages from. You can now tag messages in that folder and they
539 will be attached to the message you are sending. Note that certain
540 operations like composing a new mail, replying, forwarding, etc. are
541 not permitted when you are in that folder. The %r in <ref
542 id="status_format" name="&dollar;status&lowbar;format"> will change to
543 a 'A' to indicate that you are in attach-message mode.
544
545 <sect2>Editing the message header
546 <p>
547 When editing the header of your outgoing message, there are a couple of
548 special features available.
549
550 If you specify<newline>
551 <tt/Fcc:/ <em/filename/<newline>
552 Mutt will pick up <em/filename/
553 just as if you had used the <em/edit-fcc/ function in the <em/compose/ menu.
554
555 You can also attach files to your message by specifying<newline>
556 <tt/Attach:/ <em/filename/  &lsqb; <em/description/ &rsqb;<newline>
557 where <em/filename/ is the file to attach and <em/description/ is an
558 optional string to use as the description of the attached file.
559
560 When replying to messages, if you remove the <em/In-Reply-To:/ field from
561 the header field, Mutt will not generate a <em/References:/ field, which
562 allows you to create a new message thread.
563
564 Also see <ref id="edit_headers" name="edit&lowbar;headers">.
565
566 <sect2>Using Mutt with PGP
567
568 <p>
569 If you want to use PGP, you can specify 
570
571 <tt/Pgp:/ &lsqb; <tt/E/ | <tt/S/ | <tt/S&lt;id/&gt; &rsqb; <newline>
572
573 ``E'' encrypts, ``S'' signs and
574 ``S&lt;id&gt;'' signs with the given key, setting <ref
575 id="pgp_sign_as" name="&dollar;pgp&lowbar;sign&lowbar;as"> permanently.
576
577 If you have told mutt to PGP encrypt a message, it will guide you
578 through a key selection process when you try to send the message.
579 Mutt will not ask you any questions about keys which have a
580 certified user ID matching one of the message recipients' mail
581 addresses.  However, there may be situations in which there are
582 several keys, weakly certified user ID fields, or where no matching
583 keys can be found.
584
585 In these cases, you are dropped into a menu with a list of keys from
586 which you can select one.  When you quit this menu, or mutt can't
587 find any matching keys, you are prompted for a user ID.  You can, as
588 usually, abort this prompt using <tt/^G/.  When you do so, mutt will
589 return to the compose screen.
590
591 Once you have successfully finished the key selection, the message
592 will be encrypted using the selected public keys, and sent out.
593
594 Most fields of the entries in the key selection menu (see also <ref
595 id="pgp_entry_format" name="&dollar;pgp&lowbar;entry&lowbar;format">) 
596 have obvious meanings.  But some explanations on the capabilities, flags, 
597 and validity fields are in order.
598
599 The flags sequence (&percnt;f) will expand to one of the following flags:
600 <tscreen><verb>
601 R            The key has been revoked and can't be used.
602 X            The key is expired and can't be used.
603 d            You have marked the key as disabled.
604 c            There are unknown critical self-signature 
605              packets.
606 </verb></tscreen>
607
608 The capabilities field (&percnt;c) expands to a two-character sequence
609 representing a key's capabilities.  The first character gives
610 the key's encryption capabilities: A minus sign (<bf/-/) means 
611 that the key cannot be used for encryption.  A dot (<bf/./) means that
612 it's marked as a signature key in one of the user IDs, but may 
613 also be used for encryption.  The letter <bf/e/ indicates that 
614 this key can be used for encryption.
615  
616 The second character indicates the key's signing capabilities.  Once 
617 again, a ``<bf/-/'' implies ``not for signing'', ``<bf/./'' implies
618 that the key is marked as an encryption key in one of the user-ids, and
619 ``<bf/s/'' denotes a key which can be used for signing.
620
621 Finally, the validity field (%t) indicates how well-certified a user-id
622 is.  A question mark (<bf/?/) indicates undefined validity, a minus 
623 character (<bf/-/) marks an untrusted association, a space character 
624 means a partially trusted association, and a plus character (<bf/+/) 
625 indicates complete validity.
626
627 <sect2>Sending anonymous messages via mixmaster.
628
629 <p>
630 You may also have configured mutt to co-operate with Mixmaster, an
631 anonymous remailer.  Mixmaster permits you to send your messages
632 anonymously using a chain of remailers. Mixmaster support in mutt is for 
633 mixmaster version 2.04 (beta 45 appears to be the latest) and 2.03. 
634 It does not support earlier versions or the later so-called version 3 betas, 
635 of which the latest appears to be called 2.9b23.
636
637 To use it, you'll have to obey certain restrictions.  Most
638 important, you cannot use the <tt/Cc/ and <tt/Bcc/ headers.  To tell
639 Mutt to use mixmaster, you have to select a remailer chain, using
640 the mix function on the compose menu.  
641
642 The chain selection screen is divided into two parts.  In the
643 (larger) upper part, you get a list of remailers you may use.  In
644 the lower part, you see the currently selected chain of remailers.
645
646 You can navigate in the chain using the <tt/chain-prev/ and
647 <tt/chain-next/ functions, which are by default bound to the left
648 and right arrows and to the <tt/h/ and <tt/l/ keys (think vi
649 keyboard bindings).  To insert a remailer at the current chain
650 position, use the <tt/insert/ function.  To append a remailer behind
651 the current chain position, use <tt/select-entry/ or <tt/append/.
652 You can also delete entries from the chain, using the corresponding
653 function.  Finally, to abandon your changes, leave the menu, or
654 <tt/accept/ them pressing (by default) the <tt/Return/ key.
655
656 Note that different remailers do have different capabilities,
657 indicated in the &percnt;c entry of the remailer menu lines (see
658 <ref id="mix_entry_format"
659 name="&dollar;mix&lowbar;entry&lowbar;format">).  Most important is
660 the ``middleman'' capability, indicated by a capital ``M'': This
661 means that the remailer in question cannot be used as the final
662 element of a chain, but will only forward messages to other
663 mixmaster remailers.  For details on the other capabilities, please
664 have a look at the mixmaster documentation.
665
666 <sect1>Forwarding and Bouncing Mail<label id="forwarding_mail">
667 <p>
668
669 Bouncing and forwarding let you send an existing message to recipients
670 that you specify.  Bouncing a message uses the <ref id="sendmail"
671 name="sendmail"> command to send a copy to alternative addresses as if
672 they were the message's original recipients.  Forwarding a message, on
673 the other hand, allows you to modify the message before it is resent
674 (for example, by adding your own comments).
675
676 The following keys are bound by default:
677
678 <tscreen><verb>
679 f       forward         forward message
680 b       bounce          bounce (remail) message
681 </verb></tscreen>
682
683 Forwarding can be done by including the original message in the new
684 message's body (surrounded by indicating lines) or including it as a MIME
685 attachment, depending on the value of the <ref id="mime_forward"
686 name="&dollar;mime&lowbar;forward"> variable.  Decoding of attachments,
687 like in the pager, can be controlled by the <ref id="forward_decode"
688 name="&dollar;forward&lowbar;decode"> and <ref id="mime_forward_decode"
689 name="&dollar;mime&lowbar;forward&lowbar;decode"> variables,
690 respectively.  The desired forwarding format may depend on the content,
691 therefore <em/&dollar;mime&lowbar;forward/ is a quadoption which, for
692 example, can be set to ``ask-no''.
693
694 The inclusion of headers is controlled by the current setting of the
695 <ref id="weed" name="&dollar;weed"> variable, unless <ref
696 id="mime_forward" name="mime&lowbar;forward"> is set.
697
698 Editing the message to forward follows the same procedure as sending or
699 replying to a message does.
700
701 <sect1>Postponing Mail<label id="postponing_mail">
702 <p>
703
704 At times it is desirable to delay sending a message that you have
705 already begun to compose.  When the <em/postpone-message/ function is
706 used in the <em/compose/ menu, the body of your message and attachments
707 are stored in the mailbox specified by the <ref id="postponed"
708 name="&dollar;postponed"> variable.  This means that you can recall the
709 message even if you exit Mutt and then restart it at a later time.
710
711 Once a message is postponed, there are several ways to resume it.  From the
712 command line you can use the ``-p'' option, or if you <em/compose/ a new
713 message from the <em/index/ or <em/pager/ you will be prompted if postponed
714 messages exist.  If multiple messages are currently postponed, the
715 <em/postponed/ menu will pop up and you can select which message you would
716 like to resume.
717
718 <bf/Note:/ If you postpone a reply to a message, the reply setting of
719 the message is only updated when you actually finish the message and
720 send it.  Also, you must be in the same folder with the message you
721 replied to for the status of the message to be updated.
722
723 See also the <ref id="postpone" name="&dollar;postpone"> quad-option.
724
725 <sect1>Reading news via NNTP<label id="reading_news">
726 <p>
727
728 If compiled with ``--enable-nntp'' option, Mutt can read news from newsserver
729 via NNTP.  You can open a newsgroup with function ``change-newsgroup''
730 (default: i).  Default newsserver can be obtained from <em/NNTPSERVER/
731 environment variable.  Like other news readers, info about subscribed
732 newsgroups is saved in file by <ref id="newsrc" name="&dollar;newsrc">
733 variable.  Article headers are cached and can be loaded from file when
734 newsgroup entered instead loading from newsserver.
735
736 <sect>Configuration
737 <p>
738
739 While the default configuration (or ``preferences'') make Mutt
740 usable right out of the box, it is often desirable to tailor Mutt to
741 suit your own tastes. When Mutt is first invoked, it will attempt to
742 read the ``system'' configuration file (defaults set by your local
743 system administrator), unless the ``-n'' <ref id="commandline"
744 name="command line"> option is specified.  This file is typically
745 <tt>/usr/local/share/mutt/Muttrc</tt> or <tt>/etc/Muttrc</tt>. Mutt
746 will next look for a file named <tt>.muttrc</tt> in your home
747 directory.  If this file does not exist and your home directory has
748 a subdirectory named <tt/.mutt/, mutt try to load a file named
749 <tt>.mutt/muttrc</tt>. 
750
751 <tt>.muttrc</tt> is the file where you will usually place your <ref
752  id="commands" name="commands"> to configure Mutt.
753
754 In addition, mutt supports version specific configuration files that are
755 parsed instead of the default files as explained above.  For instance, if
756 your system has a <tt/Muttrc-0.88/ file in the system configuration
757 directory, and you are running version 0.88 of mutt, this file will be
758 sourced instead of the <tt/Muttrc/ file.  The same is true of the user
759 configuration file, if you have a file <tt/.muttrc-0.88.6/ in your home
760 directory, when you run mutt version 0.88.6, it will source this file
761 instead of the default <tt/.muttrc/ file.  The version number is the
762 same which is visible using the ``-v'' <ref id="commandline"
763 name="command line"> switch or using the <tt/show-version/ key (default:
764 V) from the index menu.
765
766 <sect1>Syntax of Initialization Files<label id="muttrc-syntax">
767 <p>
768
769 An initialization file consists of a series of <ref id="commands"
770 name="commands">.  Each line of the file may contain one or more commands.
771 When multiple commands are used, they must be separated by a semicolon (;).
772 <tscreen><verb>
773 set realname='Mutt user' ; ignore x-
774 </verb></tscreen>
775 The hash mark, or pound sign
776 (``&num;''), is used as a ``comment'' character. You can use it to
777 annotate your initialization file. All text after the comment character
778 to the end of the line is ignored. For example,
779
780 <tscreen><verb>
781 my_hdr X-Disclaimer: Why are you listening to me? &num; This is a comment
782 </verb></tscreen>
783
784 Single quotes (') and double quotes (&dquot;) can be used to quote strings
785 which contain spaces or other special characters.  The difference between
786 the two types of quotes is similar to that of many popular shell programs,
787 namely that a single quote is used to specify a literal string (one that is
788 not interpreted for shell variables or quoting with a backslash &lsqb;see
789 next paragraph&rsqb;), while double quotes indicate a string for which
790 should be evaluated.  For example, backtics are evaluated inside of double
791 quotes, but <bf/not/ for single quotes.
792
793 &bsol; quotes the next character, just as in shells such as bash and zsh.
794 For example, if want to put quotes ``&dquot;'' inside of a string, you can use
795 ``&bsol;'' to force the next character to be a literal instead of interpreted
796 character.
797 <tscreen><verb>
798 set realname="Michael \"MuttDude\" Elkins"
799 </verb></tscreen>
800
801 ``&bsol;&bsol;'' means to insert a literal ``&bsol;'' into the line.
802 ``&bsol;n'' and ``&bsol;r'' have their usual C meanings of linefeed and
803 carriage-return, respectively.
804
805 A &bsol; at the end of a line can be used to split commands over
806 multiple lines, provided that the split points don't appear in the
807 middle of command names.
808
809 It is also possible to substitute the output of a Unix command in an
810 initialization file.  This is accomplished by enclosing the command in
811 backquotes (``).  For example,
812 <tscreen><verb>
813 my_hdr X-Operating-System: `uname -a`
814 </verb></tscreen>
815 The output of the Unix command ``uname -a'' will be substituted before the
816 line is parsed.  Note that since initialization files are line oriented, only
817 the first line of output from the Unix command will be substituted.
818
819 UNIX environments can be accessed like the way it is done in shells like
820 sh and bash: Prepend the name of the environment by a ``&dollar;''.  For
821 example,
822 <tscreen><verb>
823 set record=+sent_on_$HOSTNAME
824 </verb></tscreen>
825
826 The commands understood by mutt are explained in the next paragraphs.
827 For a complete list, see the <ref id="commands" name="command reference">.
828
829 <sect1>Defining/Using aliases<label id="alias">
830 <p>
831
832 Usage: <tt/alias/ <em/key/ <em/address/ &lsqb; , <em/address/, ... &rsqb;
833
834 It's usually very cumbersome to remember or type out the address of someone
835 you are communicating with.  Mutt allows you to create ``aliases'' which map
836 a short string to a full address.
837
838 <bf/Note:/ if you want to create an alias for a group (by specifying more than
839 one address), you <bf/must/ separate the addresses with a comma (``,'').
840
841 To remove an alias or aliases (``*'' means all aliases):
842
843 <tt/unalias/ &lsqb; * | <em/key/ <em/.../ &rsqb;
844
845 <tscreen><verb>
846 alias muttdude me@cs.hmc.edu (Michael Elkins)
847 alias theguys manny, moe, jack
848 </verb></tscreen>
849
850 Unlike other mailers, Mutt doesn't require aliases to be defined
851 in a special file.  The <tt/alias/ command can appear anywhere in
852 a configuration file, as long as this file is <ref id="source"
853 name="sourced">.  Consequently, you can have multiple alias files, or
854 you can have all aliases defined in your muttrc.
855
856 On the other hand, the <ref id="create-alias" name="create-alias">
857 function can use only one file, the one pointed to by the <ref
858 id="alias_file" name="&dollar;alias&lowbar;file"> variable (which is
859 <tt>&tilde;/.muttrc</tt> by default). This file is not special either,
860 in the sense that Mutt will happily append aliases to any file, but in
861 order for the new aliases to take effect you need to explicitly <ref
862 id="source" name="source"> this file too.
863
864 For example:
865
866 <tscreen><verb>
867 source /usr/local/share/Mutt.aliases
868 source ~/.mail_aliases
869 set alias_file=~/.mail_aliases
870 </verb></tscreen>
871
872 To use aliases, you merely use the alias at any place in mutt where mutt
873 prompts for addresses, such as the <em/To:/ or <em/Cc:/ prompt.  You can
874 also enter aliases in your editor at the appropriate headers if you have the
875 <ref id="edit_headers" name="&dollar;edit&lowbar;headers"> variable set.
876
877 In addition, at the various address prompts, you can use the tab character
878 to expand a partial alias to the full alias.  If there are multiple matches,
879 mutt will bring up a menu with the matching aliases.  In order to be
880 presented with the full list of aliases, you must hit tab with out a partial
881 alias, such as at the beginning of the prompt or after a comma denoting
882 multiple addresses.
883
884 In the alias menu, you can select as many aliases as you want with the
885 <em/select-entry/ key (default: RET), and use the <em/exit/ key
886 (default: q) to return to the address prompt.
887
888 <sect1>Changing the default key bindings<label id="bind">
889 <p>
890 Usage: <tt/bind/ <em/map/ <em/key/ <em/function/
891
892 This command allows you to change the default key bindings (operation
893 invoked when pressing a key).
894
895 <em/map/ specifies in which menu the binding belongs.  The currently
896 defined maps are:
897
898 <descrip>
899 <tag/generic/
900 This is not a real menu, but is used as a fallback for all of the other
901 menus except for the pager and editor modes.  If a key is not defined in
902 another menu, Mutt will look for a binding to use in this menu.  This allows
903 you to bind a key to a certain function in multiple menus instead of having
904 multiple bind statements to accomplish the same task.
905 <tag/alias/
906 The alias menu is the list of your personal aliases as defined in your
907 muttrc.  It is the mapping from a short alias name to the full email
908 address(es) of the recipient(s).
909 <tag/attach/
910 The attachment menu is used to access the attachments on received messages.
911 <tag/browser/
912 The browser is used for both browsing the local directory structure, and for
913 listing all of your incoming mailboxes.
914 <tag/editor/
915 The editor is the line-based editor the user enters text data.
916 <tag/index/
917 The index is the list of messages contained in a mailbox.
918 <tag/compose/
919 The compose menu is the screen used when sending a new message.
920 <tag/pager/
921 The pager is the mode used to display message/attachment data, and help
922 listings.
923 <tag/pgp/
924 The pgp menu is used to select the OpenPGP keys used for encrypting outgoing
925 messages.
926 <tag/postpone/
927 The postpone menu is similar to the index menu, except is used when
928 recalling a message the user was composing, but saved until later.
929 </descrip>
930
931 <em/key/ is the key (or key sequence) you wish to bind.  To specify a
932 control character, use the sequence <em/&bsol;Cx/, where <em/x/ is the
933 letter of the control character (for example, to specify control-A use
934 ``&bsol;Ca'').  Note that the case of <em/x/ as well as <em/&bsol;C/ is
935 ignored, so that <em/&bsol;CA, &bsol;Ca, &bsol;cA/ and <em/&bsol;ca/ are all
936 equivalent.  An alternative form is to specify the key as a three digit
937 octal number prefixed with a ``&bsol;'' (for example <em/&bsol;177/ is
938 equivalent to <em/&bsol;c?/).
939
940 In addition, <em/key/ may consist of:
941
942 <tscreen><verb>
943 \t              tab
944 <tab>           tab
945 \r              carriage return
946 \n              newline
947 \e              escape
948 <esc>           escape
949 <up>            up arrow
950 <down>          down arrow
951 <left>          left arrow
952 <right>         right arrow
953 <pageup>        Page Up
954 <pagedown>      Page Down
955 <backspace>     Backspace
956 <delete>        Delete
957 <insert>        Insert
958 <enter>         Enter
959 <return>        Return
960 <home>          Home
961 <end>           End
962 <space>         Space bar
963 <f1>            function key 1
964 <f10>           function key 10
965 </verb></tscreen>
966
967 <em/key/ does not need to be enclosed in quotes unless it contains a
968 space (`` '').
969
970 <em/function/ specifies which action to take when <em/key/ is pressed.
971 For a complete list of functions, see the <ref id="functions"
972 name="reference">.  The special function <tt/noop/ unbinds the specified key
973 sequence.
974
975 <sect1>Defining aliases for character sets <label id="charset-hook">
976 <p>
977 Usage: <tt/charset-hook/ <em/alias/ <em/charset/<newline>
978 Usage: <tt/iconv-hook/ <em/charset/ <em/local-charset/
979
980 The <tt/charset-hook/ command defines an alias for a character set.
981 This is useful to properly display messages which are tagged with a
982 character set name not known to mutt.
983
984 The <tt/iconv-hook/ command defines a system-specific name for a
985 character set.  This is helpful when your systems character
986 conversion library insists on using strange, system-specific names
987 for character sets.
988
989
990 <sect1>Setting variables based upon mailbox<label id="folder-hook">
991 <p>
992 Usage: <tt/folder-hook/ &lsqb;!&rsqb;<em/regexp/ <em/command/
993
994 It is often desirable to change settings based on which mailbox you are
995 reading.  The folder-hook command provides a method by which you can execute
996 any configuration command.  <em/regexp/ is a regular expression specifying
997 in which mailboxes to execute <em/command/ before loading.  If a mailbox
998 matches multiple folder-hook's, they are executed in the order given in the
999 muttrc.
1000
1001 <bf/Note:/ if you use the ``!'' shortcut for <ref id="spoolfile"
1002 name="&dollar;spoolfile"> at the beginning of the pattern, you must place it
1003 inside of double or single quotes in order to distinguish it from the
1004 logical <em/not/ operator for the expression.
1005
1006 Note that the settings are <em/not/ restored when you leave the mailbox.
1007 For example, a command action to perform is to change the sorting method
1008 based upon the mailbox being read:
1009
1010 <tscreen><verb>
1011 folder-hook mutt set sort=threads
1012 </verb></tscreen>
1013
1014 However, the sorting method is not restored to its previous value when
1015 reading a different mailbox.  To specify a <em/default/ command, use the
1016 pattern ``.'':
1017
1018 <p>
1019 <tscreen><verb>
1020 folder-hook . set sort=date-sent
1021 </verb></tscreen>
1022
1023 <sect1>Keyboard macros<label id="macro">
1024 <p>
1025 Usage: <tt/macro/ <em/menu/ <em/key/ <em/sequence/ &lsqb; <em/description/ &rsqb;
1026
1027 Macros are useful when you would like a single key to perform a series of
1028 actions.  When you press <em/key/ in menu <em/menu/, Mutt will behave as if
1029 you had typed <em/sequence/.  So if you have a common sequence of commands
1030 you type, you can create a macro to execute those commands with a single
1031 key.
1032
1033 <em/key/ and <em/sequence/ are expanded by the same rules as the <ref
1034 id="bind" name="key bindings">.  There are some additions however.  The
1035 first is that control characters in <em/sequence/ can also be specified
1036 as <em/&circ;x/.  In order to get a caret (`&circ;'') you need to use
1037 <em/&circ;&circ;/.  Secondly, to specify a certain key such as <em/up/
1038 or to invoke a function directly, you can use the format
1039 <em/&lt;key name&gt;/ and <em/&lt;function name&gt;/.  For a listing of key
1040 names see the section on <ref id="bind" name="key bindings">.  Functions
1041 are listed in the <ref id="functions" name="function reference">.
1042
1043 The advantage with using function names directly is that the macros will
1044 work regardless of the current key bindings, so they are not dependent on
1045 the user having particular key definitions.  This makes them more robust
1046 and portable, and also facilitates defining of macros in files used by more
1047 than one user (eg. the system Muttrc).
1048
1049 Optionally you can specify a descriptive text after <em/sequence/,
1050 which is shown in the help screens.
1051
1052 <bf/Note:/ Macro definitions (if any) listed in the help screen(s), are
1053 silently truncated at the screen width, and are not wrapped.   
1054
1055 <sect1>Using color and mono video attributes<label id="color">
1056 <p>
1057 Usage: <tt/color/ <em/object/ <em/foreground/ <em/background/ &lsqb; <em/regexp/ &rsqb;<newline>
1058 Usage: <tt/color/ index <em/foreground/ <em/background/ <em/pattern/<newline>
1059 Usage: <tt/uncolor/ index <em/pattern/ &lsqb; <em/pattern/ ...  &rsqb;<newline>
1060
1061 If your terminal supports color, you can spice up Mutt by creating your own
1062 color scheme.  To define the color of an object (type of information), you
1063 must specify both a foreground color <bf/and/ a background color (it is not
1064 possible to only specify one or the other).
1065
1066 <em/object/ can be one of:
1067
1068 <itemize>
1069 <item>attachment
1070 <item>body (match <em/regexp/ in the body of messages)
1071 <item>bold (hiliting bold patterns in the body of messages)
1072 <item>error (error messages printed by Mutt)
1073 <item>header (match <em/regexp/ in the message header)
1074 <item>hdrdefault (default color of the message header in the pager)
1075 <item>index (match <em/pattern/ in the message index)
1076 <item>indicator (arrow or bar used to indicate the current item in a menu)
1077 <item>markers (the ``+'' markers at the beginning of wrapped lines in the pager)
1078 <item>message (informational messages)
1079 <item>normal
1080 <item>quoted (text matching <ref id="quote_regexp"
1081 name="&dollar;quote&lowbar;regexp"> in the body of a message)
1082 <item>quoted1, quoted2, ..., quoted<bf/N/ (higher levels of quoting)
1083 <item>search (hiliting of words in the pager)
1084 <item>signature
1085 <item>status (mode lines used to display info about the mailbox or message)
1086 <item>tilde (the ``&tilde;'' used to pad blank lines in the pager)
1087 <item>tree (thread tree drawn in the message index and attachment menu)
1088 <item>underline (hiliting underlined patterns in the body of messages)
1089 </itemize>
1090
1091 <em/foreground/ and <em/background/ can be one of the following:
1092
1093 <itemize>
1094 <item>white
1095 <item>black
1096 <item>green
1097 <item>magenta
1098 <item>blue
1099 <item>cyan
1100 <item>yellow
1101 <item>red
1102 <item>default
1103 <item>color<em/x/
1104 </itemize>
1105
1106 <em/foreground/ can optionally be prefixed with the keyword <tt/bright/ to make
1107 the foreground color boldfaced (e.g., <tt/brightred/).
1108
1109 If your terminal supports it, the special keyword <em/default/ can be
1110 used as a transparent color.  The value <em/brightdefault/ is also valid.
1111 If Mutt is linked against the <em/S-Lang/ library, you also need to set
1112 the <em/COLORFGBG/ environment variable to the default colors of your
1113 terminal for this to work; for example (for Bourne-like shells):
1114
1115 <tscreen><verb>
1116 set COLORFGBG="green;black"
1117 export COLORFGBG
1118 </verb></tscreen>
1119
1120 <bf/Note:/ The <em/S-Lang/ library requires you to use the <em/lightgray/
1121 and <em/brown/ keywords instead of <em/white/ and <em/yellow/ when
1122 setting this variable.
1123
1124 <bf/Note:/ The uncolor command can be applied to the index object only.  It
1125 removes entries from the list. You <bf/must/ specify the same pattern
1126 specified in the color command for it to be removed.  The pattern ``*'' is
1127 a special token which means to clear the color index list of all entries.
1128
1129 Mutt also recognizes the keywords <em/color0/, <em/color1/, &hellip;,
1130 <em/color/<bf/N-1/ (<bf/N/ being the number of colors supported
1131 by your terminal).  This is useful when you remap the colors for your
1132 display (for example by changing the color associated with <em/color2/
1133 for your xterm), since color names may then lose their normal meaning.
1134
1135 If your terminal does not support color, it is still possible change the video
1136 attributes through the use of the ``mono'' command:
1137
1138 Usage: <tt/mono/ <em/&lt;object&gt; &lt;attribute&gt;/ &lsqb; <em/regexp/ &rsqb;<newline>
1139 Usage: <tt/mono/ index <em/attribute/ <em/pattern/<newline>
1140 Usage: <tt/unmono/ index <em/pattern/ &lsqb; <em/pattern/ ...  &rsqb;<newline>
1141
1142 where <em/attribute/ is one of the following:
1143
1144 <itemize>
1145 <item>none
1146 <item>bold
1147 <item>underline
1148 <item>reverse
1149 <item>standout
1150 </itemize>
1151
1152 <sect1>Ignoring (weeding) unwanted message headers<label id="ignore">
1153 <p>
1154 Usage: <tt/&lsqb;un&rsqb;ignore/ <em/pattern/ &lsqb; <em/pattern/ ... &rsqb;
1155
1156 Messages often have many header fields added by automatic processing systems,
1157 or which may not seem useful to display on the screen.  This command allows
1158 you to specify header fields which you don't normally want to see.
1159
1160 You do not need to specify the full header field name.  For example,
1161 ``ignore content-'' will ignore all header fields that begin with the pattern
1162 ``content-''. ``ignore *'' will ignore all headers.
1163
1164 To remove a previously added token from the list, use the ``unignore'' command.
1165 The ``unignore'' command will make Mutt display headers with the given pattern.
1166 For example, if you do ``ignore x-'' it is possible to ``unignore x-mailer''.
1167
1168 ``unignore *'' will remove all tokens from the ignore list.
1169
1170 For example:
1171 <tscreen><verb>
1172 # Sven's draconian header weeding
1173 ignore *
1174 unignore from date subject to cc
1175 unignore organization organisation x-mailer: x-newsreader: x-mailing-list:
1176 unignore posted-to:
1177 </verb></tscreen>
1178
1179 <sect1>Alternative addresses<label id="alternates">
1180 <p>
1181 Usage: <tt/&lsqb;un&rsqb;alternates/ <em/regexp/ &lsqb; <em/regexp/ ... &rsqb;<newline>
1182
1183 With various functions, mutt will treat messages differently,
1184 depending on whether you sent them or whether you received them from
1185 someone else.  For instance, when replying to a message that you
1186 sent to a different party, mutt will automatically suggest to send
1187 the response to the original message's recipients -- responding to
1188 yourself won't make much sense in many cases.  (See <ref
1189 id="reply_to" name="&dollar;reply_to">.)
1190
1191 Many users receive e-mail under a number of different addresses. To
1192 fully use mutt's features here, the program must be able to
1193 recognize what e-mail addresses you receive mail under. That's the
1194 purpose of the <tt/alternates/ command: It takes a list of regular
1195 expressions, each of which can identify an address under which you
1196 receive e-mail.
1197
1198 To remove a regular expression from this list, use the
1199 <tt/unalternates/ command.
1200
1201 <sect1>Mailing lists<label id="lists">
1202 <p>
1203 Usage: <tt/&lsqb;un&rsqb;lists/ <em/regexp/ &lsqb; <em/regexp/ ... &rsqb;<newline>
1204 Usage: <tt/&lsqb;un&rsqb;subscribe/ <em/regexp/ &lsqb; <em/regexp/ ... &rsqb;
1205
1206 Mutt has a few nice features for <ref id="using_lists" name="handling
1207 mailing lists">.  In order to take advantage of them, you must
1208 specify which addresses belong to mailing lists, and which mailing
1209 lists you are subscribed to.  Once you have done this, the <ref
1210 id="list-reply" name="list-reply"> function will work for all known lists.
1211 Additionally, when you send a message to a subscribed list, mutt will
1212 add a Mail-Followup-To header to tell other users' mail user agents
1213 not to send copies of replies to your personal address.   Note that
1214 the Mail-Followup-To header is a non-standard extension which is not
1215 supported by all mail user agents.  Adding it is not bullet-proof against
1216 receiving personal CCs of list messages.  Also note that the generation
1217 of the Mail-Followup-To header is controlled by the <ref id="followup_to"
1218 name="&dollar;followup_to"> configuration variable.
1219
1220 More precisely, Mutt maintains lists of patterns for the addresses
1221 of known and subscribed mailing lists.  Every subscribed mailing
1222 list is known. To mark a mailing list as known, use the ``lists''
1223 command.  To mark it as subscribed, use ``subscribe''.
1224
1225 You can use regular expressions with both commands.  To mark all
1226 messages sent to a specific bug report's address on mutt's bug
1227 tracking system as list mail, for instance, you could say
1228 ``subscribe [0-9]*@bugs.guug.de''.  Often, it's sufficient to just
1229 give a portion of the list's e-mail address.
1230
1231 Specify as much of the address as you need to to remove ambiguity.  For
1232 example, if you've subscribed to the Mutt mailing list, you will receive mail
1233 addresssed to <em/mutt-users@mutt.org/.  So, to tell Mutt that this is a
1234 mailing list, you could add ``lists mutt-users'' to your
1235 initialization file.  To tell mutt that you are subscribed to it,
1236 add ``subscribe mutt-users'' to your initialization file instead.
1237 If you also happen to get mail from someone whose address is
1238 <em/mutt-users@example.com/, you could use ``lists mutt-users@mutt.org'' 
1239 or ``subscribe mutt-users@mutt.org'' to
1240 match only mail from the actual list.
1241
1242 The ``unlists'' command is used to remove a token from the list of
1243 known and subscribed mailing-lists. Use ``unlists *'' to remove all
1244 tokens.
1245
1246 To remove a mailing list from the list of subscribed mailing lists,
1247 but keep it on the list of known mailing lists, use ``unsubscribe''.
1248
1249 <sect1>Using Multiple spool mailboxes<label id="mbox-hook">
1250 <p>
1251 Usage: <tt/mbox-hook/ &lsqb;!&rsqb;<em/pattern/ <em/mailbox/
1252
1253 This command is used to move read messages from a specified mailbox to a
1254 different mailbox automatically when you quit or change folders.
1255 <em/pattern/ is a regular expression specifying the mailbox to treat as a
1256 ``spool'' mailbox and <em/mailbox/ specifies where mail should be saved when
1257 read.
1258
1259 Unlike some of the other <em/hook/ commands, only the <em/first/ matching
1260 pattern is used (it is not possible to save read mail in more than a single
1261 mailbox).
1262
1263 <sect1>Defining mailboxes which receive mail<label id="mailboxes">
1264 <p>
1265 Usage: <tt/&lsqb;un&rsqb;mailboxes/ &lsqb;!&rsqb;<em/filename/ &lsqb; <em/filename/ ... &rsqb;
1266
1267 This command specifies folders which can receive mail and
1268 which will be checked for new messages.  By default, the
1269 main menu status bar displays how many of these folders have
1270 new messages.
1271 <p>
1272 When changing folders, pressing <em/space/ will cycle
1273 through folders with new mail.
1274 <p>
1275 Pressing TAB in the directory browser will bring up a menu showing the files
1276 specified by the <tt/mailboxes/ command, and indicate which contain new
1277 messages.  Mutt will automatically enter this mode when invoked from the
1278 command line with the <tt/-y/ option.
1279
1280 The ``unmailboxes'' command is used to remove a token from the list
1281 of folders which receive mail. Use ``unmailboxes *'' to remove all
1282 tokens.
1283
1284 <p>
1285 <bf/Note:/ new mail is detected by comparing the last modification time to
1286 the last access time.  Utilities like <tt/biff/ or <tt/frm/ or any other
1287 program which accesses the mailbox might cause Mutt to never detect new mail
1288 for that mailbox if they do not properly reset the access time.  Backup
1289 tools are another common reason for updated access times.
1290 <p>
1291
1292 <bf/Note:/ the filenames in the <tt/mailboxes/ command are resolved when
1293 the command is executed, so if these names contain <ref id="shortcuts"
1294 name="shortcut characters"> (such as ``='' and ``!''), any variable
1295 definition that affect these characters (like <ref id="folder"
1296 name="&dollar;folder"> and <ref id="spoolfile" name="&dollar;spoolfile">)
1297 should be executed before the <tt/mailboxes/ command.
1298
1299 <sect1>User defined headers<label id="my_hdr">
1300 <p>
1301 Usage:<newline>
1302 <tt/my_hdr/ <em/string/<newline>
1303 <tt/unmy_hdr/ <em/field/ &lsqb; <em/field/ ... &rsqb;
1304
1305 The ``my&lowbar;hdr'' command allows you to create your own header
1306 fields which will be added to every message you send.
1307
1308 For example, if you would like to add an ``Organization:'' header field to
1309 all of your outgoing messages, you can put the command
1310
1311 <quote>
1312 my_hdr Organization: A Really Big Company, Anytown, USA
1313 </quote>
1314
1315 in your <tt/.muttrc/.
1316
1317 <bf/Note:/  space characters are <em/not/ allowed between the keyword and
1318 the colon (``:'').  The standard for electronic mail (RFC822) says that
1319 space is illegal there, so Mutt enforces the rule.
1320
1321 If you would like to add a header field to a single message, you should
1322 either set the <ref id="edit_headers" name="edit&lowbar;headers"> variable,
1323 or use the <em/edit-headers/ function (default: ``E'') in the send-menu so
1324 that you can edit the header of your message along with the body.
1325
1326 To remove user defined header fields, use the ``unmy&lowbar;hdr''
1327 command.  You may specify an asterisk (``*'') to remove all header
1328 fields, or the fields to remove.  For example, to remove all ``To'' and
1329 ``Cc'' header fields, you could use:
1330
1331 <quote>
1332 unmy_hdr to cc
1333 </quote>
1334
1335 <sect1>Defining the order of headers when viewing messages<label id="hdr_order">
1336 <p>
1337 Usage: <tt/hdr&lowbar;order/ <em/header1/ <em/header2/ <em/header3/
1338
1339 With this command, you can specify an order in which mutt will attempt
1340 to present headers to you when viewing messages.
1341
1342 ``unhdr_order *'' will clear all previous headers from the order list,
1343 thus removing the header order effects set by the system-wide startup
1344 file.
1345
1346 <tscreen><verb>
1347 hdr&lowbar;order From Date: From: To: Cc: Subject:
1348 </verb></tscreen>
1349
1350 <sect1>Specify default save filename<label id="save-hook">
1351 <p>
1352 Usage: <tt/save-hook/ &lsqb;!&rsqb;<em/pattern/ <em/filename/
1353
1354 This command is used to override the default filename used when saving
1355 messages.  <em/filename/ will be used as the default filename if the message is
1356 <em/From:/ an address matching <em/regexp/ or if you are the author and the
1357 message is addressed <em/to:/ something matching <em/regexp/.
1358
1359 See <ref id="pattern_hook" name="Message Matching in Hooks"> for information on the exact format of <em/pattern/.
1360
1361 Examples:
1362
1363 <tscreen><verb>
1364 save-hook me@(turing\\.)?cs\\.hmc\\.edu$ +elkins
1365 save-hook aol\\.com$ +spam
1366 </verb></tscreen>
1367
1368 Also see the <ref id="fcc-save-hook" name="fcc-save-hook"> command.
1369
1370 <sect1>Specify default Fcc: mailbox when composing<label id="fcc-hook">
1371 <p>
1372 Usage: <tt/fcc-hook/ &lsqb;!&rsqb;<em/pattern/ <em/mailbox/
1373
1374 This command is used to save outgoing mail in a mailbox other than
1375 <ref id="record" name="&dollar;record">.  Mutt searches the initial list of
1376 message recipients for the first matching <em/regexp/ and uses <em/mailbox/
1377 as the default Fcc: mailbox.  If no match is found the message will be saved
1378 to <ref id="record" name="&dollar;record"> mailbox.
1379
1380 See <ref id="pattern_hook" name="Message Matching in Hooks"> for information on the exact format of <em/pattern/.
1381
1382 Example: <tt/fcc-hook aol.com&dollar; +spammers/
1383
1384 The above will save a copy of all messages going to the aol.com domain to
1385 the `+spammers' mailbox by default.  Also see the <ref id="fcc-save-hook" 
1386 name="fcc-save-hook"> command.
1387
1388 <sect1>Specify default save filename and default Fcc: mailbox at once<label
1389 id="fcc-save-hook">
1390 <p>
1391 Usage: <tt/fcc-save-hook/ &lsqb;!&rsqb;<em/pattern/ <em/mailbox/
1392
1393 This command is a shortcut, equivalent to doing both a <ref id="fcc-hook" name="fcc-hook">
1394 and a <ref id="save-hook" name="save-hook"> with its arguments.
1395
1396 <sect1>Change settings based upon message recipients<label id="send-hook"><label id="reply-hook">
1397 <p>
1398 Usage: <tt/reply-hook/ &lsqb;!&rsqb;<em/pattern/ <em/command/<newline>
1399 Usage: <tt/send-hook/ &lsqb;!&rsqb;<em/pattern/ <em/command/
1400
1401 These commands can be used to execute arbitrary configuration commands based
1402 upon recipients of the message.  <em/pattern/ is a regular expression
1403 matching the desired address.  <em/command/ is executed when <em/regexp/
1404 matches recipients of the message.
1405
1406 <tt/reply-hook/ is matched against the message you are <em/replying/
1407 <bf/to/, instead of the message you are <em/sending/.  <tt/send-hook/ is
1408 matched against all messages, both <em/new/ and <em/replies/.  <bf/Note:/
1409 <tt/reply-hook/s are matched <bf/before/ the <tt/send-hook/, <bf/regardless/
1410 of the order specified in the users's configuration file.
1411
1412 For each type of <tt/send-hook/ or <tt/reply-hook/, When multiple matches
1413 occur, commands are executed in the order they are specified in the muttrc
1414 (for that type of hook).
1415
1416 See <ref id="pattern_hook" name="Message Matching in Hooks"> for information on the exact format of <em/pattern/.
1417
1418 Example: <tt/send-hook mutt &dquot;set mime&lowbar;forward signature=''&dquot;/
1419
1420 Another typical use for this command is to change the values of the
1421 <ref id="attribution" name="&dollar;attribution">, <ref id="signature"
1422 name="&dollar;signature"> and <ref id="locale" name="&dollar;locale">
1423 variables in order to change the language of the attributions and
1424 signatures based upon the recipients.
1425
1426 <bf/Note:/ the send-hook's are only executed ONCE after getting the initial
1427 list of recipients.  Adding a recipient after replying or editing the
1428 message will NOT cause any send-hook to be executed.  Also note that
1429 my_hdr commands which modify recipient headers, or the message's
1430 subject, don't have any effect on the current message when executed
1431 from a send-hook.
1432
1433 <sect1>Change settings before formatting a message<label id="message-hook">
1434 <p>
1435 Usage: <tt/message-hook/ &lsqb;!&rsqb;<em/pattern/ <em/command/
1436
1437 This command can be used to execute arbitrary configuration commands
1438 before viewing or formatting a message based upon information about the message.
1439 <em/command/ is executed if the <em/pattern/ matches the message to be
1440 displayed. When multiple matches occur, commands are executed in the order
1441 they are specified in the muttrc.
1442
1443 See <ref id="pattern_hook" name="Message Matching in Hooks"> for
1444 information on the exact format of <em/pattern/.
1445
1446 Example:
1447 <tscreen><verb>
1448 message-hook ~A 'set pager=builtin'
1449 message-hook '~f freshmeat-news' 'set pager="less \"+/^  subject: .*\""'
1450 </verb></tscreen>
1451
1452 <sect1>Choosing the cryptographic key of the recipient<label id="crypt-hook">
1453 <p>
1454 Usage: <tt/crypt-hook/ <em/pattern/ <em/keyid/
1455
1456 When encrypting messages with PGP or OpenSSL, you may want to associate a certain
1457 key with a given e-mail address automatically, either because the
1458 recipient's public key can't be deduced from the destination address,
1459 or because, for some reasons, you need to override the key Mutt would
1460 normally use.  The crypt-hook command provides a method by which you can
1461 specify the ID of the public key to be used when encrypting messages to
1462 a certain recipient.
1463
1464 The meaning of "key id" is to be taken broadly in this context:  You
1465 can either put a numerical key ID here, an e-mail address, or even
1466 just a real name.
1467
1468 <sect1>Adding key sequences to the keyboard buffer<label id="push">
1469 <p>
1470 Usage: <tt/push/ <em/string/
1471
1472 This command adds the named string to the keyboard buffer. The string may
1473 contain control characters, key names and function names like the sequence
1474 string in the <ref id="macro" name="macro"> command. You may use it to
1475 automatically run a sequence of commands at startup, or when entering
1476 certain folders.
1477
1478 <sect1>Executing functions<label id="exec">
1479 <p>
1480 Usage: <tt/exec/ <em/function/ &lsqb; <em/function/ ... &rsqb;
1481
1482 This command can be used to execute any function. Functions are
1483 listed in the <ref id="functions" name="function reference">.
1484 ``exec function'' is equivalent to ``push &lt;function&gt;''.
1485
1486 <sect1>Message Scoring<label id="score-command">
1487 <p>
1488 Usage: <tt/score/ <em/pattern/ <em/value/<newline>
1489 Usage: <tt/unscore/ <em/pattern/ &lsqb; <em/pattern/ ... &rsqb;
1490
1491 The <tt/score/ commands adds <em/value/ to a message's score if <em/pattern/
1492 matches it.  <em/pattern/ is a string in the format described in the <ref
1493 id="patterns" name="patterns"> section (note: For efficiency reasons, patterns
1494 which scan information not available in the index, such as <tt>&tilde;b</tt>,
1495 <tt>&tilde;B</tt> or <tt>&tilde;h</tt>, may not be used).  <em/value/ is a
1496 positive or negative integer.  A message's final score is the sum total of all
1497 matching <tt/score/ entries.  However, you may optionally prefix <em/value/ with
1498 an equal sign (=) to cause evaluation to stop at a particular entry if there is
1499 a match.  Negative final scores are rounded up to 0.
1500
1501 The <tt/unscore/ command removes score entries from the list.  You <bf/must/
1502 specify the same pattern specified in the <tt/score/ command for it to be
1503 removed.  The pattern ``*'' is a special token which means to clear the list
1504 of all score entries.
1505
1506 <sect1>Setting variables<label id="set">
1507 <p>
1508 Usage: <tt/set/ &lsqb;no|inv&rsqb;<em/variable/&lsqb;=<em/value/&rsqb; &lsqb; <em/variable/ ... &rsqb;<newline>
1509 Usage: <tt/toggle/ <em/variable/ &lsqb;<em/variable/ ... &rsqb;<newline>
1510 Usage: <tt/unset/ <em/variable/ &lsqb;<em/variable/ ... &rsqb;<newline>
1511 Usage: <tt/reset/ <em/variable/ &lsqb;<em/variable/ ... &rsqb;
1512
1513 This command is used to set (and unset) <ref id="variables"
1514 name="configuration variables">.  There are four basic types of variables:
1515 boolean, number, string and quadoption.  <em/boolean/ variables can be
1516 <em/set/ (true) or <em/unset/ (false).  <em/number/ variables can be
1517 assigned a positive integer value.
1518
1519 <em/string/ variables consist of any number of printable characters.
1520 <em/strings/ must be enclosed in quotes if they contain spaces or tabs.  You
1521 may also use the ``C'' escape sequences <bf/&bsol;n/ and <bf/&bsol;t/ for
1522 newline and tab, respectively.
1523
1524 <em/quadoption/ variables are used to control whether or not to be prompted
1525 for certain actions, or to specify a default action.  A value of <em/yes/
1526 will cause the action to be carried out automatically as if you had answered
1527 yes to the question.  Similarly, a value of <em/no/ will cause the the
1528 action to be carried out as if you had answered ``no.''  A value of
1529 <em/ask-yes/ will cause a prompt with a default answer of ``yes'' and
1530 <em/ask-no/ will provide a default answer of ``no.''
1531
1532 Prefixing a variable with ``no'' will unset it.  Example: <tt/set noaskbcc/.
1533
1534 For <em/boolean/ variables, you may optionally prefix the variable name with
1535 <tt/inv/ to toggle the value (on or off).  This is useful when writing
1536 macros.  Example: <tt/set invsmart&lowbar;wrap/.
1537
1538 The <tt/toggle/ command automatically prepends the <tt/inv/ prefix to all
1539 specified variables.
1540
1541 The <tt/unset/ command automatically prepends the <tt/no/ prefix to all
1542 specified variables.
1543
1544 Using the enter-command function in the <em/index/ menu, you can query the
1545 value of a variable by prefixing the name of the variable with a question
1546 mark:
1547
1548 <tscreen><verb>
1549 set ?allow_8bit
1550 </verb></tscreen>
1551
1552 The question mark is actually only required for boolean and quadoption 
1553 variables.
1554
1555 The <tt/reset/ command resets all given variables to the compile time
1556 defaults (hopefully mentioned in this manual). If you use the command
1557 <tt/set/ and prefix the variable with ``&amp;'' this has the same
1558 behavior as the reset command.
1559
1560 With the <tt/reset/ command there exists the special variable ``all'',
1561 which allows you to reset all variables to their system defaults.
1562
1563 <sect1>Reading initialization commands from another file<label id="source">
1564 <p>
1565 Usage: <tt/source/ <em/filename/ &lsqb; <em/filename/ ... &rsqb;
1566
1567 This command allows the inclusion of initialization commands
1568 from other files.  For example, I place all of my aliases in
1569 <tt>&tilde;/.mail&lowbar;aliases</tt> so that I can make my
1570 <tt>&tilde;/.muttrc</tt> readable and keep my aliases private.
1571
1572 If the filename begins with a tilde (``&tilde;''), it will be expanded to the
1573 path of your home directory.
1574
1575 If the filename ends with a vertical bar (|), then <em/filename/ is
1576 considered to be an executable program from which to read input (eg.
1577 <tt/source ~/bin/myscript|/).
1578
1579 <sect1>Removing hooks<label id="unhook">
1580 <p>
1581 Usage: <tt/unhook/ &lsqb; * | <em/hook-type/ &rsqb;
1582
1583 This command permits you to flush hooks you have previously defined.
1584 You can either remove all hooks by giving the ``*'' character as an
1585 argument, or you can remove all hooks of a specific type by saying
1586 something like <tt/unhook send-hook/.
1587
1588 <sect>Advanced Usage
1589
1590 <sect1>Regular Expressions<label id="regexp">
1591 <p>
1592 All string patterns in Mutt including those in more complex
1593 <ref id="patterns" name="patterns"> must be specified
1594 using regular expressions (regexp) in the ``POSIX extended'' syntax (which
1595 is more or less the syntax used by egrep and GNU awk).  For your
1596 convenience, we have included below a brief description of this syntax.
1597
1598 The search is case sensitive if the pattern contains at least one upper
1599 case letter, and case insensitive otherwise. Note that ``&bsol;''
1600 must be quoted if used for a regular expression in an initialization
1601 command: ``&bsol;&bsol;''.
1602
1603 A regular expression is a pattern that describes a set of strings.
1604 Regular expressions are constructed analogously to arithmetic
1605 expressions, by using various operators to combine smaller expressions.
1606
1607 Note that the regular expression can be enclosed/delimited by either &dquot;
1608 or ' which is useful if the regular expression includes a white-space
1609 character.  See <ref id="muttrc-syntax" name="Syntax of Initialization Files">
1610 for more information on &dquot; and ' delimiter processing.  To match a
1611 literal &dquot; or ' you must preface it with \ (backslash).
1612
1613 The fundamental building blocks are the regular expressions that match
1614 a single character.  Most characters, including all letters and digits,
1615 are regular expressions that match themselves.  Any metacharacter with
1616 special meaning may be quoted by preceding it with a backslash.
1617
1618 The period ``.'' matches any single character.  The caret ``&circ;'' and
1619 the dollar sign ``&dollar'' are metacharacters that respectively match
1620 the empty string at the beginning and end of a line.
1621
1622 A list of characters enclosed by ``&lsqb;'' and ``&rsqb;'' matches any
1623 single character in that list; if the first character of the list
1624 is a caret ``&circ;'' then it matches any character <bf/not/ in the
1625 list.  For example, the regular expression <bf/&lsqb;0123456789&rsqb;/
1626 matches any single digit.  A range of ASCII characters may be specified
1627 by giving the first and last characters, separated by a hyphen
1628 ``&hyphen;''.  Most metacharacters lose their special meaning inside
1629 lists.  To include a literal ``&rsqb;'' place it first in the list.
1630 Similarly, to include a literal ``&circ;'' place it anywhere but first.
1631 Finally, to include a literal hyphen ``&hyphen;'' place it last.
1632
1633 Certain named classes of characters are predefined.  Character classes
1634 consist of ``&lsqb;:'', a keyword denoting the class, and ``:&rsqb;''.
1635 The following classes are defined by the POSIX standard:
1636
1637 <descrip>
1638 <tag/&lsqb;:alnum:&rsqb;/
1639 Alphanumeric characters.
1640 <tag/&lsqb;:alpha:&rsqb;/
1641 Alphabetic characters.
1642 <tag/&lsqb;:blank:&rsqb;/
1643 Space or tab characters.
1644 <tag/&lsqb;:cntrl:&rsqb;/
1645 Control characters.
1646 <tag/&lsqb;:digit:&rsqb;/
1647 Numeric characters.
1648 <tag/&lsqb;:graph:&rsqb;/
1649 Characters that are both printable and visible.  (A space is printable,
1650 but not visible, while an ``a'' is both.)
1651 <tag/&lsqb;:lower:&rsqb;/
1652 Lower-case alphabetic characters.
1653 <tag/&lsqb;:print:&rsqb;/
1654 Printable characters (characters that are not control characters.)
1655 <tag/&lsqb;:punct:&rsqb;/
1656 Punctuation characters (characters that are not letter, digits, control
1657 characters, or space characters).
1658 <tag/&lsqb;:space:&rsqb;/
1659 Space characters (such as space, tab and formfeed, to name a few).
1660 <tag/&lsqb;:upper:&rsqb;/
1661 Upper-case alphabetic characters.
1662 <tag/&lsqb;:xdigit:&rsqb;/
1663 Characters that are hexadecimal digits.
1664 </descrip>
1665
1666 A character class is only valid in a regular expression inside the
1667 brackets of a character list.  Note that the brackets in these
1668 class names are part of the symbolic names, and must be included
1669 in addition to the brackets delimiting the bracket list.  For
1670 example, <bf/&lsqb;&lsqb;:digit:&rsqb;&rsqb;/ is equivalent to
1671 <bf/&lsqb;0-9&rsqb;/.
1672
1673 Two additional special sequences can appear in character lists.  These
1674 apply to non-ASCII character sets, which can have single symbols (called
1675 collating elements) that are represented with more than one character,
1676 as well as several characters that are equivalent for collating or
1677 sorting purposes:
1678
1679 <descrip>
1680 <tag/Collating Symbols/
1681 A collating symbol is a multi-character collating element enclosed in
1682 ``&lsqb;.'' and ``.&rsqb;''.  For example, if ``ch'' is a collating
1683 element, then <bf/&lsqb;&lsqb;.ch.&rsqb;&rsqb;/ is a regexp that matches
1684 this collating element, while <bf/&lsqb;ch&rsqb;/ is a regexp that
1685 matches either ``c'' or ``h''.
1686 <tag/Equivalence Classes/
1687 An equivalence class is a locale-specific name for a list of
1688 characters that are equivalent. The name is enclosed in ``&lsqb;=''
1689 and ``=&rsqb;''.  For example, the name ``e'' might be used to
1690 represent all of ``&egrave;'' ``&eacute;'' and ``e''.  In this case,
1691 <bf/&lsqb;&lsqb;=e=&rsqb;&rsqb;/ is a regexp that matches any of
1692 ``&egrave;'', ``&eacute;'' and ``e''.
1693 </descrip>
1694
1695 A regular expression matching a single character may be followed by one
1696 of several repetition operators:
1697
1698 <descrip>
1699 <tag/?/
1700 The preceding item is optional and matched at most once.
1701 <tag/*/
1702 The preceding item will be matched zero or more times.
1703 <tag/+/
1704 The preceding item will be matched one or more times.
1705 <tag/&lcub;n&rcub;/
1706 The preceding item is matched exactly <em/n/ times.
1707 <tag/&lcub;n,&rcub;/
1708 The preceding item is matched <em/n/ or more times.
1709 <tag/&lcub;,m&rcub;/
1710 The preceding item is matched at most <em/m/ times.
1711 <tag/&lcub;n,m&rcub;/
1712 The preceding item is matched at least <em/n/ times, but no more than
1713 <em/m/ times.
1714 </descrip>
1715
1716 Two regular expressions may be concatenated; the resulting regular
1717 expression matches any string formed by concatenating two substrings
1718 that respectively match the concatenated subexpressions.
1719
1720 Two regular expressions may be joined by the infix operator ``|'';
1721 the resulting regular expression matches any string matching either
1722 subexpression.
1723
1724 Repetition takes precedence over concatenation, which in turn takes
1725 precedence over alternation.  A whole subexpression may be enclosed in
1726 parentheses to override these precedence rules.
1727
1728 <bf/Note:/ If you compile Mutt with the GNU <em/rx/ package, the
1729 following operators may also be used in regular expressions:
1730
1731 <descrip>
1732 <tag/&bsol;&bsol;y/
1733 Matches the empty string at either the beginning or the end of a word.
1734 <tag/&bsol;&bsol;B/
1735 Matches the empty string within a word.
1736 <tag/&bsol;&bsol;&lt;/
1737 Matches the empty string at the beginning of a word.
1738 <tag/&bsol;&bsol;&gt;/
1739 Matches the empty string at the end of a word.
1740 <tag/&bsol;&bsol;w/
1741 Matches any word-constituent character (letter, digit, or underscore).
1742 <tag/&bsol;&bsol;W/
1743 Matches any character that is not word-constituent.
1744 <tag/&bsol;&bsol;`/
1745 Matches the empty string at the beginning of a buffer (string).
1746 <tag/&bsol;&bsol;'/
1747 Matches the empty string at the end of a buffer.
1748 </descrip>
1749
1750 Please note however that these operators are not defined by POSIX, so
1751 they may or may not be available in stock libraries on various systems.
1752
1753 <sect1>Patterns<label id="patterns">
1754 <p>
1755 Many of Mutt's commands allow you to specify a pattern to match
1756 (limit, tag-pattern, delete-pattern, etc.).  There are several ways to select
1757 messages:
1758
1759 <tscreen><verb>
1760 ~A              all messages
1761 ~b EXPR         messages which contain EXPR in the message body
1762 ~B EXPR         messages which contain EXPR in the whole message
1763 ~c USER         messages carbon-copied to USER
1764 ~C EXPR         message is either to: or cc: EXPR
1765 ~D              deleted messages
1766 ~d [MIN]-[MAX]  messages with ``date-sent'' in a Date range
1767 ~E              expired messages
1768 ~e EXPR         message which contains EXPR in the ``Sender'' field
1769 ~F              flagged messages
1770 ~f USER         messages originating from USER
1771 ~g              cryptographically signed messages
1772 ~G              cryptographically encrypted messages
1773 ~h EXPR         messages which contain EXPR in the message header
1774 ~k              message contains PGP key material
1775 ~i ID           message which match ID in the ``Message-ID'' field
1776 ~L EXPR         message is either originated or received by EXPR
1777 ~l              message is addressed to a known mailing list
1778 ~m [MIN]-[MAX]  message in the range MIN to MAX *)
1779 ~n [MIN]-[MAX]  messages with a score in the range MIN to MAX *)
1780 ~N              new messages
1781 ~O              old messages
1782 ~p              message is addressed to you (consults alternates)
1783 ~P              message is from you (consults alternates)
1784 ~Q              messages which have been replied to
1785 ~R              read messages
1786 ~r [MIN]-[MAX]  messages with ``date-received'' in a Date range
1787 ~S              superseded messages
1788 ~s SUBJECT      messages having SUBJECT in the ``Subject'' field.
1789 ~T              tagged messages
1790 ~t USER         messages addressed to USER
1791 ~U              unread messages
1792 ~v              message is part of a collapsed thread.
1793 ~V              cryptographically verified messages
1794 ~x EXPR         messages which contain EXPR in the `References' field
1795 ~y EXPR         messages which contain EXPR in the `X-Label' field
1796 ~z [MIN]-[MAX]  messages with a size in the range MIN to MAX *)
1797 ~=              duplicated messages (see $duplicate_threads)
1798 </verb></tscreen>
1799
1800 Where EXPR, USER, ID, and SUBJECT are 
1801 <ref id="regexp" name="regular expressions">.  Special attention has to be
1802 made when using regular expressions inside of patterns.  Specifically,
1803 Mutt's parser for these patterns will strip one level of backslash (\),
1804 which is normally used for quoting.  If it is your intention to use a
1805 backslash in the regular expression, you will need to use two backslashes
1806 instead (\\).
1807
1808 *) The forms <tt/&lt;&lsqb;MAX&rsqb;/, <tt/&gt;&lsqb;MIN&rsqb;/,
1809 <tt/&lsqb;MIN&rsqb;-/ and <tt/-&lsqb;MAX&rsqb;/
1810 are allowed, too.
1811
1812 <sect2>Pattern Modifier
1813 <p>
1814
1815 Note that patterns matching 'lists' of addresses (notably c,C,p,P and t)
1816 match if there is at least one match in the whole list. If you want to
1817 make sure that all elements of that list match, you need to prefix your
1818 pattern with ^.
1819 This example matches all mails which only has recipients from Germany.
1820
1821 <tscreen><verb>
1822 ^~C \.de$
1823 </verb></tscreen>
1824
1825 <sect2>Complex Patterns
1826 <p>
1827
1828 Logical AND is performed by specifying more than one criterion.  For
1829 example:
1830
1831 <tscreen><verb>
1832 ~t mutt ~f elkins
1833 </verb></tscreen>
1834
1835 would select messages which contain the word ``mutt'' in the list of
1836 recipients <bf/and/ that have the word ``elkins'' in the ``From'' header
1837 field.
1838
1839 Mutt also recognizes the following operators to create more complex search
1840 patterns:
1841
1842 <itemize>
1843 <item>! -- logical NOT operator
1844 <item>| -- logical OR operator
1845 <item>() -- logical grouping operator
1846 </itemize>
1847
1848 Here is an example illustrating a complex search pattern.  This pattern will
1849 select all messages which do not contain ``mutt'' in the ``To'' or ``Cc''
1850 field and which are from ``elkins''.
1851
1852 <tscreen><verb>
1853 !(~t mutt|~c mutt) ~f elkins
1854 </verb></tscreen>
1855
1856 Here is an example using white space in the regular expression (note
1857 the ' and &dquot; delimiters).  For this to match, the mail's subject must
1858 match the ``^Junk +From +Me$'' and it must be from either ``Jim +Somebody''
1859 or ``Ed +SomeoneElse'':
1860
1861 <tscreen><verb>
1862  '~s "^Junk +From +Me$" ~f ("Jim +Somebody"|"Ed +SomeoneElse")'
1863 </verb></tscreen>
1864
1865 Note that if a regular expression contains parenthesis, or a veritical bar
1866 ("|"), you <bf/must/ enclose the expression in double or single quotes since
1867 those characters are also used to separate different parts of Mutt's
1868 pattern language.  For example,
1869
1870 <tscreen><verb>
1871 ~f "me@(mutt\.org|cs\.hmc\.edu)"
1872 </verb></tscreen>
1873
1874 Without the quotes, the parenthesis would truncate the regular expression
1875 to simply <em/me@/, which is probably not what you want.
1876
1877 <sect2>Searching by Date
1878 <p>
1879 Mutt supports two types of dates, <em/absolute/ and <em/relative/.
1880
1881 <bf/Absolute/.  Dates <bf/must/ be in DD/MM/YY format (month and year are
1882 optional, defaulting to the current month and year).  An example of a valid
1883 range of dates is:
1884
1885 <tscreen><verb>
1886 Limit to messages matching: ~d 20/1/95-31/10
1887 </verb></tscreen>
1888
1889 If you omit the minimum (first) date, and just specify ``-DD/MM/YY'', all
1890 messages <em/before/ the given date will be selected.  If you omit the maximum
1891 (second) date, and specify ``DD/MM/YY-'', all messages <em/after/ the given
1892 date will be selected.  If you specify a single date with no dash (``-''),
1893 only messages sent on the given date will be selected. 
1894
1895 <bf/Error Margins/.  You can add error margins to absolute dates.
1896 An error margin is a sign (+ or -), followed by a digit, followed by
1897 one of the following units:
1898 <verb>
1899 y       years
1900 m       months
1901 w       weeks
1902 d       days
1903 </verb>
1904 As a special case, you can replace the sign by a ``*'' character,
1905 which is equivalent to giving identical plus and minus error margins.
1906
1907 Example: To select any messages two weeks around January 15, 2001,
1908 you'd use the following pattern: 
1909 <tscreen><verb> 
1910 Limit to messages matching: ~d 15/1/2001*2w
1911 </verb></tscreen>
1912
1913
1914 <bf/Relative/.  This type of date is relative to the current date, and may
1915 be specified as:
1916 <itemize>
1917 <item>&gt;<em/offset/ (messages older than <em/offset/ units)
1918 <item>&lt;<em/offset/ (messages newer than <em/offset/ units)
1919 <item>=<em/offset/ (messages exactly <em/offset/ units old)
1920 </itemize>
1921
1922 <em/offset/ is specified as a positive number with one of the following
1923 units:
1924 <verb>
1925 y       years
1926 m       months
1927 w       weeks
1928 d       days
1929 </verb>
1930
1931 Example: to select messages less than 1 month old, you would use
1932 <tscreen><verb>
1933 Limit to messages matching: ~d <1m
1934 </verb></tscreen>
1935
1936
1937
1938 <bf/Note:/ all dates used when searching are relative to the
1939 <bf/local/ time zone, so unless you change the setting of your <ref
1940 id="index_format" name="&dollar;index&lowbar;format"> to include a
1941 <tt/&percnt;&lsqb;...&rsqb;/ format, these are <bf/not/ the dates shown
1942 in the main index.
1943
1944 <sect1>Using Tags
1945 <p>
1946
1947 Sometimes it is desirable to perform an operation on a group of
1948 messages all at once rather than one at a time.  An example might be
1949 to save messages to a mailing list to a separate folder, or to
1950 delete all messages with a given subject.  To tag all messages
1951 matching a pattern, use the tag-pattern function, which is bound to
1952 ``shift-T'' by default.  Or you can select individual messages by
1953 hand using the ``tag-message'' function, which is bound to ``t'' by
1954 default.  See <ref id="patterns" name="patterns"> for Mutt's pattern
1955 matching syntax.
1956
1957 Once you have tagged the desired messages, you can use the
1958 ``tag-prefix'' operator, which is the ``;'' (semicolon) key by default.
1959 When the ``tag-prefix'' operator is used, the <bf/next/ operation will
1960 be applied to all tagged messages if that operation can be used in that
1961 manner.  If the <ref id="auto_tag" name="&dollar;auto&lowbar;tag">
1962 variable is set, the next operation applies to the tagged messages
1963 automatically, without requiring the ``tag-prefix''.
1964
1965 <sect1>Using Hooks<label id="hooks">
1966 <p>
1967 A <em/hook/ is a concept borrowed from the EMACS editor which allows you to
1968 execute arbitrary commands before performing some operation.  For example,
1969 you may wish to tailor your configuration based upon which mailbox you are
1970 reading, or to whom you are sending mail.  In the Mutt world, a <em/hook/
1971 consists of a <ref id="regexp" name="regular expression"> or
1972 <ref id="patterns" name="pattern"> along with a
1973 configuration option/command.  See
1974 <itemize>
1975 <item><ref id="folder-hook" name="folder-hook">
1976 <item><ref id="send-hook" name="send-hook">
1977 <item><ref id="message-hook" name="message-hook">
1978 <item><ref id="save-hook" name="save-hook">
1979 <item><ref id="mbox-hook" name="mbox-hook">
1980 <item><ref id="fcc-hook" name="fcc-hook">
1981 <item><ref id="fcc-save-hook" name="fcc-save-hook">
1982 </itemize>
1983 for specific details on each type of <em/hook/ available.
1984
1985 <bf/Note:/ if a hook changes configuration settings, these changes remain
1986 effective until the end of the current mutt session. As this is generally
1987 not desired, a default hook needs to be added before all other hooks to
1988 restore configuration defaults. Here is an example with send-hook and the
1989 my_hdr directive:
1990
1991 <tscreen><verb>
1992 send-hook . 'unmy_hdr From:'
1993 send-hook ~Cb@b.b my_hdr from: c@c.c
1994 </verb></tscreen>
1995
1996 <sect2>Message Matching in Hooks<label id="pattern_hook">
1997 <p>
1998 Hooks that act upon messages (<tt/send-hook, save-hook, fcc-hook,
1999 message-hook/) are evaluated in a slightly different manner.  For the other
2000 types of hooks, a <ref id="regexp" name="regular expression"> is
2001 sufficient.  But in dealing with messages a finer grain of control is
2002 needed for matching since for different purposes you want to match
2003 different criteria.
2004
2005 Mutt allows the use of the <ref id="patterns" name="search pattern">
2006 language for matching messages in hook commands.  This works in
2007 exactly the same way as it would when <em/limiting/ or
2008 <em/searching/ the mailbox, except that you are restricted to those
2009 operators which match information mutt extracts from the header of
2010 the message (i.e.  from, to, cc, date, subject, etc.).
2011
2012 For example, if you wanted to set your return address based upon sending
2013 mail to a specific address, you could do something like:
2014 <tscreen><verb>
2015 send-hook '~t ^me@cs\.hmc\.edu$' 'my_hdr From: Mutt User <user@host>'
2016 </verb></tscreen>
2017 which would execute the given command when sending mail to
2018 <em/me@cs.hmc.edu/.
2019
2020 However, it is not required that you write the pattern to match using the
2021 full searching language.  You can still specify a simple <em/regular
2022 expression/ like the other hooks, in which case Mutt will translate your
2023 pattern into the full language, using the translation specified by the 
2024 <ref id="default_hook" name="&dollar;default&lowbar;hook"> variable.  The
2025 pattern is translated at the time the hook is declared, so the value of 
2026 <ref id="default_hook" name="&dollar;default&lowbar;hook"> that is in effect
2027 at that time will be used.
2028
2029 <sect1>External Address Queries<label id="query">
2030 <p>
2031 Mutt supports connecting to external directory databases such as LDAP,
2032 ph/qi, bbdb, or NIS through a wrapper script which connects to mutt
2033 using a simple interface.  Using the <ref id="query_command"
2034 name="&dollar;query&lowbar;command"> variable, you specify the wrapper
2035 command to use.  For example:
2036
2037 <tscreen><verb>
2038 set query_command = "mutt_ldap_query.pl '%s'"
2039 </verb></tscreen>
2040
2041 The wrapper script should accept the query on the command-line.  It
2042 should return a one line message, then each matching response on a
2043 single line, each line containing a tab separated address then name then
2044 some other optional information.  On error, or if there are no matching
2045 addresses, return a non-zero exit code and a one line error message.
2046
2047 An example multiple response output:
2048 <tscreen><verb>
2049 Searching database ... 20 entries ... 3 matching:
2050 me@cs.hmc.edu           Michael Elkins  mutt dude
2051 blong@fiction.net       Brandon Long    mutt and more
2052 roessler@guug.de        Thomas Roessler mutt pgp
2053 </verb></tscreen>
2054
2055 There are two mechanisms for accessing the query function of mutt.  One
2056 is to do a query from the index menu using the query function (default: Q).
2057 This will prompt for a query, then bring up the query menu which will
2058 list the matching responses.  From the query menu, you can select
2059 addresses to create aliases, or to mail.  You can tag multiple messages
2060 to mail, start a new query, or have a new query appended to the current
2061 responses.
2062
2063 The other mechanism for accessing the query function is for address
2064 completion, similar to the alias completion.  In any prompt for address
2065 entry, you can use the complete-query function (default: ^T) to run a
2066 query based on the current address you have typed.  Like aliases, mutt
2067 will look for what you have typed back to the last space or comma.  If
2068 there is a single response for that query, mutt will expand the address
2069 in place.  If there are multiple responses, mutt will activate the query
2070 menu.  At the query menu, you can select one or more addresses to be
2071 added to the prompt.
2072
2073 <sect1>Mailbox Formats
2074 <p>
2075 Mutt supports reading and writing of four different mailbox formats:
2076 mbox, MMDF, MH and Maildir.  The mailbox type is autodetected, so there
2077 is no need to use a flag for different mailbox types.  When creating new
2078 mailboxes, Mutt uses the default specified with the <ref id="mbox_type"
2079 name="&dollar;mbox&lowbar;type"> variable.
2080
2081 <bf/mbox/.  This is the most widely used mailbox format for UNIX.  All
2082 messages are stored in a single file.  Each message has a line of the form:
2083
2084 <tscreen><verb>
2085 From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST
2086 </verb></tscreen>
2087
2088 to denote the start of a new message (this is often referred to as the
2089 ``From&lowbar;'' line).
2090
2091 <bf/MMDF/.  This is a variant of the <em/mbox/ format.  Each message is
2092 surrounded by lines containing ``^A^A^A^A'' (four control-A's).
2093
2094 <bf/MH/. A radical departure from <em/mbox/ and <em/MMDF/, a mailbox
2095 consists of a directory and each message is stored in a separate file.
2096 The filename indicates the message number (however, this is may not
2097 correspond to the message number Mutt displays). Deleted messages are
2098 renamed with a comma (,) prepended to the filename. <bf/Note:/ Mutt
2099 detects this type of mailbox by looking for either <tt/.mh&lowbar;sequences/
2100 or <tt/.xmhcache/ (needed to distinguish normal directories from MH
2101 mailboxes).
2102
2103 <bf/Maildir/.  The newest of the mailbox formats, used by the Qmail MTA (a
2104 replacement for sendmail).  Similar to <em/MH/, except that it adds three
2105 subdirectories of the mailbox: <em/tmp/, <em/new/ and <em/cur/.  Filenames
2106 for the messages are chosen in such a way they are unique, even when two
2107 programs are writing the mailbox over NFS, which means that no file locking
2108 is needed.
2109
2110 <sect1>Mailbox Shortcuts<label id="shortcuts">
2111 <p>
2112 There are a number of built in shortcuts which refer to specific mailboxes.
2113 These shortcuts can be used anywhere you are prompted for a file or mailbox
2114 path.
2115
2116 <itemize>
2117 <item>! -- refers to your <ref id="spoolfile" name="&dollar;spoolfile"> (incoming) mailbox
2118 <item>&gt; -- refers to your <ref id="mbox" name="&dollar;mbox"> file
2119 <item>&lt; -- refers to your <ref id="record" name="&dollar;record"> file
2120 <item>- or !! -- refers to the file you've last visited
2121 <item>&tilde; -- refers to your home directory
2122 <item>= or + -- refers to your <ref id="folder" name="&dollar;folder"> directory
2123 <item>@<em/alias/ -- refers to the <ref id="save-hook" 
2124 name="default save folder"> as determined by the address of the alias
2125 </itemize>
2126
2127 <sect1>Handling Mailing Lists<label id="using_lists">
2128 <p>
2129
2130 Mutt has a few configuration options that make dealing with large
2131 amounts of mail easier.  The first thing you must do is to let Mutt
2132 know what addresses you consider to be mailing lists (technically
2133 this does not have to be a mailing list, but that is what it is most
2134 often used for), and what lists you are subscribed to.  This is
2135 accomplished through the use of the <ref id="lists"
2136 name="lists and subscribe"> commands in your muttrc.
2137
2138 Now that Mutt knows what your mailing lists are, it can do several
2139 things, the first of which is the ability to show the name of a list
2140 through which you received a message (i.e., of a subscribed list) in
2141 the <em/index/ menu display.  This is useful to distinguish between
2142 personal and list mail in the same mailbox.  In the <ref id="index_format"
2143 name="&dollar;index&lowbar;format"> variable, the escape ``&percnt;L''
2144 will return the string ``To &lt;list&gt;'' when ``list'' appears in the
2145 ``To'' field, and ``Cc &lt;list&gt;'' when it appears in the ``Cc''
2146 field (otherwise it returns the name of the author).
2147
2148 Often times the ``To'' and ``Cc'' fields in mailing list messages
2149 tend to get quite large. Most people do not bother to remove the
2150 author of the message they are reply to from the list, resulting in
2151 two or more copies being sent to that person.  The ``list-reply''
2152 function, which by default is bound to ``L'' in the <em/index/ menu
2153 and <em/pager/, helps reduce the clutter by only replying to the
2154 known mailing list addresses instead of all recipients (except as
2155 specified by <tt/Mail-Followup-To/, see below).
2156
2157 Mutt also supports the <tt/Mail-Followup-To/ header.  When you send
2158 a message to a list of recipients which includes one or several
2159 subscribed mailing lists, and if the <ref id="followup_to"
2160 name="&dollar;followup&lowbar;to"> option is set, mutt will generate
2161 a Mail-Followup-To header which contains all the recipients to whom
2162 you send this message, but not your address. This indicates that
2163 group-replies or list-replies (also known as ``followups'') to this
2164 message should only be sent to the original recipients of the
2165 message, and not separately to you - you'll receive your copy through
2166 one of the mailing lists you are subscribed to.
2167
2168 Conversely, when group-replying or list-replying to a message which
2169 has a <tt/Mail-Followup-To/ header, mutt will respect this header if
2170 the <ref id="honor_followup_to"
2171 name="&dollar;honor&lowbar;followup&lowbar;to"> configuration
2172 variable is set.  Using list-reply will in this case also make sure
2173 that the reply goes to the mailing list, even if it's not specified
2174 in the list of recipients in the <tt/Mail-Followup-To/.
2175
2176 Note that, when header editing is enabled, you can create a
2177 <tt/Mail-Followup-To/ header manually.  Mutt will only auto-generate
2178 this header if it doesn't exist when you send the message.
2179
2180
2181 The other method some mailing list admins use is to generate a
2182 ``Reply-To'' field which points back to the mailing list address rather
2183 than the author of the message.  This can create problems when trying
2184 to reply directly to the author in private, since most mail clients
2185 will automatically reply to the address given in the ``Reply-To''
2186 field.  Mutt uses the <ref id="reply_to" name="&dollar;reply&lowbar;to">
2187 variable to help decide which address to use.  If set, you will be
2188 prompted as to whether or not you would like to use the address given in
2189 the ``Reply-To'' field, or reply directly to the address given in the
2190 ``From'' field.  When unset, the ``Reply-To'' field will be used when
2191 present.
2192
2193 The ``X-Label:'' header field can be used to further identify mailing
2194 lists or list subject matter (or just to annotate messages
2195 individually).  The <ref id="index_format"
2196 name="&dollar;index&lowbar;format"> variable's ``&percnt;y'' and
2197 ``&percnt;Y'' escapes can be used to expand ``X-Label:'' fields in the
2198 index, and Mutt's pattern-matcher can match regular expressions to
2199 ``X-Label:'' fields with the ``~y'' selector.  ``X-Label:'' is not a
2200 standard message header field, but it can easily be inserted by procmail
2201 and other mail filtering agents.
2202
2203 Lastly, Mutt has the ability to <ref id="sort" name="sort"> the mailbox into
2204 <ref id="threads" name="threads">.  A thread is a group of messages which all relate to the same
2205 subject.  This is usually organized into a tree-like structure where a
2206 message and all of its replies are represented graphically.  If you've ever
2207 used a threaded news client, this is the same concept.  It makes dealing
2208 with large volume mailing lists easier because you can easily delete
2209 uninteresting threads and quickly find topics of value.
2210
2211 <sect1>Delivery Status Notification (DSN) Support
2212 <p>
2213 RFC1894 defines a set of MIME content types for relaying information
2214 about the status of electronic mail messages.  These can be thought of as
2215 ``return receipts.'' Berkeley sendmail 8.8.x currently has some command
2216 line options in which the mail client can make requests as to what type
2217 of status messages should be returned.
2218
2219 To support this, there are two variables. <ref id="dsn_notify"
2220 name="&dollar;dsn&lowbar;notify"> is used to request receipts for
2221 different results (such as failed message, message delivered, etc.).
2222 <ref id="dsn_return" name="&dollar;dsn&lowbar;return"> requests how much
2223 of your message should be returned with the receipt (headers or full
2224 message).  Refer to the man page on sendmail for more details on DSN.
2225
2226 <sect1>POP3 Support (OPTIONAL)
2227 <p>
2228
2229 If Mutt was compiled with POP3 support (by running the <em/configure/
2230 script with the <em/--enable-pop/ flag), it has the ability to work
2231 with mailboxes located on a remote POP3 server and fetch mail for local
2232 browsing.
2233
2234 You can access the remote POP3 mailbox by selecting the folder
2235 <tt>pop://popserver/</tt>.
2236
2237 You can select an alternative port by specifying it with the server, ie:
2238 <tt>pop://popserver:port/</tt>.
2239
2240 You can also specify different username for each folder, ie:
2241 <tt>pop://username@popserver[:port]/</tt>.
2242
2243 Polling for new mail is more expensive over POP3 than locally. For this
2244 reason the frequency at which Mutt will check for mail remotely can be
2245 controlled by the
2246 <ref id="pop&lowbar;checkinterval" name="&dollar;pop&lowbar;checkinterval">
2247 variable, which defaults to every 60 seconds.
2248
2249 If Mutt was compiled with SSL support (by running the <em/configure/
2250 script with the <em/--with-ssl/ flag), connections to POP3 servers
2251 can be encrypted. This naturally requires that the server supports
2252 SSL encrypted connections. To access a folder with POP3/SSL, you should
2253 use pops: prefix, ie:
2254 <tt>pops://[username@]popserver[:port]/</tt>.
2255
2256 Another way to access your POP3 mail is the <em/fetch-mail/ function
2257 (default: G).  It allows to connect to <ref id="pop_host"
2258 name="pop&lowbar;host">, fetch all your new mail and place it in the
2259 local <ref id="spoolfile" name="spoolfile">.  After this
2260 point, Mutt runs exactly as if the mail had always been local.
2261
2262 <bf/Note:/ If you only need to fetch all messages to local mailbox
2263 you should consider using a specialized program, such as <htmlurl
2264 url="http://www.ccil.org/~esr/fetchmail" name="fetchmail">
2265
2266 <sect1>IMAP Support (OPTIONAL)
2267 <p>
2268
2269 If Mutt was compiled with IMAP support (by running the <em/configure/
2270 script with the <em/--enable-imap/ flag), it has the ability to work
2271 with folders located on a remote IMAP server.
2272
2273 You can access the remote inbox by selecting the folder
2274 <tt>imap://imapserver/INBOX</tt>, where <tt/imapserver/ is the name of the
2275 IMAP server and <tt/INBOX/ is the special name for your spool mailbox on
2276 the IMAP server. If you want to access another mail folder at the IMAP
2277 server, you should use <tt>imap://imapserver/path/to/folder</tt> where
2278 <tt>path/to/folder</tt> is the path of the folder you want to access.
2279
2280 You can select an alternative port by specifying it with the server, ie:
2281 <tt>imap://imapserver:port/INBOX</tt>.
2282
2283 You can also specify different username for each folder, ie:
2284 <tt>imap://username@imapserver[:port]/INBOX</tt>.
2285
2286 If Mutt was compiled with SSL support (by running the <em/configure/
2287 script with the <em/--with-ssl/ flag), connections to IMAP servers
2288 can be encrypted. This naturally requires that the server supports
2289 SSL encrypted connections. To access a folder with IMAP/SSL, you should
2290 use <tt>imaps://[username@]imapserver[:port]/path/to/folder</tt> as your 
2291 folder path.
2292
2293 Pine-compatible notation is also supported, ie
2294 <tt>{[username@]imapserver[:port][/ssl]}path/to/folder</tt>
2295
2296 Note that not all servers use / as the hierarchy separator.  Mutt should
2297 correctly notice which separator is being used by the server and convert
2298 paths accordingly.
2299
2300 When browsing folders on an IMAP server, you can toggle whether to look
2301 at only the folders you are subscribed to, or all folders with the
2302 <em/toggle-subscribed/ command.  See also the 
2303 <ref id="imap&lowbar;list&lowbar;subscribed"
2304 name="&dollar;imap&lowbar;list&lowbar;subscribed"> variable.
2305
2306 Polling for new mail on an IMAP server can cause noticeable delays. So, you'll
2307 want to carefully tune the
2308 <ref id="mail&lowbar;check" name="&dollar;mail&lowbar;check">
2309 and
2310 <ref id="timeout" name="&dollar;timeout">
2311 variables. Personally I use
2312 <tscreen><verb>
2313 set mail_check=90
2314 set timeout=15
2315 </verb></tscreen>
2316 with relatively good results over my slow modem line.
2317
2318 Note that if you are using mbox as the mail store on UW servers prior to
2319 v12.250, the server has been reported to disconnect a client if another client
2320 selects the same folder.
2321
2322 <sect2>The Folder Browser
2323 <p>
2324
2325 As of version 1.2, mutt supports browsing mailboxes on an IMAP
2326 server. This is mostly the same as the local file browser, with the
2327 following differences:
2328 <itemize>
2329 <item>In lieu of file permissions, mutt displays the string "IMAP",
2330   possibly followed by the symbol "+", indicating
2331   that the entry contains both messages and subfolders. On
2332   Cyrus-like servers folders will often contain both messages and
2333   subfolders. 
2334 <item>For the case where an entry can contain both messages and
2335   subfolders, the selection key (bound to <tt>enter</tt> by default)
2336   will choose to descend into the subfolder view. If you wish to view
2337   the messages in that folder, you must use <tt>view-file</tt> instead
2338   (bound to <tt>space</tt> by default).
2339 <item>You can delete mailboxes with the <tt>delete-mailbox</tt>
2340   command (bound to <tt>d</tt> by default. You may also
2341   <tt>subscribe</tt> and <tt>unsubscribe</tt> to mailboxes (normally
2342   these are bound to <tt>s</tt> and <tt>u</tt>, respectively).
2343 </itemize>
2344
2345 <sect2>Authentication
2346 <p>
2347
2348 Mutt supports four authentication methods with IMAP servers: SASL,
2349 GSSAPI, CRAM-MD5, and LOGIN (there is a patch by Grant Edwards to add
2350 NTLM authentication for you poor exchange users out there, but it has
2351 yet to be integrated into the main tree). There is also support for
2352 the pseudo-protocol ANONYMOUS, which allows you to log in to a public
2353 IMAP server without having an account. To use ANONYMOUS, simply make
2354 your username blank or "anonymous".
2355 <p>
2356 SASL is a special super-authenticator, which selects among several protocols
2357 (including GSSAPI, CRAM-MD5, ANONYMOUS, and DIGEST-MD5) the most secure
2358 method available on your host and the server. Using some of these methods
2359 (including DIGEST-MD5 and possibly GSSAPI), your entire session will be
2360 encrypted and invisible to those teeming network snoops. It is the best
2361 option if you have it. To use it, you must have the Cyrus SASL library
2362 installed on your system and compile mutt with the <em/--with-sasl/ flag.
2363 <p>
2364 Mutt will try whichever methods are compiled in and available on the server,
2365 in the following order: SASL, ANONYMOUS, GSSAPI, CRAM-MD5, LOGIN.
2366
2367 There are a few variables which control authentication: 
2368 <itemize>
2369 <item><ref id="imap&lowbar;user" name="&dollar;imap&lowbar;user"> - controls
2370   the username under which you request authentication on the IMAP server,
2371   for all authenticators. This is overridden by an explicit username in
2372   the mailbox path (ie by using a mailbox name of the form
2373   <tt/{user@host}/).
2374 <item><ref id="imap&lowbar;pass" name="&dollar;imap&lowbar;pass"> - a
2375   password which you may preset, used by all authentication methods where
2376   a password is needed.
2377 <item><ref id="imap&lowbar;authenticators"
2378   name="&dollar;imap&lowbar;authenticators"> - a colon-delimited list of IMAP
2379   authentication methods to try, in the order you wish to try them. If
2380   specified, this overrides mutt's default (attempt everything, in the order
2381   listed above).
2382 </itemize>
2383
2384 <sect1>Managing multiple IMAP/POP accounts (OPTIONAL)<label id="account-hook">
2385 <p>
2386
2387 If you happen to have accounts on multiple IMAP and/or POP servers,
2388 you may find managing all the authentication settings inconvenient and
2389 error-prone.  The account-hook command may help. This hook works like
2390 folder-hook but is invoked whenever you access a remote mailbox
2391 (including inside the folder browser), not just when you open the
2392 mailbox.
2393 <p>
2394 Some examples:
2395
2396 <tscreen><verb>
2397 account-hook . 'unset imap_user; unset imap_pass; unset tunnel'
2398 account-hook imap://host1/ 'set imap_user=me1 imap_pass=foo'
2399 account-hook imap://host2/ 'set tunnel="ssh host2 /usr/libexec/imapd"'
2400 </verb></tscreen>
2401
2402 <sect1>Start a WWW Browser on URLs (EXTERNAL)<label id="urlview">
2403 <p>
2404 If a message contains URLs (<em/unified ressource locator/ = address in the
2405 WWW space like <em>http://www.mutt.org/</em>), it is efficient to get
2406 a menu with all the URLs and start a WWW browser on one of them.  This
2407 functionality is provided by the external urlview program which can be
2408 retrieved at <htmlurl url="ftp://ftp.mutt.org/mutt/contrib/"
2409 name="ftp://ftp.mutt.org/mutt/contrib/"> and the configuration commands:
2410 <tscreen><verb>
2411 macro index \cb |urlview\n
2412 macro pager \cb |urlview\n
2413 </verb></tscreen>
2414
2415 <sect>Mutt's MIME Support
2416 <p>
2417 Quite a bit of effort has been made to make Mutt the premier text-mode
2418 MIME MUA.  Every effort has been made to provide the functionality that
2419 the discerning MIME user requires, and the conformance to the standards
2420 wherever possible.  When configuring Mutt for MIME, there are two extra
2421 types of configuration files which Mutt uses.  One is the
2422 <tt/mime.types/ file, which contains the mapping of file extensions to 
2423 IANA MIME types.  The other is the <tt/mailcap/ file, which specifies
2424 the external commands to use for handling specific MIME types.
2425
2426 <sect1>Using MIME in Mutt
2427 <p>
2428 There are three areas/menus in Mutt which deal with MIME, they are the
2429 pager (while viewing a message), the attachment menu and the compose
2430 menu.
2431
2432 <sect2>Viewing MIME messages in the pager
2433 <p>
2434 When you select a message from the index and view it in the pager, Mutt
2435 decodes the message to a text representation.  Mutt internally supports
2436 a number of MIME types, including <tt>text/plain, text/enriched,
2437 message/rfc822, and message/news</tt>.  In addition, the export
2438 controlled version of Mutt recognizes a variety of PGP MIME types,
2439 including PGP/MIME and application/pgp.
2440
2441 Mutt will denote attachments with a couple lines describing them.
2442 These lines are of the form:
2443 <tscreen><verb>
2444 [-- Attachment #1: Description --]
2445 [-- Type: text/plain, Encoding: 7bit, Size: 10000 --]
2446 </verb></tscreen>
2447 Where the <tt/Description/ is the description or filename given for the
2448 attachment, and the <tt/Encoding/ is one of
2449 <tt>7bit/8bit/quoted-printable/base64/binary</tt>.
2450
2451 If Mutt cannot deal with a MIME type, it will display a message like:
2452 <tscreen><verb>
2453 [-- image/gif is unsupported (use 'v' to view this part) --]
2454 </verb></tscreen>
2455
2456 <sect2>The Attachment Menu<label id="attach_menu">
2457 <p>
2458 The default binding for <tt/view-attachments/ is `v', which displays the
2459 attachment menu for a message.  The attachment menu displays a list of
2460 the attachments in a message.  From the attachment menu, you can save,
2461 print, pipe, delete, and view attachments.  You can apply these
2462 operations to a group of attachments at once, by tagging the attachments
2463 and by using the ``tag-prefix'' operator.  You can also reply to the
2464 current message from this menu, and only the current attachment (or the
2465 attachments tagged) will be quoted in your reply.  You can view
2466 attachments as text, or view them using the mailcap viewer definition.
2467
2468 Finally, you can apply the usual message-related functions (like 
2469 <ref id="resend-message" name="resend-message">, and the reply
2470 and forward functions) to attachments of type <tt>message/rfc822</tt>.
2471
2472 See the help on the attachment menu for more information.
2473
2474 <sect2>The Compose Menu<label id="compose_menu">
2475 <p>
2476 The compose menu is the menu you see before you send a message.  It
2477 allows you to edit the recipient list, the subject, and other aspects
2478 of your message.  It also contains a list of the attachments of your
2479 message, including the main body.  From this menu, you can print, copy,
2480 filter, pipe, edit, compose, review, and rename an attachment or a
2481 list of tagged attachments.  You can also modifying the attachment
2482 information, notably the type, encoding and description.
2483
2484 Attachments appear as follows:
2485 <verb>
2486 -   1 [text/plain, 7bit, 1K]             /tmp/mutt-euler-8082-0 <no description>
2487     2 [applica/x-gunzip, base64, 422K]   ~/src/mutt-0.85.tar.gz <no description>
2488 </verb>
2489
2490 The '-' denotes that Mutt will delete the file after sending (or
2491 postponing, or cancelling) the message.  It can be toggled with the
2492 <tt/toggle-unlink/ command (default: u).  The next field is the MIME
2493 content-type, and can be changed with the <tt/edit-type/ command
2494 (default: ^T).  The next field is the encoding for the attachment,
2495 which allows a binary message to be encoded for transmission on 7bit
2496 links.  It can be changed with the <tt/edit-encoding/ command
2497 (default: ^E).  The next field is the size of the attachment,
2498 rounded to kilobytes or megabytes.  The next field is the filename,
2499 which can be changed with the <tt/rename-file/ command (default: R).
2500 The final field is the description of the attachment, and can be
2501 changed with the <tt/edit-description/ command (default: d).
2502
2503 <sect1>MIME Type configuration with <tt/mime.types/
2504 <p>
2505 When you add an attachment to your mail message, Mutt searches your
2506 personal mime.types file at <tt>&dollar;{HOME}/.mime.types</tt>, and then
2507 the system mime.types file at <tt>/usr/local/share/mutt/mime.types</tt> or
2508 <tt>/etc/mime.types</tt>
2509
2510 The mime.types file consist of lines containing a MIME type and a space
2511 separated list of extensions.  For example:
2512 <tscreen><verb>
2513 application/postscript          ps eps
2514 application/pgp                 pgp
2515 audio/x-aiff                    aif aifc aiff
2516 </verb></tscreen>
2517 A sample <tt/mime.types/ file comes with the Mutt distribution, and
2518 should contain most of the MIME types you are likely to use.  
2519
2520 If Mutt can not determine the mime type by the extension of the file you
2521 attach, it will look at the file.  If the file is free of binary
2522 information, Mutt will assume that the file is plain text, and mark it
2523 as <tt>text/plain</tt>.  If the file contains binary information, then Mutt will
2524 mark it as <tt>application/octet-stream</tt>.  You can change the MIME
2525 type that Mutt assigns to an attachment by using the <tt/edit-type/
2526 command from the compose menu (default: ^T). The MIME type is actually a
2527 major mime type followed by the sub-type, separated by a '/'. 6 major
2528 types: application, text, image, video, audio, and model have been approved
2529 after various internet discussions. Mutt recognises all of these if the 
2530 appropriate entry is found in the mime.types file. It also recognises other
2531 major mime types, such as the chemical type that is widely used in the 
2532 molecular modelling community to pass molecular data in various forms to 
2533 various molecular viewers. Non-recognised mime types should only be used 
2534 if the recipient of the message is likely to be expecting such attachments.
2535
2536 <sect1>MIME Viewer configuration with <tt/mailcap/
2537 <p>
2538 Mutt supports RFC 1524 MIME Configuration, in particular the Unix
2539 specific format specified in Appendix A of RFC 1524.  This file format
2540 is commonly referred to as the mailcap format.  Many MIME compliant
2541 programs utilize the mailcap format, allowing you to specify handling
2542 for all MIME types in one place for all programs.  Programs known to
2543 use this format include Netscape, XMosaic, lynx and metamail.
2544
2545 In order to handle various MIME types that Mutt can not handle
2546 internally, Mutt parses a series of external configuration files to
2547 find an external handler.  The default search string for these files
2548 is a colon delimited list set to
2549 <tscreen><verb>
2550 ${HOME}/.mailcap:/usr/local/share/mutt/mailcap:/etc/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap
2551 </verb></tscreen>
2552 where <tt/&dollar;HOME/ is your home directory.
2553
2554 In particular, the metamail distribution will install a mailcap file,
2555 usually as <tt>/usr/local/etc/mailcap</tt>, which contains some baseline
2556 entries.
2557
2558 <sect2>The Basics of the mailcap file
2559 <p>
2560 A mailcap file consists of a series of lines which are comments, blank,
2561 or definitions.
2562
2563 A comment line consists of a &num; character followed by anything you want.
2564
2565 A blank line is blank.
2566
2567 A definition line consists of a content type, a view command, and any
2568 number of optional fields.  Each field of a definition line is divided
2569 by a semicolon ';' character.
2570
2571 The content type is specified in the MIME standard type/subtype method.
2572 For example,
2573 <tt>text/plain, text/html, image/gif, </tt>
2574 etc.  In addition, the mailcap format includes two formats for
2575 wildcards, one using the special '*' subtype, the other is the implicit
2576 wild, where you only include the major type.  For example, <tt>image/*</tt>, or
2577 <tt>video,</tt> will match all image types and video types,
2578 respectively.
2579
2580 The view command is a Unix command for viewing the type specified. There
2581 are two different types of commands supported. The default is to send
2582 the body of the MIME message to the command on stdin. You can change
2583 this behaviour by using &percnt;s as a parameter to your view command.
2584 This will cause Mutt to save the body of the MIME message to a temporary
2585 file, and then call the view command with the &percnt;s replaced by
2586 the name of the temporary file. In both cases, Mutt will turn over the
2587 terminal to the view program until the program quits, at which time Mutt
2588 will remove the temporary file if it exists.
2589
2590 So, in the simplest form, you can send a text/plain message to the
2591 external pager more on stdin:
2592 <tscreen><verb>
2593 text/plain; more
2594 </verb></tscreen>
2595 Or, you could send the message as a file:
2596 <tscreen><verb>
2597 text/plain; more %s
2598 </verb></tscreen>
2599 Perhaps you would like to use lynx to interactively view a text/html 
2600 message:
2601 <tscreen><verb>
2602 text/html; lynx %s
2603 </verb></tscreen>
2604 In this case, lynx does not support viewing a file from stdin, so you
2605 must use the &percnt;s syntax.
2606 <bf/Note:/ <em>Some older versions of lynx contain a bug where they
2607 will check the mailcap file for a viewer for text/html.  They will find
2608 the line which calls lynx, and run it.  This causes lynx to continuously
2609 spawn itself to view the object.</em>
2610
2611 On the other hand, maybe you don't want to use lynx interactively, you
2612 just want to have it convert the text/html to text/plain, then you can
2613 use:
2614 <tscreen><verb>
2615 text/html; lynx -dump %s | more
2616 </verb></tscreen>
2617
2618 Perhaps you wish to use lynx to view text/html files, and a pager on
2619 all other text formats, then you would use the following:
2620 <tscreen><verb>
2621 text/html; lynx %s
2622 text/*; more
2623 </verb></tscreen>
2624 This is the simplest form of a mailcap file.
2625
2626 <sect2>Secure use of mailcap
2627 <p>
2628 The interpretion of shell meta-characters embedded in MIME parameters
2629 can lead to security problems in general.  Mutt tries to quote parameters
2630 in expansion of %s syntaxes properly, and avoids risky characters by
2631 substituting them, see the <ref id="mailcap_sanitize"
2632 name="mailcap&lowbar;sanitize"> variable.
2633
2634 Although mutt's procedures to invoke programs with mailcap seem to be
2635 safe, there are other applications parsing mailcap, maybe taking less care
2636 of it.  Therefore you should pay attention to the following rules:
2637
2638 <em/Keep the %-expandos away from shell quoting./
2639 Don't quote them with single or double quotes.  Mutt does this for
2640 you, the right way, as should any other program which interprets
2641 mailcap.  Don't put them into backtick expansions.  Be highly careful
2642 with eval statements, and avoid them if possible at all.  Trying to fix
2643 broken behaviour with quotes introduces new leaks - there is no
2644 alternative to correct quoting in the first place.
2645
2646 If you have to use the %-expandos' values in context where you need
2647 quoting or backtick expansions, put that value into a shell variable
2648 and reference the shell variable where necessary, as in the following
2649 example (using <tt/&dollar;charset/ inside the backtick expansion is safe,
2650 since it is not itself subject to any further expansion):
2651
2652 <tscreen><verb>
2653 text/test-mailcap-bug; cat %s; copiousoutput; test=charset=%{charset} \
2654         && test "`echo $charset | tr '[A-Z]' '[a-z]'`" != iso-8859-1
2655 </verb></tscreen>
2656
2657 <sect2>Advanced mailcap Usage
2658 <p>
2659
2660 <sect3>Optional Fields
2661 <p>
2662 In addition to the required content-type and view command fields, you
2663 can add semi-colon ';' separated fields to set flags and other options.
2664 Mutt recognizes the following optional fields:
2665 <descrip>
2666 <tag/copiousoutput/
2667 This flag tells Mutt that the command passes possibly large amounts of
2668 text on stdout.  This causes Mutt to invoke a pager (either the internal
2669 pager or the external pager defined by the pager variable) on the output
2670 of the view command.  Without this flag, Mutt assumes that the command
2671 is interactive.  One could use this to replace the pipe to <tt>more</tt>
2672 in the <tt>lynx -dump</tt> example in the Basic section:
2673 <tscreen><verb>
2674 text/html; lynx -dump %s ; copiousoutput
2675 </verb></tscreen>
2676 This will cause lynx to format the text/html output as text/plain
2677 and Mutt will use your standard pager to display the results.
2678 <tag/needsterminal/
2679 Mutt uses this flag when viewing attachments with <ref id="auto_view"
2680 name="autoview">, in order to decide whether it should honor the setting
2681 of the <ref id="wait_key" name="&dollar;wait&lowbar;key"> variable or
2682 not.  When an attachment is viewed using an interactive program, and the
2683 corresponding mailcap entry has a <em/needsterminal/ flag, Mutt will use
2684 <ref id="wait_key" name="&dollar;wait&lowbar;key"> and the exit status
2685 of the program to decide if it will ask you to press a key after the
2686 external program has exited.  In all other situations it will not prompt
2687 you for a key.
2688 <tag>compose=&lt;command&gt;</tag>
2689 This flag specifies the command to use to create a new attachment of a
2690 specific MIME type.  Mutt supports this from the compose menu.
2691 <tag>composetyped=&lt;command&gt;</tag>
2692 This flag specifies the command to use to create a new attachment of a
2693 specific MIME type.  This command differs from the compose command in
2694 that mutt will expect standard MIME headers on the data.  This can be
2695 used to specify parameters, filename, description, etc. for a new
2696 attachment.   Mutt supports this from the compose menu.
2697 <tag>print=&lt;command&gt;</tag>
2698 This flag specifies the command to use to print a specific MIME type.
2699 Mutt supports this from the attachment and compose menus.
2700 <tag>edit=&lt;command&gt;</tag>
2701 This flag specifies the command to use to edit a specific MIME type.  
2702 Mutt supports this from the compose menu, and also uses it to compose
2703 new attachments.  Mutt will default to the defined editor for text
2704 attachments.
2705 <tag>nametemplate=&lt;template&gt;</tag>
2706 This field specifies the format for the file denoted by &percnt;s in the
2707 command fields.  Certain programs will require a certain file extension,
2708 for instance, to correctly view a file.  For instance, lynx will only
2709 interpret a file as <tt>text/html</tt> if the file ends in <tt/.html/.
2710 So, you would specify lynx as a <tt>text/html</tt> viewer with a line in
2711 the mailcap file like:
2712 <tscreen><verb>
2713 text/html; lynx %s; nametemplate=%s.html
2714 </verb></tscreen>
2715 <tag>test=&lt;command&gt;</tag>
2716 This field specifies a command to run to test whether this mailcap
2717 entry should be used.  The command is defined with the command expansion
2718 rules defined in the next section.  If the command returns 0, then the
2719 test passed, and Mutt uses this entry.  If the command returns non-zero,
2720 then the test failed, and Mutt continues searching for the right entry.
2721 <bf/Note:/ <em>the content-type must match before Mutt performs the test.</em>
2722 For example:
2723 <tscreen><verb>
2724 text/html; netscape -remote 'openURL(%s)' ; test=RunningX
2725 text/html; lynx %s
2726 </verb></tscreen>
2727 In this example, Mutt will run the program RunningX which will return 0
2728 if the X Window manager is running, and non-zero if it isn't.  If
2729 RunningX returns 0, then Mutt will call netscape to display the
2730 text/html object.  If RunningX doesn't return 0, then Mutt will go on
2731 to the next entry and use lynx to display the text/html object.
2732 </descrip>
2733
2734 <sect3>Search Order
2735 <p>
2736 When searching for an entry in the mailcap file, Mutt will search for
2737 the most useful entry for its purpose.  For instance, if you are
2738 attempting to print an <tt>image/gif</tt>, and you have the following
2739 entries in your mailcap file, Mutt will search for an entry with the
2740 print command:
2741 <tscreen><verb>
2742 image/*;        xv %s
2743 image/gif;      ; print= anytopnm %s | pnmtops | lpr; \
2744                 nametemplate=%s.gif
2745 </verb></tscreen>
2746 Mutt will skip the <tt>image/*</tt> entry and use the <tt>image/gif</tt>
2747 entry with the print command.
2748
2749 In addition, you can use this with <ref id="auto_view" name="Autoview"> 
2750 to denote two commands for viewing an attachment, one to be viewed
2751 automatically, the other to be viewed interactively from the attachment
2752 menu.  In addition, you can then use the test feature to determine which
2753 viewer to use interactively depending on your environment.
2754 <tscreen><verb>
2755 text/html;      netscape -remote 'openURL(%s)' ; test=RunningX
2756 text/html;      lynx %s; nametemplate=%s.html
2757 text/html;      lynx -dump %s; nametemplate=%s.html; copiousoutput
2758 </verb></tscreen>
2759 For <ref id="auto_view" name="Autoview">, Mutt will choose the third
2760 entry because of the copiousoutput tag.  For interactive viewing, Mutt
2761 will run the program RunningX to determine if it should use the first
2762 entry.  If the program returns non-zero, Mutt will use the second entry
2763 for interactive viewing.
2764
2765 <sect3>Command Expansion
2766 <p>
2767 The various commands defined in the mailcap files are passed to the
2768 <tt>/bin/sh</tt> shell using the system() function.  Before the
2769 command is passed to <tt>/bin/sh -c</tt>, it is parsed to expand
2770 various special parameters with information from Mutt.  The keywords
2771 Mutt expands are:
2772 <descrip>
2773 <tag/&percnt;s/
2774 As seen in the basic mailcap section, this variable is expanded
2775 to a filename specified by the calling program.  This file contains
2776 the body of the message to view/print/edit or where the composing
2777 program should place the results of composition.  In addition, the
2778 use of this keyword causes Mutt to not pass the body of the message
2779 to the view/print/edit program on stdin.
2780 <tag/&percnt;t/
2781 Mutt will expand &percnt;t to the text representation of the content
2782 type of the message in the same form as the first parameter of the
2783 mailcap definition line, ie <tt>text/html</tt> or
2784 <tt>image/gif</tt>.
2785 <tag>&percnt;{&lt;parameter&gt;}</tag>
2786 Mutt will expand this to the value of the specified parameter
2787 from the Content-Type: line of the mail message.  For instance, if
2788 Your mail message contains:
2789 <tscreen><verb>
2790 Content-Type: text/plain; charset=iso-8859-1
2791 </verb></tscreen>
2792 then Mutt will expand &percnt;{charset} to iso-8859-1.  The default metamail
2793 mailcap file uses this feature to test the charset to spawn an xterm
2794 using the right charset to view the message.
2795 <tag>&bsol;&percnt;</tag>
2796 This will be replaced by a &percnt;
2797 </descrip>
2798 Mutt does not currently support the &percnt;F and &percnt;n keywords
2799 specified in RFC 1524.  The main purpose of these parameters is for
2800 multipart messages, which is handled internally by Mutt.
2801
2802 <sect2>Example mailcap files
2803 <p>
2804 This mailcap file is fairly simple and standard:
2805 <code>
2806 # I'm always running X :)
2807 video/*;        xanim %s > /dev/null
2808 image/*;        xv %s > /dev/null
2809
2810 # I'm always running netscape (if my computer had more memory, maybe)
2811 text/html;      netscape -remote 'openURL(%s)'
2812 </code>
2813
2814 This mailcap file shows quite a number of examples:
2815
2816 <code>
2817 # Use xanim to view all videos   Xanim produces a header on startup,
2818 # send that to /dev/null so I don't see it
2819 video/*;        xanim %s > /dev/null
2820
2821 # Send html to a running netscape by remote
2822 text/html;      netscape -remote 'openURL(%s)'; test=RunningNetscape
2823
2824 # If I'm not running netscape but I am running X, start netscape on the
2825 # object
2826 text/html;      netscape %s; test=RunningX
2827
2828 # Else use lynx to view it as text
2829 text/html;      lynx %s
2830
2831 # This version would convert the text/html to text/plain
2832 text/html;      lynx -dump %s; copiousoutput
2833
2834 # I use enscript to print text in two columns to a page
2835 text/*;         more %s; print=enscript -2Gr %s
2836
2837 # Netscape adds a flag to tell itself to view jpegs internally
2838 image/jpeg;xv %s; x-mozilla-flags=internal
2839
2840 # Use xv to view images if I'm running X
2841 # In addition, this uses the \ to extend the line and set my editor
2842 # for images
2843 image/*;xv %s; test=RunningX; \
2844         edit=xpaint %s
2845
2846 # Convert images to text using the netpbm tools
2847 image/*;  (anytopnm %s | pnmscale -xysize 80 46 | ppmtopgm | pgmtopbm |
2848 pbmtoascii -1x2 ) 2>&1 ; copiousoutput
2849
2850 # Send excel spreadsheets to my NT box
2851 application/ms-excel; open.pl %s
2852 </code>
2853
2854 <sect1>MIME Autoview<label id="auto_view">
2855 <p>
2856 In addition to explicitly telling Mutt to view an attachment with the
2857 MIME viewer defined in the mailcap file, Mutt has support for
2858 automatically viewing MIME attachments while in the pager.
2859
2860 To work, you must define a viewer in the mailcap file which uses the 
2861 <tt/copiousoutput/ option to denote that it is non-interactive.
2862 Usually, you also use the entry to convert the attachment to a text
2863 representation which you can view in the pager.
2864
2865 You then use the <tt/auto&lowbar;view/ muttrc command to list the
2866 content-types that you wish to view automatically.
2867
2868 For instance, if you set auto&lowbar;view to:
2869 <tscreen><verb>
2870 auto_view text/html application/x-gunzip application/postscript image/gif application/x-tar-gz
2871 </verb></tscreen>
2872
2873 Mutt could use the following mailcap entries to automatically view
2874 attachments of these types.
2875 <tscreen><verb>
2876 text/html;      lynx -dump %s; copiousoutput; nametemplate=%s.html
2877 image/*;        anytopnm %s | pnmscale -xsize 80 -ysize 50 | ppmtopgm | pgmtopbm | pbmtoascii ; copiousoutput
2878 application/x-gunzip;   gzcat; copiousoutput
2879 application/x-tar-gz; gunzip -c %s | tar -tf - ; copiousoutput
2880 application/postscript; ps2ascii %s; copiousoutput
2881 </verb></tscreen>
2882
2883 ``unauto_view'' can be used to remove previous entries from the autoview list.
2884 This can be used with message-hook to autoview messages based on size, etc.
2885 ``unauto_view *'' will remove all previous entries.
2886
2887 <sect1>MIME Multipart/Alternative<label id="alternative_order">
2888 <p>
2889 Mutt has some heuristics for determining which attachment of a
2890 multipart/alternative type to display.  First, mutt will check the 
2891 alternative&lowbar;order list to determine if one of the available types
2892 is preferred.  The alternative&lowbar;order list consists of a number of
2893 mimetypes in order, including support for implicit and explicit
2894 wildcards, for example:
2895 <tscreen><verb>
2896 alternative_order text/enriched text/plain text application/postscript image/*
2897 </verb></tscreen>
2898
2899 Next, mutt will check if any of the types have a defined 
2900 <ref id="auto_view" name="auto&lowbar;view">, and use that.  Failing
2901 that, Mutt will look for any text type.  As a last attempt, mutt will
2902 look for any type it knows how to handle.
2903
2904 To remove a MIME type from the <tt/alternative_order/ list, use the
2905 <tt/unalternative_order/ command.
2906
2907 <sect1>MIME Lookup<label id="mime_lookup">
2908 <p>
2909 Mutt's mime&lowbar;lookup list specifies a list of mime-types that should not
2910 be treated according to their mailcap entry.  This option is designed to
2911 deal with binary types such as application/octet-stream.  When an attachment's
2912 mime-type is listed in mime&lowbar;lookup, then the extension of the filename will
2913 be compared to the list of extensions in the mime.types file.  The mime-type
2914 associated with this extension will then be used to process the attachment
2915 according to the rules in the mailcap file and according to any other configuration
2916 options (such as auto&lowbar;view) specified.  Common usage would be:
2917 <tscreen><verb>
2918 mime-lookup application/octet-stream application/X-Lotus-Manuscript
2919 </verb></tscreen>
2920
2921 In addition, the unmime&lowbar;lookup command may be used to disable this feature
2922 for any particular mime-type if it had been set, for example, in a global
2923 muttrc.
2924
2925 <sect>Reference
2926 <sect1>Command line options<label id="commandline">
2927 <p>
2928 Running <tt/mutt/ with no arguments will make Mutt attempt to read your spool
2929 mailbox.  However, it is possible to read other mailboxes and
2930 to send messages from the command line as well.
2931
2932 <tscreen><verb>
2933 -A      expand an alias
2934 -a      attach a file to a message
2935 -b      specify a blind carbon-copy (BCC) address
2936 -c      specify a carbon-copy (Cc) address
2937 -e      specify a config command to be run after initilization files are read
2938 -f      specify a mailbox to load
2939 -F      specify an alternate file to read initialization commands
2940 -h      print help on command line options
2941 -H      specify a draft file from which to read a header and body
2942 -i      specify a file to include in a message composition
2943 -m      specify a default mailbox type
2944 -n      do not read the system Muttrc
2945 -p      recall a postponed message
2946 -Q      query a configuration variable
2947 -R      open mailbox in read-only mode
2948 -s      specify a subject (enclose in quotes if it contains spaces)
2949 -v      show version number and compile-time definitions
2950 -x      simulate the mailx(1) compose mode
2951 -y      show a menu containing the files specified by the mailboxes command
2952 -z      exit immediately if there are no messages in the mailbox
2953 -Z      open the first folder with new message,exit immediately if none
2954 </verb></tscreen>
2955
2956 To read messages in a mailbox
2957
2958 <tt/mutt/ &lsqb; -nz &rsqb; &lsqb; -F <em/muttrc/ &rsqb; &lsqb; -m <em/type/ &rsqb; &lsqb; -f <em/mailbox/ &rsqb; 
2959
2960 To compose a new message
2961
2962 <tt/mutt/ &lsqb; -n &rsqb; &lsqb; -F <em/muttrc/ &rsqb; &lsqb; -a <em/file/ &rsqb; &lsqb; -c <em/address/ &rsqb; &lsqb; -i <em/filename/ &rsqb; &lsqb; -s <em/subject/ &rsqb; <em/address/ &lsqb; <em/address/ ... &rsqb; 
2963
2964 Mutt also supports a ``batch'' mode to send prepared messages.  Simply redirect
2965 input from the file you wish to send.  For example,
2966
2967 <tt>mutt -s &dquot;data set for run &num;2&dquot; professor@bigschool.edu
2968 &lt; &tilde;/run2.dat</tt>
2969
2970 This command will send a message to ``professor@bigschool.edu'' with a subject
2971 of ``data set for run &num;2''.  In the body of the message will be the contents
2972 of the file ``&tilde;/run2.dat''.
2973
2974 <sect1>Configuration Commands<label id="commands">
2975 <p>
2976 The following are the commands understood by mutt.
2977
2978 <itemize>
2979 <item>
2980 <tt><ref id="account-hook" name="account-hook"></tt> <em/pattern/ <em/command/
2981 <item>
2982 <tt><ref id="alias" name="alias"></tt> <em/key/ <em/address/ &lsqb; , <em/address/, ... &rsqb;
2983 <item>
2984 <tt><ref id="alias" name="unalias"></tt> &lsqb; * | <em/key/ ... &rsqb;
2985 <item>
2986 <tt><ref id="alternates" name="alternates"></tt> <em/regexp/ &lsqb; <em/regexp/ ... &rsqb;
2987 <item>
2988 <tt><ref id="alternates" name="unalternates"></tt> &lsqb; * | <em/regexp/ ... &rsqb;
2989 <item>
2990 <tt><ref id="alternative_order" name="alternative&lowbar;order"></tt> <em/mimetype/ &lsqb; <em/mimetype/ ... &rsqb;
2991 <item>
2992 <tt><ref id="alternative_order" name="unalternative&lowbar;order"></tt> <em/mimetype/ &lsqb; <em/mimetype/ ... &rsqb;
2993 <item>
2994 <tt><ref id="auto_view" name="auto&lowbar;view"></tt> <em/mimetype/ &lsqb; <em/mimetype/ ... &rsqb;
2995 <item>
2996 <tt><ref id="auto_view" name="unauto&lowbar;view"></tt> <em/mimetype/ &lsqb; <em/mimetype/ ... &rsqb;
2997 <item>
2998 <tt><ref id="bind" name="bind"></tt> <em/map/ <em/key/ <em/function/
2999 <item>
3000 <tt><ref id="charset-hook" name="charset-hook"></tt> <em/alias/ <em/charset/
3001 <item>
3002 <tt><ref id="color" name="color"></tt> <em/object/ <em/foreground/ <em/background/ &lsqb; <em/regexp/ &rsqb;
3003 <item>
3004 <tt><ref id="color" name="uncolor"></tt> <em/index/ <em/pattern/ &lsqb; <em/pattern/ ... &rsqb;
3005 <item>
3006 <tt><ref id="exec" name="exec"></tt> <em/function/ &lsqb; <em/function/ ... &rsqb;
3007 <item>
3008 <tt><ref id="fcc-hook" name="fcc-hook"></tt> <em/pattern/ <em/mailbox/
3009 <item>
3010 <tt><ref id="fcc-save-hook" name="fcc-save-hook"></tt> <em/pattern/ <em/mailbox/
3011 <item>
3012 <tt><ref id="folder-hook" name="folder-hook"></tt> <em/pattern/ <em/command/
3013 <item>
3014 <tt><ref id="hdr_order" name="hdr&lowbar;order"></tt> <em/header/ &lsqb; <em/header/ ... &rsqb;
3015 <item>
3016 <tt><ref id="hdr_order" name="unhdr&lowbar;order"></tt> <em/header/ &lsqb; <em/header/ ... &rsqb;
3017 <item>
3018 <tt><ref id="charset-hook" name="iconv-hook"></tt> <em/charset/ <em/local-charset/
3019 <item>
3020 <tt><ref id="ignore" name="ignore"></tt> <em/pattern/ &lsqb; <em/pattern/ ... &rsqb;
3021 <item>
3022 <tt><ref id="ignore" name="unignore"></tt> <em/pattern/ &lsqb; <em/pattern/ ... &rsqb;
3023 <item>
3024 <tt><ref id="lists" name="lists"></tt> <em/address/ &lsqb; <em/address/ ... &rsqb; 
3025 <item>
3026 <tt><ref id="lists" name="unlists"></tt> <em/address/ &lsqb; <em/address/ ... &rsqb; 
3027 <item>
3028 <tt><ref id="macro" name="macro"></tt> <em/menu/ <em/key/ <em/sequence/ &lsqb; <em/description/ &rsqb; 
3029 <item>
3030 <tt><ref id="mailboxes" name="mailboxes"></tt> <em/filename/ &lsqb; <em/filename/ ... &rsqb;
3031 <item>
3032 <tt><ref id="mbox-hook" name="mbox-hook"></tt> <em/pattern/ <em/mailbox/
3033 <item>
3034 <tt><ref id="message-hook" name="message-hook"></tt> <em/pattern/ <em/command/
3035 <item>
3036 <tt><ref id="mime_lookup" name="mime&lowbar;lookup"></tt> <em/mimetype/ &lsqb; <em/mimetype/ ... &rsqb;
3037 <item>
3038 <tt><ref id="mime_lookup" name="unmime&lowbar;lookup"></tt> <em/mimetype/ &lsqb; <em/mimetype/ ... &rsqb;
3039 <item>
3040 <tt><ref id="color" name="mono"></tt> <em/object attribute/ &lsqb; <em/regexp/ &rsqb;
3041 <item>
3042 <tt><ref id="color" name="unmono"></tt> <em/index/ <em/pattern/ &lsqb; <em/pattern/ ... &rsqb;
3043 <item>
3044 <tt><ref id="my_hdr" name="my&lowbar;hdr"></tt> <em/string/
3045 <item>
3046 <tt><ref id="my_hdr" name="unmy&lowbar;hdr"></tt> <em/field/ &lsqb; <em/field/ ... &rsqb;
3047 <item>
3048 <tt><ref id="crypt-hook" name="crypt-hook"></tt> <em/pattern/ <em/key-id/
3049 <item>
3050 <tt><ref id="push" name="push"></tt> <em/string/
3051 <item>
3052 <tt><ref id="set" name="reset"></tt> <em/variable/ &lsqb;<em/variable/ ... &rsqb;
3053 <item>
3054 <tt><ref id="save-hook" name="save-hook"></tt> <em/regexp/ <em/filename/
3055 <item>
3056 <tt><ref id="score-command" name="score"></tt> <em/pattern/ <em/value/
3057 <item>
3058 <tt><ref id="score-command" name="unscore"></tt> <em/pattern/ &lsqb; <em/pattern/ ... &rsqb;
3059 <item>
3060 <tt><ref id="send-hook" name="send-hook"></tt> <em/regexp/ <em/command/
3061 <item>
3062 <tt><ref id="set" name="set"></tt> &lsqb;no|inv&rsqb;<em/variable/&lsqb;=<em/value/&rsqb; &lsqb; <em/variable/ ... &rsqb;
3063 <item>
3064 <tt><ref id="set" name="unset"></tt> <em/variable/ &lsqb;<em/variable/ ... &rsqb;
3065 <item>
3066 <tt><ref id="source" name="source"></tt> <em/filename/
3067 <item>
3068 <tt><ref id="lists" name="subscribe"></tt> <em/address/ &lsqb; <em/address/ ... &rsqb; 
3069 <item>
3070 <tt><ref id="lists" name="unsubscribe"></tt> <em/address/ &lsqb; <em/address/ ... &rsqb; 
3071 <item>
3072 <tt><ref id="set" name="toggle"></tt> <em/variable/ &lsqb;<em/variable/ ... &rsqb;
3073 <item>
3074 <tt><ref id="unhook" name="unhook"></tt> <em/hook-type/
3075 </itemize>
3076
3077 <sect1>Configuration variables<label id="variables">
3078 <p>
3079
3080
3081 <sect2>abort&lowbar;nosubject<label id="abort_nosubject">
3082 <p>
3083 Type: quadoption<newline>
3084 Default: ask-yes
3085
3086 <p>
3087 If set to <em>yes</em>, when composing messages and no subject is given
3088 at the subject prompt, composition will be aborted.  If set to
3089 <em>no</em>, composing messages with no subject given at the subject
3090 prompt will never be aborted.
3091
3092
3093 <sect2>abort&lowbar;unmodified<label id="abort_unmodified">
3094 <p>
3095 Type: quadoption<newline>
3096 Default: yes
3097
3098 <p>
3099 If set to <em>yes</em>, composition will automatically abort after
3100 editing the message body if no changes are made to the file (this
3101 check only happens after the <em>first</em> edit of the file).  When set
3102 to <em>no</em>, composition will never be aborted.
3103
3104
3105 <sect2>alias&lowbar;file<label id="alias_file">
3106 <p>
3107 Type: path<newline>
3108 Default: &dquot;&tilde;/.muttrc&dquot;
3109
3110 <p>
3111 The default file in which to save aliases created by the 
3112 ``<ref id="create-alias" name="create-alias">'' function.
3113 <p>
3114 <bf>Note:</bf> Mutt will not automatically source this file; you must
3115 explicitly use the ``<ref id="source" name="source">'' command for it to be executed.
3116
3117
3118 <sect2>alias&lowbar;format<label id="alias_format">
3119 <p>
3120 Type: string<newline>
3121 Default: &dquot;&percnt;4n &percnt;2f &percnt;t &percnt;-10a   &percnt;r&dquot;
3122
3123 <p>
3124 Specifies the format of the data displayed for the `alias' menu.  The
3125 following printf(3)-style sequences are available:
3126 <p>
3127
3128 <descrip>
3129 <tag>&percnt;a </tag>alias name
3130 <tag>&percnt;f </tag>flags - currently, a &dquot;d&dquot; for an alias marked for deletion
3131 <tag>&percnt;n </tag>index number
3132 <tag>&percnt;r </tag>address which alias expands to
3133 <tag>&percnt;t </tag>character which indicates if the alias is tagged for inclusion
3134 </descrip>
3135
3136
3137 <sect2>allow&lowbar;8bit<label id="allow_8bit">
3138 <p>
3139 Type: boolean<newline>
3140 Default: yes
3141
3142 <p>
3143 Controls whether 8-bit data is converted to 7-bit using either Quoted-
3144 Printable or Base64 encoding when sending mail.
3145
3146
3147 <sect2>allow&lowbar;ansi<label id="allow_ansi">
3148 <p>
3149 Type: boolean<newline>
3150 Default: no
3151
3152 <p>
3153 Controls whether ANSI color codes in messages (and color tags in 
3154 rich text messages) are to be interpreted.
3155 Messages containing these codes are rare, but if this option is set,
3156 their text will be colored accordingly. Note that this may override
3157 your color choices, and even present a security problem, since a
3158 message could include a line like &dquot;&lsqb;-- PGP output follows ...&dquot; and
3159 give it the same color as your attachment color.
3160
3161
3162 <sect2>arrow&lowbar;cursor<label id="arrow_cursor">
3163 <p>
3164 Type: boolean<newline>
3165 Default: no
3166
3167 <p>
3168 When set, an arrow (``-&gt;'') will be used to indicate the current entry
3169 in menus instead of highlighting the whole line.  On slow network or modem
3170 links this will make response faster because there is less that has to
3171 be redrawn on the screen when moving to the next or previous entries
3172 in the menu.
3173
3174
3175 <sect2>ascii&lowbar;chars<label id="ascii_chars">
3176 <p>
3177 Type: boolean<newline>
3178 Default: no
3179
3180 <p>
3181 If set, Mutt will use plain ASCII characters when displaying thread
3182 and attachment trees, instead of the default <em>ACS</em> characters.
3183
3184
3185 <sect2>askbcc<label id="askbcc">
3186 <p>
3187 Type: boolean<newline>
3188 Default: no
3189
3190 <p>
3191 If set, Mutt will prompt you for blind-carbon-copy (Bcc) recipients
3192 before editing an outgoing message.
3193
3194
3195 <sect2>askcc<label id="askcc">
3196 <p>
3197 Type: boolean<newline>
3198 Default: no
3199
3200 <p>
3201 If set, Mutt will prompt you for carbon-copy (Cc) recipients before
3202 editing the body of an outgoing message.
3203
3204
3205 <sect2>ask&lowbar;follow&lowbar;up<label id="ask_follow_up">
3206 <p>
3207 Type: boolean<newline>
3208 Default: no
3209
3210 <p>
3211 If set, Mutt will prompt you for follow-up groups before editing
3212 the body of an outgoing message.
3213
3214
3215 <sect2>ask&lowbar;x&lowbar;comment&lowbar;to<label id="ask_x_comment_to">
3216 <p>
3217 Type: boolean<newline>
3218 Default: no
3219
3220 <p>
3221 If set, Mutt will prompt you for x-comment-to field before editing
3222 the body of an outgoing message.
3223
3224
3225 <sect2>attach&lowbar;format<label id="attach_format">
3226 <p>
3227 Type: string<newline>
3228 Default: &dquot;&percnt;u&percnt;D&percnt;I &percnt;t&percnt;4n &percnt;T&percnt;.40d&percnt;&gt; &lsqb;&percnt;.7m/&percnt;.10M, &percnt;.6e&percnt;?C?, &percnt;C?, &percnt;s&rsqb; &dquot;
3229
3230 <p>
3231 This variable describes the format of the `attachment' menu.  The
3232 following printf-style sequences are understood:
3233 <p>
3234
3235 <descrip>
3236 <tag>&percnt;C  </tag>charset
3237 <tag>&percnt;c  </tag>reqiures charset conversion (n or c)
3238 <tag>&percnt;D  </tag>deleted flag
3239 <tag>&percnt;d  </tag>description
3240 <tag>&percnt;e  </tag>MIME content-transfer-encoding
3241 <tag>&percnt;f  </tag>filename
3242 <tag>&percnt;I  </tag>disposition (I=inline, A=attachment)
3243 <tag>&percnt;m  </tag>major MIME type
3244 <tag>&percnt;M  </tag>MIME subtype
3245 <tag>&percnt;n  </tag>attachment number
3246 <tag>&percnt;s  </tag>size
3247 <tag>&percnt;t  </tag>tagged flag
3248 <tag>&percnt;T  </tag>graphic tree characters
3249 <tag>&percnt;u  </tag>unlink (=to delete) flag
3250 <tag>&percnt;&gt;X </tag>right justify the rest of the string and pad with character &dquot;X&dquot;
3251 <tag>&percnt;|X </tag>pad to the end of the line with character &dquot;X&dquot;
3252 </descrip>
3253
3254
3255 <sect2>attach&lowbar;sep<label id="attach_sep">
3256 <p>
3257 Type: string<newline>
3258 Default: &dquot;&bsol;n&dquot;
3259
3260 <p>
3261 The separator to add between attachments when operating (saving,
3262 printing, piping, etc) on a list of tagged attachments.
3263
3264
3265 <sect2>attach&lowbar;split<label id="attach_split">
3266 <p>
3267 Type: boolean<newline>
3268 Default: yes
3269
3270 <p>
3271 If this variable is unset, when operating (saving, printing, piping,
3272 etc) on a list of tagged attachments, Mutt will concatenate the
3273 attachments and will operate on them as a single attachment. The
3274 ``<ref id="attach_sep" name="&dollar;attach&lowbar;sep">'' separator is added after each attachment. When set,
3275 Mutt will operate on the attachments one by one.
3276
3277
3278 <sect2>attribution<label id="attribution">
3279 <p>
3280 Type: string<newline>
3281 Default: &dquot;On &percnt;d, &percnt;n wrote:&dquot;
3282
3283 <p>
3284 This is the string that will precede a message which has been included
3285 in a reply.  For a full listing of defined printf()-like sequences see
3286 the section on ``<ref id="index_format" name="&dollar;index&lowbar;format">''.
3287
3288
3289 <sect2>autoedit<label id="autoedit">
3290 <p>
3291 Type: boolean<newline>
3292 Default: no
3293
3294 <p>
3295 When set along with ``<ref id="edit_headers" name="&dollar;edit&lowbar;headers">'', Mutt will skip the initial
3296 send-menu and allow you to immediately begin editing the body of your
3297 message.  The send-menu may still be accessed once you have finished
3298 editing the body of your message.
3299 <p>
3300 Also see ``<ref id="fast_reply" name="&dollar;fast&lowbar;reply">''.
3301
3302
3303 <sect2>auto&lowbar;tag<label id="auto_tag">
3304 <p>
3305 Type: boolean<newline>
3306 Default: no
3307
3308 <p>
3309 When set, functions in the <em>index</em> menu which affect a message
3310 will be applied to all tagged messages (if there are any).  When
3311 unset, you must first use the tag-prefix function (default: &dquot;;&dquot;) to
3312 make the next function apply to all tagged messages.
3313
3314
3315 <sect2>beep<label id="beep">
3316 <p>
3317 Type: boolean<newline>
3318 Default: yes
3319
3320 <p>
3321 When this variable is set, mutt will beep when an error occurs.
3322
3323
3324 <sect2>beep&lowbar;new<label id="beep_new">
3325 <p>
3326 Type: boolean<newline>
3327 Default: no
3328
3329 <p>
3330 When this variable is set, mutt will beep whenever it prints a message
3331 notifying you of new mail.  This is independent of the setting of the
3332 ``<ref id="beep" name="&dollar;beep">'' variable.
3333
3334
3335 <sect2>bounce<label id="bounce">
3336 <p>
3337 Type: quadoption<newline>
3338 Default: ask-yes
3339
3340 <p>
3341 Controls whether you will be asked to confirm bouncing messages.
3342 If set to <em>yes</em> you don't get asked if you want to bounce a
3343 message. Setting this variable to <em>no</em> is not generally useful,
3344 and thus not recommended, because you are unable to bounce messages.
3345
3346
3347 <sect2>bounce&lowbar;delivered<label id="bounce_delivered">
3348 <p>
3349 Type: boolean<newline>
3350 Default: yes
3351
3352 <p>
3353 When this variable is set, mutt will include Delivered-To headers when
3354 bouncing messages.  Postfix users may wish to unset this variable.
3355
3356
3357 <sect2>catchup&lowbar;newsgroup<label id="catchup_newsgroup">
3358 <p>
3359 Type: quadoption<newline>
3360 Default: ask-yes
3361
3362 <p>
3363 If this variable is <em>set</em>, Mutt will mark all articles in newsgroup
3364 as read when you quit the newsgroup (catchup newsgroup).
3365
3366
3367 <sect2>charset<label id="charset">
3368 <p>
3369 Type: string<newline>
3370 Default: &dquot;&dquot;
3371
3372 <p>
3373 Character set your terminal uses to display and enter textual data.
3374
3375
3376 <sect2>check&lowbar;new<label id="check_new">
3377 <p>
3378 Type: boolean<newline>
3379 Default: yes
3380
3381 <p>
3382 <bf>Note:</bf> this option only affects <em>maildir</em> and <em>MH</em> style
3383 mailboxes.
3384 <p>
3385 When <em>set</em>, Mutt will check for new mail delivered while the
3386 mailbox is open.  Especially with MH mailboxes, this operation can
3387 take quite some time since it involves scanning the directory and
3388 checking each file to see if it has already been looked at.  If
3389 <em>check&lowbar;new</em> is <em>unset</em>, no check for new mail is performed
3390 while the mailbox is open.
3391
3392
3393 <sect2>collapse&lowbar;unread<label id="collapse_unread">
3394 <p>
3395 Type: boolean<newline>
3396 Default: yes
3397
3398 <p>
3399 When <em>unset</em>, Mutt will not collapse a thread if it contains any
3400 unread messages.
3401
3402
3403 <sect2>uncollapse&lowbar;jump<label id="uncollapse_jump">
3404 <p>
3405 Type: boolean<newline>
3406 Default: no
3407
3408 <p>
3409 When <em>set</em>, Mutt will jump to the next unread message, if any,
3410 when the current thread is <em>un</em>collapsed.
3411
3412
3413 <sect2>compose&lowbar;format<label id="compose_format">
3414 <p>
3415 Type: string<newline>
3416 Default: &dquot;-- Mutt: Compose  &lsqb;Approx. msg size: &percnt;l   Atts: &percnt;a&rsqb;&percnt;&gt;-&dquot;
3417
3418 <p>
3419 Controls the format of the status line displayed in the &bsol;fCompose
3420 menu.  This string is similar to ``<ref id="status_format" name="&dollar;status&lowbar;format">'', but has its own
3421 set of printf()-like sequences:
3422 <p>
3423
3424 <descrip>
3425 <tag>&percnt;a </tag>total number of attachments 
3426 <tag>&percnt;h </tag>local hostname
3427 <tag>&percnt;l </tag>approximate size (in bytes) of the current message
3428 <tag>&percnt;v </tag>Mutt version string
3429 </descrip>
3430
3431 <p>
3432 See the text describing the ``<ref id="status_format" name="&dollar;status&lowbar;format">'' option for more 
3433 information on how to set ``<ref id="compose_format" name="&dollar;compose&lowbar;format">''.
3434
3435
3436 <sect2>confirmappend<label id="confirmappend">
3437 <p>
3438 Type: boolean<newline>
3439 Default: yes
3440
3441 <p>
3442 When set, Mutt will prompt for confirmation when appending messages to
3443 an existing mailbox.
3444
3445
3446 <sect2>confirmcreate<label id="confirmcreate">
3447 <p>
3448 Type: boolean<newline>
3449 Default: yes
3450
3451 <p>
3452 When set, Mutt will prompt for confirmation when saving messages to a
3453 mailbox which does not yet exist before creating it.
3454
3455
3456 <sect2>connect&lowbar;timeout<label id="connect_timeout">
3457 <p>
3458 Type: number<newline>
3459 Default: 30
3460
3461 <p>
3462 Causes Mutt to timeout a network connection (for IMAP or POP) after this
3463 many seconds if the connection is not able to be established.  A negative
3464 value causes Mutt to wait indefinitely for the connection to succeed.
3465
3466
3467 <sect2>content&lowbar;type<label id="content_type">
3468 <p>
3469 Type: string<newline>
3470 Default: &dquot;text/plain&dquot;
3471
3472 <p>
3473 Sets the default Content-Type for the body of newly composed messages.
3474
3475
3476 <sect2>copy<label id="copy">
3477 <p>
3478 Type: quadoption<newline>
3479 Default: yes
3480
3481 <p>
3482 This variable controls whether or not copies of your outgoing messages
3483 will be saved for later references.  Also see ``<ref id="record" name="&dollar;record">'',
3484 ``<ref id="save_name" name="&dollar;save&lowbar;name">'', ``<ref id="force_name" name="&dollar;force&lowbar;name">'' and ``<ref id="fcc-hook" name="fcc-hook">''.
3485
3486
3487 <sect2>crypt&lowbar;autopgp<label id="crypt_autopgp">
3488 <p>
3489 Type: boolean<newline>
3490 Default: yes
3491
3492 <p>
3493 This variable controls whether or not mutt may automatically enable
3494 PGP encryption/signing for messages.  See also ``<ref id="crypt_autoencrypt" name="&dollar;crypt&lowbar;autoencrypt">'',
3495 ``<ref id="crypt_replyencrypt" name="&dollar;crypt&lowbar;replyencrypt">'',
3496 ``<ref id="crypt_autosign" name="&dollar;crypt&lowbar;autosign">'', ``<ref id="crypt_replysign" name="&dollar;crypt&lowbar;replysign">'' and ``<ref id="smime_is_default" name="&dollar;smime&lowbar;is&lowbar;default">''.
3497
3498
3499 <sect2>crypt&lowbar;autosmime<label id="crypt_autosmime">
3500 <p>
3501 Type: boolean<newline>
3502 Default: yes
3503
3504 <p>
3505 This variable controls whether or not mutt may automatically enable
3506 S/MIME encryption/signing for messages. See also ``<ref id="crypt_autoencrypt" name="&dollar;crypt&lowbar;autoencrypt">'',
3507 ``<ref id="crypt_replyencrypt" name="&dollar;crypt&lowbar;replyencrypt">'',
3508 ``<ref id="crypt_autosign" name="&dollar;crypt&lowbar;autosign">'', ``<ref id="crypt_replysign" name="&dollar;crypt&lowbar;replysign">'' and ``<ref id="smime_is_default" name="&dollar;smime&lowbar;is&lowbar;default">''.
3509
3510
3511 <sect2>date&lowbar;format<label id="date_format">
3512 <p>
3513 Type: string<newline>
3514 Default: &dquot;!&percnt;a, &percnt;b &percnt;d, &percnt;Y at &percnt;I:&percnt;M:&percnt;S&percnt;p &percnt;Z&dquot;
3515
3516 <p>
3517 This variable controls the format of the date printed by the ``&percnt;d''
3518 sequence in ``<ref id="index_format" name="&dollar;index&lowbar;format">''.  This is passed to the <em>strftime</em>
3519 call to process the date. See the man page for <em>strftime(3)</em> for
3520 the proper syntax.
3521 <p>
3522 Unless the first character in the string is a bang (``!''), the month
3523 and week day names are expanded according to the locale specified in
3524 the variable ``<ref id="locale" name="&dollar;locale">''. If the first character in the string is a
3525 bang, the bang is discarded, and the month and week day names in the
3526 rest of the string are expanded in the <em>C</em> locale (that is in US
3527 English).
3528
3529
3530 <sect2>default&lowbar;hook<label id="default_hook">
3531 <p>
3532 Type: string<newline>
3533 Default: &dquot;&tilde;f &percnt;s !&tilde;P | (&tilde;P &tilde;C &percnt;s)&dquot;
3534
3535 <p>
3536 This variable controls how send-hooks, message-hooks, save-hooks,
3537 and fcc-hooks will
3538 be interpreted if they are specified with only a simple regexp,
3539 instead of a matching pattern.  The hooks are expanded when they are
3540 declared, so a hook will be interpreted according to the value of this
3541 variable at the time the hook is declared.  The default value matches
3542 if the message is either from a user matching the regular expression
3543 given, or if it is from you (if the from address matches
3544 ``alternates'') and is to or cc'ed to a user matching the given
3545 regular expression.
3546
3547
3548 <sect2>delete<label id="delete">
3549 <p>
3550 Type: quadoption<newline>
3551 Default: ask-yes
3552
3553 <p>
3554 Controls whether or not messages are really deleted when closing or
3555 synchronizing a mailbox.  If set to <em>yes</em>, messages marked for
3556 deleting will automatically be purged without prompting.  If set to
3557 <em>no</em>, messages marked for deletion will be kept in the mailbox.
3558
3559
3560 <sect2>delete&lowbar;untag<label id="delete_untag">
3561 <p>
3562 Type: boolean<newline>
3563 Default: yes
3564
3565 <p>
3566 If this option is <em>set</em>, mutt will untag messages when marking them
3567 for deletion.  This applies when you either explicitly delete a message,
3568 or when you save it to another folder.
3569
3570
3571 <sect2>digest&lowbar;collapse<label id="digest_collapse">
3572 <p>
3573 Type: boolean<newline>
3574 Default: yes
3575
3576 <p>
3577 If this option is <em>set</em>, mutt's revattach menu will not show the subparts of
3578 individual messages in a digest.  To see these subparts, press 'v' on that menu.
3579
3580
3581 <sect2>display&lowbar;filter<label id="display_filter">
3582 <p>
3583 Type: path<newline>
3584 Default: &dquot;&dquot;
3585
3586 <p>
3587 When set, specifies a command used to filter messages.  When a message
3588 is viewed it is passed as standard input to <ref id="display_filter" name="&dollar;display&lowbar;filter">, and the
3589 filtered message is read from the standard output.
3590
3591
3592 <sect2>dotlock&lowbar;program<label id="dotlock_program">
3593 <p>
3594 Type: path<newline>
3595 Default: &dquot;/usr/local/bin/mutt&lowbar;dotlock&dquot;
3596
3597 <p>
3598 Contains the path of the mutt&lowbar;dotlock (8) binary to be used by
3599 mutt.
3600
3601
3602 <sect2>dsn&lowbar;notify<label id="dsn_notify">
3603 <p>
3604 Type: string<newline>
3605 Default: &dquot;&dquot;
3606
3607 <p>
3608 <bf>Note:</bf> you should not enable this unless you are using Sendmail
3609 8.8.x or greater.
3610 <p>
3611 This variable sets the request for when notification is returned.  The
3612 string consists of a comma separated list (no spaces!) of one or more
3613 of the following: <em>never</em>, to never request notification,
3614 <em>failure</em>, to request notification on transmission failure,
3615 <em>delay</em>, to be notified of message delays, <em>success</em>, to be
3616 notified of successful transmission.
3617 <p>
3618 Example: set dsn&lowbar;notify=&dquot;failure,delay&dquot;
3619
3620
3621 <sect2>dsn&lowbar;return<label id="dsn_return">
3622 <p>
3623 Type: string<newline>
3624 Default: &dquot;&dquot;
3625
3626 <p>
3627 <bf>Note:</bf> you should not enable this unless you are using Sendmail
3628 8.8.x or greater.
3629 <p>
3630 This variable controls how much of your message is returned in DSN
3631 messages.  It may be set to either <em>hdrs</em> to return just the
3632 message header, or <em>full</em> to return the full message.
3633 <p>
3634 Example: set dsn&lowbar;return=hdrs
3635
3636
3637 <sect2>duplicate&lowbar;threads<label id="duplicate_threads">
3638 <p>
3639 Type: boolean<newline>
3640 Default: yes
3641
3642 <p>
3643 This variable controls whether mutt, when sorting by threads, threads
3644 messages with the same message-id together.  If it is set, it will indicate
3645 that it thinks they are duplicates of each other with an equals sign
3646 in the thread diagram.
3647
3648
3649 <sect2>edit&lowbar;headers<label id="edit_headers">
3650 <p>
3651 Type: boolean<newline>
3652 Default: no
3653
3654 <p>
3655 This option allows you to edit the header of your outgoing messages
3656 along with the body of your message.
3657
3658
3659 <sect2>editor<label id="editor">
3660 <p>
3661 Type: path<newline>
3662 Default: &dquot;&dquot;
3663
3664 <p>
3665 This variable specifies which editor is used by mutt.
3666 It defaults to the value of the VISUAL, or EDITOR, environment
3667 variable, or to the string &dquot;vi&dquot; if neither of those are set.
3668
3669
3670 <sect2>encode&lowbar;from<label id="encode_from">
3671 <p>
3672 Type: boolean<newline>
3673 Default: no
3674
3675 <p>
3676 When <em>set</em>, mutt will quoted-printable encode messages when
3677 they contain the string &dquot;From &dquot; in the beginning of a line.
3678 Useful to avoid the tampering certain mail delivery and transport
3679 agents tend to do with messages.
3680
3681
3682 <sect2>envelope&lowbar;from<label id="envelope_from">
3683 <p>
3684 Type: boolean<newline>
3685 Default: no
3686
3687 <p>
3688 When <em>set</em>, mutt will try to derive the message's <em>envelope</em>
3689 sender from the &dquot;From:&dquot; header.  Note that this information is passed 
3690 to sendmail command using the &dquot;-f&dquot; command line switch, so don't set this
3691 option if you are using that switch in <ref id="sendmail" name="&dollar;sendmail"> yourself,
3692 or if the sendmail on your machine doesn't support that command
3693 line switch.
3694
3695
3696 <sect2>escape<label id="escape">
3697 <p>
3698 Type: string<newline>
3699 Default: &dquot;&tilde;&dquot;
3700
3701 <p>
3702 Escape character to use for functions in the builtin editor.
3703
3704
3705 <sect2>fast&lowbar;reply<label id="fast_reply">
3706 <p>
3707 Type: boolean<newline>
3708 Default: no
3709
3710 <p>
3711 When set, the initial prompt for recipients and subject are skipped
3712 when replying to messages, and the initial prompt for subject is
3713 skipped when forwarding messages.
3714 <p>
3715 <bf>Note:</bf> this variable has no effect when the ``<ref id="autoedit" name="&dollar;autoedit">''
3716 variable is set.
3717
3718
3719 <sect2>fcc&lowbar;attach<label id="fcc_attach">
3720 <p>
3721 Type: boolean<newline>
3722 Default: yes
3723
3724 <p>
3725 This variable controls whether or not attachments on outgoing messages
3726 are saved along with the main body of your message.
3727
3728
3729 <sect2>fcc&lowbar;clear<label id="fcc_clear">
3730 <p>
3731 Type: boolean<newline>
3732 Default: no
3733
3734 <p>
3735 When this variable is set, FCCs will be stored unencrypted and
3736 unsigned, even when the actual message is encrypted and/or
3737 signed.
3738 (PGP only)
3739
3740
3741 <sect2>folder<label id="folder">
3742 <p>
3743 Type: path<newline>
3744 Default: &dquot;&tilde;/Mail&dquot;
3745
3746 <p>
3747 Specifies the default location of your mailboxes.  A `+' or `=' at the
3748 beginning of a pathname will be expanded to the value of this
3749 variable.  Note that if you change this variable from the default
3750 value you need to make sure that the assignment occurs <em>before</em>
3751 you use `+' or `=' for any other variables since expansion takes place
3752 during the `set' command.
3753
3754
3755 <sect2>folder&lowbar;format<label id="folder_format">
3756 <p>
3757 Type: string<newline>
3758 Default: &dquot;&percnt;2C &percnt;t &percnt;N &percnt;F &percnt;2l &percnt;-8.8u &percnt;-8.8g &percnt;8s &percnt;d &percnt;f&dquot;
3759
3760 <p>
3761 This variable allows you to customize the file browser display to your
3762 personal taste.  This string is similar to ``<ref id="index_format" name="&dollar;index&lowbar;format">'', but has
3763 its own set of printf()-like sequences:
3764 <p>
3765
3766 <descrip>
3767 <tag>&percnt;C  </tag>current file number
3768 <tag>&percnt;d  </tag>date/time folder was last modified
3769 <tag>&percnt;f  </tag>filename
3770 <tag>&percnt;F  </tag>file permissions
3771 <tag>&percnt;g  </tag>group name (or numeric gid, if missing)
3772 <tag>&percnt;l  </tag>number of hard links
3773 <tag>&percnt;N  </tag>N if folder has new mail, blank otherwise
3774 <tag>&percnt;s  </tag>size in bytes
3775 <tag>&percnt;t  </tag>* if the file is tagged, blank otherwise
3776 <tag>&percnt;u  </tag>owner name (or numeric uid, if missing)
3777 <tag>&percnt;&gt;X </tag>right justify the rest of the string and pad with character &dquot;X&dquot;
3778 <tag>&percnt;|X </tag>pad to the end of the line with character &dquot;X&dquot;
3779 </descrip>
3780
3781
3782 <sect2>followup&lowbar;to<label id="followup_to">
3783 <p>
3784 Type: boolean<newline>
3785 Default: yes
3786
3787 <p>
3788 Controls whether or not the <em>Mail-Followup-To</em> header field is
3789 generated when sending mail.  When <em>set</em>, Mutt will generate this
3790 field when you are replying to a known mailing list, specified with
3791 the ``subscribe'' or ``<ref id="lists" name="lists">'' commands.
3792 <p>
3793 This field has two purposes.  First, preventing you from
3794 receiving duplicate copies of replies to messages which you send
3795 to mailing lists, and second, ensuring that you do get a reply
3796 separately for any messages sent to known lists to which you are
3797 not subscribed.  The header will contain only the list's address
3798 for subscribed lists, and both the list address and your own
3799 email address for unsubscribed lists.  Without this header, a
3800 group reply to your message sent to a subscribed list will be
3801 sent to both the list and your address, resulting in two copies
3802 of the same email for you.
3803
3804
3805 <sect2>followup&lowbar;to&lowbar;poster<label id="followup_to_poster">
3806 <p>
3807 Type: quadoption<newline>
3808 Default: ask-yes
3809
3810 <p>
3811 If this variable is <em>set</em> and the keyword &dquot;poster&dquot; is present in
3812 <em>Followup-To</em> header, follow-up to newsgroup function is not
3813 permitted.  The message will be mailed to the submitter of the
3814 message via mail.
3815
3816
3817 <sect2>force&lowbar;name<label id="force_name">
3818 <p>
3819 Type: boolean<newline>
3820 Default: no
3821
3822 <p>
3823 This variable is similar to ``<ref id="save_name" name="&dollar;save&lowbar;name">'', except that Mutt will
3824 store a copy of your outgoing message by the username of the address
3825 you are sending to even if that mailbox does not exist.
3826 <p>
3827 Also see the ``<ref id="record" name="&dollar;record">'' variable.
3828
3829
3830 <sect2>forward&lowbar;decode<label id="forward_decode">
3831 <p>
3832 Type: boolean<newline>
3833 Default: yes
3834
3835 <p>
3836 Controls the decoding of complex MIME messages into text/plain when
3837 forwarding a message.  The message header is also RFC2047 decoded.
3838 This variable is only used, if ``<ref id="mime_forward" name="&dollar;mime&lowbar;forward">'' is <em>unset</em>,
3839 otherwise ``<ref id="mime_forward_decode" name="&dollar;mime&lowbar;forward&lowbar;decode">'' is used instead.
3840
3841
3842 <sect2>forward&lowbar;edit<label id="forward_edit">
3843 <p>
3844 Type: quadoption<newline>
3845 Default: yes
3846
3847 <p>
3848 This quadoption controls whether or not the user is automatically
3849 placed in the editor when forwarding messages.  For those who always want
3850 to forward with no modification, use a setting of ``no''.
3851
3852
3853 <sect2>forward&lowbar;format<label id="forward_format">
3854 <p>
3855 Type: string<newline>
3856 Default: &dquot;&lsqb;&percnt;a: &percnt;s&rsqb;&dquot;
3857
3858 <p>
3859 This variable controls the default subject when forwarding a message.
3860 It uses the same format sequences as the ``<ref id="index_format" name="&dollar;index&lowbar;format">'' variable.
3861
3862
3863 <sect2>forward&lowbar;quote<label id="forward_quote">
3864 <p>
3865 Type: boolean<newline>
3866 Default: no
3867
3868 <p>
3869 When <em>set</em> forwarded messages included in the main body of the
3870 message (when ``<ref id="mime_forward" name="&dollar;mime&lowbar;forward">'' is <em>unset</em>) will be quoted using
3871 ``<ref id="indent_string" name="&dollar;indent&lowbar;string">''.
3872
3873
3874 <sect2>from<label id="from">
3875 <p>
3876 Type: e-mail address<newline>
3877 Default: &dquot;&dquot;
3878
3879 <p>
3880 When set, this variable contains a default from address.  It
3881 can be overridden using my&lowbar;hdr (including from send-hooks) and
3882 ``<ref id="reverse_name" name="&dollar;reverse&lowbar;name">''.  This variable is ignored if ``<ref id="use_from" name="&dollar;use&lowbar;from">''
3883 is unset.
3884 <p>
3885 Defaults to the contents of the environment variable EMAIL.
3886
3887
3888 <sect2>gecos&lowbar;mask<label id="gecos_mask">
3889 <p>
3890 Type: regular expression<newline>
3891 Default: &dquot;^&lsqb;^,&rsqb;*&dquot;
3892
3893 <p>
3894 A regular expression used by mutt to parse the GECOS field of a password
3895 entry when expanding the alias.  By default the regular expression is set
3896 to &dquot;^&lsqb;^,&rsqb;*&dquot; which will return the string up to the first &dquot;,&dquot; encountered.
3897 If the GECOS field contains a string like &dquot;lastname, firstname&dquot; then you
3898 should set the gecos&lowbar;mask=&dquot;.*&dquot;.
3899 <p>
3900 This can be useful if you see the following behavior: you address a e-mail
3901 to user ID stevef whose full name is Steve Franklin.  If mutt expands 
3902 stevef to &dquot;Franklin&dquot; stevef@foo.bar then you should set the gecos&lowbar;mask to
3903 a regular expression that will match the whole name so mutt will expand
3904 &dquot;Franklin&dquot; to &dquot;Franklin, Steve&dquot;.
3905
3906
3907 <sect2>group&lowbar;index&lowbar;format<label id="group_index_format">
3908 <p>
3909 Type: string<newline>
3910 Default: &dquot;&percnt;4C &percnt;M&percnt;N &percnt;5s  &percnt;-45.45f &percnt;d&dquot;
3911
3912 <p>
3913 This variable allows you to customize the newsgroup browser display to
3914 your personal taste.  This string is similar to ``<ref id="index_format" name="index&lowbar;format">'', but
3915 has its own set of printf()-like sequences:
3916 <p>
3917
3918 <tscreen><verb>
3919 %C      current newsgroup number
3920 %d      description of newsgroup (becomes from server)
3921 %f      newsgroup name
3922 %M      - if newsgroup not allowed for direct post (moderated for example)
3923 %N      N if newsgroup is new, u if unsubscribed, blank otherwise
3924 %n      number of new articles in newsgroup
3925 %s      number of unread articles in newsgroup
3926 %>X     right justify the rest of the string and pad with character "X"
3927 %|X     pad to the end of the line with character "X"
3928
3929 </verb></tscreen>
3930
3931 <sect2>hdrs<label id="hdrs">
3932 <p>
3933 Type: boolean<newline>
3934 Default: yes
3935
3936 <p>
3937 When unset, the header fields normally added by the ``<ref id="my_hdr" name="my&lowbar;hdr">''
3938 command are not created.  This variable <em>must</em> be unset before
3939 composing a new message or replying in order to take effect.  If set,
3940 the user defined header fields are added to every new message.
3941
3942
3943 <sect2>header<label id="header">
3944 <p>
3945 Type: boolean<newline>
3946 Default: no
3947
3948 <p>
3949 When set, this variable causes Mutt to include the header
3950 of the message you are replying to into the edit buffer.
3951 The ``<ref id="weed" name="&dollar;weed">'' setting applies.
3952
3953
3954 <sect2>help<label id="help">
3955 <p>
3956 Type: boolean<newline>
3957 Default: yes
3958
3959 <p>
3960 When set, help lines describing the bindings for the major functions
3961 provided by each menu are displayed on the first line of the screen.
3962 <p>
3963 <bf>Note:</bf> The binding will not be displayed correctly if the
3964 function is bound to a sequence rather than a single keystroke.  Also,
3965 the help line may not be updated if a binding is changed while Mutt is
3966 running.  Since this variable is primarily aimed at new users, neither
3967 of these should present a major problem.
3968
3969
3970 <sect2>hidden&lowbar;host<label id="hidden_host">
3971 <p>
3972 Type: boolean<newline>
3973 Default: no
3974
3975 <p>
3976 When set, mutt will skip the host name part of ``<ref id="hostname" name="&dollar;hostname">'' variable
3977 when adding the domain part to addresses.  This variable does not
3978 affect the generation of Message-IDs, and it will not lead to the 
3979 cut-off of first-level domains.
3980
3981
3982 <sect2>hide&lowbar;limited<label id="hide_limited">
3983 <p>
3984 Type: boolean<newline>
3985 Default: no
3986
3987 <p>
3988 When set, mutt will not show the presence of messages that are hidden
3989 by limiting, in the thread tree.
3990
3991
3992 <sect2>hide&lowbar;missing<label id="hide_missing">
3993 <p>
3994 Type: boolean<newline>
3995 Default: yes
3996
3997 <p>
3998 When set, mutt will not show the presence of missing messages in the
3999 thread tree.
4000
4001
4002 <sect2>hide&lowbar;top&lowbar;limited<label id="hide_top_limited">
4003 <p>
4004 Type: boolean<newline>
4005 Default: no
4006
4007 <p>
4008 When set, mutt will not show the presence of messages that are hidden
4009 by limiting, at the top of threads in the thread tree.  Note that when
4010 <ref id="hide_missing" name="&dollar;hide&lowbar;missing"> is set, this option will have no effect.
4011
4012
4013 <sect2>hide&lowbar;top&lowbar;missing<label id="hide_top_missing">
4014 <p>
4015 Type: boolean<newline>
4016 Default: yes
4017
4018 <p>
4019 When set, mutt will not show the presence of missing messages at the
4020 top of threads in the thread tree.  Note that when <ref id="hide_limited" name="&dollar;hide&lowbar;limited"> is
4021 set, this option will have no effect.
4022
4023
4024 <sect2>history<label id="history">
4025 <p>
4026 Type: number<newline>
4027 Default: 10
4028
4029 <p>
4030 This variable controls the size (in number of strings remembered) of
4031 the string history buffer. The buffer is cleared each time the
4032 variable is set.
4033
4034
4035 <sect2>honor&lowbar;followup&lowbar;to<label id="honor_followup_to">
4036 <p>
4037 Type: quadoption<newline>
4038 Default: yes
4039
4040 <p>
4041 This variable controls whether or not a Mail-Followup-To header is
4042 honored when group-replying to a message.
4043
4044
4045 <sect2>hostname<label id="hostname">
4046 <p>
4047 Type: string<newline>
4048 Default: &dquot;&dquot;
4049
4050 <p>
4051 Specifies the hostname to use after the ``@'' in local e-mail
4052 addresses.  This overrides the compile time definition obtained from
4053 /etc/resolv.conf.
4054
4055
4056 <sect2>ignore&lowbar;list&lowbar;reply&lowbar;to<label id="ignore_list_reply_to">
4057 <p>
4058 Type: boolean<newline>
4059 Default: no
4060
4061 <p>
4062 Affects the behaviour of the <em>reply</em> function when replying to
4063 messages from mailing lists.  When set, if the ``Reply-To:'' field is
4064 set to the same value as the ``To:'' field, Mutt assumes that the
4065 ``Reply-To:'' field was set by the mailing list to automate responses
4066 to the list, and will ignore this field.  To direct a response to the
4067 mailing list when this option is set, use the <em>list-reply</em>
4068 function; <em>group-reply</em> will reply to both the sender and the
4069 list.
4070
4071
4072 <sect2>imap&lowbar;authenticators<label id="imap_authenticators">
4073 <p>
4074 Type: string<newline>
4075 Default: &dquot;&dquot;
4076
4077 <p>
4078 This is a colon-delimited list of authentication methods mutt may
4079 attempt to use to log in to an IMAP server, in the order mutt should
4080 try them.  Authentication methods are either 'login' or the right
4081 side of an IMAP 'AUTH=xxx' capability string, eg 'digest-md5',
4082 'gssapi' or 'cram-md5'. This parameter is case-insensitive. If this
4083 parameter is unset (the default) mutt will try all available methods,
4084 in order from most-secure to least-secure.
4085 <p>
4086 Example: set imap&lowbar;authenticators=&dquot;gssapi:cram-md5:login&dquot;
4087 <p>
4088 <bf>Note:</bf> Mutt will only fall back to other authentication methods if
4089 the previous methods are unavailable. If a method is available but
4090 authentication fails, mutt will not connect to the IMAP server.
4091
4092
4093 <sect2>imap&lowbar;delim&lowbar;chars<label id="imap_delim_chars">
4094 <p>
4095 Type: string<newline>
4096 Default: &dquot;/.&dquot;
4097
4098 <p>
4099 This contains the list of characters which you would like to treat
4100 as folder separators for displaying IMAP paths. In particular it
4101 helps in using the '=' shortcut for your <em>folder</em> variable.
4102
4103
4104 <sect2>imap&lowbar;force&lowbar;ssl<label id="imap_force_ssl">
4105 <p>
4106 Type: boolean<newline>
4107 Default: no
4108
4109 <p>
4110 If this variable is set, Mutt will always use SSL when
4111 connecting to IMAP servers.
4112
4113
4114 <sect2>imap&lowbar;home&lowbar;namespace<label id="imap_home_namespace">
4115 <p>
4116 Type: string<newline>
4117 Default: &dquot;&dquot;
4118
4119 <p>
4120 You normally want to see your personal folders alongside
4121 your INBOX in the IMAP browser. If you see something else, you may set
4122 this variable to the IMAP path to your folders.
4123
4124
4125 <sect2>imap&lowbar;keepalive<label id="imap_keepalive">
4126 <p>
4127 Type: number<newline>
4128 Default: 900
4129
4130 <p>
4131 This variable specifies the maximum amount of time in seconds that mutt
4132 will wait before polling open IMAP connections, to prevent the server
4133 from closing them before mutt has finished with them. The default is
4134 well within the RFC-specified minimum amount of time (30 minutes) before
4135 a server is allowed to do this, but in practice the RFC does get
4136 violated every now and then. Reduce this number if you find yourself
4137 getting disconnected from your IMAP server due to inactivity.
4138
4139
4140 <sect2>imap&lowbar;list&lowbar;subscribed<label id="imap_list_subscribed">
4141 <p>
4142 Type: boolean<newline>
4143 Default: no
4144
4145 <p>
4146 This variable configures whether IMAP folder browsing will look for
4147 only subscribed folders or all folders.  This can be toggled in the
4148 IMAP browser with the <em>toggle-subscribed</em> function.
4149
4150
4151 <sect2>imap&lowbar;pass<label id="imap_pass">
4152 <p>
4153 Type: string<newline>
4154 Default: &dquot;&dquot;
4155
4156 <p>
4157 Specifies the password for your IMAP account.  If unset, Mutt will
4158 prompt you for your password when you invoke the fetch-mail function.
4159 <bf>Warning</bf>: you should only use this option when you are on a
4160 fairly secure machine, because the superuser can read your muttrc even
4161 if you are the only one who can read the file.
4162
4163
4164 <sect2>imap&lowbar;passive<label id="imap_passive">
4165 <p>
4166 Type: boolean<newline>
4167 Default: yes
4168
4169 <p>
4170 When set, mutt will not open new IMAP connections to check for new
4171 mail.  Mutt will only check for new mail over existing IMAP
4172 connections.  This is useful if you don't want to be prompted to
4173 user/password pairs on mutt invocation, or if opening the connection
4174 is slow.
4175
4176
4177 <sect2>imap&lowbar;peek<label id="imap_peek">
4178 <p>
4179 Type: boolean<newline>
4180 Default: yes
4181
4182 <p>
4183 If set, mutt will avoid implicitly marking your mail as read whenever
4184 you fetch a message from the server. This is generally a good thing,
4185 but can make closing an IMAP folder somewhat slower. This option
4186 exists to appease speed freaks.
4187
4188
4189 <sect2>imap&lowbar;servernoise<label id="imap_servernoise">
4190 <p>
4191 Type: boolean<newline>
4192 Default: yes
4193
4194 <p>
4195 When set, mutt will display warning messages from the IMAP
4196 server as error messages. Since these messages are often
4197 harmless, or generated due to configuration problems on the
4198 server which are out of the users' hands, you may wish to suppress
4199 them at some point.
4200
4201
4202 <sect2>imap&lowbar;user<label id="imap_user">
4203 <p>
4204 Type: string<newline>
4205 Default: &dquot;&dquot;
4206
4207 <p>
4208 Your login name on the IMAP server.
4209 <p>
4210 This variable defaults to your user name on the local machine.
4211
4212
4213 <sect2>implicit&lowbar;autoview<label id="implicit_autoview">
4214 <p>
4215 Type: boolean<newline>
4216 Default: no
4217
4218 <p>
4219 If set to ``yes'', mutt will look for a mailcap entry with the
4220 copiousoutput flag set for <em>every</em> MIME attachment it doesn't have
4221 an internal viewer defined for.  If such an entry is found, mutt will
4222 use the viewer defined in that entry to convert the body part to text
4223 form.
4224
4225
4226 <sect2>include<label id="include">
4227 <p>
4228 Type: quadoption<newline>
4229 Default: ask-yes
4230
4231 <p>
4232 Controls whether or not a copy of the message(s) you are replying to
4233 is included in your reply.
4234
4235
4236 <sect2>indent&lowbar;string<label id="indent_string">
4237 <p>
4238 Type: string<newline>
4239 Default: &dquot;&gt; &dquot;
4240
4241 <p>
4242 Specifies the string to prepend to each line of text quoted in a
4243 message to which you are replying.  You are strongly encouraged not to
4244 change this value, as it tends to agitate the more fanatical netizens.
4245
4246
4247 <sect2>index&lowbar;format<label id="index_format">
4248 <p>
4249 Type: string<newline>
4250 Default: &dquot;&percnt;4C &percnt;Z &percnt;{&percnt;b &percnt;d} &percnt;-15.15L (&percnt;?l?&percnt;4l&amp;&percnt;4c?) &percnt;s&dquot;
4251
4252 <p>
4253 This variable allows you to customize the message index display to
4254 your personal taste.
4255 <p>
4256 ``Format strings'' are similar to the strings used in the ``C''
4257 function printf to format output (see the man page for more detail).
4258 The following sequences are defined in Mutt:
4259 <p>
4260
4261 <descrip>
4262 <tag>&percnt;a </tag>address of the author
4263 <tag>&percnt;A </tag>reply-to address (if present; otherwise: address of author)
4264 <tag>&percnt;b </tag>filename of the original message folder (think mailBox)
4265 <tag>&percnt;B </tag>the list to which the letter was sent, or else the folder name (&percnt;b).
4266 <tag>&percnt;c </tag>number of characters (bytes) in the message
4267 <tag>&percnt;C </tag>current message number
4268 <tag>&percnt;d </tag>date and time of the message in the format specified by
4269 ``date&lowbar;format'' converted to sender's time zone
4270 <tag>&percnt;D </tag>date and time of the message in the format specified by
4271 ``date&lowbar;format'' converted to the local time zone
4272 <tag>&percnt;e </tag>current message number in thread
4273 <tag>&percnt;E </tag>number of messages in current thread
4274 <tag>&percnt;f </tag>entire From: line (address + real name)
4275 <tag>&percnt;F </tag>author name, or recipient name if the message is from you
4276 <tag>&percnt;g </tag>newsgroup name (if compiled with nntp support)
4277 <tag>&percnt;i </tag>message-id of the current message
4278 <tag>&percnt;l </tag>number of lines in the message (does not work with maildir,
4279 mh, and possibly IMAP folders)
4280 <tag>&percnt;L </tag>If an address in the To or CC header field matches an address
4281 defined by the users ``subscribe'' command, this displays
4282 &dquot;To &lt;list-name&gt;&dquot;, otherwise the same as &percnt;F.
4283 <tag>&percnt;m </tag>total number of message in the mailbox
4284 <tag>&percnt;M </tag>number of hidden messages if the thread is collapsed.
4285 <tag>&percnt;N </tag>message score
4286 <tag>&percnt;n </tag>author's real name (or address if missing)
4287 <tag>&percnt;O </tag>(&lowbar;O&lowbar;riginal save folder)  Where mutt would formerly have
4288 stashed the message: list name or recipient name if no list
4289 <tag>&percnt;s </tag>subject of the message
4290 <tag>&percnt;S </tag>status of the message (N/D/d/!/r/*)
4291 <tag>&percnt;t </tag>`to:' field (recipients)
4292 <tag>&percnt;T </tag>the appropriate character from the <ref id="to_chars" name="&dollar;to&lowbar;chars"> string
4293 <tag>&percnt;u </tag>user (login) name of the author
4294 <tag>&percnt;v </tag>first name of the author, or the recipient if the message is from you
4295 <tag>&percnt;W </tag>name of organization of author (`organization:' field)
4296 <tag>&percnt;y </tag>`x-label:' field, if present
4297 <tag>&percnt;Y </tag>`x-label' field, if present, and (1) not at part of a thread tree,
4298 (2) at the top of a thread, or (3) `x-label' is different from
4299 preceding message's `x-label'.
4300 <tag>&percnt;Z </tag>message status flags
4301 <tag>&percnt;{fmt} </tag>the date and time of the message is converted to sender's
4302 time zone, and ``fmt'' is expanded by the library function
4303 ``strftime''; a leading bang disables locales
4304 <tag>&percnt;&lsqb;fmt&rsqb; </tag>the date and time of the message is converted to the local
4305 time zone, and ``fmt'' is expanded by the library function
4306 ``strftime''; a leading bang disables locales
4307 <tag>&percnt;(fmt) </tag>the local date and time when the message was received.
4308 ``fmt'' is expanded by the library function ``strftime'';
4309 a leading bang disables locales
4310 <tag>&percnt;&lt;fmt&gt; </tag>the current local time. ``fmt'' is expanded by the library
4311 function ``strftime''; a leading bang disables locales.
4312 <tag>&percnt;&gt;X    </tag>right justify the rest of the string and pad with character &dquot;X&dquot;
4313 <tag>&percnt;|X    </tag>pad to the end of the line with character &dquot;X&dquot;
4314 </descrip>
4315
4316 <p>
4317 See also: ``<ref id="to_chars" name="&dollar;to&lowbar;chars">''.
4318
4319
4320 <sect2>inews<label id="inews">
4321 <p>
4322 Type: path<newline>
4323 Default: &dquot;&dquot;
4324
4325 <p>
4326 If set, specifies the program and arguments used to deliver news posted
4327 by Mutt.  Otherwise, mutt posts article using current connection to
4328 news server.  The following printf-style sequence is understood:
4329 <p>
4330
4331 <tscreen><verb>
4332 %s      newsserver name
4333
4334 </verb></tscreen><p>
4335 Example: set inews=&dquot;/usr/local/bin/inews -hS&dquot;
4336
4337
4338 <sect2>ispell<label id="ispell">
4339 <p>
4340 Type: path<newline>
4341 Default: &dquot;/sw/bin/ispell&dquot;
4342
4343 <p>
4344 How to invoke ispell (GNU's spell-checking software).
4345
4346
4347 <sect2>keep&lowbar;flagged<label id="keep_flagged">
4348 <p>
4349 Type: boolean<newline>
4350 Default: no
4351
4352 <p>
4353 If set, read messages marked as flagged will not be moved
4354 from your spool mailbox to your ``<ref id="mbox" name="&dollar;mbox">'' mailbox, or as a result of
4355 a ``<ref id="mbox-hook" name="mbox-hook">'' command.
4356
4357
4358 <sect2>locale<label id="locale">
4359 <p>
4360 Type: string<newline>
4361 Default: &dquot;C&dquot;
4362
4363 <p>
4364 The locale used by <em>strftime(3)</em> to format dates. Legal values are
4365 the strings your system accepts for the locale variable <em>LC&lowbar;TIME</em>.
4366
4367
4368 <sect2>list&lowbar;reply<label id="list_reply">
4369 <p>
4370 Type: quadoption<newline>
4371 Default: no
4372
4373 <p>
4374 When set, address replies to the mailing list the original message came
4375 from (instead to the author only). Setting this option to ``ask-yes'' or
4376 ``ask-no'' will ask if you really intended to reply to the author only.
4377
4378
4379 <sect2>mail&lowbar;check<label id="mail_check">
4380 <p>
4381 Type: number<newline>
4382 Default: 5
4383
4384 <p>
4385 This variable configures how often (in seconds) mutt should look for
4386 new mail.
4387
4388
4389 <sect2>mailcap&lowbar;path<label id="mailcap_path">
4390 <p>
4391 Type: string<newline>
4392 Default: &dquot;&dquot;
4393
4394 <p>
4395 This variable specifies which files to consult when attempting to
4396 display MIME bodies not directly supported by Mutt.
4397
4398
4399 <sect2>mailcap&lowbar;sanitize<label id="mailcap_sanitize">
4400 <p>
4401 Type: boolean<newline>
4402 Default: yes
4403
4404 <p>
4405 If set, mutt will restrict possible characters in mailcap &percnt; expandos
4406 to a well-defined set of safe characters.  This is the safe setting,
4407 but we are not sure it doesn't break some more advanced MIME stuff.
4408 <p>
4409 <bf>DON'T CHANGE THIS SETTING UNLESS YOU ARE REALLY SURE WHAT YOU ARE
4410 DOING!</bf>
4411
4412
4413 <sect2>maildir&lowbar;trash<label id="maildir_trash">
4414 <p>
4415 Type: boolean<newline>
4416 Default: no
4417
4418 <p>
4419 If set, messages marked as deleted will be saved with the maildir
4420 (T)rashed flag instead of unlinked.  <bf>NOTE:</bf> this only applies
4421 to maildir-style mailboxes.  Setting it will have no effect on other
4422 mailbox types.
4423
4424
4425 <sect2>mark&lowbar;old<label id="mark_old">
4426 <p>
4427 Type: boolean<newline>
4428 Default: yes
4429
4430 <p>
4431 Controls whether or not mutt marks <em>new</em> <bf>unread</bf>
4432 messages as <em>old</em> if you exit a mailbox without reading them.
4433 With this option set, the next time you start mutt, the messages
4434 will show up with an &dquot;O&dquot; next to them in the index menu,
4435 indicating that they are old.
4436
4437
4438 <sect2>markers<label id="markers">
4439 <p>
4440 Type: boolean<newline>
4441 Default: yes
4442
4443 <p>
4444 Controls the display of wrapped lines in the internal pager. If set, a
4445 ``+'' marker is displayed at the beginning of wrapped lines. Also see
4446 the ``<ref id="smart_wrap" name="&dollar;smart&lowbar;wrap">'' variable.
4447
4448
4449 <sect2>mask<label id="mask">
4450 <p>
4451 Type: regular expression<newline>
4452 Default: &dquot;!^&bsol;.&lsqb;^.&rsqb;&dquot;
4453
4454 <p>
4455 A regular expression used in the file browser, optionally preceded by
4456 the <em>not</em> operator ``!''.  Only files whose names match this mask
4457 will be shown. The match is always case-sensitive.
4458
4459
4460 <sect2>mbox<label id="mbox">
4461 <p>
4462 Type: path<newline>
4463 Default: &dquot;&tilde;/mbox&dquot;
4464
4465 <p>
4466 This specifies the folder into which read mail in your ``<ref id="spoolfile" name="&dollar;spoolfile">''
4467 folder will be appended.
4468
4469
4470 <sect2>mbox&lowbar;type<label id="mbox_type">
4471 <p>
4472 Type: folder magic<newline>
4473 Default: mbox
4474
4475 <p>
4476 The default mailbox type used when creating new folders. May be any of
4477 mbox, MMDF, MH and Maildir.
4478
4479
4480 <sect2>metoo<label id="metoo">
4481 <p>
4482 Type: boolean<newline>
4483 Default: no
4484
4485 <p>
4486 If unset, Mutt will remove your address (see the ``alternates''
4487 command) from the list of recipients when replying to a message.
4488
4489
4490 <sect2>menu&lowbar;scroll<label id="menu_scroll">
4491 <p>
4492 Type: boolean<newline>
4493 Default: no
4494
4495 <p>
4496 When <em>set</em>, menus will be scrolled up or down one line when you
4497 attempt to move across a screen boundary.  If <em>unset</em>, the screen
4498 is cleared and the next or previous page of the menu is displayed
4499 (useful for slow links to avoid many redraws).
4500
4501
4502 <sect2>meta&lowbar;key<label id="meta_key">
4503 <p>
4504 Type: boolean<newline>
4505 Default: no
4506
4507 <p>
4508 If set, forces Mutt to interpret keystrokes with the high bit (bit 8)
4509 set as if the user had pressed the ESC key and whatever key remains
4510 after having the high bit removed.  For example, if the key pressed
4511 has an ASCII value of 0xf4, then this is treated as if the user had
4512 pressed ESC then ``x''.  This is because the result of removing the
4513 high bit from ``0xf4'' is ``0x74'', which is the ASCII character
4514 ``x''.
4515
4516
4517 <sect2>mh&lowbar;purge<label id="mh_purge">
4518 <p>
4519 Type: boolean<newline>
4520 Default: no
4521
4522 <p>
4523 When unset, mutt will mimic mh's behaviour and rename deleted messages
4524 to <em>,&lt;old file name&gt;</em> in mh folders instead of really deleting
4525 them.  If the variable is set, the message files will simply be
4526 deleted.
4527
4528
4529 <sect2>mh&lowbar;seq&lowbar;flagged<label id="mh_seq_flagged">
4530 <p>
4531 Type: string<newline>
4532 Default: &dquot;flagged&dquot;
4533
4534 <p>
4535 The name of the MH sequence used for flagged messages.
4536
4537
4538 <sect2>mh&lowbar;seq&lowbar;replied<label id="mh_seq_replied">
4539 <p>
4540 Type: string<newline>
4541 Default: &dquot;replied&dquot;
4542
4543 <p>
4544 The name of the MH sequence used to tag replied messages.
4545
4546
4547 <sect2>mh&lowbar;seq&lowbar;unseen<label id="mh_seq_unseen">
4548 <p>
4549 Type: string<newline>
4550 Default: &dquot;unseen&dquot;
4551
4552 <p>
4553 The name of the MH sequence used for unseen messages.
4554
4555
4556 <sect2>mime&lowbar;forward<label id="mime_forward">
4557 <p>
4558 Type: quadoption<newline>
4559 Default: no
4560
4561 <p>
4562 When set, the message you are forwarding will be attached as a
4563 separate MIME part instead of included in the main body of the
4564 message.  This is useful for forwarding MIME messages so the receiver
4565 can properly view the message as it was delivered to you. If you like
4566 to switch between MIME and not MIME from mail to mail, set this
4567 variable to ask-no or ask-yes.
4568 <p>
4569 Also see ``<ref id="forward_decode" name="&dollar;forward&lowbar;decode">'' and ``<ref id="mime_forward_decode" name="&dollar;mime&lowbar;forward&lowbar;decode">''.
4570
4571
4572 <sect2>mime&lowbar;forward&lowbar;decode<label id="mime_forward_decode">
4573 <p>
4574 Type: boolean<newline>
4575 Default: no
4576
4577 <p>
4578 Controls the decoding of complex MIME messages into text/plain when
4579 forwarding a message while ``<ref id="mime_forward" name="&dollar;mime&lowbar;forward">'' is <em>set</em>. Otherwise
4580 ``<ref id="forward_decode" name="&dollar;forward&lowbar;decode">'' is used instead.
4581
4582
4583 <sect2>mime&lowbar;forward&lowbar;rest<label id="mime_forward_rest">
4584 <p>
4585 Type: quadoption<newline>
4586 Default: yes
4587
4588 <p>
4589 When forwarding multiple attachments of a MIME message from the recvattach
4590 menu, attachments which cannot be decoded in a reasonable manner will
4591 be attached to the newly composed message if this option is set.
4592
4593
4594 <sect2>mime&lowbar;subject<label id="mime_subject">
4595 <p>
4596 Type: boolean<newline>
4597 Default: yes
4598
4599 <p>
4600 If <em>unset</em>, 8-bit ``subject:'' line in article header will not be
4601 encoded according to RFC2047 to base64.  This is useful when message
4602 is Usenet article, because MIME for news is nonstandard feature.
4603
4604
4605 <sect2>mix&lowbar;entry&lowbar;format<label id="mix_entry_format">
4606 <p>
4607 Type: string<newline>
4608 Default: &dquot;&percnt;4n &percnt;c &percnt;-16s &percnt;a&dquot;
4609
4610 <p>
4611 This variable describes the format of a remailer line on the mixmaster
4612 chain selection screen.  The following printf-like sequences are 
4613 supported:
4614 <p>
4615
4616 <descrip>
4617 <tag>&percnt;n </tag>The running number on the menu.
4618 <tag>&percnt;c </tag>Remailer capabilities.
4619 <tag>&percnt;s </tag>The remailer's short name.
4620 <tag>&percnt;a </tag>The remailer's e-mail address.
4621 </descrip>
4622
4623
4624 <sect2>mixmaster<label id="mixmaster">
4625 <p>
4626 Type: path<newline>
4627 Default: &dquot;mixmaster&dquot;
4628
4629 <p>
4630 This variable contains the path to the Mixmaster binary on your
4631 system.  It is used with various sets of parameters to gather the
4632 list of known remailers, and to finally send a message through the
4633 mixmaster chain.
4634
4635
4636 <sect2>move<label id="move">
4637 <p>
4638 Type: quadoption<newline>
4639 Default: ask-no
4640
4641 <p>
4642 Controls whether you will be asked to confirm moving read messages
4643 from your spool mailbox to your ``<ref id="mbox" name="&dollar;mbox">'' mailbox, or as a result of
4644 a ``<ref id="mbox-hook" name="mbox-hook">'' command.
4645
4646
4647 <sect2>message&lowbar;format<label id="message_format">
4648 <p>
4649 Type: string<newline>
4650 Default: &dquot;&percnt;s&dquot;
4651
4652 <p>
4653 This is the string displayed in the ``attachment'' menu for
4654 attachments of type message/rfc822.  For a full listing of defined
4655 printf()-like sequences see the section on ``<ref id="index_format" name="&dollar;index&lowbar;format">''.
4656
4657
4658 <sect2>narrow&lowbar;tree<label id="narrow_tree">
4659 <p>
4660 Type: boolean<newline>
4661 Default: no
4662
4663 <p>
4664 This variable, when set, makes the thread tree narrower, allowing
4665 deeper threads to fit on the screen.
4666
4667
4668 <sect2>news&lowbar;cache&lowbar;dir<label id="news_cache_dir">
4669 <p>
4670 Type: path<newline>
4671 Default: &dquot;&tilde;/.mutt&dquot;
4672
4673 <p>
4674 This variable pointing to directory where Mutt will save cached news
4675 articles headers in. If <em>unset</em>, headers will not be saved at all
4676 and will be reloaded each time when you enter to newsgroup.
4677
4678
4679 <sect2>news&lowbar;server<label id="news_server">
4680 <p>
4681 Type: string<newline>
4682 Default: &dquot;&dquot;
4683
4684 <p>
4685 This variable specifies domain name or address of NNTP server. It
4686 defaults to the newsserver specified in the environment variable
4687 &dollar;NNTPSERVER or contained in the file /etc/nntpserver.  You can also
4688 specify username and an alternative port for each newsserver, ie:
4689 <p>
4690 &lsqb;nntp&lsqb;s&rsqb;://&rsqb;&lsqb;username&lsqb;:password&rsqb;@&rsqb;newsserver&lsqb;:port&rsqb;
4691
4692
4693 <sect2>newsrc<label id="newsrc">
4694 <p>
4695 Type: path<newline>
4696 Default: &dquot;&tilde;/.newsrc&dquot;
4697
4698 <p>
4699 The file, containing info about subscribed newsgroups - names and
4700 indexes of read articles.  The following printf-style sequence
4701 is understood:
4702 <p>
4703
4704 <tscreen><verb>
4705 %s      newsserver name
4706
4707 </verb></tscreen>
4708
4709 <sect2>nntp&lowbar;context<label id="nntp_context">
4710 <p>
4711 Type: number<newline>
4712 Default: 1000
4713
4714 <p>
4715 This variable defines number of articles which will be in index when
4716 newsgroup entered.  If active newsgroup have more articles than this
4717 number, oldest articles will be ignored.  Also controls how many
4718 articles headers will be saved in cache when you quit newsgroup.
4719
4720
4721 <sect2>nntp&lowbar;load&lowbar;description<label id="nntp_load_description">
4722 <p>
4723 Type: boolean<newline>
4724 Default: yes
4725
4726 <p>
4727 This variable controls whether or not descriptions for each newsgroup
4728 must be loaded when newsgroup is added to list (first time list
4729 loading or new newsgroup adding).
4730
4731
4732 <sect2>nntp&lowbar;user<label id="nntp_user">
4733 <p>
4734 Type: string<newline>
4735 Default: &dquot;&dquot;
4736
4737 <p>
4738 Your login name on the NNTP server.  If <em>unset</em> and NNTP server requires
4739 authentification, Mutt will prompt you for your account name when you
4740 connect to newsserver.
4741
4742
4743 <sect2>nntp&lowbar;pass<label id="nntp_pass">
4744 <p>
4745 Type: string<newline>
4746 Default: &dquot;&dquot;
4747
4748 <p>
4749 Your password for NNTP account.
4750
4751
4752 <sect2>nntp&lowbar;poll<label id="nntp_poll">
4753 <p>
4754 Type: number<newline>
4755 Default: 60
4756
4757 <p>
4758 The time in seconds until any operations on newsgroup except post new
4759 article will cause recheck for new news.  If set to 0, Mutt will
4760 recheck newsgroup on each operation in index (stepping, read article,
4761 etc.).
4762
4763
4764 <sect2>nntp&lowbar;reconnect<label id="nntp_reconnect">
4765 <p>
4766 Type: quadoption<newline>
4767 Default: ask-yes
4768
4769 <p>
4770 Controls whether or not Mutt will try to reconnect to newsserver when
4771 connection lost.
4772
4773
4774 <sect2>pager<label id="pager">
4775 <p>
4776 Type: path<newline>
4777 Default: &dquot;builtin&dquot;
4778
4779 <p>
4780 This variable specifies which pager you would like to use to view
4781 messages.  builtin means to use the builtin pager, otherwise this
4782 variable should specify the pathname of the external pager you would
4783 like to use.
4784 <p>
4785 Using an external pager may have some disadvantages: Additional
4786 keystrokes are necessary because you can't call mutt functions
4787 directly from the pager, and screen resizes cause lines longer than
4788 the screen width to be badly formatted in the help menu.
4789
4790
4791 <sect2>pager&lowbar;context<label id="pager_context">
4792 <p>
4793 Type: number<newline>
4794 Default: 0
4795
4796 <p>
4797 This variable controls the number of lines of context that are given
4798 when displaying the next or previous page in the internal pager.  By
4799 default, Mutt will display the line after the last one on the screen
4800 at the top of the next page (0 lines of context).
4801
4802
4803 <sect2>pager&lowbar;format<label id="pager_format">
4804 <p>
4805 Type: string<newline>
4806 Default: &dquot;-&percnt;Z- &percnt;C/&percnt;m: &percnt;-20.20n   &percnt;s&dquot;
4807
4808 <p>
4809 This variable controls the format of the one-line message ``status''
4810 displayed before each message in either the internal or an external
4811 pager.  The valid sequences are listed in the ``<ref id="index_format" name="&dollar;index&lowbar;format">''
4812 section.
4813
4814
4815 <sect2>pager&lowbar;index&lowbar;lines<label id="pager_index_lines">
4816 <p>
4817 Type: number<newline>
4818 Default: 0
4819
4820 <p>
4821 Determines the number of lines of a mini-index which is shown when in
4822 the pager.  The current message, unless near the top or bottom of the
4823 folder, will be roughly one third of the way down this mini-index,
4824 giving the reader the context of a few messages before and after the
4825 message.  This is useful, for example, to determine how many messages
4826 remain to be read in the current thread.  One of the lines is reserved
4827 for the status bar from the index, so a <em>pager&lowbar;index&lowbar;lines</em> of 6
4828 will only show 5 lines of the actual index.  A value of 0 results in
4829 no index being shown.  If the number of messages in the current folder
4830 is less than <em>pager&lowbar;index&lowbar;lines</em>, then the index will only use as
4831 many lines as it needs.
4832
4833
4834 <sect2>pager&lowbar;stop<label id="pager_stop">
4835 <p>
4836 Type: boolean<newline>
4837 Default: no
4838
4839 <p>
4840 When set, the internal-pager will <bf>not</bf> move to the next message
4841 when you are at the end of a message and invoke the <em>next-page</em>
4842 function.
4843
4844
4845 <sect2>crypt&lowbar;autosign<label id="crypt_autosign">
4846 <p>
4847 Type: boolean<newline>
4848 Default: no
4849
4850 <p>
4851 Setting this variable will cause Mutt to always attempt to
4852 cryptographically sign outgoing messages.  This can be overridden
4853 by use of the <em>pgp-menu</em>, when signing is not required or
4854 encryption is requested as well. If ``<ref id="smime_is_default" name="&dollar;smime&lowbar;is&lowbar;default">'' is set,
4855 then OpenSSL is used instead to create S/MIME messages and settings can
4856 be overridden by use of the <em>smime-menu</em>.
4857 (Crypto only)
4858
4859
4860 <sect2>crypt&lowbar;autoencrypt<label id="crypt_autoencrypt">
4861 <p>
4862 Type: boolean<newline>
4863 Default: no
4864
4865 <p>
4866 Setting this variable will cause Mutt to always attempt to PGP
4867 encrypt outgoing messages.  This is probably only useful in
4868 connection to the <em>send-hook</em> command.  It can be overridden
4869 by use of the <em>pgp-menu</em>, when encryption is not required or
4870 signing is requested as well.  IF ``<ref id="smime_is_default" name="&dollar;smime&lowbar;is&lowbar;default">'' is set,
4871 then OpenSSL is used instead to create S/MIME messages and
4872 settings can be overridden by use of the <em>smime-menu</em>.
4873 (Crypto only)
4874
4875
4876 <sect2>pgp&lowbar;ignore&lowbar;subkeys<label id="pgp_ignore_subkeys">
4877 <p>
4878 Type: boolean<newline>
4879 Default: yes
4880
4881 <p>
4882 Setting this variable will cause Mutt to ignore OpenPGP subkeys. Instead,
4883 the principal key will inherit the subkeys' capabilities.  Unset this
4884 if you want to play interesting key selection games.
4885 (PGP only)
4886
4887
4888 <sect2>crypt&lowbar;replyencrypt<label id="crypt_replyencrypt">
4889 <p>
4890 Type: boolean<newline>
4891 Default: yes
4892
4893 <p>
4894 If set, automatically PGP or OpenSSL encrypt replies to messages which are
4895 encrypted.
4896 (Crypto only)
4897
4898
4899 <sect2>crypt&lowbar;replysign<label id="crypt_replysign">
4900 <p>
4901 Type: boolean<newline>
4902 Default: no
4903
4904 <p>
4905 If set, automatically PGP or OpenSSL sign replies to messages which are
4906 signed.
4907 <p>
4908 <bf>Note:</bf> this does not work on messages that are encrypted
4909 <bf>and</bf> signed!
4910 (Crypto only)
4911
4912
4913 <sect2>crypt&lowbar;replysignencrypted<label id="crypt_replysignencrypted">
4914 <p>
4915 Type: boolean<newline>
4916 Default: no
4917
4918 <p>
4919 If set, automatically PGP or OpenSSL sign replies to messages
4920 which are encrypted. This makes sense in combination with
4921 ``<ref id="crypt_replyencrypt" name="&dollar;crypt&lowbar;replyencrypt">'', because it allows you to sign all
4922 messages which are automatically encrypted.  This works around
4923 the problem noted in ``<ref id="crypt_replysign" name="&dollar;crypt&lowbar;replysign">'', that mutt is not able
4924 to find out whether an encrypted message is also signed.
4925 (Crypto only)
4926
4927
4928 <sect2>crypt&lowbar;timestamp<label id="crypt_timestamp">
4929 <p>
4930 Type: boolean<newline>
4931 Default: yes
4932
4933 <p>
4934 If set, mutt will include a time stamp in the lines surrounding
4935 PGP or S/MIME output, so spoofing such lines is more difficult.
4936 If you are using colors to mark these lines, and rely on these,
4937 you may unset this setting.
4938 (Crypto only)
4939
4940
4941 <sect2>pgp&lowbar;use&lowbar;gpg&lowbar;agent<label id="pgp_use_gpg_agent">
4942 <p>
4943 Type: boolean<newline>
4944 Default: no
4945
4946 <p>
4947 If set, mutt will use a possibly-running gpg-agent process.
4948 (PGP only)
4949
4950
4951 <sect2>crypt&lowbar;verify&lowbar;sig<label id="crypt_verify_sig">
4952 <p>
4953 Type: quadoption<newline>
4954 Default: yes
4955
4956 <p>
4957 If ``yes'', always attempt to verify PGP or S/MIME signatures.
4958 If ``ask'', ask whether or not to verify the signature. 
4959 If ``no'', never attempt to verify cryptographic signatures.
4960 (Crypto only)
4961
4962
4963 <sect2>smime&lowbar;is&lowbar;default<label id="smime_is_default">
4964 <p>
4965 Type: boolean<newline>
4966 Default: no
4967
4968 <p>
4969 The default behaviour of mutt is to use PGP on all auto-sign/encryption
4970 operations. To override and to use OpenSSL instead this must be set.
4971 However, this has no effect while replying, since mutt will automatically 
4972 select the same application that was used to sign/encrypt the original
4973 message.  (Note that this variable can be overridden by unsetting <ref id="crypt_autosmime" name="&dollar;crypt&lowbar;autosmime">.)
4974 (S/MIME only)
4975
4976
4977 <sect2>smime&lowbar;ask&lowbar;cert&lowbar;label<label id="smime_ask_cert_label">
4978 <p>
4979 Type: boolean<newline>
4980 Default: yes
4981
4982 <p>
4983 This flag controls whether you want to be asked to enter a label
4984 for a certificate about to be added to the database or not. It is
4985 set by default.
4986 (S/MIME only)
4987
4988
4989 <sect2>smime&lowbar;decrypt&lowbar;use&lowbar;default&lowbar;key<label id="smime_decrypt_use_default_key">
4990 <p>
4991 Type: boolean<newline>
4992 Default: yes
4993
4994 <p>
4995 If set (default) this tells mutt to use the default key for decryption. Otherwise,
4996 if manage multiple certificate-key-pairs, mutt will try to use the mailbox-address
4997 to determine the key to use. It will ask you to supply a key, if it can't find one.
4998 (S/MIME only)
4999
5000
5001 <sect2>pgp&lowbar;entry&lowbar;format<label id="pgp_entry_format">
5002 <p>
5003 Type: string<newline>
5004 Default: &dquot;&percnt;4n &percnt;t&percnt;f &percnt;4l/0x&percnt;k &percnt;-4a &percnt;2c &percnt;u&dquot;
5005
5006 <p>
5007 This variable allows you to customize the PGP key selection menu to
5008 your personal taste. This string is similar to ``<ref id="index_format" name="&dollar;index&lowbar;format">'', but
5009 has its own set of printf()-like sequences:
5010 <p>
5011
5012 <descrip>
5013 <tag>&percnt;n     </tag>number
5014 <tag>&percnt;k     </tag>key id
5015 <tag>&percnt;u     </tag>user id
5016 <tag>&percnt;a     </tag>algorithm
5017 <tag>&percnt;l     </tag>key length
5018 <tag>&percnt;f     </tag>flags
5019 <tag>&percnt;c     </tag>capabilities
5020 <tag>&percnt;t     </tag>trust/validity of the key-uid association
5021 <tag>&percnt;&lsqb;&lt;s&gt;&rsqb; </tag>date of the key where &lt;s&gt; is an strftime(3) expression
5022 </descrip>
5023
5024 <p>
5025 (PGP only)
5026
5027
5028 <sect2>pgp&lowbar;good&lowbar;sign<label id="pgp_good_sign">
5029 <p>
5030 Type: regular expression<newline>
5031 Default: &dquot;&dquot;
5032
5033 <p>
5034 If you assign a text to this variable, then a PGP signature is only
5035 considered verified if the output from <ref id="pgp_verify_command" name="&dollar;pgp&lowbar;verify&lowbar;command"> contains
5036 the text. Use this variable if the exit code from the command is 0
5037 even for bad signatures.
5038 (PGP only)
5039
5040
5041 <sect2>pgp&lowbar;check&lowbar;exit<label id="pgp_check_exit">
5042 <p>
5043 Type: boolean<newline>
5044 Default: yes
5045
5046 <p>
5047 If set, mutt will check the exit code of the PGP subprocess when
5048 signing or encrypting.  A non-zero exit code means that the
5049 subprocess failed.
5050 (PGP only)
5051
5052
5053 <sect2>pgp&lowbar;long&lowbar;ids<label id="pgp_long_ids">
5054 <p>
5055 Type: boolean<newline>
5056 Default: no
5057
5058 <p>
5059 If set, use 64 bit PGP key IDs. Unset uses the normal 32 bit Key IDs.
5060 (PGP only)
5061
5062
5063 <sect2>pgp&lowbar;retainable&lowbar;sigs<label id="pgp_retainable_sigs">
5064 <p>
5065 Type: boolean<newline>
5066 Default: no
5067
5068 <p>
5069 If set, signed and encrypted messages will consist of nested
5070 multipart/signed and multipart/encrypted body parts.
5071 <p>
5072 This is useful for applications like encrypted and signed mailing
5073 lists, where the outer layer (multipart/encrypted) can be easily
5074 removed, while the inner multipart/signed part is retained.
5075 (PGP only)
5076
5077
5078 <sect2>pgp&lowbar;show&lowbar;unusable<label id="pgp_show_unusable">
5079 <p>
5080 Type: boolean<newline>
5081 Default: yes
5082
5083 <p>
5084 If set, mutt will display non-usable keys on the PGP key selection
5085 menu.  This includes keys which have been revoked, have expired, or
5086 have been marked as ``disabled'' by the user.
5087 (PGP only)
5088
5089
5090 <sect2>pgp&lowbar;sign&lowbar;as<label id="pgp_sign_as">
5091 <p>
5092 Type: string<newline>
5093 Default: &dquot;&dquot;
5094
5095 <p>
5096 If you have more than one key pair, this option allows you to specify
5097 which of your private keys to use.  It is recommended that you use the
5098 keyid form to specify your key (e.g., ``0x00112233'').
5099 (PGP only)
5100
5101
5102 <sect2>pgp&lowbar;strict&lowbar;enc<label id="pgp_strict_enc">
5103 <p>
5104 Type: boolean<newline>
5105 Default: yes
5106
5107 <p>
5108 If set, Mutt will automatically encode PGP/MIME signed messages as
5109 <em>quoted-printable</em>.  Please note that unsetting this variable may
5110 lead to problems with non-verifyable PGP signatures, so only change
5111 this if you know what you are doing.
5112 (PGP only)
5113
5114
5115 <sect2>pgp&lowbar;timeout<label id="pgp_timeout">
5116 <p>
5117 Type: number<newline>
5118 Default: 300
5119
5120 <p>
5121 The number of seconds after which a cached passphrase will expire if
5122 not used.
5123 (PGP only)
5124
5125
5126 <sect2>pgp&lowbar;sort&lowbar;keys<label id="pgp_sort_keys">
5127 <p>
5128 Type: sort order<newline>
5129 Default: address
5130
5131 <p>
5132 Specifies how the entries in the `pgp keys' menu are sorted. The
5133 following are legal values:
5134 <p>
5135
5136 <descrip>
5137 <tag>address </tag>sort alphabetically by user id
5138 <tag>keyid   </tag>sort alphabetically by key id
5139 <tag>date    </tag>sort by key creation date
5140 <tag>trust   </tag>sort by the trust of the key
5141 </descrip>
5142
5143 <p>
5144 If you prefer reverse order of the above values, prefix it with
5145 `reverse-'.
5146 (PGP only)
5147
5148
5149 <sect2>pgp&lowbar;create&lowbar;traditional<label id="pgp_create_traditional">
5150 <p>
5151 Type: quadoption<newline>
5152 Default: no
5153
5154 <p>
5155 This option controls whether Mutt generates old-style inline PGP
5156 encrypted or signed messages.
5157 <p>
5158 Note that PGP/MIME will be used automatically for messages which have
5159 a character set different from us-ascii, or which consist of more than
5160 a single MIME part.
5161 <p>
5162 Also note that using the old-style PGP message format is <bf>strongly</bf>
5163 <bf>deprecated</bf>.
5164 (PGP only)
5165
5166
5167 <sect2>pgp&lowbar;auto&lowbar;traditional<label id="pgp_auto_traditional">
5168 <p>
5169 Type: boolean<newline>
5170 Default: no
5171
5172 <p>
5173 This option causes Mutt to generate an old-style inline PGP
5174 encrypted or signed message when replying to an old-style
5175 message, and a PGP/MIME message when replying to a PGP/MIME
5176 message.  Note that this option is only meaningful when using
5177 ``<ref id="crypt_replyencrypt" name="&dollar;crypt&lowbar;replyencrypt">'', ``<ref id="crypt_replysign" name="&dollar;crypt&lowbar;replysign">'', or
5178 ``<ref id="crypt_replysignencrypted" name="&dollar;crypt&lowbar;replysignencrypted">''.
5179 <p>
5180 Also note that PGP/MIME will be used automatically for messages
5181 which have a character set different from us-ascii, or which
5182 consist of more than a single MIME part.
5183 <p>
5184 This option overrides ``<ref id="pgp_create_traditional" name="&dollar;pgp&lowbar;create&lowbar;traditional">''
5185 (PGP only)
5186
5187
5188 <sect2>pgp&lowbar;decode&lowbar;command<label id="pgp_decode_command">
5189 <p>
5190 Type: string<newline>
5191 Default: &dquot;&dquot;
5192
5193 <p>
5194 This format strings specifies a command which is used to decode 
5195 application/pgp attachments.
5196 <p>
5197 The PGP command formats have their own set of printf-like sequences:
5198 <p>
5199
5200 <descrip>
5201 <tag>&percnt;p </tag>Expands to PGPPASSFD=0 when a pass phrase is needed, to an empty
5202 string otherwise. Note: This may be used with a &percnt;? construct.
5203 <tag>&percnt;f </tag>Expands to the name of a file containing a message.
5204 <tag>&percnt;s </tag>Expands to the name of a file containing the signature part
5205            of a multipart/signed attachment when verifying it.
5206 <tag>&percnt;a </tag>The value of <ref id="pgp_sign_as" name="&dollar;pgp&lowbar;sign&lowbar;as">.
5207 <tag>&percnt;r </tag>One or more key IDs.
5208 </descrip>
5209
5210 <p>
5211 For examples on how to configure these formats for the various versions
5212 of PGP which are floating around, see the pgp*.rc and gpg.rc files in
5213 the samples/ subdirectory which has been installed on your system
5214 alongside the documentation.
5215 (PGP only)
5216
5217
5218 <sect2>pgp&lowbar;getkeys&lowbar;command<label id="pgp_getkeys_command">
5219 <p>
5220 Type: string<newline>
5221 Default: &dquot;&dquot;
5222
5223 <p>
5224 This command is invoked whenever mutt will need public key information.
5225 &percnt;r is the only printf-like sequence used with this format.
5226 (PGP only)
5227
5228
5229 <sect2>pgp&lowbar;verify&lowbar;command<label id="pgp_verify_command">
5230 <p>
5231 Type: string<newline>
5232 Default: &dquot;&dquot;
5233
5234 <p>
5235 This command is used to verify PGP signatures.
5236 (PGP only)
5237
5238
5239 <sect2>pgp&lowbar;decrypt&lowbar;command<label id="pgp_decrypt_command">
5240 <p>
5241 Type: string<newline>
5242 Default: &dquot;&dquot;
5243
5244 <p>
5245 This command is used to decrypt a PGP encrypted message.
5246 (PGP only)
5247
5248
5249 <sect2>pgp&lowbar;clearsign&lowbar;command<label id="pgp_clearsign_command">
5250 <p>
5251 Type: string<newline>
5252 Default: &dquot;&dquot;
5253
5254 <p>
5255 This format is used to create a old-style &dquot;clearsigned&dquot; PGP
5256 message.  Note that the use of this format is <bf>strongly</bf>
5257 <bf>deprecated</bf>.
5258 (PGP only)
5259
5260
5261 <sect2>pgp&lowbar;sign&lowbar;command<label id="pgp_sign_command">
5262 <p>
5263 Type: string<newline>
5264 Default: &dquot;&dquot;
5265
5266 <p>
5267 This command is used to create the detached PGP signature for a 
5268 multipart/signed PGP/MIME body part.
5269 (PGP only)
5270
5271
5272 <sect2>pgp&lowbar;encrypt&lowbar;sign&lowbar;command<label id="pgp_encrypt_sign_command">
5273 <p>
5274 Type: string<newline>
5275 Default: &dquot;&dquot;
5276
5277 <p>
5278 This command is used to both sign and encrypt a body part.
5279 (PGP only)
5280
5281
5282 <sect2>pgp&lowbar;encrypt&lowbar;only&lowbar;command<label id="pgp_encrypt_only_command">
5283 <p>
5284 Type: string<newline>
5285 Default: &dquot;&dquot;
5286
5287 <p>
5288 This command is used to encrypt a body part without signing it.
5289 (PGP only)
5290
5291
5292 <sect2>pgp&lowbar;import&lowbar;command<label id="pgp_import_command">
5293 <p>
5294 Type: string<newline>
5295 Default: &dquot;&dquot;
5296
5297 <p>
5298 This command is used to import a key from a message into 
5299 the user's public key ring.
5300 (PGP only)
5301
5302
5303 <sect2>pgp&lowbar;export&lowbar;command<label id="pgp_export_command">
5304 <p>
5305 Type: string<newline>
5306 Default: &dquot;&dquot;
5307
5308 <p>
5309 This command is used to export a public key from the user's
5310 key ring.
5311 (PGP only)
5312
5313
5314 <sect2>pgp&lowbar;verify&lowbar;key&lowbar;command<label id="pgp_verify_key_command">
5315 <p>
5316 Type: string<newline>
5317 Default: &dquot;&dquot;
5318
5319 <p>
5320 This command is used to verify key information from the key selection
5321 menu.
5322 (PGP only)
5323
5324
5325 <sect2>pgp&lowbar;list&lowbar;secring&lowbar;command<label id="pgp_list_secring_command">
5326 <p>
5327 Type: string<newline>
5328 Default: &dquot;&dquot;
5329
5330 <p>
5331 This command is used to list the secret key ring's contents.  The
5332 output format must be analogous to the one used by 
5333 gpg --list-keys --with-colons.
5334 <p>
5335 This format is also generated by the pgpring utility which comes 
5336 with mutt.
5337 (PGP only)
5338
5339
5340 <sect2>pgp&lowbar;list&lowbar;pubring&lowbar;command<label id="pgp_list_pubring_command">
5341 <p>
5342 Type: string<newline>
5343 Default: &dquot;&dquot;
5344
5345 <p>
5346 This command is used to list the public key ring's contents.  The
5347 output format must be analogous to the one used by 
5348 gpg --list-keys --with-colons.
5349 <p>
5350 This format is also generated by the pgpring utility which comes 
5351 with mutt.
5352 (PGP only)
5353
5354
5355 <sect2>forward&lowbar;decrypt<label id="forward_decrypt">
5356 <p>
5357 Type: boolean<newline>
5358 Default: yes
5359
5360 <p>
5361 Controls the handling of encrypted messages when forwarding a message.
5362 When set, the outer layer of encryption is stripped off.  This
5363 variable is only used if ``<ref id="mime_forward" name="&dollar;mime&lowbar;forward">'' is <em>set</em> and
5364 ``<ref id="mime_forward_decode" name="&dollar;mime&lowbar;forward&lowbar;decode">'' is <em>unset</em>.
5365 (PGP only)
5366
5367
5368 <sect2>smime&lowbar;timeout<label id="smime_timeout">
5369 <p>
5370 Type: number<newline>
5371 Default: 300
5372
5373 <p>
5374 The number of seconds after which a cached passphrase will expire if
5375 not used.
5376 (S/MIME only)
5377
5378
5379 <sect2>smime&lowbar;encrypt&lowbar;with<label id="smime_encrypt_with">
5380 <p>
5381 Type: string<newline>
5382 Default: &dquot;&dquot;
5383
5384 <p>
5385 This sets the algorithm that should be used for encryption.
5386 Valid choices are &dquot;des&dquot;, &dquot;des3&dquot;, &dquot;rc2-40&dquot;, &dquot;rc2-64&dquot;, &dquot;rc2-128&dquot;.
5387 If unset &dquot;3des&dquot; (TripleDES) is used.
5388 (S/MIME only)
5389
5390
5391 <sect2>smime&lowbar;keys<label id="smime_keys">
5392 <p>
5393 Type: path<newline>
5394 Default: &dquot;&dquot;
5395
5396 <p>
5397 Since there is no pubring/secring as with PGP, mutt has to handle
5398 storage ad retrieval of keys/certs by itself. This is very basic right now,
5399 and stores keys and certificates in two different directories, both
5400 named as the hash-value retrieved from OpenSSL. There is an index file
5401 which contains mailbox-address keyid pair, and which can be manually
5402 edited. This one points to the location of the private keys.
5403 (S/MIME only)
5404
5405
5406 <sect2>smime&lowbar;ca&lowbar;location<label id="smime_ca_location">
5407 <p>
5408 Type: path<newline>
5409 Default: &dquot;&dquot;
5410
5411 <p>
5412 This variable contains the name of either a directory, or a file which
5413 contains trusted certificates for use with OpenSSL.
5414 (S/MIME only)
5415
5416
5417 <sect2>smime&lowbar;certificates<label id="smime_certificates">
5418 <p>
5419 Type: path<newline>
5420 Default: &dquot;&dquot;
5421
5422 <p>
5423 Since there is no pubring/secring as with PGP, mutt has to handle
5424 storage and retrieval of keys by itself. This is very basic right
5425 now, and keys and certificates are stored in two different
5426 directories, both named as the hash-value retrieved from
5427 OpenSSL. There is an index file which contains mailbox-address
5428 keyid pairs, and which can be manually edited. This one points to
5429 the location of the certificates.
5430 (S/MIME only)
5431
5432
5433 <sect2>smime&lowbar;decrypt&lowbar;command<label id="smime_decrypt_command">
5434 <p>
5435 Type: string<newline>
5436 Default: &dquot;&dquot;
5437
5438 <p>
5439 This format string specifies a command which is used to decrypt
5440 application/x-pkcs7-mime attachments.
5441 <p>
5442 The OpenSSL command formats have their own set of printf-like sequences
5443 similar to PGP's:
5444 <p>
5445
5446 <descrip>
5447 <tag>&percnt;f </tag>Expands to the name of a file containing a message.
5448 <tag>&percnt;s </tag>Expands to the name of a file containing the signature part
5449            of a multipart/signed attachment when verifying it.
5450 <tag>&percnt;k </tag>The key-pair specified with <ref id="smime_default_key" name="&dollar;smime&lowbar;default&lowbar;key">
5451 <tag>&percnt;c </tag>One or more certificate IDs.
5452 <tag>&percnt;a </tag>The algorithm used for encryption.
5453 <tag>&percnt;C </tag>CA location:  Depending on whether <ref id="smime_ca_location" name="&dollar;smime&lowbar;ca&lowbar;location">
5454            points to a directory or file, this expands to 
5455            &dquot;-CApath <ref id="smime_ca_location" name="&dollar;smime&lowbar;ca&lowbar;location">&dquot; or &dquot;-CAfile <ref id="smime_ca_location" name="&dollar;smime&lowbar;ca&lowbar;location">&dquot;.
5456 </descrip>
5457
5458 <p>
5459 For examples on how to configure these formats, see the smime.rc in
5460 the samples/ subdirectory which has been installed on your system
5461 alongside the documentation.
5462 (S/MIME only)
5463
5464
5465 <sect2>smime&lowbar;verify&lowbar;command<label id="smime_verify_command">
5466 <p>
5467 Type: string<newline>
5468 Default: &dquot;&dquot;
5469
5470 <p>
5471 This command is used to verify S/MIME signatures of type multipart/signed.
5472 (S/MIME only)
5473
5474
5475 <sect2>smime&lowbar;verify&lowbar;opaque&lowbar;command<label id="smime_verify_opaque_command">
5476 <p>
5477 Type: string<newline>
5478 Default: &dquot;&dquot;
5479
5480 <p>
5481 This command is used to verify S/MIME signatures of type
5482 application/x-pkcs7-mime.
5483 (S/MIME only)
5484
5485
5486 <sect2>smime&lowbar;sign&lowbar;command<label id="smime_sign_command">
5487 <p>
5488 Type: string<newline>
5489 Default: &dquot;&dquot;
5490
5491 <p>
5492 This command is used to created S/MIME signatures of type
5493 multipart/signed, which can be read by all mail clients.
5494 (S/MIME only)
5495
5496
5497 <sect2>smime&lowbar;sign&lowbar;opaque&lowbar;command<label id="smime_sign_opaque_command">
5498 <p>
5499 Type: string<newline>
5500 Default: &dquot;&dquot;
5501
5502 <p>
5503 This command is used to created S/MIME signatures of type
5504 application/x-pkcs7-signature, which can only be handled by mail
5505 clients supporting the S/MIME extension.
5506 (S/MIME only)
5507
5508
5509 <sect2>smime&lowbar;encrypt&lowbar;command<label id="smime_encrypt_command">
5510 <p>
5511 Type: string<newline>
5512 Default: &dquot;&dquot;
5513
5514 <p>
5515 This command is used to create encrypted S/MIME messages.
5516 (S/MIME only)
5517
5518
5519 <sect2>smime&lowbar;pk7out&lowbar;command<label id="smime_pk7out_command">
5520 <p>
5521 Type: string<newline>
5522 Default: &dquot;&dquot;
5523
5524 <p>
5525 This command is used to extract PKCS7 structures of S/MIME signatures,
5526 in order to extract the public X509 certificate(s).
5527 (S/MIME only)
5528
5529
5530 <sect2>smime&lowbar;get&lowbar;cert&lowbar;command<label id="smime_get_cert_command">
5531 <p>
5532 Type: string<newline>
5533 Default: &dquot;&dquot;
5534
5535 <p>
5536 This command is used to extract X509 certificates from a PKCS7 structure.
5537 (S/MIME only)
5538
5539
5540 <sect2>smime&lowbar;get&lowbar;signer&lowbar;cert&lowbar;command<label id="smime_get_signer_cert_command">
5541 <p>
5542 Type: string<newline>
5543 Default: &dquot;&dquot;
5544
5545 <p>
5546 This command is used to extract only the signers X509 certificate from a S/MIME
5547 signature, so that the certificate's owner may get compared to the email's 
5548 'From'-field.
5549 (S/MIME only)
5550
5551
5552 <sect2>smime&lowbar;import&lowbar;cert&lowbar;command<label id="smime_import_cert_command">
5553 <p>
5554 Type: string<newline>
5555 Default: &dquot;&dquot;
5556
5557 <p>
5558 This command is used to import a certificate via smime&lowbar;keys.
5559 (S/MIME only)
5560
5561
5562 <sect2>smime&lowbar;get&lowbar;cert&lowbar;email&lowbar;command<label id="smime_get_cert_email_command">
5563 <p>
5564 Type: string<newline>
5565 Default: &dquot;&dquot;
5566
5567 <p>
5568 This command is used to extract the mail address(es) used for storing
5569 X509 certificates, and for verification purposes (to check whether the
5570 certificate was issued for the sender's mailbox).
5571 (S/MIME only)
5572
5573
5574 <sect2>smime&lowbar;default&lowbar;key<label id="smime_default_key">
5575 <p>
5576 Type: string<newline>
5577 Default: &dquot;&dquot;
5578
5579 <p>
5580 This is the default key-pair to use for signing. This must be set to the
5581 keyid (the hash-value that OpenSSL generates) to work properly
5582 (S/MIME only)
5583
5584
5585 <sect2>smtp&lowbar;auth&lowbar;username<label id="smtp_auth_username">
5586 <p>
5587 Type: string<newline>
5588 Default: &dquot;&dquot;
5589
5590 <p>
5591 Defines the username to use with SMTP AUTH.  Setting this variable will
5592 cause mutt to attempt to use SMTP AUTH when sending.
5593
5594
5595 <sect2>smtp&lowbar;auth&lowbar;password<label id="smtp_auth_password">
5596 <p>
5597 Type: string<newline>
5598 Default: &dquot;&dquot;
5599
5600 <p>
5601 Defines the password to use with SMTP AUTH.  If ``<ref id="smtp_auth_username" name="&dollar;smtp&lowbar;auth&lowbar;username">''
5602 is set, but this variable is not, you will be prompted for a password
5603 when sending.
5604
5605
5606 <sect2>smtp&lowbar;host<label id="smtp_host">
5607 <p>
5608 Type: string<newline>
5609 Default: &dquot;&dquot;
5610
5611 <p>
5612 Defines the SMTP host which will be used to deliver mail, as opposed
5613 to invoking the sendmail binary.  Setting this variable overrides the
5614 value of ``<ref id="sendmail" name="&dollar;sendmail">'', and any associated variables.
5615
5616
5617 <sect2>smtp&lowbar;port<label id="smtp_port">
5618 <p>
5619 Type: number<newline>
5620 Default: 25
5621
5622 <p>
5623 Defines the port that the SMTP host is listening on for mail delivery.
5624 Must be specified as a number.
5625 <p>
5626 Defaults to 25, the standard SMTP port, but RFC 2476-compliant SMTP
5627 servers will probably desire 587, the mail submission port.
5628
5629
5630 <sect2>ssl&lowbar;starttls<label id="ssl_starttls">
5631 <p>
5632 Type: quadoption<newline>
5633 Default: yes
5634
5635 <p>
5636 If set (the default), mutt will attempt to use STARTTLS on servers
5637 advertising the capability. When unset, mutt will not attempt to
5638 use STARTTLS regardless of the server's capabilities.
5639
5640
5641 <sect2>certificate&lowbar;file<label id="certificate_file">
5642 <p>
5643 Type: path<newline>
5644 Default: &dquot;&dquot;
5645
5646 <p>
5647 This variable specifies the file where the certificates you trust
5648 are saved. When an unknown certificate is encountered, you are asked
5649 if you accept it or not. If you accept it, the certificate can also 
5650 be saved in this file and further connections are automatically 
5651 accepted.
5652 <p>
5653 You can also manually add CA certificates in this file. Any server
5654 certificate that is signed with one of these CA certificates are 
5655 also automatically accepted.
5656 <p>
5657 Example: set certificate&lowbar;file=&tilde;/.mutt/certificates
5658
5659
5660 <sect2>ssl&lowbar;usesystemcerts<label id="ssl_usesystemcerts">
5661 <p>
5662 Type: boolean<newline>
5663 Default: yes
5664
5665 <p>
5666 If set to <em>yes</em>, mutt will use CA certificates in the
5667 system-wide certificate store when checking if server certificate 
5668 is signed by a trusted CA.
5669
5670
5671 <sect2>entropy&lowbar;file<label id="entropy_file">
5672 <p>
5673 Type: path<newline>
5674 Default: &dquot;&dquot;
5675
5676 <p>
5677 The file which includes random data that is used to initialize SSL
5678 library functions.
5679
5680
5681 <sect2>ssl&lowbar;use&lowbar;sslv2<label id="ssl_use_sslv2">
5682 <p>
5683 Type: boolean<newline>
5684 Default: yes
5685
5686 <p>
5687 This variables specifies whether to attempt to use SSLv2 in the
5688 SSL authentication process.
5689
5690
5691 <sect2>ssl&lowbar;use&lowbar;sslv3<label id="ssl_use_sslv3">
5692 <p>
5693 Type: boolean<newline>
5694 Default: yes
5695
5696 <p>
5697 This variables specifies whether to attempt to use SSLv3 in the
5698 SSL authentication process.
5699
5700
5701 <sect2>ssl&lowbar;use&lowbar;tlsv1<label id="ssl_use_tlsv1">
5702 <p>
5703 Type: boolean<newline>
5704 Default: yes
5705
5706 <p>
5707 This variables specifies whether to attempt to use TLSv1 in the
5708 SSL authentication process.
5709
5710
5711 <sect2>pipe&lowbar;split<label id="pipe_split">
5712 <p>
5713 Type: boolean<newline>
5714 Default: no
5715
5716 <p>
5717 Used in connection with the <em>pipe-message</em> command and the ``tag-
5718 prefix'' operator.  If this variable is unset, when piping a list of
5719 tagged messages Mutt will concatenate the messages and will pipe them
5720 as a single folder.  When set, Mutt will pipe the messages one by one.
5721 In both cases the messages are piped in the current sorted order,
5722 and the ``<ref id="pipe_sep" name="&dollar;pipe&lowbar;sep">'' separator is added after each message.
5723
5724
5725 <sect2>pipe&lowbar;decode<label id="pipe_decode">
5726 <p>
5727 Type: boolean<newline>
5728 Default: no
5729
5730 <p>
5731 Used in connection with the <em>pipe-message</em> command.  When unset,
5732 Mutt will pipe the messages without any preprocessing. When set, Mutt
5733 will weed headers and will attempt to PGP/MIME decode the messages
5734 first.
5735
5736
5737 <sect2>pipe&lowbar;sep<label id="pipe_sep">
5738 <p>
5739 Type: string<newline>
5740 Default: &dquot;&bsol;n&dquot;
5741
5742 <p>
5743 The separator to add between messages when piping a list of tagged
5744 messages to an external Unix command.
5745
5746
5747 <sect2>pop&lowbar;authenticators<label id="pop_authenticators">
5748 <p>
5749 Type: string<newline>
5750 Default: &dquot;&dquot;
5751
5752 <p>
5753 This is a colon-delimited list of authentication methods mutt may
5754 attempt to use to log in to an POP server, in the order mutt should
5755 try them.  Authentication methods are either 'user', 'apop' or any
5756 SASL mechanism, eg 'digest-md5', 'gssapi' or 'cram-md5'.
5757 This parameter is case-insensitive. If this parameter is unset
5758 (the default) mutt will try all available methods, in order from
5759 most-secure to least-secure.
5760 <p>
5761 Example: set pop&lowbar;authenticators=&dquot;digest-md5:apop:user&dquot;
5762
5763
5764 <sect2>pop&lowbar;auth&lowbar;try&lowbar;all<label id="pop_auth_try_all">
5765 <p>
5766 Type: boolean<newline>
5767 Default: yes
5768
5769 <p>
5770 If set, Mutt will try all available methods. When unset, Mutt will
5771 only fall back to other authentication methods if the previous
5772 methods are unavailable. If a method is available but authentication
5773 fails, Mutt will not connect to the POP server.
5774
5775
5776 <sect2>pop&lowbar;checkinterval<label id="pop_checkinterval">
5777 <p>
5778 Type: number<newline>
5779 Default: 60
5780
5781 <p>
5782 This variable configures how often (in seconds) POP should look for
5783 new mail.
5784
5785
5786 <sect2>pop&lowbar;delete<label id="pop_delete">
5787 <p>
5788 Type: quadoption<newline>
5789 Default: ask-no
5790
5791 <p>
5792 If set, Mutt will delete successfully downloaded messages from the POP
5793 server when using the fetch-mail function.  When unset, Mutt will
5794 download messages but also leave them on the POP server.
5795
5796
5797 <sect2>pop&lowbar;host<label id="pop_host">
5798 <p>
5799 Type: string<newline>
5800 Default: &dquot;&dquot;
5801
5802 <p>
5803 The name of your POP server for the fetch-mail function.  You
5804 can also specify an alternative port, username and password, ie:
5805 <p>
5806 &lsqb;pop&lsqb;s&rsqb;://&rsqb;&lsqb;username&lsqb;:password&rsqb;@&rsqb;popserver&lsqb;:port&rsqb;
5807
5808
5809 <sect2>pop&lowbar;last<label id="pop_last">
5810 <p>
5811 Type: boolean<newline>
5812 Default: no
5813
5814 <p>
5815 If this variable is set, mutt will try to use the &dquot;LAST&dquot; POP command
5816 for retrieving only unread messages from the POP server when using
5817 the fetch-mail function.
5818
5819
5820 <sect2>pop&lowbar;reconnect<label id="pop_reconnect">
5821 <p>
5822 Type: quadoption<newline>
5823 Default: ask-yes
5824
5825 <p>
5826 Controls whether or not Mutt will try to reconnect to POP server when
5827 connection lost.
5828
5829
5830 <sect2>pop&lowbar;user<label id="pop_user">
5831 <p>
5832 Type: string<newline>
5833 Default: &dquot;&dquot;
5834
5835 <p>
5836 Your login name on the POP server.
5837 <p>
5838 This variable defaults to your user name on the local machine.
5839
5840
5841 <sect2>pop&lowbar;pass<label id="pop_pass">
5842 <p>
5843 Type: string<newline>
5844 Default: &dquot;&dquot;
5845
5846 <p>
5847 Specifies the password for your POP account.  If unset, Mutt will
5848 prompt you for your password when you open POP mailbox.
5849 <bf>Warning</bf>: you should only use this option when you are on a
5850 fairly secure machine, because the superuser can read your muttrc
5851 even if you are the only one who can read the file.
5852
5853
5854 <sect2>post&lowbar;indent&lowbar;string<label id="post_indent_string">
5855 <p>
5856 Type: string<newline>
5857 Default: &dquot;&dquot;
5858
5859 <p>
5860 Similar to the ``<ref id="attribution" name="&dollar;attribution">'' variable, Mutt will append this
5861 string after the inclusion of a message which is being replied to.
5862
5863
5864 <sect2>post&lowbar;moderated<label id="post_moderated">
5865 <p>
5866 Type: quadoption<newline>
5867 Default: ask-yes
5868
5869 <p>
5870 If set to <em>yes</em>, Mutt will post article to newsgroup that have
5871 not permissions to posting (e.g. moderated).  <bf>Note:</bf> if newsserver
5872 does not support posting to that newsgroup or totally read-only, that
5873 posting will not have an effect.
5874
5875
5876 <sect2>postpone<label id="postpone">
5877 <p>
5878 Type: quadoption<newline>
5879 Default: ask-yes
5880
5881 <p>
5882 Controls whether or not messages are saved in the ``<ref id="postponed" name="&dollar;postponed">''
5883 mailbox when you elect not to send immediately.
5884
5885
5886 <sect2>postponed<label id="postponed">
5887 <p>
5888 Type: path<newline>
5889 Default: &dquot;&tilde;/postponed&dquot;
5890
5891 <p>
5892 Mutt allows you to indefinitely ``<ref id="postpone" name="postpone"> sending a message'' which
5893 you are editing.  When you choose to postpone a message, Mutt saves it
5894 in the mailbox specified by this variable.  Also see the ``<ref id="postpone" name="&dollar;postpone">''
5895 variable.
5896
5897
5898 <sect2>preconnect<label id="preconnect">
5899 <p>
5900 Type: string<newline>
5901 Default: &dquot;&dquot;
5902
5903 <p>
5904 If set, a shell command to be executed if mutt fails to establish
5905 a connection to the server. This is useful for setting up secure
5906 connections, e.g. with ssh(1). If the command returns a  nonzero
5907 status, mutt gives up opening the server. Example:
5908 <p>
5909 preconnect=&dquot;ssh -f -q -L 1234:mailhost.net:143 mailhost.net
5910 sleep 20 &lt; /dev/null &gt; /dev/null&dquot;
5911 <p>
5912 Mailbox 'foo' on mailhost.net can now be reached
5913 as '{localhost:1234}foo'.
5914 <p>
5915 NOTE: For this example to work, you must be able to log in to the
5916 remote machine without having to enter a password.
5917
5918
5919 <sect2>print<label id="print">
5920 <p>
5921 Type: quadoption<newline>
5922 Default: ask-no
5923
5924 <p>
5925 Controls whether or not Mutt asks for confirmation before printing.
5926 This is useful for people (like me) who accidentally hit ``p'' often.
5927
5928
5929 <sect2>print&lowbar;command<label id="print_command">
5930 <p>
5931 Type: path<newline>
5932 Default: &dquot;lpr&dquot;
5933
5934 <p>
5935 This specifies the command pipe that should be used to print messages.
5936
5937
5938 <sect2>print&lowbar;decode<label id="print_decode">
5939 <p>
5940 Type: boolean<newline>
5941 Default: yes
5942
5943 <p>
5944 Used in connection with the print-message command.  If this
5945 option is set, the message is decoded before it is passed to the
5946 external command specified by <ref id="print_command" name="&dollar;print&lowbar;command">.  If this option
5947 is unset, no processing will be applied to the message when
5948 printing it.  The latter setting may be useful if you are using
5949 some advanced printer filter which is able to properly format
5950 e-mail messages for printing.
5951
5952
5953 <sect2>print&lowbar;split<label id="print_split">
5954 <p>
5955 Type: boolean<newline>
5956 Default: no
5957
5958 <p>
5959 Used in connection with the print-message command.  If this option
5960 is set, the command specified by <ref id="print_command" name="&dollar;print&lowbar;command"> is executed once for
5961 each message which is to be printed.  If this option is unset, 
5962 the command specified by <ref id="print_command" name="&dollar;print&lowbar;command"> is executed only once, and
5963 all the messages are concatenated, with a form feed as the message
5964 separator.
5965 <p>
5966 Those who use the <bf>enscript</bf>(1) program's mail-printing mode will
5967 most likely want to set this option.
5968
5969
5970 <sect2>prompt&lowbar;after<label id="prompt_after">
5971 <p>
5972 Type: boolean<newline>
5973 Default: yes
5974
5975 <p>
5976 If you use an <em>external</em> ``<ref id="pager" name="&dollar;pager">'', setting this variable will
5977 cause Mutt to prompt you for a command when the pager exits rather
5978 than returning to the index menu.  If unset, Mutt will return to the
5979 index menu when the external pager exits.
5980
5981
5982 <sect2>query&lowbar;command<label id="query_command">
5983 <p>
5984 Type: path<newline>
5985 Default: &dquot;&dquot;
5986
5987 <p>
5988 This specifies the command that mutt will use to make external address
5989 queries.  The string should contain a &percnt;s, which will be substituted
5990 with the query string the user types.  See ``<ref id="query" name="query">'' for more
5991 information.
5992
5993
5994 <sect2>quit<label id="quit">
5995 <p>
5996 Type: quadoption<newline>
5997 Default: yes
5998
5999 <p>
6000 This variable controls whether ``quit'' and ``exit'' actually quit
6001 from mutt.  If it set to yes, they do quit, if it is set to no, they
6002 have no effect, and if it is set to ask-yes or ask-no, you are
6003 prompted for confirmation when you try to quit.
6004
6005
6006 <sect2>quote&lowbar;empty<label id="quote_empty">
6007 <p>
6008 Type: boolean<newline>
6009 Default: yes
6010
6011 <p>
6012 Controls whether or not empty lines will be quoted using
6013 ``<ref id="indent_string" name="indent&lowbar;string">''.
6014
6015
6016 <sect2>quote&lowbar;quoted<label id="quote_quoted">
6017 <p>
6018 Type: boolean<newline>
6019 Default: no
6020
6021 <p>
6022 Controls how quoted lines will be quoted. If set, one quote
6023 character will be added to the end of existing prefix.  Otherwise,
6024 quoted lines will be prepended by ``<ref id="indent_string" name="indent&lowbar;string">''.
6025
6026
6027 <sect2>quote&lowbar;regexp<label id="quote_regexp">
6028 <p>
6029 Type: regular expression<newline>
6030 Default: &dquot;^(&lsqb; &bsol;t&rsqb;*&lsqb;|&gt;:}#&rsqb;)+&dquot;
6031
6032 <p>
6033 A regular expression used in the internal-pager to determine quoted
6034 sections of text in the body of a message.
6035 <p>
6036 <bf>Note:</bf> In order to use the <em>quoted</em><bf>x</bf> patterns in the
6037 internal pager, you need to set this to a regular expression that
6038 matches <em>exactly</em> the quote characters at the beginning of quoted
6039 lines.
6040
6041
6042 <sect2>read&lowbar;inc<label id="read_inc">
6043 <p>
6044 Type: number<newline>
6045 Default: 10
6046
6047 <p>
6048 If set to a value greater than 0, Mutt will display which message it
6049 is currently on when reading a mailbox.  The message is printed after
6050 <em>read&lowbar;inc</em> messages have been read (e.g., if set to 25, Mutt will
6051 print a message when it reads message 25, and then again when it gets
6052 to message 50).  This variable is meant to indicate progress when
6053 reading large mailboxes which may take some time.
6054 When set to 0, only a single message will appear before the reading
6055 the mailbox.
6056 <p>
6057 Also see the ``<ref id="write_inc" name="&dollar;write&lowbar;inc">'' variable.
6058
6059
6060 <sect2>read&lowbar;only<label id="read_only">
6061 <p>
6062 Type: boolean<newline>
6063 Default: no
6064
6065 <p>
6066 If set, all folders are opened in read-only mode.
6067
6068
6069 <sect2>realname<label id="realname">
6070 <p>
6071 Type: string<newline>
6072 Default: &dquot;&dquot;
6073
6074 <p>
6075 This variable specifies what &dquot;real&dquot; or &dquot;personal&dquot; name should be used
6076 when sending messages.
6077 <p>
6078 By default, this is the GECOS field from /etc/passwd.  Note that this
6079 variable will <em>not</em> be used when the user has set a real name
6080 in the <ref id="from" name="&dollar;from"> variable.
6081
6082
6083 <sect2>recall<label id="recall">
6084 <p>
6085 Type: quadoption<newline>
6086 Default: ask-yes
6087
6088 <p>
6089 Controls whether or not you are prompted to recall postponed messages
6090 when composing a new message.  Also see ``<ref id="postponed" name="&dollar;postponed">''.
6091 <p>
6092 Setting this variable to ``yes'' is not generally useful, and thus not
6093 recommended.
6094
6095
6096 <sect2>record<label id="record">
6097 <p>
6098 Type: path<newline>
6099 Default: &dquot;&dquot;
6100
6101 <p>
6102 This specifies the file into which your outgoing messages should be
6103 appended.  (This is meant as the primary method for saving a copy of
6104 your messages, but another way to do this is using the ``<ref id="my_hdr" name="my&lowbar;hdr">''
6105 command to create a <em>Bcc:</em> field with your email address in it.)
6106 <p>
6107 The value of <em><ref id="record" name="&dollar;record"></em> is overridden by the ``<ref id="force_name" name="&dollar;force&lowbar;name">'' and
6108 ``<ref id="save_name" name="&dollar;save&lowbar;name">'' variables, and the ``<ref id="fcc-hook" name="fcc-hook">'' command.
6109
6110
6111 <sect2>reply&lowbar;regexp<label id="reply_regexp">
6112 <p>
6113 Type: regular expression<newline>
6114 Default: &dquot;^(re(&lsqb;&bsol;&lsqb;0-9&bsol;&rsqb;+&rsqb;)*|aw):&lsqb; &bsol;t&rsqb;*&dquot;
6115
6116 <p>
6117 A regular expression used to recognize reply messages when threading
6118 and replying. The default value corresponds to the English &dquot;Re:&dquot; and
6119 the German &dquot;Aw:&dquot;.
6120
6121
6122 <sect2>reply&lowbar;self<label id="reply_self">
6123 <p>
6124 Type: boolean<newline>
6125 Default: no
6126
6127 <p>
6128 If unset and you are replying to a message sent by you, Mutt will
6129 assume that you want to reply to the recipients of that message rather
6130 than to yourself.
6131
6132
6133 <sect2>reply&lowbar;to<label id="reply_to">
6134 <p>
6135 Type: quadoption<newline>
6136 Default: ask-yes
6137
6138 <p>
6139 If set, Mutt will ask you if you want to use the address listed in the
6140 Reply-To: header field when replying to a message.  If you answer no,
6141 it will use the address in the From: header field instead.  This
6142 option is useful for reading a mailing list that sets the Reply-To:
6143 header field to the list address and you want to send a private
6144 message to the author of a message.
6145
6146
6147 <sect2>resolve<label id="resolve">
6148 <p>
6149 Type: boolean<newline>
6150 Default: yes
6151
6152 <p>
6153 When set, the cursor will be automatically advanced to the next
6154 (possibly undeleted) message whenever a command that modifies the
6155 current message is executed.
6156
6157
6158 <sect2>reverse&lowbar;alias<label id="reverse_alias">
6159 <p>
6160 Type: boolean<newline>
6161 Default: no
6162
6163 <p>
6164 This variable controls whether or not Mutt will display the &dquot;personal&dquot;
6165 name from your aliases in the index menu if it finds an alias that
6166 matches the message's sender.  For example, if you have the following
6167 alias:
6168 <p>
6169
6170 <tscreen><verb>
6171 alias juser abd30425@somewhere.net (Joe User)
6172
6173 </verb></tscreen><p>
6174 and then you receive mail which contains the following header:
6175 <p>
6176
6177 <tscreen><verb>
6178 From: abd30425@somewhere.net
6179
6180 </verb></tscreen><p>
6181 It would be displayed in the index menu as ``Joe User'' instead of
6182 ``abd30425@somewhere.net.''  This is useful when the person's e-mail
6183 address is not human friendly (like CompuServe addresses).
6184
6185
6186 <sect2>reverse&lowbar;name<label id="reverse_name">
6187 <p>
6188 Type: boolean<newline>
6189 Default: no
6190
6191 <p>
6192 It may sometimes arrive that you receive mail to a certain machine,
6193 move the messages to another machine, and reply to some the messages
6194 from there.  If this variable is set, the default <em>From:</em> line of
6195 the reply messages is built using the address where you received the
6196 messages you are replying to.  If the variable is unset, the
6197 <em>From:</em> line will use your address on the current machine.
6198
6199
6200 <sect2>reverse&lowbar;realname<label id="reverse_realname">
6201 <p>
6202 Type: boolean<newline>
6203 Default: yes
6204
6205 <p>
6206 This variable fine-tunes the behaviour of the <ref id="reverse_name" name="reverse&lowbar;name"> feature.
6207 When it is set, mutt will use the address from incoming messages as-is,
6208 possibly including eventual real names.  When it is unset, mutt will
6209 override any such real names with the setting of the <ref id="realname" name="realname"> variable.
6210
6211
6212 <sect2>rfc2047&lowbar;parameters<label id="rfc2047_parameters">
6213 <p>
6214 Type: boolean<newline>
6215 Default: no
6216
6217 <p>
6218 When this variable is set, Mutt will decode RFC-2047-encoded MIME 
6219 parameters. You want to set this variable when mutt suggests you
6220 to save attachments to files named like this: 
6221 =?iso-8859-1?Q?file=5F=E4=5F991116=2Ezip?=
6222 <p>
6223 When this variable is set interactively, the change doesn't have
6224 the desired effect before you have changed folders.
6225 <p>
6226 Note that this use of RFC 2047's encoding is explicitly,
6227 prohibited by the standard, but nevertheless encountered in the
6228 wild.
6229 Also note that setting this parameter will <em>not</em> have the effect 
6230 that mutt <em>generates</em> this kind of encoding.  Instead, mutt will
6231 unconditionally use the encoding specified in RFC 2231.
6232
6233
6234 <sect2>save&lowbar;address<label id="save_address">
6235 <p>
6236 Type: boolean<newline>
6237 Default: no
6238
6239 <p>
6240 If set, mutt will take the sender's full address when choosing a
6241 default folder for saving a mail. If ``<ref id="save_name" name="&dollar;save&lowbar;name">'' or ``<ref id="force_name" name="&dollar;force&lowbar;name">''
6242 is set too, the selection of the fcc folder will be changed as well.
6243
6244
6245 <sect2>save&lowbar;empty<label id="save_empty">
6246 <p>
6247 Type: boolean<newline>
6248 Default: yes
6249
6250 <p>
6251 When unset, mailboxes which contain no saved messages will be removed
6252 when closed (the exception is ``<ref id="spoolfile" name="&dollar;spoolfile">'' which is never removed).
6253 If set, mailboxes are never removed.
6254 <p>
6255 <bf>Note:</bf> This only applies to mbox and MMDF folders, Mutt does not
6256 delete MH and Maildir directories.
6257
6258
6259 <sect2>save&lowbar;name<label id="save_name">
6260 <p>
6261 Type: boolean<newline>
6262 Default: no
6263
6264 <p>
6265 This variable controls how copies of outgoing messages are saved.
6266 When set, a check is made to see if a mailbox specified by the
6267 recipient address exists (this is done by searching for a mailbox in
6268 the ``<ref id="folder" name="&dollar;folder">'' directory with the <em>username</em> part of the
6269 recipient address).  If the mailbox exists, the outgoing message will
6270 be saved to that mailbox, otherwise the message is saved to the
6271 ``<ref id="record" name="&dollar;record">'' mailbox.
6272 <p>
6273 Also see the ``<ref id="force_name" name="&dollar;force&lowbar;name">'' variable.
6274
6275
6276 <sect2>score<label id="score">
6277 <p>
6278 Type: boolean<newline>
6279 Default: yes
6280
6281 <p>
6282 When this variable is <em>unset</em>, scoring is turned off.  This can
6283 be useful to selectively disable scoring for certain folders when the
6284 ``<ref id="score_threshold_delete" name="&dollar;score&lowbar;threshold&lowbar;delete">'' variable and friends are used.
6285
6286
6287 <sect2>score&lowbar;threshold&lowbar;delete<label id="score_threshold_delete">
6288 <p>
6289 Type: number<newline>
6290 Default: -1
6291
6292 <p>
6293 Messages which have been assigned a score equal to or lower than the value
6294 of this variable are automatically marked for deletion by mutt.  Since
6295 mutt scores are always greater than or equal to zero, the default setting
6296 of this variable will never mark a message for deletion.
6297
6298
6299 <sect2>score&lowbar;threshold&lowbar;flag<label id="score_threshold_flag">
6300 <p>
6301 Type: number<newline>
6302 Default: 9999
6303
6304 <p>
6305 Messages which have been assigned a score greater than or equal to this 
6306 variable's value are automatically marked &dquot;flagged&dquot;.
6307
6308
6309 <sect2>score&lowbar;threshold&lowbar;read<label id="score_threshold_read">
6310 <p>
6311 Type: number<newline>
6312 Default: -1
6313
6314 <p>
6315 Messages which have been assigned a score equal to or lower than the value
6316 of this variable are automatically marked as read by mutt.  Since
6317 mutt scores are always greater than or equal to zero, the default setting
6318 of this variable will never mark a message read.
6319
6320
6321 <sect2>send&lowbar;charset<label id="send_charset">
6322 <p>
6323 Type: string<newline>
6324 Default: &dquot;us-ascii:iso-8859-1:utf-8&dquot;
6325
6326 <p>
6327 A list of character sets for outgoing messages. Mutt will use the
6328 first character set into which the text can be converted exactly.
6329 If your ``<ref id="charset" name="&dollar;charset">'' is not iso-8859-1 and recipients may not
6330 understand UTF-8, it is advisable to include in the list an
6331 appropriate widely used standard character set (such as
6332 iso-8859-2, koi8-r or iso-2022-jp) either instead of or after
6333 &dquot;iso-8859-1&dquot;.
6334
6335
6336 <sect2>sendmail<label id="sendmail">
6337 <p>
6338 Type: path<newline>
6339 Default: &dquot;/sw/sbin/sendmail -oem -oi&dquot;
6340
6341 <p>
6342 Specifies the program and arguments used to deliver mail sent by Mutt.
6343 Mutt expects that the specified program interprets additional
6344 arguments as recipient addresses.
6345
6346
6347 <sect2>sendmail&lowbar;wait<label id="sendmail_wait">
6348 <p>
6349 Type: number<newline>
6350 Default: 0
6351
6352 <p>
6353 Specifies the number of seconds to wait for the ``<ref id="sendmail" name="&dollar;sendmail">'' process
6354 to finish before giving up and putting delivery in the background.
6355 <p>
6356 Mutt interprets the value of this variable as follows:
6357
6358 <descrip>
6359 <tag>&gt;0 </tag>number of seconds to wait for sendmail to finish before continuing
6360 <tag>0  </tag>wait forever for sendmail to finish
6361 <tag>&lt;0 </tag>always put sendmail in the background without waiting
6362 </descrip>
6363
6364 <p>
6365 Note that if you specify a value other than 0, the output of the child
6366 process will be put in a temporary file.  If there is some error, you
6367 will be informed as to where to find the output.
6368
6369
6370 <sect2>shell<label id="shell">
6371 <p>
6372 Type: path<newline>
6373 Default: &dquot;&dquot;
6374
6375 <p>
6376 Command to use when spawning a subshell.  By default, the user's login
6377 shell from /etc/passwd is used.
6378
6379
6380 <sect2>save&lowbar;unsubscribed<label id="save_unsubscribed">
6381 <p>
6382 Type: boolean<newline>
6383 Default: no
6384
6385 <p>
6386 When <em>set</em>, info about unsubscribed newsgroups will be saved into
6387 ``newsrc'' file and into cache.
6388
6389
6390 <sect2>show&lowbar;new&lowbar;news<label id="show_new_news">
6391 <p>
6392 Type: boolean<newline>
6393 Default: yes
6394
6395 <p>
6396 If <em>set</em>, newsserver will be asked for new newsgroups on entering
6397 the browser.  Otherwise, it will be done only once for a newsserver.
6398 Also controls whether or not number of new articles of subscribed
6399 newsgroups will be then checked.
6400
6401
6402 <sect2>show&lowbar;only&lowbar;unread<label id="show_only_unread">
6403 <p>
6404 Type: boolean<newline>
6405 Default: no
6406
6407 <p>
6408 If <em>set</em>, only subscribed newsgroups that contain unread articles
6409 will be displayed in browser.
6410
6411
6412 <sect2>sig&lowbar;dashes<label id="sig_dashes">
6413 <p>
6414 Type: boolean<newline>
6415 Default: yes
6416
6417 <p>
6418 If set, a line containing ``-- '' will be inserted before your
6419 ``<ref id="signature" name="&dollar;signature">''.  It is <bf>strongly</bf> recommended that you not unset
6420 this variable unless your ``signature'' contains just your name.  The
6421 reason for this is because many software packages use ``-- &bsol;n'' to
6422 detect your signature.  For example, Mutt has the ability to highlight
6423 the signature in a different color in the builtin pager.
6424
6425
6426 <sect2>sig&lowbar;on&lowbar;top<label id="sig_on_top">
6427 <p>
6428 Type: boolean<newline>
6429 Default: no
6430
6431 <p>
6432 If set, the signature will be included before any quoted or forwarded
6433 text.  It is <bf>strongly</bf> recommended that you do not set this variable
6434 unless you really know what you are doing, and are prepared to take
6435 some heat from netiquette guardians.
6436
6437
6438 <sect2>signature<label id="signature">
6439 <p>
6440 Type: path<newline>
6441 Default: &dquot;&tilde;/.signature&dquot;
6442
6443 <p>
6444 Specifies the filename of your signature, which is appended to all
6445 outgoing messages.   If the filename ends with a pipe (``|''), it is
6446 assumed that filename is a shell command and input should be read from
6447 its stdout.
6448
6449
6450 <sect2>simple&lowbar;search<label id="simple_search">
6451 <p>
6452 Type: string<newline>
6453 Default: &dquot;&tilde;f &percnt;s | &tilde;s &percnt;s&dquot;
6454
6455 <p>
6456 Specifies how Mutt should expand a simple search into a real search
6457 pattern.  A simple search is one that does not contain any of the &tilde;
6458 operators.  See ``<ref id="patterns" name="patterns">'' for more information on search patterns.
6459 <p>
6460 For example, if you simply type joe at a search or limit prompt, Mutt
6461 will automatically expand it to the value specified by this variable.
6462 For the default value it would be:
6463 <p>
6464 &tilde;f joe | &tilde;s joe
6465
6466
6467 <sect2>smart&lowbar;wrap<label id="smart_wrap">
6468 <p>
6469 Type: boolean<newline>
6470 Default: yes
6471
6472 <p>
6473 Controls the display of lines longer than the screen width in the
6474 internal pager. If set, long lines are wrapped at a word boundary.  If
6475 unset, lines are simply wrapped at the screen edge. Also see the
6476 ``<ref id="markers" name="&dollar;markers">'' variable.
6477
6478
6479 <sect2>smileys<label id="smileys">
6480 <p>
6481 Type: regular expression<newline>
6482 Default: &dquot;(&gt;From )|(:&lsqb;-^&rsqb;?&lsqb;&rsqb;&lsqb;)(&gt;&lt;}{|/DP&rsqb;)&dquot;
6483
6484 <p>
6485 The <em>pager</em> uses this variable to catch some common false
6486 positives of ``<ref id="quote_regexp" name="&dollar;quote&lowbar;regexp">'', most notably smileys in the beginning
6487 of a line
6488
6489
6490 <sect2>sleep&lowbar;time<label id="sleep_time">
6491 <p>
6492 Type: number<newline>
6493 Default: 1
6494
6495 <p>
6496 Specifies time, in seconds, to pause while displaying certain informational
6497 messages, while moving from folder to folder and after expunging
6498 messages from the current folder.  The default is to pause one second, so 
6499 a value of zero for this option suppresses the pause.
6500
6501
6502 <sect2>sort<label id="sort">
6503 <p>
6504 Type: sort order<newline>
6505 Default: date
6506
6507 <p>
6508 Specifies how to sort messages in the <em>index</em> menu.  Valid values
6509 are:
6510 <p>
6511
6512 <tscreen><verb>
6513    date or date-sent
6514    date-received
6515    from
6516    mailbox-order (unsorted)
6517    score
6518    size
6519    subject
6520    threads
6521    to
6522
6523 </verb></tscreen><p>
6524 You may optionally use the reverse- prefix to specify reverse sorting
6525 order (example: set sort=reverse-date-sent).
6526
6527
6528 <sect2>sort&lowbar;alias<label id="sort_alias">
6529 <p>
6530 Type: sort order<newline>
6531 Default: alias
6532
6533 <p>
6534 Specifies how the entries in the `alias' menu are sorted.  The
6535 following are legal values:
6536 <p>
6537
6538 <tscreen><verb>
6539    address (sort alphabetically by email address)
6540    alias (sort alphabetically by alias name)
6541    unsorted (leave in order specified in .muttrc)
6542
6543 </verb></tscreen>
6544
6545 <sect2>sort&lowbar;aux<label id="sort_aux">
6546 <p>
6547 Type: sort order<newline>
6548 Default: date
6549
6550 <p>
6551 When sorting by threads, this variable controls how threads are sorted
6552 in relation to other threads, and how the branches of the thread trees
6553 are sorted.  This can be set to any value that ``<ref id="sort" name="&dollar;sort">'' can, except
6554 threads (in that case, mutt will just use date-sent).  You can also
6555 specify the last- prefix in addition to the reverse- prefix, but last-
6556 must come after reverse-.  The last- prefix causes messages to be
6557 sorted against its siblings by which has the last descendant, using
6558 the rest of sort&lowbar;aux as an ordering.  For instance, set sort&lowbar;aux=last-
6559 date-received would mean that if a new message is received in a
6560 thread, that thread becomes the last one displayed (or the first, if
6561 you have set sort=reverse-threads.) Note: For reversed ``<ref id="sort" name="&dollar;sort">''
6562 order <ref id="sort_aux" name="&dollar;sort&lowbar;aux"> is reversed again (which is not the right thing to do,
6563 but kept to not break any existing configuration setting).
6564
6565
6566 <sect2>sort&lowbar;browser<label id="sort_browser">
6567 <p>
6568 Type: sort order<newline>
6569 Default: subject
6570
6571 <p>
6572 Specifies how to sort entries in the file browser.  By default, the
6573 entries are sorted alphabetically.  Valid values:
6574 <p>
6575
6576 <tscreen><verb>
6577    alpha (alphabetically)
6578    date
6579    size
6580    unsorted
6581
6582 </verb></tscreen><p>
6583 You may optionally use the reverse- prefix to specify reverse sorting
6584 order (example: set sort&lowbar;browser=reverse-date).
6585
6586
6587 <sect2>sort&lowbar;re<label id="sort_re">
6588 <p>
6589 Type: boolean<newline>
6590 Default: yes
6591
6592 <p>
6593 This variable is only useful when sorting by threads with
6594 ``<ref id="strict_threads" name="&dollar;strict&lowbar;threads">'' unset.  In that case, it changes the heuristic
6595 mutt uses to thread messages by subject.  With sort&lowbar;re set, mutt will
6596 only attach a message as the child of another message by subject if
6597 the subject of the child message starts with a substring matching the
6598 setting of ``<ref id="reply_regexp" name="&dollar;reply&lowbar;regexp">''.  With sort&lowbar;re unset, mutt will attach
6599 the message whether or not this is the case, as long as the
6600 non-``<ref id="reply_regexp" name="&dollar;reply&lowbar;regexp">'' parts of both messages are identical.
6601
6602
6603 <sect2>spoolfile<label id="spoolfile">
6604 <p>
6605 Type: path<newline>
6606 Default: &dquot;&dquot;
6607
6608 <p>
6609 If your spool mailbox is in a non-default place where Mutt cannot find
6610 it, you can specify its location with this variable.  Mutt will
6611 automatically set this variable to the value of the environment
6612 variable &dollar;MAIL if it is not set.
6613
6614
6615 <sect2>status&lowbar;chars<label id="status_chars">
6616 <p>
6617 Type: string<newline>
6618 Default: &dquot;-*&percnt;A&dquot;
6619
6620 <p>
6621 Controls the characters used by the &dquot;&percnt;r&dquot; indicator in
6622 ``<ref id="status_format" name="&dollar;status&lowbar;format">''. The first character is used when the mailbox is
6623 unchanged. The second is used when the mailbox has been changed, and
6624 it needs to be resynchronized. The third is used if the mailbox is in
6625 read-only mode, or if the mailbox will not be written when exiting
6626 that mailbox (You can toggle whether to write changes to a mailbox
6627 with the toggle-write operation, bound by default to &dquot;&percnt;&dquot;). The fourth
6628 is used to indicate that the current folder has been opened in attach-
6629 message mode (Certain operations like composing a new mail, replying,
6630 forwarding, etc. are not permitted in this mode).
6631
6632
6633 <sect2>status&lowbar;format<label id="status_format">
6634 <p>
6635 Type: string<newline>
6636 Default: &dquot;-&percnt;r-Mutt: &percnt;f &lsqb;Msgs:&percnt;?M?&percnt;M/?&percnt;m&percnt;?n? New:&percnt;n?&percnt;?o? Old:&percnt;o?&percnt;?d? Del:&percnt;d?&percnt;?F? Flag:&percnt;F?&percnt;?t? Tag:&percnt;t?&percnt;?p? Post:&percnt;p?&percnt;?b? Inc:&percnt;b?&percnt;?l? &percnt;l?&rsqb;---(&percnt;s/&percnt;S)-&percnt;&gt;-(&percnt;P)---&dquot;
6637
6638 <p>
6639 Controls the format of the status line displayed in the <em>index</em>
6640 menu.  This string is similar to ``<ref id="index_format" name="&dollar;index&lowbar;format">'', but has its own
6641 set of printf()-like sequences:
6642 <p>
6643
6644 <descrip>
6645 <tag>&percnt;b  </tag>number of mailboxes with new mail *
6646 <tag>&percnt;d  </tag>number of deleted messages *
6647 <tag>&percnt;f  </tag>the full pathname of the current mailbox
6648 <tag>&percnt;F  </tag>number of flagged messages *
6649 <tag>&percnt;h  </tag>local hostname
6650 <tag>&percnt;l  </tag>size (in bytes) of the current mailbox *
6651 <tag>&percnt;L  </tag>size (in bytes) of the messages shown 
6652 (i.e., which match the current limit) *
6653 <tag>&percnt;m  </tag>the number of messages in the mailbox *
6654 <tag>&percnt;M  </tag>the number of messages shown (i.e., which match the current limit) *
6655 <tag>&percnt;n  </tag>number of new messages in the mailbox *
6656 <tag>&percnt;o  </tag>number of old unread messages
6657 <tag>&percnt;p  </tag>number of postponed messages *
6658 <tag>&percnt;P  </tag>percentage of the way through the index
6659 <tag>&percnt;r  </tag>modified/read-only/won't-write/attach-message indicator,
6660 according to <ref id="status_chars" name="&dollar;status&lowbar;chars">
6661 <tag>&percnt;s  </tag>current sorting mode (<ref id="sort" name="&dollar;sort">)
6662 <tag>&percnt;S  </tag>current aux sorting method (<ref id="sort_aux" name="&dollar;sort&lowbar;aux">)
6663 <tag>&percnt;t  </tag>number of tagged messages *
6664 <tag>&percnt;u  </tag>number of unread messages *
6665 <tag>&percnt;v  </tag>Mutt version string
6666 <tag>&percnt;V  </tag>currently active limit pattern, if any *
6667 <tag>&percnt;&gt;X </tag>right justify the rest of the string and pad with &dquot;X&dquot;
6668 <tag>&percnt;|X </tag>pad to the end of the line with &dquot;X&dquot;
6669 </descrip>
6670
6671 <p>
6672 * = can be optionally printed if nonzero
6673 <p>
6674 Some of the above sequences can be used to optionally print a string
6675 if their value is nonzero.  For example, you may only want to see the
6676 number of flagged messages if such messages exist, since zero is not
6677 particularly meaningful.  To optionally print a string based upon one
6678 of the above sequences, the following construct is used
6679 <p>
6680 &percnt;?&lt;sequence&lowbar;char&gt;?&lt;optional&lowbar;string&gt;?
6681 <p>
6682 where <em>sequence&lowbar;char</em> is a character from the table above, and
6683 <em>optional&lowbar;string</em> is the string you would like printed if
6684 <em>status&lowbar;char</em> is nonzero.  <em>optional&lowbar;string</em> <bf>may</bf> contain
6685 other sequence as well as normal text, but you may <bf>not</bf> nest
6686 optional strings.
6687 <p>
6688 Here is an example illustrating how to optionally print the number of
6689 new messages in a mailbox:
6690 &percnt;?n?&percnt;n new messages.?
6691 <p>
6692 Additionally you can switch between two strings, the first one, if a
6693 value is zero, the second one, if the value is nonzero, by using the
6694 following construct:
6695 &percnt;?&lt;sequence&lowbar;char&gt;?&lt;if&lowbar;string&gt;&amp;&lt;else&lowbar;string&gt;?
6696 <p>
6697 You can additionally force the result of any printf-like sequence to
6698 be lowercase by prefixing the sequence character with an underscore
6699 (&lowbar;) sign.  For example, if you want to display the local hostname in
6700 lowercase, you would use:
6701 &percnt;&lowbar;h
6702 <p>
6703 If you prefix the sequence character with a colon (:) character, mutt
6704 will replace any dots in the expansion by underscores. This might be helpful 
6705 with IMAP folders that don't like dots in folder names.
6706
6707
6708 <sect2>status&lowbar;on&lowbar;top<label id="status_on_top">
6709 <p>
6710 Type: boolean<newline>
6711 Default: no
6712
6713 <p>
6714 Setting this variable causes the ``status bar'' to be displayed on
6715 the first line of the screen rather than near the bottom.
6716
6717
6718 <sect2>strict&lowbar;threads<label id="strict_threads">
6719 <p>
6720 Type: boolean<newline>
6721 Default: no
6722
6723 <p>
6724 If set, threading will only make use of the ``In-Reply-To'' and
6725 ``References'' fields when you ``<ref id="sort" name="&dollar;sort">'' by message threads.  By
6726 default, messages with the same subject are grouped together in
6727 ``pseudo threads.''  This may not always be desirable, such as in a
6728 personal mailbox where you might have several unrelated messages with
6729 the subject ``hi'' which will get grouped together.
6730
6731
6732 <sect2>suspend<label id="suspend">
6733 <p>
6734 Type: boolean<newline>
6735 Default: yes
6736
6737 <p>
6738 When <em>unset</em>, mutt won't stop when the user presses the terminal's
6739 <em>susp</em> key, usually ``control-Z''. This is useful if you run mutt
6740 inside an xterm using a command like xterm -e mutt.
6741
6742
6743 <sect2>text&lowbar;flowed<label id="text_flowed">
6744 <p>
6745 Type: boolean<newline>
6746 Default: no
6747
6748 <p>
6749 When set, mutt will generate text/plain; format=flowed attachments.
6750 This format is easier to handle for some mailing software, and generally
6751 just looks like ordinary text.  To actually make use of this format's 
6752 features, you'll need support in your editor.
6753 <p>
6754 Note that <ref id="indent_string" name="&dollar;indent&lowbar;string"> is ignored when this option is set.
6755
6756
6757 <sect2>thread&lowbar;received<label id="thread_received">
6758 <p>
6759 Type: boolean<newline>
6760 Default: no
6761
6762 <p>
6763 When set, mutt uses the date received rather than the date sent
6764 to thread messages by subject.
6765
6766
6767 <sect2>thorough&lowbar;search<label id="thorough_search">
6768 <p>
6769 Type: boolean<newline>
6770 Default: no
6771
6772 <p>
6773 Affects the <em>&tilde;b</em> and <em>&tilde;h</em> search operations described in
6774 section ``<ref id="patterns" name="patterns">'' above.  If set, the headers and attachments of
6775 messages to be searched are decoded before searching.  If unset,
6776 messages are searched as they appear in the folder.
6777
6778
6779 <sect2>tilde<label id="tilde">
6780 <p>
6781 Type: boolean<newline>
6782 Default: no
6783
6784 <p>
6785 When set, the internal-pager will pad blank lines to the bottom of the
6786 screen with a tilde (&tilde;).
6787
6788
6789 <sect2>timeout<label id="timeout">
6790 <p>
6791 Type: number<newline>
6792 Default: 600
6793
6794 <p>
6795 This variable controls the <em>number of seconds</em> Mutt will wait
6796 for a key to be pressed in the main menu before timing out and
6797 checking for new mail.  A value of zero or less will cause Mutt
6798 to never time out.
6799
6800
6801 <sect2>tmpdir<label id="tmpdir">
6802 <p>
6803 Type: path<newline>
6804 Default: &dquot;&dquot;
6805
6806 <p>
6807 This variable allows you to specify where Mutt will place its
6808 temporary files needed for displaying and composing messages.  If
6809 this variable is not set, the environment variable TMPDIR is
6810 used.  If TMPDIR is not set then &dquot;/tmp&dquot; is used.
6811
6812
6813 <sect2>to&lowbar;chars<label id="to_chars">
6814 <p>
6815 Type: string<newline>
6816 Default: &dquot; +TCFL&dquot;
6817
6818 <p>
6819 Controls the character used to indicate mail addressed to you.  The
6820 first character is the one used when the mail is NOT addressed to your
6821 address (default: space).  The second is used when you are the only
6822 recipient of the message (default: +).  The third is when your address
6823 appears in the TO header field, but you are not the only recipient of
6824 the message (default: T).  The fourth character is used when your
6825 address is specified in the CC header field, but you are not the only
6826 recipient.  The fifth character is used to indicate mail that was sent
6827 by <em>you</em>.  The sixth character is used to indicate when a mail
6828 was sent to a mailing-list you subscribe to (default: L).
6829
6830
6831 <sect2>trash<label id="trash">
6832 <p>
6833 Type: path<newline>
6834 Default: &dquot;&dquot;
6835
6836 <p>
6837 If set, this variable specifies the path of the trash folder where the
6838 mails marked for deletion will be moved, instead of being irremediably
6839 purged.
6840 <p>
6841 NOTE: When you delete a message in the trash folder, it is really
6842 deleted, so that you have a way to clean the trash.
6843
6844
6845 <sect2>tunnel<label id="tunnel">
6846 <p>
6847 Type: string<newline>
6848 Default: &dquot;&dquot;
6849
6850 <p>
6851 Setting this variable will cause mutt to open a pipe to a command
6852 instead of a raw socket. You may be able to use this to set up
6853 preauthenticated connections to your IMAP/POP3 server. Example:
6854 <p>
6855 tunnel=&dquot;ssh -q mailhost.net /usr/local/libexec/imapd&dquot;
6856 <p>
6857 NOTE: For this example to work you must be able to log in to the remote
6858 machine without having to enter a password.
6859
6860
6861 <sect2>use&lowbar;8bitmime<label id="use_8bitmime">
6862 <p>
6863 Type: boolean<newline>
6864 Default: no
6865
6866 <p>
6867 <bf>Warning:</bf> do not set this variable unless you are using a version
6868 of sendmail which supports the -B8BITMIME flag (such as sendmail
6869 8.8.x) or you may not be able to send mail.
6870 <p>
6871 When <em>set</em>, Mutt will invoke ``<ref id="sendmail" name="&dollar;sendmail">'' with the -B8BITMIME
6872 flag when sending 8-bit messages to enable ESMTP negotiation.
6873
6874
6875 <sect2>use&lowbar;domain<label id="use_domain">
6876 <p>
6877 Type: boolean<newline>
6878 Default: yes
6879
6880 <p>
6881 When set, Mutt will qualify all local addresses (ones without the
6882 @host portion) with the value of ``<ref id="hostname" name="&dollar;hostname">''.  If <em>unset</em>, no
6883 addresses will be qualified.
6884
6885
6886 <sect2>use&lowbar;from<label id="use_from">
6887 <p>
6888 Type: boolean<newline>
6889 Default: yes
6890
6891 <p>
6892 When <em>set</em>, Mutt will generate the `From:' header field when
6893 sending messages.  If <em>unset</em>, no `From:' header field will be
6894 generated unless the user explicitly sets one using the ``<ref id="my_hdr" name="my&lowbar;hdr">''
6895 command.
6896
6897
6898 <sect2>use&lowbar;ipv6<label id="use_ipv6">
6899 <p>
6900 Type: boolean<newline>
6901 Default: yes
6902
6903 <p>
6904 When <em>set</em>, Mutt will look for IPv6 addresses of hosts it tries to
6905 contact.  If this option is unset, Mutt will restrict itself to IPv4 addresses.
6906 Normally, the default should work.
6907
6908
6909 <sect2>user&lowbar;agent<label id="user_agent">
6910 <p>
6911 Type: boolean<newline>
6912 Default: yes
6913
6914 <p>
6915 When <em>set</em>, mutt will add a &dquot;User-Agent&dquot; header to outgoing
6916 messages, indicating which version of mutt was used for composing
6917 them.
6918
6919
6920 <sect2>visual<label id="visual">
6921 <p>
6922 Type: path<newline>
6923 Default: &dquot;&dquot;
6924
6925 <p>
6926 Specifies the visual editor to invoke when the <em>&tilde;v</em> command is
6927 given in the builtin editor.
6928
6929
6930 <sect2>wait&lowbar;key<label id="wait_key">
6931 <p>
6932 Type: boolean<newline>
6933 Default: yes
6934
6935 <p>
6936 Controls whether Mutt will ask you to press a key after <em>shell-
6937 escape</em>, <em>pipe-message</em>, <em>pipe-entry</em>, <em>print-message</em>,
6938 and <em>print-entry</em> commands.
6939 <p>
6940 It is also used when viewing attachments with ``<ref id="auto_view" name="auto&lowbar;view">'', provided
6941 that the corresponding mailcap entry has a <em>needsterminal</em> flag,
6942 and the external program is interactive.
6943 <p>
6944 When set, Mutt will always ask for a key. When unset, Mutt will wait
6945 for a key only if the external command returned a non-zero status.
6946
6947
6948 <sect2>weed<label id="weed">
6949 <p>
6950 Type: boolean<newline>
6951 Default: yes
6952
6953 <p>
6954 When set, mutt will weed headers when when displaying, forwarding,
6955 printing, or replying to messages.
6956
6957
6958 <sect2>wrap&lowbar;search<label id="wrap_search">
6959 <p>
6960 Type: boolean<newline>
6961 Default: yes
6962
6963 <p>
6964 Controls whether searches wrap around the end of the mailbox.
6965 <p>
6966 When set, searches will wrap around the first (or last) message. When
6967 unset, searches will not wrap.
6968
6969
6970 <sect2>wrapmargin<label id="wrapmargin">
6971 <p>
6972 Type: number<newline>
6973 Default: 0
6974
6975 <p>
6976 Controls the size of the margin remaining at the right side of
6977 the terminal when mutt's pager does smart wrapping.
6978
6979
6980 <sect2>write&lowbar;inc<label id="write_inc">
6981 <p>
6982 Type: number<newline>
6983 Default: 10
6984
6985 <p>
6986 When writing a mailbox, a message will be printed every
6987 <em>write&lowbar;inc</em> messages to indicate progress.  If set to 0, only a
6988 single message will be displayed before writing a mailbox.
6989 <p>
6990 Also see the ``<ref id="read_inc" name="&dollar;read&lowbar;inc">'' variable.
6991
6992
6993 <sect2>write&lowbar;bcc<label id="write_bcc">
6994 <p>
6995 Type: boolean<newline>
6996 Default: yes
6997
6998 <p>
6999 Controls whether mutt writes out the Bcc header when preparing
7000 messages to be sent.  Exim users may wish to use this.
7001
7002
7003 <sect2>x&lowbar;comment&lowbar;to<label id="x_comment_to">
7004 <p>
7005 Type: boolean<newline>
7006 Default: no
7007
7008 <p>
7009 If <em>set</em>, Mutt will add ``X-Comment-To:'' field (that contains full
7010 name of original article author) to article that followuped to newsgroup.
7011
7012
7013 <sect1>Functions<label id="functions">
7014 <p>
7015 The following is the list of available functions listed by the mapping
7016 in which they are available.  The default key setting is given, and an
7017 explanation of what the function does.  The key bindings of these
7018 functions can be changed with the <ref name="bind" id="bind">
7019 command.
7020
7021 <sect2>generic
7022 <p>
7023
7024 The <em/generic/ menu is not a real menu, but specifies common functions
7025 (such as movement) available in all menus except for <em/pager/ and
7026 <em/editor/.  Changing settings for this menu will affect the default
7027 bindings for all menus (except as noted).
7028
7029 <verb>
7030 bottom-page                L   move to the bottom of the page
7031 current-bottom     not bound   move current entry to bottom of page
7032 current-middle     not bound   move current entry to middle of page
7033 current-top        not bound   move current entry to top of page
7034 enter-command              :   enter a muttrc command
7035 exit                       q   exit this menu
7036 first-entry                =   move to the first entry
7037 half-down                  ]   scroll down 1/2 page
7038 half-up                    [   scroll up 1/2 page
7039 help                       ?   this screen
7040 jump                  number   jump to an index number
7041 last-entry                 *   move to the last entry
7042 middle-page                M   move to the middle of the page
7043 next-entry                 j   move to the next entry
7044 next-line                  >   scroll down one line
7045 next-page                  z   move to the next page
7046 previous-entry             k   move to the previous entry
7047 previous-line              <   scroll up one line
7048 previous-page              Z   move to the previous page
7049 refresh                   ^L   clear and redraw the screen
7050 search                     /   search for a regular expression
7051 search-next                n   search for next match
7052 search-opposite    not bound   search for next match in opposite direction
7053 search-reverse         ESC /   search backwards for a regular expression
7054 select-entry             RET   select the current entry
7055 shell-escape               !   run a program in a subshell
7056 tag-entry                  t   toggle the tag on the current entry
7057 tag-prefix                 ;   apply next command to tagged entries
7058 top-page                   H   move to the top of the page
7059 </verb>
7060 <sect2>index
7061 <p>
7062 <verb>
7063 bounce-message             b   remail a message to another user
7064 change-folder              c   open a different folder
7065 change-folder-readonly ESC c   open a different folder in read only mode
7066 check-traditional-pgp  ESC P   check for classic pgp
7067 clear-flag                 W   clear a status flag from a message
7068 copy-message               C   copy a message to a file/mailbox
7069 create-alias               a   create an alias from a message sender
7070 decode-copy            ESC C   decode a message and copy it to a file/mailbox
7071 decode-save            ESC s   decode a message and save it to a file/mailbox
7072 delete-message             d   delete the current entry
7073 delete-pattern             D   delete messages matching a pattern
7074 delete-subthread       ESC d   delete all messages in subthread
7075 delete-thread             ^D   delete all messages in thread
7076 display-address            @   display full address of sender
7077 display-toggle-weed        h   display message and toggle header weeding
7078 display-message          RET   display a message
7079 edit                       e   edit the current message
7080 edit-type                 ^E   edit the current message's Content-Type
7081 exit                       x   exit without saving changes
7082 extract-keys              ^K   extract PGP public keys
7083 fetch-mail                 G   retrieve mail from POP server
7084 flag-message               F   toggle a message's 'important' flag
7085 forget-passphrase         ^F   wipe PGP passphrase from memory
7086 forward-message            f   forward a message with comments
7087 group-reply                g   reply to all recipients
7088 limit                      l   show only messages matching a pattern
7089 list-reply                 L   reply to specified mailing list
7090 mail                       m   compose a new mail message
7091 mail-key               ESC k   mail a PGP public key
7092 next-new                 TAB   jump to the next new message
7093 next-subthread         ESC n   jump to the next subthread
7094 next-thread               ^N   jump to the next thread
7095 next-undeleted             j   move to the next undeleted message
7096 next-unread        not bound   jump to the next unread message
7097 parent-message             P   jump to parent message in thread
7098 pipe-message               |   pipe message/attachment to a shell command
7099 previous-new         ESC TAB   jump to the previous new message
7100 previous-page              Z   move to the previous page
7101 previous-subthread     ESC p   jump to previous subthread
7102 previous-thread           ^P   jump to previous thread
7103 previous-undeleted         k   move to the last undelete message
7104 previous-unread    not bound   jump to the previous unread message
7105 print-message              p   print the current entry
7106 query                      Q   query external program for addresses
7107 quit                       q   save changes to mailbox and quit
7108 read-subthread         ESC r   mark the current subthread as read
7109 read-thread               ^R   mark the current thread as read
7110 recall-message             R   recall a postponed message
7111 reply                      r   reply to a message
7112 resend-message         ESC e   resend message and preserve MIME structure
7113 save-message               s   save message/attachment to a file
7114 set-flag                   w   set a status flag on a message
7115 show-version               V   show the Mutt version number and date
7116 show-limit             ESC l   show currently active limit pattern, if any
7117 sort-mailbox               o   sort messages
7118 sort-reverse               O   sort messages in reverse order
7119 sync-mailbox               $   save changes to mailbox
7120 tag-pattern                T   tag messages matching a pattern
7121 tag-thread             ESC t   tag/untag all messages in the current thread
7122 toggle-new                 N   toggle a message's 'new' flag
7123 toggle-write               %   toggle whether the mailbox will be rewritten
7124 undelete-message           u   undelete the current entry
7125 undelete-pattern           U   undelete messages matching a pattern
7126 undelete-subthread     ESC u   undelete all messages in subthread
7127 undelete-thread           ^U   undelete all messages in thread
7128 untag-pattern             ^T   untag messages matching a pattern
7129 view-attachments           v   show MIME attachments
7130 </verb>
7131 <sect2>pager
7132 <p>
7133 <verb>
7134 bottom             not bound   jump to the bottom of the message
7135 bounce-message             b   remail a message to another user
7136 change-folder              c   open a different folder
7137 change-folder-readonly ESC c   open a different folder in read only mode
7138 check-traditional-pgp  ESC P   check for classic pgp
7139 copy-message               C   copy a message to a file/mailbox
7140 create-alias               a   create an alias from a message sender
7141 decode-copy            ESC C   decode a message and copy it to a file/mailbox
7142 decode-save            ESC s   decode a message and save it to a file/mailbox
7143 delete-message             d   delete the current entry
7144 delete-subthread       ESC d   delete all messages in subthread
7145 delete-thread             ^D   delete all messages in thread
7146 display-address            @   display full address of sender
7147 display-toggle-weed        h   display message and toggle header weeding
7148 edit                       e   edit the current message
7149 edit-type                 ^E   edit the current message's Content-Type
7150 enter-command              :   enter a muttrc command
7151 exit                       i   return to the main-menu
7152 extract-keys              ^K   extract PGP public keys
7153 flag-message               F   toggle a message's 'important' flag
7154 forget-passphrase         ^F   wipe PGP passphrase from memory
7155 forward-message            f   forward a message with comments
7156 group-reply                g   reply to all recipients
7157 half-up            not bound   move up one-half page
7158 half-down          not bound   move down one-half page
7159 help                       ?   this screen
7160 list-reply                 L   reply to specified mailing list
7161 mail                       m   compose a new mail message
7162 mail-key               ESC k   mail a PGP public key
7163 mark-as-new                N   toggle a message's 'new' flag
7164 next-line                RET   scroll down one line
7165 next-entry                 J   move to the next entry
7166 next-new                 TAB   jump to the next new message
7167 next-page                      move to the next page
7168 next-subthread         ESC n   jump to the next subthread
7169 next-thread               ^N   jump to the next thread
7170 next-undeleted             j   move to the next undeleted message
7171 next-unread        not bound   jump to the next unread message
7172 parent-message             P   jump to parent message in thread
7173 pipe-message               |   pipe message/attachment to a shell command
7174 previous-line      BackSpace   scroll up one line
7175 previous-entry             K   move to the previous entry
7176 previous-new       not bound   jump to the previous new message
7177 previous-page              -   move to the previous page
7178 previous-subthread     ESC p   jump to previous subthread
7179 previous-thread           ^P   jump to previous thread
7180 previous-undeleted         k   move to the last undelete message
7181 previous-unread    not bound   jump to the previous unread message
7182 print-message              p   print the current entry
7183 quit                       Q   save changes to mailbox and quit
7184 read-subthread         ESC r   mark the current subthread as read
7185 read-thread               ^R   mark the current thread as read
7186 recall-message             R   recall a postponed message
7187 redraw-screen             ^L   clear and redraw the screen
7188 reply                      r   reply to a message
7189 save-message               s   save message/attachment to a file
7190 search                     /   search for a regular expression
7191 search-next                n   search for next match
7192 search-opposite    not bound   search for next match in opposite direction
7193 search-reverse         ESC /   search backwards for a regular expression
7194 search-toggle              \   toggle search pattern coloring
7195 shell-escape               !   invoke a command in a subshell
7196 show-version               V   show the Mutt version number and date
7197 skip-quoted                S   skip beyond quoted text
7198 sync-mailbox               $   save changes to mailbox
7199 tag-message                t   tag a message
7200 toggle-quoted              T   toggle display of quoted text
7201 top                        ^   jump to the top of the message
7202 undelete-message           u   undelete the current entry
7203 undelete-subthread     ESC u   undelete all messages in subthread
7204 undelete-thread           ^U   undelete all messages in thread
7205 view-attachments           v   show MIME attachments
7206 </verb>
7207 <sect2>alias
7208 <p>
7209 <verb>
7210 search                     /   search for a regular expression
7211 search-next                n   search for next match
7212 search-reverse         ESC /   search backwards for a regular expression
7213 </verb>
7214 <sect2>query
7215 <p>
7216 <verb>
7217 create-alias               a   create an alias from a message sender
7218 mail                       m   compose a new mail message
7219 query                      Q   query external program for addresses
7220 query-append               A   append new query results to current results
7221 search                     /   search for a regular expression
7222 search-next                n   search for next match
7223 search-opposite    not bound   search for next match in opposite direction
7224 search-reverse         ESC /   search backwards for a regular expression
7225 </verb>
7226 <sect2>attach
7227 <p>
7228 <verb>
7229 bounce-message             b   remail a message to another user
7230 collapse-parts             v   toggle display of subparts
7231 delete-entry               d   delete the current entry
7232 display-toggle-weed        h   display message and toggle header weeding
7233 edit-type                 ^E   edit the current entry's Content-Type
7234 extract-keys              ^K   extract PGP public keys
7235 forward-message            f   forward a message with comments
7236 group-reply                g   reply to all recipients
7237 list-reply                 L   reply to specified mailing list
7238 pipe-entry                 |   pipe message/attachment to a shell command
7239 print-entry                p   print the current entry
7240 reply                      r   reply to a message
7241 resend-message         ESC e   resend message and preserve MIME structure
7242 save-entry                 s   save message/attachment to a file
7243 undelete-entry             u   undelete the current entry
7244 view-attach              RET   view attachment using mailcap entry if necessary
7245 view-mailcap               m   force viewing of attachment using mailcap
7246 view-text                  T   view attachment as text
7247 </verb>
7248 <sect2>compose
7249 <p>
7250 <verb>
7251 attach-file                a   attach a file(s) to this message
7252 attach-message             A   attach message(s) to this message
7253 attach-key             ESC k   attach a PGP public key
7254 copy-file                  C   save message/attachment to a file
7255 detach-file                D   delete the current entry
7256 display-toggle-weed        h   display message and toggle header weeding
7257 edit-bcc                   b   edit the BCC list
7258 edit-cc                    c   edit the CC list
7259 edit-description           d   edit attachment description
7260 edit-encoding             ^E   edit attachment transfer-encoding
7261 edit-fcc                   f   enter a file to save a copy of this message in
7262 edit-from              ESC f   edit the from: field
7263 edit-file               ^X e   edit the file to be attached
7264 edit-headers               E   edit the message with headers
7265 edit                       e   edit the message
7266 edit-mime                  m   edit attachment using mailcap entry
7267 edit-reply-to              r   edit the Reply-To field
7268 edit-subject               s   edit the subject of this message
7269 edit-to                    t   edit the TO list
7270 edit-type                 ^T   edit attachment type
7271 filter-entry               F   filter attachment through a shell command
7272 forget-passphrase         ^F   wipe PGP passphrase from memory
7273 ispell                     i   run ispell on the message
7274 new-mime                   n   compose new attachment using mailcap entry
7275 pgp-menu                   p   show PGP options
7276 pipe-entry                 |   pipe message/attachment to a shell command
7277 postpone-message           P   save this message to send later
7278 print-entry                l   print the current entry
7279 rename-file                R   rename/move an attached file
7280 send-message               y   send the message
7281 toggle-unlink              u   toggle whether to delete file after sending it
7282 view-attach              RET   view attachment using mailcap entry if necessary
7283 write-fcc                  w   write the message to a folder
7284 </verb>
7285 <sect2>postpone
7286 <p>
7287 <verb>
7288 delete-entry               d   delete the current entry
7289 undelete-entry             u   undelete the current entry
7290 </verb>
7291 <sect2>browser
7292 <p>
7293 <verb>
7294 change-dir                 c   change directories
7295 check-new                TAB   check mailboxes for new mail
7296 enter-mask                 m   enter a file mask
7297 search                     /   search for a regular expression
7298 search-next                n   search for next match
7299 search-reverse         ESC /   search backwards for a regular expression
7300 select-new                 N   select a new file in this directory
7301 sort                       o   sort messages
7302 sort-reverse               O   sort messages in reverse order
7303 toggle-mailboxes         TAB   toggle whether to browse mailboxes or all files
7304 view-file              SPACE   view file
7305 subscribe                  s   subscribe to current mailbox (IMAP Only)
7306 unsubscribe                u   unsubscribe to current mailbox (IMAP Only)
7307 toggle-subscribed          T   toggle view all/subscribed mailboxes (IMAP Only)
7308 </verb>
7309 <sect2>pgp
7310 <p>
7311 <verb>
7312 view-name                  %   view the key's user id
7313 verify-key                 c   verify a PGP public key
7314 </verb>
7315 <sect2>editor
7316 <p>
7317 <verb>
7318 backspace          BackSpace   delete the char in front of the cursor
7319 backward-char             ^B   move the cursor one character to the left
7320 backward-word          ESC b   move the cursor to the previous word
7321 bol                       ^A   jump to the beginning of the line
7322 buffy-cycle            Space   cycle among incoming mailboxes
7323 capitalize-word        ESC c   uppercase the first character in the word
7324 complete                 TAB   complete filename or alias
7325 complete-query            ^T   complete address with query
7326 delete-char               ^D   delete the char under the cursor
7327 downcase-word          ESC l   lowercase all characters in current word
7328 eol                       ^E   jump to the end of the line
7329 forward-char              ^F   move the cursor one character to the right
7330 forward-word           ESC f   move the cursor to the next word
7331 history-down       not bound   scroll down through the history list
7332 history-up         not bound   scroll up through the history list
7333 kill-eol                  ^K   delete chars from cursor to end of line
7334 kill-eow               ESC d   delete chars from cursor to end of word
7335 kill-line                 ^U   delete all chars on the line
7336 kill-word                 ^W   delete the word in front of the cursor
7337 quote-char                ^V   quote the next typed key
7338 transpose-chars    not bound   transpose character under cursor with previous
7339 upcase-word            ESC u   uppercase all characters in current word
7340 </verb>
7341
7342 <sect>Miscellany
7343 <p>
7344
7345 <sect1>Acknowledgements
7346 <p>
7347 Kari Hurtta
7348 <htmlurl url="mailto:kari.hurtta@fmi.fi" name="&lt;kari.hurtta@fmi.fi&gt;">
7349 co-developed the original MIME parsing code back in the ELM-ME days.
7350
7351 The following people have been very helpful to the development of Mutt:
7352
7353 Vikas Agnihotri <htmlurl url="mailto:vikasa@writeme.com" name="&lt;vikasa@writeme.com&gt;">,<newline>
7354 Francois Berjon <htmlurl url="mailto:Francois.Berjon@aar.alcatel-alsthom.fr" name="&lt;Francois.Berjon@aar.alcatel-alsthom.fr&gt;">,<newline>
7355 Aric Blumer <htmlurl url="mailto:aric@fore.com" name="&lt;aric@fore.com&gt;">,<newline>
7356 John Capo <htmlurl url="mailto:jc@irbs.com" name="&lt;jc@irbs.com&gt;">,<newline>
7357 David Champion <htmlurl url="mailto:dgc@uchicago.edu" name="&lt;dgc@uchicago.edu">,<newline>
7358 Brendan Cully <htmlurl url="mailto:brendan@kublai.com" name="&lt;brendan@kublai.com&gt">,<newline>
7359 Liviu Daia <htmlurl url="mailto:daia@stoilow.imar.ro" name="&lt;daia@stoilow.imar.ro&gt;">,<newline>
7360 Thomas E. Dickey <htmlurl url="mailto:dickey@herndon4.his.com" name="&lt;dickey@herndon4.his.com&gt;">,<newline>
7361 David DeSimone <htmlurl url="mailto:fox@convex.hp.com" name="&lt;fox@convex.hp.com&gt;">,<newline>
7362 Nickolay N. Dudorov <htmlurl url="mailto:nnd@wint.itfs.nsk.su" name="&lt;nnd@wint.itfs.nsk.su&gt;">,<newline>
7363 Ruslan Ermilov <htmlurl url="mailto:ru@freebsd.org" name="&lt;ru@freebsd.org&gt;">,<newline>
7364 Edmund Grimley Evans <htmlurl url="mailto:edmundo@rano.org" name="&lt;edmundo@rano.org">,<newline>
7365 Michael Finken <htmlurl url="mailto:finken@conware.de" name="&lt;finken@conware.de&gt;">,<newline>
7366 Sven Guckes <htmlurl url="mailto:guckes@math.fu-berlin.de" name="&lt;guckes@math.fu-berlin.de&gt;">,<newline>
7367 Lars Hecking <htmlurl url="mailto:lhecking@nmrc.ie" name="&lt;lhecking@nmrc.ie&gt;">,<newline>
7368 Mark Holloman <htmlurl url="mailto:holloman@nando.net" name="&lt;holloman@nando.net&gt;">,<newline>
7369 Andreas Holzmann <htmlurl url="mailto:holzmann@fmi.uni-passau.de" name="&lt;holzmann@fmi.uni-passau.de&gt;">,<newline>
7370 Marco d'Itri <htmlurl url="mailto:md@linux.it" name="&lt;md@linux.it&gt;">,<newline>
7371 Björn Jacke <htmlurl url="mailto:bjacke@suse.com" name="&lt;bjacke@suse.com&gt;">,<newline>
7372 Byrial Jensen <htmlurl url="mailto:byrial@image.dk" name="&lt;byrial@image.dk&gt;">,<newline>
7373 David Jeske <htmlurl url="mailto:jeske@igcom.net" name="&lt;jeske@igcom.net&gt;">,<newline>
7374 Christophe Kalt <htmlurl url="mailto:kalt@hugo.int-evry.fr" name="&lt;kalt@hugo.int-evry.fr&gt;">,<newline>
7375 Tommi Komulainen <htmlurl url="mailto:Tommi.Komulainen@iki.fi" name="&lt;Tommi.Komulainen@iki.fi&gt;">,<newline>
7376 Felix von Leitner (a.k.a ``Fefe'') <htmlurl url="mailto:leitner@math.fu-berlin.de" name="&lt;leitner@math.fu-berlin.de&gt;">,<newline>
7377 Brandon Long <htmlurl url="mailto:blong@fiction.net" name="&lt;blong@fiction.net&gt;">,<newline>
7378 Jimmy Mäkelä <htmlurl url="mailto:jmy@flashback.net" name="&lt;jmy@flashback.net&gt;">,<newline>
7379 Lars Marowsky-Bree <htmlurl url="mailto:lmb@pointer.in-minden.de" name="&lt;lmb@pointer.in-minden.de&gt;">,<newline>
7380 Thomas ``Mike'' Michlmayr <htmlurl url="mailto:mike@cosy.sbg.ac.at" name="&lt;mike@cosy.sbg.ac.at&gt;">,<newline>
7381 Andrew W. Nosenko <htmlurl url="mailto:awn@bcs.zp.ua" name="&lt;awn@bcs.zp.ua&gt;">,<newline>
7382 David O'Brien <htmlurl url="mailto:obrien@Nuxi.cs.ucdavis.edu" name="&lt;obrien@Nuxi.cs.ucdavis.edu&gt;">,<newline>
7383 Clint Olsen <htmlurl url="mailto:olsenc@ichips.intel.com" name="&lt;olsenc@ichips.intel.com&gt;">,<newline>
7384 Park Myeong Seok <htmlurl url="mailto:pms@romance.kaist.ac.kr" name="&lt;pms@romance.kaist.ac.kr&gt;">,<newline>
7385 Thomas Parmelan <htmlurl url="mailto:tom@ankh.fr.eu.org" name="&lt;tom@ankh.fr.eu.org&gt;">,<newline>
7386 Ollivier Robert <htmlurl url="mailto:roberto@keltia.freenix.fr" name="&lt;roberto@keltia.freenix.fr&gt;">,<newline>
7387 Thomas Roessler <htmlurl url="mailto:roessler@does-not-exist.org" name="&lt;roessler@does-not-exist.org&gt;">,<newline>
7388 Roland Rosenfeld <htmlurl url="roland@spinnaker.de" name="&lt;roland@spinnaker.de&gt;">,<newline>
7389 TAKIZAWA Takashi <htmlurl url="taki@luna.email.ne.jp" name="&lt;taki@luna.email.ne.jp&gt;">,<newline>
7390 Allain Thivillon <htmlurl url="mailto:Allain.Thivillon@alma.fr" name="&lt;Allain.Thivillon@alma.fr&gt;">,<newline>
7391 Gero Treuner <htmlurl url="mailto:gero@faveve.uni-stuttgart.de" name="&lt;gero@faveve.uni-stuttgart.de&gt;">,<newline>
7392 Vsevolod Volkov <htmlurl url="mailto:vvv@lucky.net" name="&lt;vvv@lucky.net&gt;">,<newline>
7393 Ken Weinert <htmlurl url="mailto:kenw@ihs.com" name="&lt;kenw@ihs.com&gt;">
7394
7395 <sect1>About this document
7396 <p>
7397 This document was written in SGML, and then rendered using the
7398 <htmlurl url="http://www.sgmltools.org/" name="sgml-tools"> package.
7399
7400 </article>