Rocco Rutte:
[apps/madmutt.git] / doc / manual.txt
1                      The Mutt Next Generation E-Mail Client
2
3   Andreas Krennmair
4
5    <ak@synflood.at>
6
7   Michael Elkins
8
9    <me@cs.hmc.edu>
10
11    version devel-r541
12
13    Abstract
14
15    Michael Elinks on mutt, circa 1995: ``All mail clients suck. This one just
16    sucks less.''
17
18    Sven Guckes on mutt, ca. 2003: ``But it still sucks!''
19
20    --------------------------------------------------------------------------
21
22    Table of Contents
23
24    1. Introduction
25
26                 1. Overview
27
28                 2. Mutt-ng Home Page
29
30                 3. Mailing Lists
31
32                 4. Software Distribution Sites
33
34                 5. IRC
35
36                 6. Weblog
37
38                 7. Copyright
39
40                 8. Manual Conventions
41
42    2. Getting Started
43
44                 1. Basic Concepts
45
46                              1.1. Screens and Menus
47
48                              1.2. Configuration
49
50                              1.3. Functions
51
52                              1.4. Interaction
53
54                              1.5. Modularization
55
56                              1.6. Patterns
57
58                 2. Screens and Menus
59
60                              2.1. Index
61
62                              2.2. Pager
63
64                              2.3. File Browser
65
66                              2.4. Sidebar
67
68                              2.5. Help
69
70                              2.6. Compose Menu
71
72                              2.7. Alias Menu
73
74                              2.8. Attachment Menu
75
76                              2.9. Key Menu
77
78                 3. Moving Around in Menus
79
80                 4. Editing Input Fields
81
82                 5. Reading Mail - The Index and Pager
83
84                              5.1. The Message Index
85
86                              5.2. The Pager
87
88                              5.3. Threaded Mode
89
90                              5.4. Miscellaneous Functions
91
92                 6. Sending Mail
93
94                              6.1. Composing new messages
95
96                              6.2. Replying
97
98                              6.3. Editing the message header
99
100                              6.4. Using Mutt-ng with PGP
101
102                              6.5. Sending anonymous messages via mixmaster
103
104                 7. Forwarding and Bouncing Mail
105
106                 8. Postponing Mail
107
108    3. Configuration
109
110                 1. Locations of Configuration Files
111
112                 2. Basic Syntax of Initialization Files
113
114                 3. Expansion within variables
115
116                              3.1. Commands' Output
117
118                              3.2. Environment Variables
119
120                              3.3. Configuration Variables
121
122                              3.4. Self-Defined Variables
123
124                              3.5. Pre-Defined Variables
125
126                              3.6. Type Conversions
127
128                 4. Defining/Using aliases
129
130                 5. Changing the default key bindings
131
132                 6. Defining aliases for character sets
133
134                 7. Setting variables based upon mailbox
135
136                 8. Keyboard macros
137
138                 9. Using color and mono video attributes
139
140                 10. Ignoring (weeding) unwanted message headers
141
142                 11. Alternative addresses
143
144                 12. Format = Flowed
145
146                              12.1. Introduction
147
148                              12.2. Receiving: Display Setup
149
150                              12.3. Sending
151
152                              12.4. Additional Notes
153
154                 13. Mailing lists
155
156                 14. Using Multiple spool mailboxes
157
158                 15. Defining mailboxes which receive mail
159
160                 16. User defined headers
161
162                 17. Defining the order of headers when viewing messages
163
164                 18. Specify default save filename
165
166                 19. Specify default Fcc: mailbox when composing
167
168                 20. Specify default save filename and default Fcc: mailbox at
169                 once
170
171                 21. Change settings based upon message recipients
172
173                 22. Change settings before formatting a message
174
175                 23. Choosing the cryptographic key of the recipient
176
177                 24. Adding key sequences to the keyboard buffer
178
179                 25. Executing functions
180
181                 26. Message Scoring
182
183                 27. Spam detection
184
185                 28. Setting variables
186
187                 29. Reading initialization commands from another file
188
189                 30. Removing hooks
190
191                 31. Sharing Setups
192
193                              31.1. Character Sets
194
195                              31.2. Modularization
196
197                              31.3. Conditional parts
198
199                 32. Obsolete Variables
200
201    4. Advanced Usage
202
203                 1. Regular Expressions
204
205                 2. Patterns
206
207                              2.1. Complex Patterns
208
209                              2.2. Patterns and Dates
210
211                 3. Format Strings
212
213                              3.1. Introduction
214
215                              3.2. Conditional Expansion
216
217                              3.3. Modifications and Padding
218
219                 4. Using Tags
220
221                 5. Using Hooks
222
223                              5.1. Message Matching in Hooks
224
225                 6. Using the sidebar
226
227                 7. External Address Queries
228
229                 8. Mailbox Formats
230
231                 9. Mailbox Shortcuts
232
233                 10. Handling Mailing Lists
234
235                 11. Editing threads
236
237                              11.1. Linking threads
238
239                              11.2. Breaking threads
240
241                 12. Delivery Status Notification (DSN) Support
242
243                 13. POP3 Support (OPTIONAL)
244
245                 14. IMAP Support (OPTIONAL)
246
247                              14.1. The Folder Browser
248
249                              14.2. Authentication
250
251                 15. NNTP Support (OPTIONAL)
252
253                              15.1. Again: Scoring
254
255                 16. SMTP Support (OPTIONAL)
256
257                 17. Managing multiple IMAP/POP/NNTP accounts (OPTIONAL)
258
259                 18. Start a WWW Browser on URLs (EXTERNAL)
260
261                 19. Compressed folders Support (OPTIONAL)
262
263                              19.1. Open a compressed mailbox for reading
264
265                              19.2. Write a compressed mailbox
266
267                              19.3. Append a message to a compressed mailbox
268
269                              19.4. Encrypted folders
270
271    5. Mutt-ng's MIME Support
272
273                 1. Using MIME in Mutt
274
275                              1.1. Viewing MIME messages in the pager
276
277                              1.2. The Attachment Menu
278
279                              1.3. The Compose Menu
280
281                 2. MIME Type configuration with mime.types
282
283                 3. MIME Viewer configuration with mailcap
284
285                              3.1. The Basics of the mailcap file
286
287                              3.2. Secure use of mailcap
288
289                              3.3. Advanced mailcap Usage
290
291                              3.4. Example mailcap files
292
293                 4. MIME Autoview
294
295                 5. MIME Multipart/Alternative
296
297                 6. Attachment Searching and Counting
298
299                 7. MIME Lookup
300
301    6. Security Considerations
302
303                 1. Passwords
304
305                 2. Temporary Files
306
307                 3. Information Leaks
308
309                              3.1. Message-ID: headers
310
311                              3.2. mailto:-style links
312
313                 4. External applications
314
315                              4.1. mailcap
316
317                              4.2. Other
318
319    7. Reference
320
321                 1. Command line options
322
323                 2. Patterns
324
325                 3. Configuration Commands
326
327                 4. Configuration variables
328
329                 5. Functions
330
331                              5.1. generic
332
333                              5.2. index
334
335                              5.3. pager
336
337                              5.4. alias
338
339                              5.5. query
340
341                              5.6. attach
342
343                              5.7. compose
344
345                              5.8. postpone
346
347                              5.9. browser
348
349                              5.10. pgp
350
351                              5.11. editor
352
353                              5.12. sidebar
354
355    A. Acknowledgments
356
357    B. Hacking Documentation
358
359    Index
360
361    List of Tables
362
363    2.1. Most commonly used movement bindings
364
365    2.2. Line Editor Functions
366
367    2.3. Most commonly used Index Bindings
368
369    2.4. Most commonly used Pager Bindings
370
371    2.5. ANSI Escape Sequences
372
373    2.6. ANSI Colors
374
375    2.7. Most commonly used thread-related bindings
376
377    2.8. Most commonly used Mail Composition Bindings
378
379    2.9. Most commonly used Compose Menu Bindings
380
381    2.10. PGP Key Menu Flags
382
383    3.1. Alternative Key Names
384
385    7.1. Reference: Command Line Options
386
387    7.2. Reference: Patterns
388
389    7.3. Reference: Obsolete Variables
390
391    7.4. Reference: Default Generic Function Bindings
392
393    7.5. Reference: Default Index Function Bindings
394
395    7.6. Reference: Default Pager Function Bindings
396
397    7.7. Reference: Default Alias Menu Function Bindings
398
399    7.8. Reference: Default Query Menu Function Bindings
400
401    7.9. Reference: Default Attachment Menu Function Bindings
402
403    7.10. Reference: Default Compose Menu Function Bindings
404
405    7.11. Reference: Default Postpone Menu Function Bindings
406
407    7.12. Reference: Default Browser Menu Function Bindings
408
409    7.13. Reference: Default PGP Menu Function Bindings
410
411    7.14. Reference: Default Editor Function Bindings
412
413    7.15. Referene: Default Sidebar Function Bindings
414
415 Chapter 1. Introduction
416
417    Table of Contents
418
419    1. Overview
420
421    2. Mutt-ng Home Page
422
423    3. Mailing Lists
424
425    4. Software Distribution Sites
426
427    5. IRC
428
429    6. Weblog
430
431    7. Copyright
432
433    8. Manual Conventions
434
435 1. Overview
436
437    Mutt-ng is a small but very powerful text-based MIME mail client. Mutt-ng
438    is highly configurable, and is well suited to the mail power user with
439    advanced features like key bindings, keyboard macros, mail threading,
440    regular expression searches and a powerful pattern matching language for
441    selecting groups of messages.
442
443    This documentation additionally contains documentation to Mutt-NG ,a fork
444    from Mutt with the goal to fix all the little annoyances of Mutt, to
445    integrate all the Mutt patches that are floating around in the web, and to
446    add other new features. Features specific to Mutt-ng will be discussed in
447    an extra section. Don't be confused when most of the documentation talk
448    about Mutt and not Mutt-ng, Mutt-ng contains all Mutt features, plus many
449    more.
450
451 2. Mutt-ng Home Page
452
453    <http://www.muttng.org/>
454
455 3. Mailing Lists
456
457      o <mutt-ng-users@lists.berlios.de>: This is where the mutt-ng user
458        support happens.
459
460      o <mutt-ng-devel@lists.berlios.de>: The development mailing list for
461        mutt-ng
462
463 4. Software Distribution Sites
464
465    So far, there are no official releases of Mutt-ng, but you can download
466    daily snapshots from <http://mutt-ng.berlios.de/snapshots/>
467
468 5. IRC
469
470    Visit channel #muttng on irc.freenode.net (www.freenode.net) to chat with
471    other people interested in Mutt-ng.
472
473 6. Weblog
474
475    If you want to read fresh news about the latest development in Mutt-ng,
476    and get informed about stuff like interesting, Mutt-ng-related articles
477    and packages for your favorite distribution, you can read and/or subscribe
478    to our Mutt-ng development weblog.
479
480 7. Copyright
481
482    Mutt is Copyright (C) 1996-2000 Michael R. Elkins <me@cs.hmc.edu> and
483    others
484
485    This program is free software; you can redistribute it and/or modify it
486    under the terms of the GNU General Public License as published by the Free
487    Software Foundation; either version 2 of the License, or (at your option)
488    any later version.
489
490    This program is distributed in the hope that it will be useful, but
491    WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
492    or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
493    for more details.
494
495    You should have received a copy of the GNU General Public License along
496    with this program; if not, write to the Free Software Foundation, Inc., 51
497    Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
498
499 8. Manual Conventions
500
501    This manual contains several (hopefully consistent) conventions to
502    specially layout different items in different fashions.
503
504      o Configuration and environment variables will be printed in a
505        typewriter font and both prefixed with a dollar sign as it's common
506        for UNIX-like environments. Configuration variables are lower-case
507        only while environment variables are upper-case only. $imap_mail_check
508        is a configuration variable while $EDITOR is an environment variable.
509
510      o Muttng-specific functions are enclosed in <> and printed in a
511        typewriter font, too, as in <sync-mailbox>.
512
513      o As common for UNIX-like environments, references to manual pages are
514        printed with the section enclosed in braces, as in vi(1) or
515        muttngrc(5). Execute man [section] [name] to view the manual page.
516
517      o Keys are presented in the following way: ordinary keys are just given
518        as-is, e.g. q. Control characters are prefixed with C- (e.g. the
519        screen can be redraw by pressing C-L) and E- for Escape, e.g. a folder
520        can be opened read-only with E-c.
521
522    If, while reading this fine manual, you find any inconsistencies of
523    whatever kind, please contact the developers via
524    <mutt-ng-devel@lists.berlios.de> to report it.
525
526 Chapter 2. Getting Started
527
528    Table of Contents
529
530    1. Basic Concepts
531
532                 1.1. Screens and Menus
533
534                 1.2. Configuration
535
536                 1.3. Functions
537
538                 1.4. Interaction
539
540                 1.5. Modularization
541
542                 1.6. Patterns
543
544    2. Screens and Menus
545
546                 2.1. Index
547
548                 2.2. Pager
549
550                 2.3. File Browser
551
552                 2.4. Sidebar
553
554                 2.5. Help
555
556                 2.6. Compose Menu
557
558                 2.7. Alias Menu
559
560                 2.8. Attachment Menu
561
562                 2.9. Key Menu
563
564    3. Moving Around in Menus
565
566    4. Editing Input Fields
567
568    5. Reading Mail - The Index and Pager
569
570                 5.1. The Message Index
571
572                 5.2. The Pager
573
574                 5.3. Threaded Mode
575
576                 5.4. Miscellaneous Functions
577
578    6. Sending Mail
579
580                 6.1. Composing new messages
581
582                 6.2. Replying
583
584                 6.3. Editing the message header
585
586                 6.4. Using Mutt-ng with PGP
587
588                 6.5. Sending anonymous messages via mixmaster
589
590    7. Forwarding and Bouncing Mail
591
592    8. Postponing Mail
593
594 1. Basic Concepts
595
596   1.1. Screens and Menus
597
598    mutt-ng offers different screens of which every has its special purpose:
599
600      o The index displays the contents of the currently opened mailbox.
601
602      o The pager is responsible for displaying messages, that is, the header,
603        the body and all attached parts.
604
605      o The file browser offers operations on and displays information of all
606        folders mutt-ng should watch for mail.
607
608      o The sidebar offers a permanent view of which mailboxes contain how
609        many total, new and/or flagged mails.
610
611      o The help screen lists for all currently available commands how to
612        invoke them as well as a short description.
613
614      o The compose menu is a comfortable interface take last actions before
615        sending mail: change subjects, attach files, remove attachements, etc.
616
617      o The attachement menu gives a summary and the tree structure of the
618        attachements of the current message.
619
620      o The alias menu lists all or a fraction of the aliases a user has
621        defined.
622
623      o The key menu used in connection with encryption lets users choose the
624        right key to encrypt with.
625
626    When mutt-ng is started without any further options, it'll open the users
627    default mailbox and display the index.
628
629   1.2. Configuration
630
631    Mutt-ng does not feature an internal configuration interface or menu due
632    to the simple fact that this would be too complex to handle (currently
633    there are several hundred variables which fine-tune the behaviour.)
634
635    Mutt-ng is configured using configuration files which allow users to add
636    comments or manage them via version control systems to ease maintenance.
637
638    Also, mutt-ng comes with a shell script named grml-muttng kindly
639    contributed by users which really helps and eases the creation of a user's
640    configuration file. When downloading the source code via a snapshot or via
641    subversion, it can be found in the contrib directory.
642
643   1.3. Functions
644
645    Mutt-ng offers great flexibility due to the use of functions: internally,
646    every action a user can make mutt-ng perform is named ``function.'' Those
647    functions are assigned to keys (or even key sequences) and may be
648    completely adjusted to user's needs. The basic idea is that the impatient
649    users get a very intuitive interface to start off with and advanced users
650    virtually get no limits to adjustments.
651
652   1.4. Interaction
653
654    Mutt-ng has two basic concepts of user interaction:
655
656     1. There is one dedicated line on the screen used to query the user for
657        input, issue any command, query variables and display error and
658        informational messages. As for every type of user input, this requires
659        manual action leading to the need of input.
660
661     2. The automatized interface for interaction are the so called hooks.
662        Hooks specify actions the user wants to be performed at well-defined
663        situations: what to do when entering which folder, what to do when
664        displaying or replying to what kind of message, etc. These are
665        optional, i.e. a user doesn't need to specify them but can do so.
666
667   1.5. Modularization
668
669    Although mutt-ng has many functionality built-in, many features can be
670    delegated to external tools to increase flexibility: users can define
671    programs to filter a message through before displaying, users can use any
672    program they want for displaying a message, message types (such as PDF or
673    PostScript) for which mutt-ng doesn't have a built-in filter can be
674    rendered by arbitrary tools and so forth. Although mutt-ng has an alias
675    mechanism built-in, it features using external tools to query for nearly
676    every type of addresses from sources like LDAP, databases or just the list
677    of locally known users.
678
679   1.6. Patterns
680
681    Mutt-ng has a built-in pattern matching ``language'' which is as widely
682    used as possible to present a consistent interface to users. The same
683    ``pattern terms'' can be used for searching, scoring, message selection
684    and much more.
685
686 2. Screens and Menus
687
688   2.1. Index
689
690    The index is the screen that you usually see first when you start mutt-ng.
691    It gives an overview over your emails in the currently opened mailbox. By
692    default, this is your system mailbox. The information you see in the index
693    is a list of emails, each with its number on the left, its flags (new
694    email, important email, email that has been forwarded or replied to,
695    tagged email, ...), the date when email was sent, its sender, the email
696    size, and the subject. Additionally, the index also shows thread
697    hierarchies: when you reply to an email, and the other person replies
698    back, you can see the other's person email in a "sub-tree" below. This is
699    especially useful for personal email between a group of people or when
700    you've subscribed to mailing lists.
701
702   2.2. Pager
703
704    The pager is responsible for showing the email content. On the top of the
705    pager you have an overview over the most important email headers like the
706    sender, the recipient, the subject, and much more information. How much
707    information you actually see depends on your configuration, which we'll
708    describe below.
709
710    Below the headers, you see the email body which usually contains the
711    message. If the email contains any attachments, you will see more
712    information about them below the email body, or, if the attachments are
713    text files, you can view them directly in the pager.
714
715    To give the user a good overview, it is possible to configure mutt-ng to
716    show different things in the pager with different colors. Virtually
717    everything that can be described with a regular expression can be colored,
718    e.g. URLs, email addresses or smileys.
719
720   2.3. File Browser
721
722    The file browser is the interface to the local or remote file system. When
723    selecting a mailbox to open, the browser allows custom sorting of items,
724    limiting the items shown by a regular expression and a freely adjustable
725    format of what to display in which way. It also allows for easy navigation
726    through the file system when selecting file(s) to attach to a message,
727    select multiple files to attach and many more.
728
729   2.4. Sidebar
730
731    The sidebar comes in handy to manage mails which are spread over different
732    folders. All folders users setup mutt-ng to watch for new mail will be
733    listed. The listing includes not only the name but also the number of
734    total messages, the number of new and flagged messages. Items with new
735    mail may be colored different from those with flagged mail, items may be
736    shortened or compress if they're they to long to be printed in full form
737    so that by abbreviated names, user still now what the name stands for.
738
739   2.5. Help
740
741    The help screen is meant to offer a quick help to the user. It lists the
742    current configuration of key bindings and their associated commands
743    including a short description, and currently unbound functions that still
744    need to be associated with a key binding (or alternatively, they can be
745    called via the mutt-ng command prompt).
746
747   2.6. Compose Menu
748
749    The compose menu features a split screen containing the information which
750    really matter before actually sending a message by mail or posting an
751    article to a newsgroup: who gets the message as what (recipient,
752    newsgroup, who gets what kind of copy). Additionally, users may set
753    security options like deciding whether to sign, encrypt or sign and
754    encrypt a message with/for what keys.
755
756    Also, it's used to attach messages, news articles or files to a message,
757    to re-edit any attachment including the message itself.
758
759   2.7. Alias Menu
760
761    The alias menu is used to help users finding the recipients of messages.
762    For users who need to contact many people, there's no need to remember
763    addresses or names completely because it allows for searching, too. The
764    alias mechanism and thus the alias menu also features grouping several
765    addresses by a shorter nickname, the actual alias, so that users don't
766    have to select each single recipient manually.
767
768   2.8. Attachment Menu
769
770    As will be later discussed in detail, mutt-ng features a good and stable
771    MIME implementation, that is, is greatly supports sending and receiving
772    messages of arbitrary type. The attachment menu displays a message's
773    structure in detail: what content parts are attached to which parent part
774    (which gives a true tree structure), which type is of what type and what
775    size. Single parts may saved, deleted or modified to offer great and easy
776    access to message's internals.
777
778   2.9. Key Menu
779
780    FIXME
781
782 3. Moving Around in Menus
783
784    Information is presented in menus, very similar to ELM. Here is a
785    tableshowing the common keys used to navigate menus in Mutt-ng.
786
787    Table 2.1. Most commonly used movement bindings
788
789    Key         Function         Description
790    j or Down   <next-entry>     move to the next entry
791    k or Up     <previous-entry> move to the previous entry
792    z or PageDn <page-down>      go to the next page
793    Z or PageUp <page-up>        go to the previous page
794    = or Home   <first-entry>    jump to the first entry
795    * or End    <last-entry>     jump to the last entry
796    q           <quit>           exit the current menu
797    ?           <help>           list all key bindings for the current menu
798
799 4. Editing Input Fields
800
801    Mutt-ng has a builtin line editor which is used as the primary way to
802    input textual data such as email addresses or filenames. The keys used to
803    move around while editing are very similar to those of Emacs.
804
805    Table 2.2. Line Editor Functions
806
807    Key           Function          Description
808    C-A or Home   <bol>             move to the start of the line
809    C-B or Left   <backward-char>   move back one char
810    E-B           <backward-word>   move back one word
811    C-D or Delete <delete-char>     delete the char under the cursor
812    C-E or End    <eol>             move to the end of the line
813    C-F or Right  <forward-char>    move forward one char
814    E-F           <forward-word>    move forward one word
815    Tab           <complete>        complete filename or alias
816    C-T           <complete-query>  complete address with query
817    C-K           <kill-eol>        delete to the end of the line
818    E-d           <kill-eow>        delete to the end of the word
819    C-W           <kill-word>       kill the word in front of the cursor
820    C-U           <kill-line>       delete entire line
821    C-V           <quote-char>      quote the next typed key
822    Up            <history-up>      recall previous string from history
823    Down          <history-down>    recall next string from history
824    BackSpace     <backspace>       kill the char in front of the cursor
825    E-u           <upcase-word>     convert word to upper case
826    E-l           <downcase-word>   convert word to lower case
827    E-c           <capitalize-word> capitalize the word
828    C-G                             abort
829    Return                          finish editing
830
831    You can remap the editor functions using the bind command. For example, to
832    make the Delete key delete the character in front of the cursor rather
833    than under, you could use
834
835    bind editor <delete> backspace
836
837 5. Reading Mail - The Index and Pager
838
839    Similar to many other mail clients, there are two modes in which mail
840    isread in Mutt-ng. The first is the index of messages in the mailbox,
841    which is called the ``index'' in Mutt-ng. The second mode is the display
842    of the message contents. This is called the ``pager.''
843
844    The next few sections describe the functions provided in each of these
845    modes.
846
847   5.1. The Message Index
848
849    Table 2.3. Most commonly used Index Bindings
850
851    Key    Function Description
852    c               change to a different mailbox
853    E-c             change to a folder in read-only mode
854    C               copy the current message to another mailbox
855    E-C             decode a message and copy it to a folder
856    E-s             decode a message and save it to a folder
857    D               delete messages matching a pattern
858    d               delete the current message
859    F               mark as important
860    l               show messages matching a pattern
861    N               mark message as new
862    o               change the current sort method
863    O               reverse sort the mailbox
864    q               save changes and exit
865    s               save-message
866    T               tag messages matching a pattern
867    t               toggle the tag on a message
868    E-t             toggle tag on entire message thread
869    U               undelete messages matching a pattern
870    u               undelete-message
871    v               view-attachments
872    x               abort changes and exit
873    Return          display-message
874    Tab             jump to the next new or unread message
875    @               show the author's full e-mail address
876    $               save changes to mailbox
877    /               search
878    E-/             search-reverse
879    C-L             clear and redraw the screen
880    C-T             untag messages matching a pattern
881
882     5.1.1. Status Flags
883
884    In addition to who sent the message and the subject, a short summary of
885    the disposition of each message is printed beside the message number. Zero
886    or more of the following ``flags'' may appear, which mean:
887
888    D
889
890            message is deleted (is marked for deletion)
891
892    d
893
894            message have attachments marked for deletion
895
896    K
897
898            contains a PGP public key
899
900    N
901
902            message is new
903
904    O
905
906            message is old
907
908    P
909
910            message is PGP encrypted
911
912    r
913
914            message has been replied to
915
916    S
917
918            message is signed, and the signature is succesfully verified
919
920    s
921
922            message is signed
923
924    !
925
926            message is flagged
927
928    *
929
930            message is tagged
931
932    Some of the status flags can be turned on or off using
933
934      o set-flag (default: w)
935
936      o clear-flag (default: W)
937
938    Furthermore, the following flags reflect who the message is addressed to.
939    They can be customized with the $to_chars variable.
940
941    +
942
943            message is to you and you only
944
945    T
946
947            message is to you, but also to or cc'ed to others
948
949    C
950
951            message is cc'ed to you
952
953    F
954
955            message is from you
956
957    L
958
959            message is sent to a subscribed mailing list
960
961   5.2. The Pager
962
963    By default, Mutt-ng uses its builtin pager to display the body of
964    messages. The pager is very similar to the Unix program less though not
965    nearly as featureful.
966
967    Table 2.4. Most commonly used Pager Bindings
968
969    Key    Function Description
970    Return          go down one line
971    Space           display the next page (or next message if at the end of a
972                    message)
973    -               go back to the previous page
974    n               search for next match
975    S               skip beyond quoted text
976    T               toggle display of quoted text
977    ?               show key bindings
978    /               search for a regular expression (pattern)
979    E-/             search backwards for a regular expression
980    \               toggle search pattern coloring
981    ^               jump to the top of the message
982
983    In addition, many of the functions from the index are available in the
984    pager, such as delete-message or copy-message (this is one advantage over
985    using an external pager to view messages).
986
987    Also, the internal pager supports a couple other advanced features. For
988    one, it will accept and translate the ``standard'' nroff sequences forbold
989    and underline. These sequences are a series of either the letter,
990    backspace (C-H), the letter again for bold or the letter, backspace, _ for
991    denoting underline. Mutt-ng will attempt to display these in bold and
992    underline respectively if your terminal supports them. If not, you can use
993    the bold and underline color objects to specify a color or mono attribute
994    for them.
995
996    Additionally, the internal pager supports the ANSI escape sequences for
997    character attributes. Mutt-ng translates them into the correct color and
998    character settings. The sequences Mutt-ng supports are: ESC [
999    Ps;Ps;Ps;...;Ps m (see table below for possible values for Ps).
1000
1001    Table 2.5. ANSI Escape Sequences
1002
1003    Value Attribute
1004    0     All Attributes Off
1005    1     Bold on
1006    4     Underline on
1007    5     Blink on
1008    7     Reverse video on
1009    3x    Foreground color is x (see table below)
1010    4x    Background color is x (see table below)
1011
1012    Table 2.6. ANSI Colors
1013
1014    Number Color
1015    0      black
1016    1      red
1017    2      green
1018    3      yellow
1019    4      blue
1020    5      magenta
1021    6      cyan
1022    7      white
1023
1024    Mutt-ng uses these attributes for handling text/enriched messages, and
1025    they can also be used by an external auto_view script for highlighting
1026    purposes. Note: If you change the colors for your display, for example by
1027    changing the color associated with color2 for your xterm, then that color
1028    will be used instead of green.
1029
1030   5.3. Threaded Mode
1031
1032    When the mailbox is sorted by threads ,there are a few additional
1033    functions available in the index and pager modes.
1034
1035    Table 2.7. Most commonly used thread-related bindings
1036
1037    Key Function             Description
1038    C-D <delete-thread>      delete all messages in the current thread
1039    C-U <undelete-thread>    undelete all messages in the current thread
1040    C-N <next-thread>        jump to the start of the next thread
1041    C-P <previous-thread>    jump to the start of the previous thread
1042    C-R <read-thread>        mark the current thread as read
1043    E-d <delete-subthread>   delete all messages in the current subthread
1044    E-u <undelete-subthread> undelete all messages in the current subthread
1045    E-n <next-subthread>     jump to the start of the next subthread
1046    E-p <previous-subthread> jump to the start of the previous subthread
1047    E-r <read-subthread>     mark the current subthread as read
1048    E-t <tag-thread>         toggle the tag on the current thread
1049    E-v <collapse-thread>    toggle collapse for the current thread
1050    E-V <collapse-all>       toggle collapse for all threads
1051    P   <parent-message>     jump to parent message in thread
1052
1053    Note: Collapsing a thread displays only the first message in the thread
1054    and hides the others. This is useful when threads contain so many messages
1055    that you can only see a handful of threads onthe screen. See %M in
1056    $index_format.
1057
1058    For example, you could use %?M?(#%03M)&(%4l)? in $index_format to
1059    optionally display the number of hidden messages if the thread is
1060    collapsed.
1061
1062    See also the $strict_threads variable.
1063
1064   5.4. Miscellaneous Functions
1065
1066    <create-alias> (default: a)
1067
1068    Creates a new alias based upon the current message (or prompts for a new
1069    one). Once editing is complete, an alias command is added to the file
1070    specified by the $alias_file variable for future use. Note: Specifying an
1071    $alias_file does not add the aliases specified there-in, you must also
1072    source the file.
1073
1074    <check-traditional-pgp> (default: E-P)
1075
1076    This function will search the current message for content signed or
1077    encrypted with PGP the "traditional" way, that is, without proper MIME
1078    tagging. Technically, this function will temporarily change the MIME
1079    content types of the body parts containing PGP data; this is similar to
1080    the <edit-type> function's effect.
1081
1082    <display-toggle-weed> (default: h)
1083
1084    Toggles the weeding of message header fields specified by ignore commands.
1085
1086    <edit> (default: e)
1087
1088    This command (available in the ``index'' and ``pager'') allows you to edit
1089    the raw current message as it's present in the mail folder. After you have
1090    finished editing, the changed message will be appended to the current
1091    folder, and the original message will be marked for deletion.
1092
1093    <edit-type> (default: ) (default: C-E on the attachment menu, and in the
1094    pager and index menus; C-T on the compose menu)
1095
1096    This command is used to temporarily edit an attachment's content type to
1097    fix, for instance, bogus character set parameters. When invoked from the
1098    index or from the pager, you'll have the opportunity to edit the top-level
1099    attachment's content type. On the attach-menu, you can change any
1100    attachment's content type. These changes are not persistent, and get lost
1101    upon changing folders.
1102
1103    Note that this command is also available on the compose-menu .There, it's
1104    used to fine-tune the properties of attachments you are going to send.
1105
1106    <enter-command> (default: :)
1107
1108    This command is used to execute any command you would normally put in a
1109    configuration file. A common use is to check the settings of variables, or
1110    in conjunction with macro to change settings on the fly.
1111
1112    <extract-keys> (default: C-K)
1113
1114    This command extracts PGP public keys from the current or tagged
1115    message(s) and adds them to your PGP public key ring.
1116
1117    <forget-passphrase> (default: C-F)
1118
1119    This command wipes the passphrase(s) from memory. It is useful, if you
1120    misspelled the passphrase.
1121
1122    <list-reply> (default: L)
1123
1124    Reply to the current or tagged message(s) by extracting any addresses
1125    which match the regular expressions given by the lists commands, but also
1126    honor any Mail-Followup-To header(s) if the $honor_followup_to
1127    configuration variable is set. Using this when replying to messages posted
1128    to mailing lists helps avoid duplicate copies being sent to the author of
1129    the message you are replying to.
1130
1131    <pipe-message> (default: )
1132
1133    Asks for an external Unix command and pipes the current or tagged
1134    message(s) to it. The variables $pipe_decode, $pipe_split, $pipe_decode
1135    and $wait_key control the exact behavior of this function.
1136
1137    <resend-message> (default: E-e)
1138
1139    With resend-message, mutt takes the current message as a template for a
1140    new message. This function is best described as "recall from arbitrary
1141    folders". It can conveniently be used to forward MIME messages while
1142    preserving the original mail structure. Note that the amount of headers
1143    included here depends on the value of the $weed variable.
1144
1145    This function is also available from the attachment menu. You can use this
1146    to easily resend a message which was included with a bounce message as a
1147    message/rfc822 body part.
1148
1149    <shell-escape> (default: !)
1150
1151    Asks for an external Unix command and executes it. The $wait_key can be
1152    used to control whether Mutt-ng will wait for a key to be pressed when the
1153    command returns (presumably to let the user read the output of the
1154    command), based on the return status of the named command.
1155
1156    <toggle-quoted> (default: T)
1157
1158    The pager uses the $quote_regexp variable to detect quoted text when
1159    displaying the body of the message. This function toggles the displayof
1160    the quoted material in the message. It is particularly useful when are
1161    interested in just the response and there is a large amount of quoted text
1162    in the way.
1163
1164    <skip-quoted> (default: S)
1165
1166    This function will go to the next line of non-quoted text which come after
1167    a line of quoted text in the internal pager.
1168
1169 6. Sending Mail
1170
1171    The following bindings are available in the index for sending messages.
1172
1173    Table 2.8. Most commonly used Mail Composition Bindings
1174
1175    Key Function      Description
1176    m   <compose>     compose a new message
1177    r   <reply>       reply to sender
1178    g   <group-reply> reply to all recipients
1179    L   <list-reply>  reply to mailing list address
1180    f   <forward>     forward message
1181    b   <bounce>      bounce (remail) message
1182    E-k <mail-key>    mail a PGP public key to someone
1183
1184    Bouncing a message sends the message as is to the recipient you specify.
1185    Forwarding a message allows you to add comments or modify the message you
1186    are forwarding. These items are discussed in greater detail in the next
1187    chapter forwarding-mail.
1188
1189   6.1. Composing new messages
1190
1191    When you want to send an email using mutt-ng, simply press m on your
1192    keyboard. Then, mutt-ng asks for the recipient via a prompt in the last
1193    line:
1194
1195  To:
1196
1197    After you've finished entering the recipient(s), press return. If you want
1198    to send an email to more than one recipient, separate the email addresses
1199    using the comma ",". Mutt-ng then asks you for the email subject. Again,
1200    press return after you've entered it. After that, mutt-ng got the most
1201    important information from you, and starts up an editor where you can then
1202    enter your email.
1203
1204    The editor that is called is selected in the following way: you can e.g.
1205    set it in the mutt-ng configuration:
1206
1207  set editor = "vim +/^$/ -c ':set tw=72'"
1208  set editor = "nano"
1209  set editor = "emacs"
1210
1211    If you don't set your preferred editor in your configuration, mutt-ng
1212    first looks whether the environment variable $VISUAL is set, and if so, it
1213    takes its value as editor command. Otherwise, it has a look at $EDITOR and
1214    takes its value if it is set. If no editor command can be found, mutt-ng
1215    simply assumes vi(1) to be the default editor, since it's the most
1216    widespread editor in the Unix world and it's pretty safe to assume that it
1217    is installed and available.
1218
1219    When you've finished entering your message, save it and quit your editor.
1220    Mutt-ng will then present you with a summary screen, the compose menu. On
1221    the top, you see a summary of the most important available key commands.
1222    Below that, you see the sender, the recipient(s), Cc and/or Bcc
1223    recipient(s), the subject, the reply-to address, and optionally
1224    information where the sent email will be stored and whether it should be
1225    digitally signed and/or encrypted.
1226
1227    Below that, you see a list of "attachments". The mail you've just entered
1228    before is also an attachment, but due to its special type (it's plain
1229    text), it will be displayed as the normal message on the receiver's side.
1230
1231    At this point, you can add more attachments, pressing a, you can edit the
1232    recipient addresses, pressing t for the "To:" field, c for the "Cc:"
1233    field, and b for the "Bcc: field. You can also edit the subject the
1234    subject by simply pressing s or the email message that you've entered
1235    before by pressing e. You will then again return to the editor. You can
1236    even edit the sender, by pressing <esc>f, but this shall only be used with
1237    caution.
1238
1239    Alternatively, you can configure mutt-ng in a way that most of the above
1240    settings can be edited using the editor. Therefore, you only need to add
1241    the following to your configuration:
1242
1243  set edit_headers
1244
1245    Once you have finished editing the body of your mail message, you are
1246    returned to the compose menu. The following options are available:
1247
1248    Table 2.9. Most commonly used Compose Menu Bindings
1249
1250    Key Function            Description
1251    a   <attach-file>       attach a file
1252    A   <attach-message>    attach message(s) to the message
1253    E-k <attach-key>        attach a PGP public key
1254    d   <edit-description>  edit description on attachment
1255    D   <detach-file>       detach a file
1256    t   <edit-to>           edit the To field
1257    E-f <edit-from>         edit the From field
1258    r   <edit-reply-to>     edit the Reply-To field
1259    c   <edit-cc>           edit the Cc field
1260    b   <edit-bcc>          edit the Bcc field
1261    y   <send-message>      send the message
1262    s   <edit-subject>      edit the Subject
1263    S   <smime-menu>        select S/MIME options
1264    f   <edit-fcc>          specify an ``Fcc'' mailbox
1265    p   <pgp-menu>          select PGP options
1266    P   <postpone-message>  postpone this message until later
1267    q   <quit>              quit (abort) sending the message
1268    w   <write-fcc>         write the message to a folder
1269    i   <ispell>            check spelling (if available on your system)
1270    C-F <forget-passphrase> wipe passphrase(s) from memory
1271
1272    Note: The attach-message function will prompt you for a folder to attach
1273    messages from. You can now tag messages in that folder and theywill be
1274    attached to the message you are sending. Note that certainoperations like
1275    composing a new mail, replying, forwarding, etc. are not permitted when
1276    you are in that folder. The %r in $status_format will change to a 'A' to
1277    indicate that you are in attach-message mode.
1278
1279   6.2. Replying
1280
1281     6.2.1. Simple Replies
1282
1283    When you want to reply to an email message, select it in the index menu
1284    and then press r. Mutt-ng's behaviour is then similar to the behaviour
1285    when you compose a message: first, you will be asked for the recipient,
1286    then for the subject, and then, mutt-ng will start the editor with the
1287    quote attribution and the quoted message. This can e.g. look like the
1288    example below.
1289
1290  On Mon, Mar 07, 2005 at 05:02:12PM +0100, Michael Svensson wrote:
1291  > Bill, can you please send last month's progress report to Mr.
1292  > Morgan? We also urgently need the cost estimation for the new
1293  > production server that we want to set up before our customer's
1294  > project will go live.
1295
1296    You can start editing the email message. It is strongly recommended to put
1297    your answer below the quoted text and to only quote what is really
1298    necessary and that you refer to. Putting your answer on top of the quoted
1299    message, is, although very widespread, very often not considered to be a
1300    polite way to answer emails.
1301
1302    The quote attribution is configurable, by default it is set to
1303
1304  set attribution = "On %d, %n wrote:"
1305
1306    It can also be set to something more compact, e.g.
1307
1308  set attribution = "attribution="* %n <%a> [%(%y-%m-%d %H:%M)]:"
1309
1310    The example above results in the following attribution:
1311
1312  * Michael Svensson <svensson@foobar.com> [05-03-06 17:02]:
1313  > Bill, can you please send last month's progress report to Mr.
1314  > Morgan? We also urgently need the cost estimation for the new
1315  > production server that we want to set up before our customer's
1316  > project will go live.
1317
1318    Generally, try to keep your attribution short yet information-rich. It is
1319    not the right place for witty quotes, long "attribution" novels or
1320    anything like that: the right place for such things is - if at all - the
1321    email signature at the very bottom of the message.
1322
1323    When you're done with writing your message, save and quit the editor. As
1324    before, you will return to the compose menu, which is used in the same way
1325    as before.
1326
1327     6.2.2. Group Replies
1328
1329    In the situation where a group of people uses email as a discussion, most
1330    of the emails will have one or more recipients, and probably several "Cc:"
1331    recipients. The group reply functionalityensures that when you press g
1332    instead of r to do a reply, each and every recipient that is contained in
1333    the original message will receive a copy of the message, either as normal
1334    recipient or as "Cc:" recipient.
1335
1336     6.2.3. List Replies
1337
1338    When you use mailing lists, it's generally better to send your reply to a
1339    message only to the list instead of the list and the original author. To
1340    make this easy to use, mutt-ng features list replies.
1341
1342    To do a list reply, simply press L. If the email contains a
1343    Mail-Followup-To: header, its value will be used as reply address.
1344    Otherwise, mutt-ng searches through all mail addresses in the original
1345    message and tries to match them a list of regular expressions which can be
1346    specified using the lists command. If any of the regular expression
1347    matches, a mailing list address has been found, and it will be used as
1348    reply address.
1349
1350  lists linuxevent@luga\.at vuln-dev@ mutt-ng-users@
1351
1352    Nowadays, most mailing list software like GNU Mailman adds a
1353    Mail-Followup-To: header to their emails anyway, so setting lists is
1354    hardly ever necessary in practice.
1355
1356   6.3. Editing the message header
1357
1358    When editing the header of your outgoing message, there are a couple of
1359    special features available.
1360
1361    If you specify Fcc:filename Mutt-ng will pick up filename just as if you
1362    had used the edit-fcc function in the compose menu.
1363
1364    You can also attach files to your message by specifying
1365
1366  Attach: filename [description]
1367
1368    where filename is the file to attach and description is an optional string
1369    to use as the description of the attached file.
1370
1371    When replying to messages, if you remove the In-Reply-To: field from the
1372    header field, Mutt-ng will not generate a References: field, which allows
1373    you to create a new message thread.
1374
1375    Also see the $edit_headers and $editor_headers variables
1376
1377   6.4. Using Mutt-ng with PGP
1378
1379    If you want to use PGP, you can specify
1380
1381  Pgp: [E | S | S id]
1382
1383    ``E'' encrypts, ``S'' signs and ``S<id>'' signs with the given key,
1384    setting $pgp_sign_as permanently.
1385
1386    If you have told mutt to PGP encrypt a message, it will guide you through
1387    a key selection process when you try to send the message. Mutt-ng will not
1388    ask you any questions about keys which have a certified user ID matching
1389    one of the message recipients' mail addresses. However, there may be
1390    situations in which there are several keys, weakly certified user ID
1391    fields, or where no matching keys can be found.
1392
1393    In these cases, you are dropped into a menu with a list of keys from which
1394    you can select one. When you quit this menu, or mutt can't find any
1395    matching keys, you are prompted for a user ID. You can, as usually, abort
1396    this prompt using C-G. When you do so, mutt will return to the compose
1397    screen.
1398
1399    Once you have successfully finished the key selection, the message will be
1400    encrypted using the selected public keys, and sent out.
1401
1402    Most fields of the entries in the key selection menu (see also
1403    $pgp_entry_format) have obvious meanings. But some explanations on the
1404    capabilities, flags, and validity fields are in order.
1405
1406    The flags sequence (%f) will expand to one of the following flags:
1407
1408    Table 2.10. PGP Key Menu Flags
1409
1410    Flag Description
1411    R    The key has been revoked and can't be used.
1412    X    The key is expired and can't be used.
1413    d    You have marked the key as disabled.
1414    c    There are unknown critical self-signature packets.
1415
1416    The capabilities field (%c) expands to a two-character
1417    sequencerepresenting a key's capabilities. The first character gives the
1418    key's encryption capabilities: A minus sign (- )means that the key cannot
1419    be used for encryption. A dot (. )means that it's marked as a signature
1420    key in one of the user IDs, but may also be used for encryption. The
1421    letter e indicates that this key can be used for encryption.
1422
1423    The second character indicates the key's signing capabilities. Once again,
1424    a ``-'' implies ``not for signing'', ``.'' implies that the key is marked
1425    as an encryption key in one of the user-ids, and ``s'' denotes a key which
1426    can be used for signing.
1427
1428    Finally, the validity field (%t) indicates how well-certified a user-id
1429    is. A question mark (?) indicates undefined validity, a minus character
1430    (-) marks an untrusted association, a space character means a partially
1431    trusted association, and a plus character (+ ) indicates complete
1432    validity.
1433
1434   6.5. Sending anonymous messages via mixmaster
1435
1436    You may also have configured mutt to co-operate with Mixmaster, an
1437    anonymous remailer. Mixmaster permits you to send your messages
1438    anonymously using a chain of remailers. Mixmaster support in mutt is for
1439    mixmaster version 2.04 (beta 45 appears to be the latest) and 2.03. It
1440    does not support earlier versions or the later so-called version 3 betas,
1441    of which the latest appears to be called 2.9b23.
1442
1443    To use it, you'll have to obey certain restrictions. Most important, you
1444    cannot use the Cc and Bcc headers. To tell Mutt-ng to use mixmaster, you
1445    have to select a remailer chain, using the mix function on the compose
1446    menu.
1447
1448    The chain selection screen is divided into two parts. In the (larger)
1449    upper part, you get a list of remailers you may use. In the lower part,
1450    you see the currently selected chain of remailers.
1451
1452    You can navigate in the chain using the chain-prev and chain-next
1453    functions, which are by default bound to the left and right arrows and to
1454    the h and l keys (think vi keyboard bindings). To insert a remailer at the
1455    current chain position, use the insert function. To append a remailer
1456    behind the current chain position, use select-entry or append . You can
1457    also delete entries from the chain, using the corresponding function.
1458    Finally, to abandon your changes, leave the menu, or accept them pressing
1459    (by default) the Return key.
1460
1461    Note that different remailers do have different capabilities, indicated in
1462    the %c entry of the remailer menu lines (see $mix_entry_format). Most
1463    important is the ``middleman'' capability, indicated by a capital ``M'':
1464    This means that the remailer in question cannot be used as the final
1465    element of a chain, but will only forward messages to other mixmaster
1466    remailers. For details on the other capabilities, please have a look at
1467    the mixmaster documentation.
1468
1469 7. Forwarding and Bouncing Mail
1470
1471    Often, it is necessary to forward mails to other people. Therefore,
1472    mutt-ng supports forwarding messages in two different ways.
1473
1474    The first one is regular forwarding, as you probably know it from other
1475    mail clients. You simply press f, enter the recipient email address, the
1476    subject of the forwarded email, and then you can edit the message to be
1477    forwarded in the editor. The forwarded message is separated from the rest
1478    of the message via the two following markers:
1479
1480  ----- Forwarded message from Lucas User <luser@example.com> -----
1481
1482  From: Lucas User <luser@example.com>
1483  Date: Thu, 02 Dec 2004 03:08:34 +0100
1484  To: Michael Random <mrandom@example.com>
1485  Subject: Re: blackmail
1486
1487  Pay me EUR 50,000.- cash or your favorite stuffed animal will die
1488  a horrible death.
1489
1490  ----- End forwarded message -----
1491
1492    When you're done with editing the mail, save and quit the editor, and you
1493    will return to the compose menu, the same menu you also encounter when
1494    composing or replying to mails.
1495
1496    The second mode of forwarding emails with mutt-ng is the so-called
1497    bouncing: when you bounce an email to another address, it will be sent in
1498    practically the same format you send it (except for headers that are
1499    created during transporting the message). To bounce a message, press b and
1500    enter the recipient email address. By default, you are then asked whether
1501    you really want to bounce the message to the specified recipient. If you
1502    answer with yes, the message will then be bounced.
1503
1504    To the recipient, the bounced email will look as if he got it like a
1505    regular email where he was Bcc: recipient. The only possibility to find
1506    out whether it was a bounced email is to carefully study the email headers
1507    and to find out which host really sent the email.
1508
1509 8. Postponing Mail
1510
1511    At times it is desirable to delay sending a message that you have already
1512    begun to compose. When the postpone-message function is used in the
1513    compose menu, the body of your message and attachments are stored in the
1514    mailbox specified by the $postponed variable. This means that you can
1515    recall the message even if you exit Mutt-ng and then restart it at a later
1516    time.
1517
1518    Once a message is postponed, there are several ways to resume it. From the
1519    command line you can use the ``-p'' option, or if you compose a new
1520    message from the index or pager you will be prompted if postponed messages
1521    exist. If multiple messages are currently postponed, the postponed menu
1522    will pop up and you can select which message you would like to resume.
1523
1524    Note: If you postpone a reply to a message, the reply setting of the
1525    message is only updated when you actually finish the message and send it.
1526    Also, you must be in the same folder with the message you replied to for
1527    the status of the message to be updated.
1528
1529    See also the $postpone quad-option.
1530
1531 Chapter 3. Configuration
1532
1533    Table of Contents
1534
1535    1. Locations of Configuration Files
1536
1537    2. Basic Syntax of Initialization Files
1538
1539    3. Expansion within variables
1540
1541                 3.1. Commands' Output
1542
1543                 3.2. Environment Variables
1544
1545                 3.3. Configuration Variables
1546
1547                 3.4. Self-Defined Variables
1548
1549                 3.5. Pre-Defined Variables
1550
1551                 3.6. Type Conversions
1552
1553    4. Defining/Using aliases
1554
1555    5. Changing the default key bindings
1556
1557    6. Defining aliases for character sets
1558
1559    7. Setting variables based upon mailbox
1560
1561    8. Keyboard macros
1562
1563    9. Using color and mono video attributes
1564
1565    10. Ignoring (weeding) unwanted message headers
1566
1567    11. Alternative addresses
1568
1569    12. Format = Flowed
1570
1571                 12.1. Introduction
1572
1573                 12.2. Receiving: Display Setup
1574
1575                 12.3. Sending
1576
1577                 12.4. Additional Notes
1578
1579    13. Mailing lists
1580
1581    14. Using Multiple spool mailboxes
1582
1583    15. Defining mailboxes which receive mail
1584
1585    16. User defined headers
1586
1587    17. Defining the order of headers when viewing messages
1588
1589    18. Specify default save filename
1590
1591    19. Specify default Fcc: mailbox when composing
1592
1593    20. Specify default save filename and default Fcc: mailbox at once
1594
1595    21. Change settings based upon message recipients
1596
1597    22. Change settings before formatting a message
1598
1599    23. Choosing the cryptographic key of the recipient
1600
1601    24. Adding key sequences to the keyboard buffer
1602
1603    25. Executing functions
1604
1605    26. Message Scoring
1606
1607    27. Spam detection
1608
1609    28. Setting variables
1610
1611    29. Reading initialization commands from another file
1612
1613    30. Removing hooks
1614
1615    31. Sharing Setups
1616
1617                 31.1. Character Sets
1618
1619                 31.2. Modularization
1620
1621                 31.3. Conditional parts
1622
1623    32. Obsolete Variables
1624
1625 1. Locations of Configuration Files
1626
1627    While the default configuration (or ``preferences'') make Mutt-ng usable
1628    right out of the box, it is often desirable to tailor Mutt-ng to suit your
1629    own tastes. When Mutt-ng is first invoked, it will attempt to read the
1630    ``system'' configuration file (defaults set by your local system
1631    administrator), unless the ``-n'' commandline option is specified. This
1632    file is typically /usr/local/share/muttng/Muttngrc or /etc/Muttngrc ,
1633    Mutt-ng users will find this file in /usr/local/share/muttng/Muttrc or
1634    /etc/Muttngrc. Mutt will next look for a file named .muttrc in your home
1635    directory, Mutt-ng will look for .muttngrc. If this file does not exist
1636    and your home directory has a subdirectory named .mutt , mutt try to load
1637    a file named .muttng/muttngrc.
1638
1639    .muttrc (or .muttngrc for Mutt-ng) is the file where you will usually
1640    place your commands to configure Mutt-ng.
1641
1642 2. Basic Syntax of Initialization Files
1643
1644    An initialization file consists of a series of commands. Each line of the
1645    file may contain one or more commands. When multiple commands are used,
1646    they must be separated by a semicolon (;).
1647
1648  set realname='Mutt-ng user' ; ignore x-
1649
1650    The hash mark, or pound sign (``#''), is used as a ``comment'' character.
1651    You can use it to annotate your initialization file. All text after the
1652    comment character to the end of the line is ignored. For example,
1653
1654  my_hdr X-Disclaimer: Why are you listening to me? # This is a comment
1655
1656    Single quotes (') and double quotes (") can be used to quote strings which
1657    contain spaces or other special characters. The difference between the two
1658    types of quotes is similar to that of many popular shell programs, namely
1659    that a single quote is used to specify a literal string (one that is not
1660    interpreted for shell variables or quoting with a backslash (see next
1661    paragraph), while double quotes indicate a string for which should be
1662    evaluated. For example, backtics are evaluated inside of double quotes,
1663    but not for single quotes.
1664
1665    \ quotes the next character, just as in shells such as bash and zsh. For
1666    example, if want to put quotes ``"'' inside of a string, you can use ``\''
1667    to force the next character to be a literal instead of interpreted
1668    character.
1669
1670  set realname="Michael \"MuttDude\" Elkins"
1671
1672    ``\\'' means to insert a literal ``\'' into the line. ``\n'' and ``\r''
1673    have their usual C meanings of linefeed and carriage-return, respectively.
1674
1675    A \ at the end of a line can be used to split commands over multiple
1676    lines, provided that the split points don't appear in the middle of
1677    command names.
1678
1679    Please note that, unlike the various shells, mutt-ng interprets a ``\'' at
1680    the end of a line also in comments. This allows you to disable a command
1681    split over multiple lines with only one ``#''.
1682
1683  # folder-hook . \
1684  set realname="Michael \"MuttDude\" Elkins"
1685
1686    When testing your config files, beware the following caveat. The backslash
1687    at the end of the commented line extends the current line with the next
1688    line - then referred to as a ``continuation line''. As the first line is
1689    commented with a hash (#) all following continuation lines are also part
1690    of a comment and therefore are ignored, too. So take care of comments when
1691    continuation lines are involved within your setup files!
1692
1693    Abstract example:
1694
1695  line1\
1696  line2a # line2b\
1697  line3\
1698  line4
1699  line5
1700
1701    line1 ``continues'' until line4. however, the part after the # is a
1702    comment which includes line3 and line4. line5 is a new line of its own and
1703    thus is interpreted again.
1704
1705    The commands understood by mutt are explained in the next paragraphs. For
1706    a complete list, see the commands.
1707
1708 3. Expansion within variables
1709
1710    Besides just assign static content to variables, there's plenty of ways of
1711    adding external and more or less dynamic content.
1712
1713   3.1. Commands' Output
1714
1715    It is possible to substitute the output of a Unix command in an
1716    initialization file. This is accomplished by enclosing the command in
1717    backquotes (``) as in, for example:
1718
1719  my_hdr X-Operating-System: `uname -a`
1720
1721    The output of the Unix command ``uname -a'' will be substituted before the
1722    line is parsed. Note that since initialization files are line oriented,
1723    only the first line of output from the Unix command will be substituted.
1724
1725   3.2. Environment Variables
1726
1727    UNIX environments can be accessed like the way it is done in shells like
1728    sh and bash: Prepend the name of the environment by a ``$'' sign. For
1729    example,
1730
1731  set record=+sent_on_$HOSTNAME
1732
1733    sets the $record variable to the string +sent_on_ and appends the value of
1734    the evironment variable $HOSTNAME.
1735
1736    Note: There will be no warning if an environment variable is not defined.
1737    The result will of the expansion will then be empty.
1738
1739   3.3. Configuration Variables
1740
1741    As for environment variables, the values of all configuration variables as
1742    string can be used in the same way, too. For example,
1743
1744  set imap_home_namespace = $folder
1745
1746    would set the value of $imap_home_namespace to the value to which $folder
1747    is currently set to.
1748
1749    Note: There're no logical links established in such cases so that the the
1750    value for $imap_home_namespace won't change even if $folder gets changed.
1751
1752    Note: There will be no warning if a configuration variable is not defined
1753    or is empty. The result will of the expansion will then be empty.
1754
1755   3.4. Self-Defined Variables
1756
1757    Mutt-ng flexibly allows users to define their own variables. To avoid
1758    conflicts with the standard set and to prevent misleading error messages,
1759    there's a reserved namespace for them: all user-defined variables must be
1760    prefixed with user_ and can be used just like any ordinary configuration
1761    or environment variable.
1762
1763    For example, to view the manual, users can either define two macros like
1764    the following
1765
1766  macro generic <F1> "!less -r /path/to/manual" "Show manual"
1767  macro pager <F1> "!less -r /path/to/manual" "Show manual"
1768
1769    for generic, pager and index .The alternative is to define a custom
1770    variable like so:
1771
1772  set user_manualcmd = "!less -r /path/to_manual"
1773  macro generic <F1> "$user_manualcmd<enter>" "Show manual"
1774  macro pager <F1> "$user_manualcmd<enter>" "Show manual"
1775  macro index <F1> "$user_manualcmd<enter>" "Show manual"
1776
1777    to re-use the command sequence as in:
1778
1779  macro index <F2> "$user_manualcmd | grep '\^[ ]\\+~. '" "Show Patterns"
1780
1781    Using this feature, arbitrary sequences can be defined once and recalled
1782    and reused where necessary. More advanced scenarios could include to save
1783    a variable's value at the beginning of macro sequence and restore it at
1784    end.
1785
1786    When the variable is first defined, the first value it gets assigned is
1787    also the initial value to which it can be reset using the reset command.
1788
1789    The complete removal is done via the unset keyword.
1790
1791    After the following sequence:
1792
1793  set user_foo = 42
1794  set user_foo = 666
1795
1796    the variable $user_foo has a current value of 666 and an initial of 42.
1797    The query
1798
1799  set ?user_foo
1800
1801    will show 666. After doing the reset via
1802
1803  reset user_foo
1804
1805    a following query will give 42 as the result. After unsetting it via
1806
1807  unset user_foo
1808
1809    any query or operation (except the noted expansion within other
1810    statements) will lead to an error message.
1811
1812   3.5. Pre-Defined Variables
1813
1814    In order to allow users to share one setup over a number of different
1815    machines without having to change its contents, there's a number of
1816    pre-defined variables. These are prefixed with muttng_ and are read-only,
1817    i.e. they cannot be set, unset or reset. The reference chapter lists all
1818    available variables.
1819
1820    Please consult the local copy of your manual for their values as they may
1821    differ from different manual sources. Where the manual is installed in can
1822    be queried (already using such a variable) by running:
1823
1824  $ muttng -Q muttng_docdir
1825
1826    To extend the example for viewing the manual via self-defined variables,
1827    it can be made more readable and more portable by changing the real path
1828    in:
1829
1830  set user_manualcmd = '!less -r /path/to_manual'
1831
1832    to:
1833
1834  set user_manualcmd = "!less -r $muttng_docdir/manual.txt"
1835
1836    which works everywhere if a manual is installed.
1837
1838    Please note that by the type of quoting, muttng determines when to expand
1839    these values: when it finds double quotes, the value will be expanded
1840    during reading the setup files but when it finds single quotes, it'll
1841    expand it at runtime as needed.
1842
1843    For example, the statement
1844
1845  folder-hook . "set user_current_folder = $muttng_folder_name"
1846
1847    will be already be translated to the following when reading the startup
1848    files:
1849
1850  folder-hook . "set user_current_folder = some_folder"
1851
1852    with some_folder being the name of the first folder muttng opens. On the
1853    contrary,
1854
1855  folder-hook . 'set user_current_folder = $muttng_folder_name'
1856
1857    will be executed at runtime because of the single quotes so that
1858    user_current_folder will always have the value of the currently opened
1859    folder.
1860
1861    A more practical example is:
1862
1863  folder-hook . 'source ~/.mutt/score-$muttng_folder_name'
1864
1865    which can be used to source files containing score commands depending on
1866    the folder the user enters.
1867
1868   3.6. Type Conversions
1869
1870    A note about variable's types during conversion: internally values are
1871    stored in internal types but for any dump/query or set operation they're
1872    converted to and from string. That means that there's no need to worry
1873    about types when referencing any variable. As an example, the following
1874    can be used without harm (besides makeing muttng very likely behave
1875    strange):
1876
1877  set read_inc = 100
1878  set folder = $read_inc
1879  set read_inc = $folder
1880  set user_magic_number = 42
1881  set folder = $user_magic_number
1882
1883 4. Defining/Using aliases
1884
1885    Usage: aliaskey address [, address,...]
1886
1887    It's usually very cumbersome to remember or type out the address of
1888    someone you are communicating with. Mutt-ng allows you to create
1889    ``aliases'' which map a short string to a full address.
1890
1891    Note: if you want to create an alias for a group (by specifying more than
1892    one address), you must separate the addresses with a comma (``,'').
1893
1894    To remove an alias or aliases (``*'' means all aliases):
1895
1896    Usage: unalias[* | key ... ]
1897
1898  alias muttdude me@cs.hmc.edu (Michael Elkins)
1899  alias theguys manny, moe, jack
1900
1901    Unlike other mailers, Mutt-ng doesn't require aliases to be defined in a
1902    special file. The alias command can appear anywhere in a configuration
1903    file, as long as this file is source. Consequently, you can have multiple
1904    alias files, or you can have all aliases defined in your muttrc.
1905
1906    On the other hand, the <create-alias> function can use only one file, the
1907    one pointed to by the $alias_file variable (which is ~/.muttrc by
1908    default). This file is not special either, in the sense that Mutt-ng will
1909    happily append aliases to any file, but in order for the new aliases to
1910    take effect you need to explicitly source this file too.
1911
1912    For example:
1913
1914  source /usr/local/share/Mutt-ng.aliases
1915  source ~/.mail_aliases
1916  set alias_file=~/.mail_aliases
1917
1918    To use aliases, you merely use the alias at any place in mutt where
1919    muttprompts for addresses, such as the To: or Cc: prompt. You can also
1920    enter aliases in your editor at the appropriate headers if you have the
1921    $editor_headers variable set.
1922
1923    In addition, at the various address prompts, you can use the tab character
1924    to expand a partial alias to the full alias. If there are multiple
1925    matches, mutt will bring up a menu with the matching aliases. In order to
1926    be presented with the full list of aliases, you must hit tab with out a
1927    partial alias, such as at the beginning of the prompt or after a comma
1928    denoting multiple addresses.
1929
1930    In the alias menu, you can select as many aliases as you want with the
1931    select-entry key (default: RET), and use the exit key (default: q) to
1932    return to the address prompt.
1933
1934 5. Changing the default key bindings
1935
1936    Usage: bindmap key function
1937
1938    This command allows you to change the default key bindings (operation
1939    invoked when pressing a key).
1940
1941    map specifies in which menu the binding belongs. Multiple maps may be
1942    specified by separating them with commas (no additional whitespace
1943    isallowed). The currently defined maps are:
1944
1945    generic
1946
1947            This is not a real menu, but is used as a fallback for all of the
1948            other menus except for the pager and editor modes. If a key is not
1949            defined in another menu, Mutt-ng will look for a binding to use in
1950            this menu. This allows you to bind a key to a certain function in
1951            multiple menus instead of having multiple bind statements to
1952            accomplish the same task.
1953
1954    alias
1955
1956            The alias menu is the list of your personal aliases as defined in
1957            your muttrc. It is the mapping from a short alias name to the full
1958            email address(es) of the recipient(s).
1959
1960    attach
1961
1962            The attachment menu is used to access the attachments on received
1963            messages.
1964
1965    browser
1966
1967            The browser is used for both browsing the local directory
1968            structure, and for listing all of your incoming mailboxes.
1969
1970    editor
1971
1972            The editor is the line-based editor the user enters text data.
1973
1974    index
1975
1976            The index is the list of messages contained in a mailbox.
1977
1978    compose
1979
1980            The compose menu is the screen used when sending a new message.
1981
1982    pager
1983
1984            The pager is the mode used to display message/attachment data, and
1985            help listings.
1986
1987    pgp
1988
1989            The pgp menu is used to select the OpenPGP keys used for
1990            encrypting outgoing messages.
1991
1992    postpone
1993
1994            The postpone menu is similar to the index menu, except is used
1995            when recalling a message the user was composing, but saved until
1996            later.
1997
1998    key is the key (or key sequence) you wish to bind. To specify a control
1999    character, use the sequence \Cx, where x is the letter of the control
2000    character (for example, to specify control-A use ``\Ca''). Note that the
2001    case of x as well as \C is ignored, so that \CA, \Ca, \cA and \ca are all
2002    equivalent. An alternative form is to specify the key as a three digit
2003    octal number prefixed with a ``\'' (for example \177 is equivalent to
2004    \c?).
2005
2006    In addition, key may consist of:
2007
2008    Table 3.1. Alternative Key Names
2009
2010    Sequence    Description
2011    \t          tab
2012    <tab>       tab
2013    <backtab>   backtab / shift-tab
2014    \r          carriage return
2015    \n          newline
2016    \e          escape
2017    <esc>       escape
2018    <up>        up arrow
2019    <down>      down arrow
2020    <left>      left arrow
2021    <right>     right arrow
2022    <pageup>    Page Up
2023    <pagedown>  Page Down
2024    <backspace> Backspace
2025    <delete>    Delete
2026    <insert>    Insert
2027    <enter>     Enter
2028    <return>    Return
2029    <home>      Home
2030    <end>       End
2031    <space>     Space bar
2032    <f1>        function key 1
2033    <f10>       function key 10
2034
2035    key does not need to be enclosed in quotes unless it contains a space (``
2036    '').
2037
2038    function specifies which action to take when key is pressed. For a
2039    complete list of functions, see the functions. The special function noop
2040    unbinds the specified key sequence.
2041
2042 6. Defining aliases for character sets
2043
2044    Usage: charset-hookaliascharset
2045
2046    Usage: iconv-hookcharsetlocal-charset
2047
2048    The charset-hook command defines an alias for a character set. This is
2049    useful to properly display messages which are tagged with a character set
2050    name not known to mutt.
2051
2052    The iconv-hook command defines a system-specific name for a character set.
2053    This is helpful when your systems character conversion library insists on
2054    using strange, system-specific names for character sets.
2055
2056 7. Setting variables based upon mailbox
2057
2058    Usage: folder-hook [!]regexpcommand
2059
2060    It is often desirable to change settings based on which mailbox you are
2061    reading. The folder-hook command provides a method by which you can
2062    execute any configuration command. regexp is a regular expression
2063    specifying in which mailboxes to execute command before loading. If a
2064    mailbox matches multiple folder-hook's, they are executed in the order
2065    given in the muttrc.
2066
2067    Note: if you use the ``!'' shortcut for $spoolfile at the beginning of the
2068    pattern, you must place it inside of double or single quotes in order to
2069    distinguish it from the logical not operator for the expression.
2070
2071    Note that the settings are not restored when you leave the mailbox. For
2072    example, a command action to perform is to change the sorting methodbased
2073    upon the mailbox being read:
2074
2075  folder-hook mutt set sort=threads
2076
2077    However, the sorting method is not restored to its previous value when
2078    reading a different mailbox. To specify a default command, use the pattern
2079    ``.'':
2080
2081  folder-hook . set sort=date-sent
2082
2083 8. Keyboard macros
2084
2085    Usage: macromenu key sequence [description]
2086
2087    Macros are useful when you would like a single key to perform a series of
2088    actions. When you press key in menu menu ,Mutt-ng will behave as if you
2089    had typed sequence. So if you have a common sequence of commands you type,
2090    you can create a macro to execute those commands with a singlekey.
2091
2092    menu is the maps which the macro will be bound. Multiple maps may be
2093    specified by separating multiple menu arguments by commas. Whitespace may
2094    not be used in between the menu arguments and thecommas separating them.
2095
2096    key and sequence are expanded by the same rules as the bind. There are
2097    some additions however. The first is that control characters in sequence
2098    can also be specified as ^x. In order to get a caret (`^'') you need to
2099    specify it twice. Secondly, to specify a certain key such as up or to
2100    invoke a function directly, you can use the format <key name> and
2101    <function name> .For a listing of key names see the section on bind.
2102    Functions are listed in the functions.
2103
2104    The advantage with using function names directly is that the macros
2105    willwork regardless of the current key bindings, so they are not dependent
2106    on the user having particular key definitions. This makes them more
2107    robustand portable, and also facilitates defining of macros in files used
2108    by more than one user (eg. the system Muttngrc).
2109
2110    Optionally you can specify a descriptive text after sequence, which is
2111    shown in the help screens.
2112
2113    Note: Macro definitions (if any) listed in the help screen(s), are
2114    silently truncated at the screen width, and are not wrapped.
2115
2116 9. Using color and mono video attributes
2117
2118    Usage: colorobject foreground background [regexp]
2119
2120    Usage: colorindex foreground pattern
2121
2122    Usage: uncolorindex pattern [pattern ...]
2123
2124    If your terminal supports color, you can spice up Mutt-ng by creating your
2125    own color scheme. To define the color of an object (type of information),
2126    you must specify both a foreground color and a background color (it is not
2127    possible to only specify one or the other).
2128
2129    object can be one of:
2130
2131      o attachment
2132
2133      o body (match regexp in the body of messages)
2134
2135      o bold (highlighting bold patterns in the body of messages)
2136
2137      o error (error messages printed by Mutt-ng)
2138
2139      o header (match regexp in the message header)
2140
2141      o hdrdefault (default color of the message header in the pager)
2142
2143      o index (match pattern in the message index)
2144
2145      o indicator (arrow or bar used to indicate the current item in a menu)
2146
2147      o markers (the ``+'' markers at the beginning of wrapped lines in the
2148        pager)
2149
2150      o message (informational messages)
2151
2152      o normal
2153
2154      o quoted (text matching $quote_regexp in the body of a message)
2155
2156      o quoted1, quoted2, ..., quotedN (higher levels of quoting)
2157
2158      o search (highlighting of words in the pager)
2159
2160      o signature
2161
2162      o status (mode lines used to display info about the mailbox or message)
2163
2164      o tilde (the ``~'' used to pad blank lines in the pager)
2165
2166      o tree (thread tree drawn in the message index and attachment menu)
2167
2168      o underline (highlighting underlined patterns in the body of messages)
2169
2170    foreground and background can be one of the following:
2171
2172      o white
2173
2174      o black
2175
2176      o green
2177
2178      o magenta
2179
2180      o blue
2181
2182      o cyan
2183
2184      o yellow
2185
2186      o red
2187
2188      o default
2189
2190      o colorx
2191
2192    foreground can optionally be prefixed with the keyword bright to make the
2193    foreground color boldfaced (e.g., brightred).
2194
2195    If your terminal supports it, the special keyword default can be used as a
2196    transparent color. The value brightdefault is also valid. If Mutt-ng is
2197    linked against the S-Lang library, you also need to set the $COLORFGBG
2198    environment variable to the default colors of your terminal for this to
2199    work; for example (for Bourne-like shells):
2200
2201  set COLORFGBG="green;black"
2202  export COLORFGBG
2203
2204    Note: The S-Lang library requires you to use the lightgray and brown
2205    keywords instead of white and yellow when setting this variable.
2206
2207    Note: The uncolor command can be applied to the index object only. It
2208    removes entries from the list. You must specify the same pattern specified
2209    in the color command for it to be removed. The pattern ``*'' is a special
2210    token which means to clear the color index list of all entries.
2211
2212    Mutt-ng also recognizes the keywords color0, color1 ,..., colorN-1 (N
2213    being the number of colors supported by your terminal). This is useful
2214    when you remap the colors for your display (for example by changing the
2215    color associated with color2 for your xterm), since color names may then
2216    lose their normal meaning.
2217
2218    If your terminal does not support color, it is still possible change the
2219    video attributes through the use of the ``mono'' command:
2220
2221    Usage: monoobject attribute [regexp]
2222
2223    Usage: monoindex attribute pattern
2224
2225    Usage: unmonoindex pattern [pattern ...]
2226
2227    where attribute is one of the following:
2228
2229      o none
2230
2231      o bold
2232
2233      o underline
2234
2235      o reverse
2236
2237      o standout
2238
2239 10. Ignoring (weeding) unwanted message headers
2240
2241    Usage: ignorepattern [pattern ...]
2242
2243    Usage: unignorepattern [pattern ...]
2244
2245    Messages often have many header fields added by automatic processing
2246    systems, or which may not seem useful to display on the screen. This
2247    command allows you to specify header fields which you don't normally want
2248    to see.
2249
2250    You do not need to specify the full header field name. For example,
2251    ``ignore content-'' will ignore all header fields that begin with the
2252    pattern ``content-''. ``ignore *'' will ignore all headers.
2253
2254    To remove a previously added token from the list, use the ``unignore''
2255    command. The ``unignore'' command will make Mutt-ng display headers with
2256    the given pattern. For example, if you do ``ignore x-'' it is possible to
2257    ``unignore x-mailer''.
2258
2259    ``unignore *'' will remove all tokens from the ignore list.
2260
2261    For example:
2262
2263  # Sven's draconian header weeding
2264  ignore *
2265  unignore from date subject to cc
2266  unignore organization organisation x-mailer: x-newsreader: x-mailing-list:
2267  unignore posted-to:
2268
2269 11. Alternative addresses
2270
2271    Usage: alternatesregexp [regexp ...]
2272
2273    Usage: unalternatesregexp [regexp ...]
2274
2275    With various functions, mutt will treat messages differently, depending on
2276    whether you sent them or whether you received them from someone else. For
2277    instance, when replying to a message that you sent to a different party,
2278    mutt will automatically suggest to send the response to the original
2279    message's recipients--responding to yourself won't make much sense in many
2280    cases. (See $reply_to.)
2281
2282    Many users receive e-mail under a number of different addresses. To fully
2283    use mutt's features here, the program must be able to recognize what
2284    e-mail addresses you receive mail under. That's the purpose of the
2285    alternates command: It takes a list of regular expressions, each of which
2286    can identify an address under which you receive e-mail.
2287
2288    The unalternates command can be used to write exceptions to alternates
2289    patterns. If an address matches something in an alternates command, but
2290    you nonetheless do not think it is from you, you can list a more precise
2291    pattern under an unalternates command.
2292
2293    To remove a regular expression from the alternates list, use the
2294    unalternates command with exactly the same regexp . Likewise, if the
2295    regexp for a alternates command matches an entry on the unalternates list,
2296    that unalternates entry will be removed. If the regexp for unalternates is
2297    ``*'', all entries on alternates will be removed.
2298
2299 12. Format = Flowed
2300
2301   12.1. Introduction
2302
2303    Mutt-ng contains support for so-called format=flowed messages. In the
2304    beginning of email, each message had a fixed line width, and it was enough
2305    for displaying them on fixed-size terminals. But times changed, and
2306    nowadays hardly anybody still uses fixed-size terminals: more people
2307    nowaydays use graphical user interfaces, with dynamically resizable
2308    windows. This led to the demand of a new email format that makes it
2309    possible for the email client to make the email look nice in a resizable
2310    window without breaking quoting levels and creating an incompatible email
2311    format that can also be displayed nicely on old fixed-size terminals.
2312
2313    For introductory information on format=flowed messages, see
2314    <http://www.joeclark.org/ffaq.html>.
2315
2316   12.2. Receiving: Display Setup
2317
2318    When you receive emails that are marked as format=flowed messages, and is
2319    formatted correctly, mutt-ng will try to reformat the message to optimally
2320    fit on your terminal. If you want a fixed margin on the right side of your
2321    terminal, you can set the following:
2322
2323  set wrapmargin = 10
2324
2325    The code above makes the line break 10 columns before the right side of
2326    the terminal.
2327
2328    If your terminal is so wide that the lines are embarrassingly long, you
2329    can also set a maximum line length:
2330
2331  set max_line_length = 120
2332
2333    The example above will give you lines not longer than 120 characters.
2334
2335    When you view at format=flowed messages, you will often see the quoting
2336    hierarchy like in the following example:
2337
2338  >Bill, can you please send last month's progress report to Mr.
2339  >Morgan? We also urgently need the cost estimation for the new
2340  >production server that we want to set up before our customer's
2341  >project will go live.
2342
2343    This obviously doesn't look very nice, and it makes it very hard to
2344    differentiate between text and quoting character. The solution is to
2345    configure mutt-ng to "stuff" the quoting:
2346
2347  set stuff_quoted
2348
2349    This will lead to a nicer result that is easier to read:
2350
2351  > Bill, can you please send last month's progress report to Mr.
2352  > Morgan? We also urgently need the cost estimation for the new
2353  > production server that we want to set up before our customer's
2354  > project will go live.
2355
2356   12.3. Sending
2357
2358    If you want mutt-ng to send emails with format=flowed set, you need to
2359    explicitly set it:
2360
2361  set text_flowed
2362
2363    Additionally, you have to use an editor which supports writing
2364    format=flowed-conforming emails. For vim(1), this is done by adding w to
2365    the formatoptions (see :h formatoptions and :h fo-table) when writing
2366    emails.
2367
2368    Also note that format=flowed knows about ``space-stuffing'', that is, when
2369    sending messages, some kinds of lines have to be indented with a single
2370    space on the sending side. On the receiving side, the first space (if any)
2371    is removed. As a consequence and in addition to the above simple setting,
2372    please keep this in mind when making manual formattings within the editor.
2373    Also note that mutt-ng currently violates the standard (RfC 3676) as it
2374    does not space-stuff lines starting with:
2375
2376      o > This is not the quote character but a right angle used for other
2377        reasons
2378
2379    Please make sure that you manually prepend a space to each of them.
2380
2381   12.4. Additional Notes
2382
2383    For completeness, the $delete_space variable provides the mechanism to
2384    generate a DelSp=yes parameter on outgoing messages. According to the
2385    standard, clients receiving a format=flowed messages should delete the
2386    last space of a flowed line but still interpret the line as flowed.
2387    Because flowed lines usually contain only one space at the end, this
2388    parameter would make the receiving client concatenate the last word of the
2389    previous with the first of the current line without a space. This makes
2390    ordinary text unreadable and is intended for languages rarely using
2391    spaces. So please use this setting only if you're sure what you're doing.
2392
2393 13. Mailing lists
2394
2395    Usage: listsregexp [regexp ...]
2396
2397    Usage: unlistsregexp [regexp ...]
2398
2399    Usage: subscriberegexp [regexp ...]
2400
2401    Usage: unsubscriberegexp [regexp ...]
2402
2403    Mutt-ng has a few nice features for using-lists. In order to take
2404    advantage of them, you must specify which addresses belong to mailing
2405    lists, and which mailing lists you are subscribed to. Once you have done
2406    this, the list-reply function will work for all known lists. Additionally,
2407    when you send a message to a subscribed list, mutt will add a
2408    Mail-Followup-To header to tell other users' mail user agents not to send
2409    copies of replies to your personal address. Note that the Mail-Followup-To
2410    header is a non-standard extension which is not supported by all mail user
2411    agents. Adding it is not bullet-proof against receiving personal CCs of
2412    list messages. Also note that the generation of the Mail-Followup-To
2413    header is controlled by the $followup_to configuration variable.
2414
2415    More precisely, Mutt-ng maintains lists of patterns for the addresses of
2416    known and subscribed mailing lists. Every subscribed mailing list is
2417    known. To mark a mailing list as known, use the ``lists'' command. To mark
2418    it as subscribed, use ``subscribe''.
2419
2420    You can use regular expressions with both commands. To mark all messages
2421    sent to a specific bug report's address on mutt's bug tracking system as
2422    list mail, for instance, you could say ``subscribe [0-9]*@bugs.guug.de''.
2423    Often, it's sufficient to just give a portion of the list's e-mail
2424    address.
2425
2426    Specify as much of the address as you need to to remove ambiguity. For
2427    example, if you've subscribed to the Mutt-ng mailing list, you will
2428    receive mail addressed to mutt-users@mutt.org. So, to tell Mutt-ng that
2429    this is a mailing list, you could add ``lists mutt-users'' to your
2430    initialization file. To tell mutt that you are subscribed to it, add
2431    ``subscribe mutt-users'' to your initialization file instead. If you also
2432    happen to get mail from someone whose address is mutt-users@example.com,
2433    you could use ``lists mutt-users@mutt\\.org'' or ``subscribe
2434    mutt-users@mutt\\.org'' to match only mail from the actual list.
2435
2436    The ``unlists'' command is used to remove a token from the list of known
2437    and subscribed mailing-lists. Use ``unlists *'' to remove all tokens.
2438
2439    To remove a mailing list from the list of subscribed mailing lists, but
2440    keep it on the list of known mailing lists, use ``unsubscribe''.
2441
2442 14. Using Multiple spool mailboxes
2443
2444    Usage: mbox-hook [!]patternmailbox
2445
2446    This command is used to move read messages from a specified mailbox to
2447    adifferent mailbox automatically when you quit or change folders. pattern
2448    is a regular expression specifying the mailbox to treat as a ``spool''
2449    mailbox and mailbox specifies where mail should be saved when read.
2450
2451    Unlike some of the other hook commands, only the first matching pattern is
2452    used (it is not possible to save read mail in more than a single mailbox).
2453
2454 15. Defining mailboxes which receive mail
2455
2456    Usage: mailboxes[!]filename [filename ... ]
2457
2458    Usage: unmailboxes[!]filename [filename ... ]
2459
2460    This command specifies folders which can receive mail and which will be
2461    checked for new messages. By default, the main menu status bar displays
2462    how many of these folders have new messages.
2463
2464    When changing folders, pressing space will cycle through folders with new
2465    mail.
2466
2467    Pressing TAB in the directory browser will bring up a menu showing the
2468    files specified by the mailboxes command, and indicate which contain new
2469    messages. Mutt-ng will automatically enter this mode when invoked from the
2470    command line with the -y option.
2471
2472    The ``unmailboxes'' command is used to remove a token from the list of
2473    folders which receive mail. Use ``unmailboxes *'' to remove all tokens.
2474
2475    Note: new mail is detected by comparing the last modification time to the
2476    last access time. Utilities like biff or frm or any other program which
2477    accesses the mailbox might cause Mutt-ng to never detect new mail for that
2478    mailbox if they do not properly reset the access time. Backup tools are
2479    another common reason for updated access times.
2480
2481    Note: the filenames in the mailboxes command are resolved when the command
2482    is executed, so if these names contain shortcuts (such as ``='' and
2483    ``!''), any variable definition that affect these characters (like $folder
2484    and $spoolfile) should be executed before the mailboxes command.
2485
2486 16. User defined headers
2487
2488    Usage: my_hdrstring
2489
2490    Usage: unmy_hdrfield [field ...]
2491
2492    The ``my_hdr'' command allows you to create your own header fields which
2493    will be added to every message you send.
2494
2495    For example, if you would like to add an ``Organization:'' header field to
2496    all of your outgoing messages, you can put the command
2497
2498  my_hdr Organization: A Really Big Company, Anytown, USA
2499
2500    in your .muttrc.
2501
2502    Note: space characters are not allowed between the keyword and the colon
2503    (``:''). The standard for electronic mail (RfC 822) says that space is
2504    illegal there, so Mutt-ng enforces the rule.
2505
2506    If you would like to add a header field to a single message, you should
2507    either set the $edit_headers variable, or use the edit-headers function
2508    (default: ``E'') in the send-menu so that you can edit the header of your
2509    message along with the body.
2510
2511    To remove user defined header fields, use the ``unmy_hdr'' command. You
2512    may specify an asterisk (``*'') to remove all header fields, or the fields
2513    to remove. For example, to remove all ``To'' and ``Cc'' header fields, you
2514    could use:
2515
2516  unmy_hdr to cc
2517
2518 17. Defining the order of headers when viewing messages
2519
2520    Usage: hdr_orderheader header [header ...]
2521
2522    Usage: unhdr_order[ * | header header ...]
2523
2524    With this command, you can specify an order in which mutt will attempt to
2525    present headers to you when viewing messages.
2526
2527    ``unhdr_order *'' will clear all previous headers from the order list,
2528    thus removing the header order effects set by the system-wide startup
2529    file.
2530
2531  hdr_order From Date: From: To: Cc: Subject:
2532
2533 18. Specify default save filename
2534
2535    Usage: save-hook [!]patternfilename
2536
2537    This command is used to override the default filename used when saving
2538    messages. filename will be used as the default filename if the message is
2539    From: an address matching regexp or if you are the author and the message
2540    is addressed to: something matching regexp .
2541
2542    See pattern-hook for information on the exact format of pattern.
2543
2544    Examples:
2545
2546  save-hook me@(turing\\.)?cs\\.hmc\\.edu$ +elkins
2547  save-hook aol\\.com$ +spam
2548
2549    Also see the fcc-save-hook command.
2550
2551 19. Specify default Fcc: mailbox when composing
2552
2553    Usage: fcc-hook [!]patternmailbox
2554
2555    This command is used to save outgoing mail in a mailbox other than
2556    $record. Mutt-ng searches the initial list of message recipients for the
2557    first matching regexp and uses mailbox as the default Fcc: mailbox. If no
2558    match is found the message will be saved to $record mailbox.
2559
2560    See pattern-hook for information on the exact format of pattern.
2561
2562    Example:
2563
2564  fcc-hook [@.]aol\\.com$ +spammers
2565
2566    The above will save a copy of all messages going to the aol.com domain to
2567    the `+spammers' mailbox by default. Also see the fcc-save-hook command.
2568
2569 20. Specify default save filename and default Fcc: mailbox at once
2570
2571    Usage: fcc-save-hook [!]patternmailbox
2572
2573    This command is a shortcut, equivalent to doing both a fcc-hook and a
2574    save-hook with its arguments.
2575
2576 21. Change settings based upon message recipients
2577
2578    Usage: reply-hook [!]patterncommand
2579
2580    Usage: send-hook [!]patterncommand
2581
2582    Usage: send2-hook [!]patterncommand
2583
2584    These commands can be used to execute arbitrary configuration commands
2585    based upon recipients of the message. pattern is a regular expression
2586    matching the desired address. command is executed when regexp matches
2587    recipients of the message.
2588
2589    reply-hook is matched against the message you are replying to, instead of
2590    the message you are sending .send-hook is matched against all messages,
2591    both new and replies .Note:reply-hooks are matched before the send-hook,
2592    regardless of the order specified in the users's configuration file.
2593
2594    send2-hook is matched every time a message is changed, either by editing
2595    it, or by using the compose menu to change its recipients or subject.
2596    send2-hook is executed after send-hook ,and can, e.g., be used to set
2597    parameters such as the $sendmail variable depending on the message's
2598    sender address.
2599
2600    For each type of send-hook or reply-hook, when multiple matches occur,
2601    commands are executed in the order they are specified in the muttrc (for
2602    that type of hook).
2603
2604    See pattern-hook for information on the exact format of pattern.
2605
2606    Example: send-hook mutt "set mime_forward signature=''"
2607
2608    Another typical use for this command is to change the values of the
2609    $attribution, $signature and $locale variables in order to change the
2610    language of the attributions and signatures based upon the recipients.
2611
2612    Note: the send-hook's are only executed ONCE after getting the initial
2613    list of recipients. Adding a recipient after replying or editing the
2614    message will NOT cause any send-hook to be executed. Also note that my_hdr
2615    commands which modify recipient headers, or the message's subject, don't
2616    have any effect on the current message when executed from a send-hook.
2617
2618 22. Change settings before formatting a message
2619
2620    Usage: message-hook [!]patterncommand
2621
2622    This command can be used to execute arbitrary configuration commands
2623    before viewing or formatting a message based upon information about the
2624    message. command is executed if the pattern matches the message to be
2625    displayed. When multiple matches occur, commands are executed in the order
2626    they are specified in the muttrc.
2627
2628    See pattern-hook for information on the exact format of pattern.
2629
2630    Example:
2631
2632  message-hook ~A 'set pager=builtin'
2633  message-hook '~f freshmeat-news' 'set pager="less \"+/^  subject:.*\""'
2634
2635 23. Choosing the cryptographic key of the recipient
2636
2637    Usage: crypt-hookpatternkeyid
2638
2639    When encrypting messages with PGP or OpenSSL, you may want to associate a
2640    certain key with a given e-mail address automatically, either because the
2641    recipient's public key can't be deduced from the destination address, or
2642    because, for some reasons, you need to override the key Mutt-ng
2643    wouldnormally use. The crypt-hook command provides a method by which you
2644    can specify the ID of the public key to be used when encrypting messages
2645    to a certain recipient.
2646
2647    The meaning of "key id" is to be taken broadly in this context: You can
2648    either put a numerical key ID here, an e-mail address, or even just a real
2649    name.
2650
2651 24. Adding key sequences to the keyboard buffer
2652
2653    Usage: pushstring
2654
2655    This command adds the named string to the keyboard buffer. The string may
2656    contain control characters, key names and function names like the sequence
2657    string in the macro command. You may use it to automatically run a
2658    sequence of commands at startup, or when entering certain folders. For
2659    example, the following command will automatically collapse all threads
2660    when entering a folder:
2661
2662  folder-hook . 'push <collapse-all>'
2663
2664 25. Executing functions
2665
2666    Usage: execfunction [function ... ]
2667
2668    This command can be used to execute any function. Functions are listed in
2669    the functions. ``exec function'' is equivalent to ``push <function>''.
2670
2671 26. Message Scoring
2672
2673    Usage: scorepattern value
2674
2675    Usage: unscorepattern [pattern ... ]
2676
2677    In situations where you have to cope with a lot of emails, e.g. when you
2678    read many different mailing lists, and take part in discussions, it is
2679    always useful to have the important messages marked and the annoying
2680    messages or the ones that you aren't interested in deleted. For this
2681    purpose, mutt-ng features a mechanism called ``scoring''.
2682
2683    When you use scoring, every message has a base score of 0. You can then
2684    use the score command to define patterns and a positive or negative value
2685    associated with it. When a pattern matches a message, the message's score
2686    will be raised or lowered by the amount of the value associated with the
2687    pattern.
2688
2689  score "~f nion@muttng\.org" 50
2690  score "~f @sco\.com" -100
2691
2692    If the pattern matches, it is also possible to set the score value of the
2693    current message to a certain value and then stop evaluation:
2694
2695  score "~f santaclaus@northpole\.int" =666
2696
2697    What is important to note is that negative score values will be rounded up
2698    to 0.
2699
2700    To make scoring actually useful, the score must be applied in some way.
2701    That's what the score thresholds are for. Currently, there are three score
2702    thresholds:
2703
2704      o flag threshold: when a message has a score value equal or higher than
2705        the flag threshold, it will be flagged.
2706
2707      o read threshold: when a message has a score value equal or lower than
2708        the read threshold, it will be marked as read.
2709
2710      o delete threshold: when a message has a score value equal or lower than
2711        the delete threshold, it will be marked as deleted.
2712
2713    These three thresholds can be set via the variables $score_threshold_read,
2714    $score_threshold_flag and $score_threshold_delete.
2715
2716    By default, $score_threshold_read and $score_threshold_delete are set to
2717    -1, which means that in the default threshold configuration no message
2718    will ever get marked as read or deleted.
2719
2720    Scoring gets especially interesting when combined with the color command
2721    and the ~n pattern:
2722
2723  color index  black   yellow  "~n 10-"
2724  color index  red     yellow  "~n 100-"
2725
2726    The rules above mark all messages with a score between 10 and 99 with
2727    black and yellow, and messages with a score greater or equal 100 with red
2728    and yellow. This might be unusual to you if you're used to e.g. slrn's
2729    scoring mechanism, but it is more flexible, as it visually marks different
2730    scores.
2731
2732 27. Spam detection
2733
2734    Usage: spampattern format
2735
2736    Usage: nospampattern
2737
2738    Mutt-ng has generalized support for external spam-scoring filters. By
2739    defining your spam patterns with the spam and nospam commands, you can
2740    limit, search, and sort your mail based on its spam attributes, as
2741    determined by the external filter. You also can display the spam
2742    attributes in your index display using the %H selector in the
2743    $index_format variable. (Tip: try %?H?[%H] ? to display spam tags only
2744    when they are defined for a given message.)
2745
2746    Your first step is to define your external filter's spam patterns using
2747    the spam command. pattern should be a regular expression that matches a
2748    header in a mail message. If any message in the mailbox matches this
2749    regular expression, it will receive a ``spam tag'' or ``spam attribute''
2750    (unless it also matches a nospam pattern -- see below.) The appearance of
2751    this attribute is entirely up to you, and is governed by the format
2752    parameter. format can be any static text, but it also can include
2753    back-references from the pattern expression. (A regular expression
2754    ``back-reference'' refers to a sub-expression contained within
2755    parentheses.) %1 is replaced with the first back-reference in the regex,
2756    %2 with the second, etc.
2757
2758    If you're using multiple spam filters, a message can have more than one
2759    spam-related header. You can define spam patterns for each filter you use.
2760    If a message matches two or more of these patterns, and the
2761    $spam_separator variable is set to a string, then the message's spam tag
2762    will consist of all the format strings joined together, with the value of
2763    $spam_separator separating them.
2764
2765    For example, suppose I use DCC, SpamAssassin, and PureMessage. I might
2766    define these spam settings:
2767
2768  spam "X-DCC-.*-Metrics:.*(....)=many"         "90+/DCC-%1"
2769  spam "X-Spam-Status: Yes"                     "90+/SA"
2770  spam "X-PerlMX-Spam: .*Probability=([0-9]+)%" "%1/PM"
2771  set spam_separator=", "
2772
2773    If I then received a message that DCC registered with ``many'' hits under
2774    the ``Fuz2'' checksum, and that PureMessage registered with a 97%
2775    probability of being spam, that message's spam tag would read90+/DCC-Fuz2,
2776    97/PM. (The four characters before ``=many'' in a DCC report indicate the
2777    checksum used -- in this case, ``Fuz2''.)
2778
2779    If the $spam_separator variable is unset, then each spam pattern match
2780    supersedes the previous one. Instead of getting joined format strings,
2781    you'll get only the last one to match.
2782
2783    The spam tag is what will be displayed in the index when you use %H in the
2784    $index_format variable. It's also the string that the ~H pattern-matching
2785    expression matches against for search and limit functions. And it's what
2786    sorting by spam attribute will use as a sort key.
2787
2788    That's a pretty complicated example, and most people's actual environments
2789    will have only one spam filter. The simpler your configuration, the more
2790    effective mutt can be, especially when it comes to sorting.
2791
2792    Generally, when you sort by spam tag, mutt will sort lexically -- that is,
2793    by ordering strings alphnumerically. However, if a spam tag begins with a
2794    number, mutt will sort numerically first, and lexically only when two
2795    numbers are equal in value. (This is like UNIX's sort -n.) A message with
2796    no spam attributes at all -- that is, one that didn't match any of your
2797    spam patterns -- is sorted at lowest priority. Numbers are sorted next,
2798    beginning with 0 and ranging upward. Finally, non-numeric strings are
2799    sorted, with ``a'' taking lowerpriority than ``z''. Clearly, in general,
2800    sorting by spam tags is most effective when you can coerce your filter to
2801    give you a raw number. But in case you can't, mutt can still do something
2802    useful.
2803
2804    The nospam command can be used to write exceptions to spam patterns. If a
2805    header pattern matches something in a spam command, but you nonetheless do
2806    not want it to receive a spam tag, you can list amore precise pattern
2807    under a nospam command.
2808
2809    If the pattern given to nospam is exactly the same as the pattern on an
2810    existing spam list entry, the effect will be to remove the entry from the
2811    spam list, instead of adding an exception. Likewise, if the pattern for a
2812    spam command matches an entry on the nospam list, that nospam entry will
2813    be removed. If the pattern for nospam is ``*'', all entries on both lists
2814    will be removed. This might be the default action if you use spam and
2815    nospam in conjunction with a folder-hook.
2816
2817    You can have as many spam or nospam commands as you like. You can even do
2818    your own primitive spam detection within mutt -- for example, if you
2819    consider all mail from MAILER-DAEMON to be spam, you can use a spam
2820    command like this:
2821
2822  spam "^From: .*MAILER-DAEMON"       "999"
2823
2824 28. Setting variables
2825
2826    Usage: set[no|inv]variable [=value] [variable...]
2827
2828    Usage: togglevariable [variable ...]
2829
2830    Usage: unsetvariable [variable ...]
2831
2832    Usage: resetvariable [variable ...]
2833
2834    This command is used to set (and unset) variables. There are four basic
2835    types of variables: boolean, number, string and quadoption. boolean
2836    variables can be set (true) or unset (false). number variables can be
2837    assigned a positive integer value.
2838
2839    string variables consist of any number of printable characters. strings
2840    must be enclosed in quotes if they contain spaces or tabs. You may also
2841    use the ``C'' escape sequences \n and \t for newline and tab,
2842    respectively.
2843
2844    quadoption variables are used to control whether or not to be prompted for
2845    certain actions, or to specify a default action. A value of yes will cause
2846    the action to be carried out automatically as if you had answered yes to
2847    the question. Similarly, a value of no will cause the the action to be
2848    carried out as if you had answered ``no.'' A value of ask-yes will cause a
2849    prompt with a default answer of ``yes'' and ask-no will provide a default
2850    answer of ``no.''
2851
2852    Prefixing a variable with ``no'' will unset it. Example: set noaskbcc .
2853
2854    For boolean variables, you may optionally prefix the variable name with
2855    inv to toggle the value (on or off). This is useful when writing macros.
2856    Example: set invsmart_wrap.
2857
2858    The toggle command automatically prepends the inv prefix to all specified
2859    variables.
2860
2861    The unset command automatically prepends the no prefix to all specified
2862    variables.
2863
2864    Using the enter-command function in the index menu, you can query the
2865    value of a variable by prefixing the name of the variable with a question
2866    mark:
2867
2868  set ?allow_8bit
2869
2870    The question mark is actually only required for boolean and quadoption
2871    variables.
2872
2873    The reset command resets all given variables to the compile time defaults
2874    (hopefully mentioned in this manual). If you use the command set and
2875    prefix the variable with ``&'' this has the same behavior as the reset
2876    command.
2877
2878    With the reset command there exists the special variable ``all'', which
2879    allows you to reset all variables to their system defaults.
2880
2881 29. Reading initialization commands from another file
2882
2883    Usage: sourcefilename [filename ...]
2884
2885    This command allows the inclusion of initialization commands from other
2886    files. For example, I place all of my aliases in ~/.mail_aliases so that I
2887    can make my ~/.muttrc readable and keep my aliases private.
2888
2889    If the filename begins with a tilde (``~''), it will be expanded to the
2890    path of your home directory.
2891
2892    If the filename ends with a vertical bar (|), then filename is considered
2893    to be an executable program from which to read input (eg. source
2894    ~/bin/myscript|).
2895
2896 30. Removing hooks
2897
2898    Usage: unhook[* | hook-type]
2899
2900    This command permits you to flush hooks you have previously defined. You
2901    can either remove all hooks by giving the ``*'' character as an argument,
2902    or you can remove all hooks of a specific type by saying something like
2903    unhook send.
2904
2905 31. Sharing Setups
2906
2907   31.1. Character Sets
2908
2909    As users may run mutt-ng on different systems, the configuration must be
2910    maintained because it's likely that people want to use the setup
2911    everywhere they use mutt-ng. And mutt-ng tries to help where it can.
2912
2913    To not produce conflicts with different character sets, mutt-ng allows
2914    users to specify in which character set their configuration files are
2915    encoded. Please note that while reading the configuration files, this is
2916    only respected after the corresponding declaration appears. It's advised
2917    to put the following at the very beginning of a users muttngrc:
2918
2919  set config_charset = "..."
2920
2921    and replacing the dots with the actual character set. To avoid problems
2922    while maintaining the setup, vim(1) user's may want to use modelines as
2923    show in:
2924
2925  # vim:fileencoding=...:
2926
2927    while, again, replacing the dots with the appropriate name. This tells
2928    vim(1) as which character set to read and save the file.
2929
2930   31.2. Modularization
2931
2932    ``Modularization'' means to divide the setup into several files while
2933    sorting the options or commands by topic. Especially for longer setups
2934    (e.g. with many hooks), this helps maintaining it and solving trouble.
2935
2936    When using separation, setups may be, as a whole or in fractions, shared
2937    over different systems.
2938
2939   31.3. Conditional parts
2940
2941    When using a configuration on different systems, the user may not always
2942    have influence on how mutt-ng is installed and which features it includes.
2943
2944    To solve this, mutt-ng contain a feature based on the ``ifdef'' patch
2945    written for mutt. Its basic syntax is:
2946
2947  ifdef <item> <command>
2948  ifndef <item> <command>
2949
2950    ...whereby <item> can be one of:
2951
2952      o a function name
2953
2954      o a variable name
2955
2956      o a menu name
2957
2958      o a feature name
2959
2960    All available functions, variables and menus are documented elsewhere in
2961    this manual but ``features'' is specific to these two commands. To test
2962    for one, prefix one of the following keywords with feature_: ncurses,
2963    slang, iconv, idn, dotlock, standalone, pop, nntp, imap, ssl, gnutls,
2964    sasl, sasl2, libesmtp, compressed, color, classic_pgp, classic_smime,
2965    gpgme, header_cache
2966
2967    As an example, one can use the following in ~/.muttngrc:
2968
2969  ifdef feature_imap 'source ~/.mutt-ng/setup-imap'
2970  ifdef feature_pop  'source ~/.mutt-ng/setup-pop'
2971  ifdef feature_nntp 'source ~/.mutt-ng/setup-nntp'
2972
2973    ...to only source ~/.mutt-ng/setup-imap if IMAP support is built in, only
2974    source ~/.mutt-ng/setup-pop if POP support is built in and only source
2975    ~/.mutt-ng/setup-nntp if NNTP support is built in.
2976
2977    An example for testing for variable names can be used if users use
2978    different revisions of mutt-ng whereby the older one may not have a
2979    certain variable. To test for the availability of $imap_mail_check use:
2980
2981  ifdef imap_mail_check 'set imap_mail_check = 300'
2982
2983    Provided for completeness is the test for menu names. To set
2984    $pager_index_lines only if the pager menu is available, use:
2985
2986  ifdef pager 'set pager_index_lines = 10'
2987
2988    For completeness, too, the opposite of ifdef is provided: ifndef which
2989    only executes the command if the test fails. For example, the following
2990    two examples are equivalent:
2991
2992  ifdef feature_ncurses 'source ~/.mutt-ng/setup-ncurses'
2993  ifndef feature_ncurses 'source ~/.mutt-ng/setup-slang'
2994
2995    ...and...
2996
2997  ifdef feature_slang 'source ~/.mutt-ng/setup-slang'
2998  ifndef feature_slang 'source ~/.mutt-ng/setup-ncurses'
2999
3000 32. Obsolete Variables
3001
3002    In the process of ensuring and creating more consistency, many variables
3003    have been renamed and some of the old names were already removed. Please
3004    see sect-obsolete for a complete list.
3005
3006 Chapter 4. Advanced Usage
3007
3008    Table of Contents
3009
3010    1. Regular Expressions
3011
3012    2. Patterns
3013
3014                 2.1. Complex Patterns
3015
3016                 2.2. Patterns and Dates
3017
3018    3. Format Strings
3019
3020                 3.1. Introduction
3021
3022                 3.2. Conditional Expansion
3023
3024                 3.3. Modifications and Padding
3025
3026    4. Using Tags
3027
3028    5. Using Hooks
3029
3030                 5.1. Message Matching in Hooks
3031
3032    6. Using the sidebar
3033
3034    7. External Address Queries
3035
3036    8. Mailbox Formats
3037
3038    9. Mailbox Shortcuts
3039
3040    10. Handling Mailing Lists
3041
3042    11. Editing threads
3043
3044                 11.1. Linking threads
3045
3046                 11.2. Breaking threads
3047
3048    12. Delivery Status Notification (DSN) Support
3049
3050    13. POP3 Support (OPTIONAL)
3051
3052    14. IMAP Support (OPTIONAL)
3053
3054                 14.1. The Folder Browser
3055
3056                 14.2. Authentication
3057
3058    15. NNTP Support (OPTIONAL)
3059
3060                 15.1. Again: Scoring
3061
3062    16. SMTP Support (OPTIONAL)
3063
3064    17. Managing multiple IMAP/POP/NNTP accounts (OPTIONAL)
3065
3066    18. Start a WWW Browser on URLs (EXTERNAL)
3067
3068    19. Compressed folders Support (OPTIONAL)
3069
3070                 19.1. Open a compressed mailbox for reading
3071
3072                 19.2. Write a compressed mailbox
3073
3074                 19.3. Append a message to a compressed mailbox
3075
3076                 19.4. Encrypted folders
3077
3078 1. Regular Expressions
3079
3080    All string patterns in Mutt-ng including those in more complex patterns
3081    must be specified using regular expressions (regexp) in the ``POSIX
3082    extended'' syntax (which is more or less the syntax used by egrep and GNU
3083    awk). For your convenience, we have included below a brief description of
3084    this syntax.
3085
3086    The search is case sensitive if the pattern contains at least one upper
3087    case letter, and case insensitive otherwise. Note that ``\'' must be
3088    quoted if used for a regular expression in an initialization command:
3089    ``\\''.
3090
3091    A regular expression is a pattern that describes a set of strings. Regular
3092    expressions are constructed analogously to arithmetic expressions, by
3093    using various operators to combine smaller expressions.
3094
3095    Note that the regular expression can be enclosed/delimited by either " or
3096    ' which is useful if the regular expression includes a white-space
3097    character. See muttrc-syntax for more information on " and ' delimiter
3098    processing. To match a literal " or ' you must preface it with \
3099    (backslash).
3100
3101    The fundamental building blocks are the regular expressions that match a
3102    single character. Most characters, including all letters and digits, are
3103    regular expressions that match themselves. Any metacharacter with special
3104    meaning may be quoted by preceding it with a backslash.
3105
3106    The period ``.'' matches any single character. The caret ``^'' andthe
3107    dollar sign ``$'' are metacharacters that respectively match the empty
3108    string at the beginning and end of a line.
3109
3110    A list of characters enclosed by ``]'' and ``]'' matches any single
3111    character in that list; if the first character of the list is a caret
3112    ``^'' then it matches any character not in the list. For example, the
3113    regular expression ]0123456789] matches any single digit. A range of ASCII
3114    characters may be specified by giving the first and last characters,
3115    separated by a hyphen ``-''. Most metacharacters lose their special
3116    meaning inside lists. To include a literal ``]'' place it first in the
3117    list. Similarly, to include a literal ``^'' place it anywhere but first.
3118    Finally, to include a literal hyphen ``-'' place it last.
3119
3120    Certain named classes of characters are predefined. Character classes
3121    consist of ``[:'', a keyword denoting the class, and ``:]''. The following
3122    classes are defined by the POSIX standard:
3123
3124    [:alnum:]
3125
3126            Alphanumeric characters.
3127
3128    [:alpha:]
3129
3130            Alphabetic characters.
3131
3132    [:blank:]
3133
3134            Space or tab characters.
3135
3136    [:cntrl:]
3137
3138            Control characters.
3139
3140    [:digit:]
3141
3142            Numeric characters.
3143
3144    [:graph:]
3145
3146            Characters that are both printable and visible. (A space is
3147            printable, but not visible, while an ``a'' is both.)
3148
3149    [:lower:]
3150
3151            Lower-case alphabetic characters.
3152
3153    [:print:]
3154
3155            Printable characters (characters that are not control characters.)
3156
3157    [:punct:]
3158
3159            Punctuation characters (characters that are not letter, digits,
3160            control characters, or space characters).
3161
3162    [:space:]
3163
3164            Space characters (such as space, tab and formfeed, to name a few).
3165
3166    [:upper:]
3167
3168            Upper-case alphabetic characters.
3169
3170    [:xdigit:]
3171
3172            Characters that are hexadecimal digits.
3173
3174    A character class is only valid in a regular expression inside the
3175    brackets of a character list. Note that the brackets in these class names
3176    are part of the symbolic names, and must be included in addition to the
3177    brackets delimiting the bracket list. For example, [[:digit:]] is
3178    equivalent to [0-9].
3179
3180    Two additional special sequences can appear in character lists. These
3181    apply to non-ASCII character sets, which can have single symbols
3182    (calledcollating elements) that are represented with more than one
3183    character, as well as several characters that are equivalent for collating
3184    or sorting purposes:
3185
3186    Collating Symbols
3187
3188            A collating symbol is a multi-character collating element enclosed
3189            in ``[.'' and ``.]''. For example, if ``ch'' is a collating
3190            element, then [[.ch.]] is a regexp that matches this collating
3191            element, while [ch] is a regexp that matches either ``c'' or
3192            ``h''.
3193
3194    Equivalence Classes
3195
3196            An equivalence class is a locale-specific name for a list of
3197            characters that are equivalent. The name is enclosed in ``[='' and
3198            ``=]''. For example, the name ``e'' might be used to represent all
3199            of ``è'' ``é'' and ``e''. In this case, [[=e=]] is a regexp that
3200            matches any of ``è'', ``é'' and ``e''.
3201
3202    A regular expression matching a single character may be followed by one of
3203    several repetition operators:
3204
3205    ?
3206
3207            The preceding item is optional and matched at most once.
3208
3209    *
3210
3211            The preceding item will be matched zero or more times.
3212
3213    +
3214
3215            The preceding item will be matched one or more times.
3216
3217    {n}
3218
3219            The preceding item is matched exactly n times.
3220
3221    {n,}
3222
3223            The preceding item is matched n or more times.
3224
3225    {,m}
3226
3227            The preceding item is matched at most m times.
3228
3229    {n,m}
3230
3231            The preceding item is matched at least n times, but no more than m
3232            times.
3233
3234    Two regular expressions may be concatenated; the resulting regular
3235    expression matches any string formed by concatenating two substrings that
3236    respectively match the concatenated subexpressions.
3237
3238    Two regular expressions may be joined by the infix operator ``|''; the
3239    resulting regular expression matches any string matching either
3240    subexpression.
3241
3242    Repetition takes precedence over concatenation, which in turn takes
3243    precedence over alternation. A whole subexpression may be enclosed in
3244    parentheses to override these precedence rules.
3245
3246    Note: If you compile Mutt-ng with the GNU rx package, the following
3247    operators may also be used in regular expressions:
3248
3249    \\y
3250
3251            Matches the empty string at either the beginning or the end of a
3252            word.
3253
3254    \\B
3255
3256            Matches the empty string within a word.
3257
3258    \\<
3259
3260            Matches the empty string at the beginning of a word.
3261
3262    \\>
3263
3264            Matches the empty string at the end of a word.
3265
3266    \\w
3267
3268            Matches any word-constituent character (letter, digit, or
3269            underscore).
3270
3271    \\W
3272
3273            Matches any character that is not word-constituent.
3274
3275    \\`
3276
3277            Matches the empty string at the beginning of a buffer (string).
3278
3279    \\'
3280
3281            Matches the empty string at the end of a buffer.
3282
3283    Please note however that these operators are not defined by POSIX, so they
3284    may or may not be available in stock libraries on various systems.
3285
3286 2. Patterns
3287
3288    Mutt-ng's pattern language provides a simple yet effective way to set up
3289    rules to match messages, e.g. for operations like tagging and scoring. A
3290    pattern consists of one or more sub-pattern, which can be logically
3291    grouped, ORed, and negated. For a complete listing of these patterns,
3292    please refer to table patterns in the Reference chapter.
3293
3294    It must be noted that in this table, EXPR is a regular expression. For
3295    ranges, the forms <[MAX], >>[MIN], [MIN]- and -[MAX] are also possible.
3296
3297   2.1. Complex Patterns
3298
3299    It is possible to combine several sub-patterns to a more complex pattern.
3300    The most simple possibility is to logically AND several patterns by
3301    stringing them together:
3302
3303  ~s 'SPAM' ~U
3304
3305    The pattern above matches all messages that contain ``SPAM'' in the
3306    subject and are unread.
3307
3308    To logical OR patterns, simply use the | operator. This one especially
3309    useful when using local groups:
3310
3311  ~f ("nion@muttng\.org"|"ak@muttng\.org"|"pdmef@muttng\.org")
3312  (~b mutt-ng|~s Mutt-ng)
3313  !~x '@synflood\.at'
3314
3315    The first pattern matches all messages that were sent by one of the
3316    mutt-ng maintainers, while the seconds pattern matches all messages that
3317    contain ``mutt-ng'' in the message body or ``Mutt-ng'' in the subject. The
3318    third pattern matches all messages that do not contain ``@synflood\.at''
3319    in the References: header, i.e. messages that are not an (indirect) reply
3320    to one of my messages. A pattern can be logicall negated using the !
3321    operator.
3322
3323   2.2. Patterns and Dates
3324
3325    When using dates in patterns, the dates must be specified in a special
3326    format, i.e. DD/MM/YYYY. If you don't specify month or year, they default
3327    to the current month or year. When using date ranges, and you specify only
3328    the minimum or the maximum, the specified date will be excluded, e.g.
3329    01/06/2005- matches against all messages after Juni 1st, 2005.
3330
3331    It is also possible to use so-called ``error margins'' when specifying
3332    date ranges. You simply specify a date, and then the error margin. This
3333    margin needs to contain the information whether it goes ``forth'' or
3334    ``back'' in time, by using + and -. Then follows a number and a unit, i.e.
3335    y for years, m for months, w for weeks and d for days. If you use the
3336    special * sign, it means that the error margin goes to both``directions''
3337    in time.
3338
3339  ~d 01/01/2005+1y
3340  ~d 18/10/2004-2w
3341  ~d 28/12/2004*1d
3342
3343    The first pattern matches all dates between January 1st, 2005 and January
3344    1st 2006. The second pattern matches all dates between October 18th, 2004
3345    and October 4th 2004 (2 weeks before 18/10/2004), while the third pattern
3346    matches all dates 1 day around December 28th, 2004 (i.e. Dec 27th, 28th
3347    and 29th).
3348
3349    Relative dates are also very important, as they make it possible to
3350    specify date ranges between a fixed number of units and the current date.
3351    How this works can be seen in the following example:
3352
3353  ~d >2w # messages older than two weeks
3354  ~d <3d # messages newer than 3 days
3355  ~d =1m # messages that are exactly one month old
3356
3357 3. Format Strings
3358
3359   3.1. Introduction
3360
3361    The so called Format Strings offer great flexibility when configuring
3362    mutt-ng. In short, they describe what items to print out how in menus and
3363    status messages.
3364
3365    Basically, they work as this: for different menus and bars, there's a
3366    variable specifying the layout. For every item available, there is a so
3367    called expando.
3368
3369    For example, when running mutt-ng on different machines or different
3370    versions for testing purposes, it may be interesting to have the following
3371    information always printed on screen when one is in the index:
3372
3373      o the current hostname
3374
3375      o the current mutt-ng version number
3376
3377    The setting for the status bar of the index is controlled via the
3378    $status_format variable. For the hostname and version string, there's an
3379    expando for $status_format: %h expands to the hostname and %v to the
3380    version string. When just configuring:
3381
3382  set status_format = "%v on %h: ..."
3383
3384    mutt-ng will replace the sequence %v with the version string and %h with
3385    the host's name. When you are, for example, running mutt-ng version 1.5.9i
3386    on host mailhost, you'll see the following when you're in the index:
3387
3388  Mutt-ng 1.5.9i on mailhost: ...
3389
3390    In the index, there're more useful information one could want to see:
3391
3392      o which mailbox is open
3393
3394      o how man new, flagged or postponed messages
3395
3396      o ...
3397
3398    To include the mailbox' name is as easy as:
3399
3400  set status_format = "%v on %h: %B: ...
3401
3402    When the currently opened mailbox is Inbox, this will be expanded to:
3403
3404  Mutt-ng 1.5.9i on mailhost: Inbox: ...
3405
3406    For the number of certain types of messages, one more feature of the
3407    format strings is extremely useful. If there aren't messages of a certain
3408    type, it may not be desired to print just that there aren't any but
3409    instead only print something if there are any.
3410
3411   3.2. Conditional Expansion
3412
3413    To only print the number of messages if there are new messages in the
3414    current mailbox, further extend $status_format to:
3415
3416  set status_format = "%v on %h: %B %?n?%n new? ...
3417
3418    This feature is called nonzero-printing and works as this: some expandos
3419    may be optionally printed nonzero, i.e. a portion of the format string is
3420    only evaluated if the value of the expando is different from zero. The
3421    basic syntax is:
3422
3423  %?<item>?<string if nonzero>?
3424
3425    which tells mutt-ng to only look at <string if nonzero> if the value of
3426    the %<item%gt; expando is different from zero. In our example, we used n
3427    as the expando to check for and %n new as the optional nonzero string.
3428
3429    But this is not all: this feature only offers one alternative: ``print
3430    something if not zero.'' Mutt-ng does, as you might guess, also provide a
3431    logically complete version: ``if zero, print something and else print
3432    something else.'' This is achieved by the following syntax for those
3433    expandos which may be printed nonzero:
3434
3435  %?<item>?<string if nonzero>&<string if zero>?
3436
3437    Using this we can make mutt-ng to do the following:
3438
3439      o make it print ``n new messages'' whereby n is the count but only if
3440        there new ones
3441
3442      o and make it print ``no new messages'' if there aren't any
3443
3444    The corresponding configuration is:
3445
3446  set status_format = "%v on %h: %B: %?n?%n new messages&no new messages? ...
3447
3448    This doubles the use of the ``new messages'' string because it'll get
3449    always printed. Thus, it can be shortened to:
3450
3451  set status_format = "%v on %h: %B: %?n?%n&no? new messages ...
3452
3453    As you might see from this rather simple example, one can create very
3454    complex but fancy status messages. Please see the reference chapter for
3455    expandos and those which may be printed nonzero.
3456
3457   3.3. Modifications and Padding
3458
3459    Besides the information given so far, there're even more features of
3460    format strings:
3461
3462      o When specifying %_<item> instead of just %<item>, mutt-ng will convert
3463        all characters in the expansion of <item> to lowercase.
3464
3465      o When specifying %:<item> instead of just %<item>, mutt-ng will convert
3466        all dots in the expansion of <item> to underscores (_).
3467
3468    Also, there's a feature called Padding supplied by the following two
3469    expandos: %|X and %>X .
3470
3471    %|X
3472
3473            When this occurs, mutt-ng will fill the rest of the line with the
3474            character X. In our example, filling the rest of the line with
3475            dashes is done by setting:
3476
3477  set status_format = "%v on %h: %B: %?n?%n&no? new messages %|-"
3478
3479    %>X
3480
3481            Since the previous expando stops at the end of line, there must be
3482            a way to fill the gap between two items via the %>X expando: it
3483            puts as many characters X in between two items so that the rest of
3484            the line will be right-justified. For example, to not put the
3485            version string and hostname of our example on the left but on the
3486            right and fill the gap with spaces, one might use (note the space
3487            after %>):
3488
3489  set status_format = "%B: %?n?%n&no? new messages %> (%v on %h)"
3490
3491 4. Using Tags
3492
3493    Sometimes it is desirable to perform an operation on a group of messages
3494    all at once rather than one at a time. An example might be to save
3495    messages to a mailing list to a separate folder, or to delete all messages
3496    with a given subject. To tag all messages matching a pattern, use the
3497    tag-pattern function, which is bound to ``shift-T'' by default. Or you can
3498    select individual messages by hand using the ``tag-message'' function,
3499    which is bound to ``t'' by default. See patterns for Mutt-ng's pattern
3500    matching syntax.
3501
3502    Once you have tagged the desired messages, you can use the ``tag-prefix''
3503    operator, which is the ``;'' (semicolon) key by default. When the
3504    ``tag-prefix'' operator is used, the next operation will be applied to all
3505    tagged messages if that operation can be used in that manner. If the
3506    $auto_tag variable is set, the next operation applies to the tagged
3507    messages automatically, without requiring the ``tag-prefix''.
3508
3509    In macro or push commands, you can use the ``tag-prefix-cond'' operator.
3510    If there are no tagged messages, mutt will "eat" the rest of the macro to
3511    abort it's execution.Mutt-ng will stop "eating" the macro when it
3512    encounters the ``end-cond'' operator; after this operator the rest of the
3513    macro will be executed asnormal.
3514
3515 5. Using Hooks
3516
3517    A hook is a concept borrowed from the EMACS editor which allows you to
3518    execute arbitrary commands before performing some operation. For example,
3519    you may wish to tailor your configuration based upon which mailbox you are
3520    reading, or to whom you are sending mail. In the Mutt-ng world, a hook
3521    consists of a regexp or patterns along with a configuration
3522    option/command. See
3523
3524      o folder-hook
3525
3526      o send-hook
3527
3528      o message-hook
3529
3530      o save-hook
3531
3532      o mbox-hook
3533
3534      o fcc-hook
3535
3536      o fcc-save-hook
3537
3538    for specific details on each type of hook available.
3539
3540    Note: if a hook changes configuration settings, these changes remain
3541    effective until the end of the current mutt session. As this is generally
3542    not desired, a default hook needs to be added before all other hooks to
3543    restore configuration defaults. Here is an example with send-hook and the
3544    my_hdr directive:
3545
3546  send-hook . 'unmy_hdr From:'
3547  send-hook '~C ^b@b\.b$' my-hdr from: c@c.c
3548
3549   5.1. Message Matching in Hooks
3550
3551    Hooks that act upon messages (send-hook, save-hook, fcc-hook,message-hook
3552    )are evaluated in a slightly different manner. For the other types of
3553    hooks, a regexp is sufficient. But in dealing with messages a finer grain
3554    of control is needed for matching since for different purposes you want to
3555    match different criteria.
3556
3557    Mutt-ng allows the use of the patterns language for matching messages in
3558    hook commands. This works in exactly the same way as it would when
3559    limiting orsearching the mailbox, except that you are restricted to those
3560    operators which match information mutt extracts from the header of the
3561    message (i.e. from, to, cc, date, subject, etc.).
3562
3563    For example, if you wanted to set your return address based upon sending
3564    mail to a specific address, you could do something like:
3565
3566  send-hook '~t ^me@cs\.hmc\.edu$' 'my-hdr From: Mutt-ng User <user@host>'
3567
3568    which would execute the given command when sending mail to me@cs.hmc.edu.
3569
3570    However, it is not required that you write the pattern to match using the
3571    full searching language. You can still specify a simple regular expression
3572    like the other hooks, in which case Mutt-ng will translate your pattern
3573    into the full language, using the translation specified by the
3574    default-hook variable. The pattern is translated at the time the hook is
3575    declared, so the value of default-hook that is in effect at that time will
3576    be used.
3577
3578 6. Using the sidebar
3579
3580    The sidebar, a feature specific to Mutt-ng, allows you to use a mailbox
3581    listing which looks very similar to the ones you probably know from GUI
3582    mail clients. The sidebar lists all specified mailboxes, shows the number
3583    in each and highlights the ones with new email Use the following
3584    configuration commands:
3585
3586  set sidebar_visible="yes"
3587  set sidebar_width=25
3588
3589    If you want to specify the mailboxes you can do so with:
3590
3591  set mbox='=INBOX'
3592  mailboxes INBOX \
3593  MBOX1 \
3594  MBOX2 \
3595  ...
3596
3597    You can also specify the colors for mailboxes with new mails by using:
3598
3599  color sidebar_new red black
3600  color sidebar white black
3601
3602    Reasonable key bindings look e.g. like this:
3603
3604  bind index \Cp sidebar-prev
3605  bind index \Cn sidebar-next
3606  bind index \Cb sidebar-open
3607  bind pager \Cp sidebar-prev
3608  bind pager \Cn sidebar-next
3609  bind pager \Cb sidebar-open
3610
3611  macro index B ':toggle sidebar_visible^M'
3612  macro pager B ':toggle sidebar_visible^M'
3613
3614    You can then go up and down by pressing Ctrl-P and Ctrl-N, and switch on
3615    and off the sidebar simply by pressing 'B'.
3616
3617 7. External Address Queries
3618
3619    Mutt-ng supports connecting to external directory databases such as LDAP,
3620    ph/qi, bbdb, or NIS through a wrapper script which connects to mutt using
3621    a simple interface. Using the $query_command variable, you specify the
3622    wrapper command to use. For example:
3623
3624  set query_command = "mutt_ldap_query.pl '%s'"
3625
3626    The wrapper script should accept the query on the command-line. It should
3627    return a one line message, then each matching response on a single line,
3628    each line containing a tab separated address then name thensome other
3629    optional information. On error, or if there are no matching addresses,
3630    return a non-zero exit code and a one line error message.
3631
3632    An example multiple response output:
3633
3634  Searching database ... 20 entries ... 3 matching:
3635  me@cs.hmc.edu           Michael Elkins  mutt dude
3636  blong@fiction.net       Brandon Long    mutt and more
3637  roessler@guug.de        Thomas Roessler mutt pgp
3638
3639    There are two mechanisms for accessing the query function of mutt. One is
3640    to do a query from the index menu using the query function (default: Q).
3641    This will prompt for a query, then bring up the query menu which will list
3642    the matching responses. From the query menu, you can select addresses to
3643    create aliases, or to mail. You can tag multiple addressesto mail, start a
3644    new query, or have a new query appended to the current responses.
3645
3646    The other mechanism for accessing the query function is for address
3647    completion, similar to the alias completion. In any prompt for address
3648    entry, you can use the complete-query function (default: ^T) to run a
3649    query based on the current address you have typed. Like aliases, mutt will
3650    look for what you have typed back to the last space or comma. If there is
3651    a single response for that query, mutt will expand the address in place.
3652    If there are multiple responses, mutt will activate the querymenu. At the
3653    query menu, you can select one or more addresses to be added to the
3654    prompt.
3655
3656 8. Mailbox Formats
3657
3658    Mutt-ng supports reading and writing of four different mailbox formats:
3659    mbox, MMDF, MH and Maildir. The mailbox type is autodetected, so there is
3660    no need to use a flag for different mailbox types. When creating
3661    newmailboxes, Mutt-ng uses the default specified with the $mbox_type
3662    variable.
3663
3664    mbox. This is the most widely used mailbox format for UNIX. All messages
3665    are stored in a single file. Each message has a line of the form:
3666
3667  From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST
3668
3669    to denote the start of a new message (this is often referred to as the
3670    ``From_'' line).
3671
3672    MMDF. This is a variant of the mbox format. Each message is surrounded by
3673    lines containing ``^A^A^A^A'' (four control-A's).
3674
3675    MH. A radical departure from mbox and MMDF, a mailbox consists of a
3676    directory and each message is stored in a separate file. The filename
3677    indicates the message number (however, this is may not correspond to the
3678    message number Mutt-ng displays). Deleted messages arerenamed with a comma
3679    (,) prepended to the filename. Note: Mutt detects this type of mailbox by
3680    looking for either .mh_sequences or .xmhcache (needed to distinguish
3681    normal directories from MH mailboxes).
3682
3683    Maildir. The newest of the mailbox formats, used by the Qmail MTA (a
3684    replacement for sendmail). Similar to MH, except that it adds three
3685    subdirectories of the mailbox: tmp, new and cur .Filenames for the
3686    messages are chosen in such a way they are unique, even when twoprograms
3687    are writing the mailbox over NFS, which means that no file locking is
3688    needed.
3689
3690 9. Mailbox Shortcuts
3691
3692    There are a number of built in shortcuts which refer to specific
3693    mailboxes. These shortcuts can be used anywhere you are prompted for a
3694    file or mailbox path.
3695
3696      o ! -- refers to your $spoolfile (incoming) mailbox
3697
3698      o > -- refers to your $mbox file
3699
3700      o < -- refers to your $record file
3701
3702      o ^ -- refers to the current mailbox
3703
3704      o - or !! -- refers to the file you've last visited
3705
3706      o ~ -- refers to your home directory
3707
3708      o = or + -- refers to your $folder directory
3709
3710      o @alias -- refers to the save-hook as determined by the address of the
3711        alias
3712
3713 10. Handling Mailing Lists
3714
3715    Mutt-ng has a few configuration options that make dealing with large
3716    amounts of mail easier. The first thing you must do is to let Mutt know
3717    what addresses you consider to be mailing lists (technically this does not
3718    have to be a mailing list, but that is what it is most often used for),
3719    and what lists you are subscribed to. This is accomplished through the use
3720    of the lists commands in your muttrc.
3721
3722    Now that Mutt-ng knows what your mailing lists are, it can do several
3723    things, the first of which is the ability to show the name of a list
3724    through which you received a message (i.e., of a subscribed list) in the
3725    index menu display. This is useful to distinguish between personal and
3726    list mail in the same mailbox. In the $index_format variable, the escape
3727    ``%L'' will return the string ``To <list>'' when ``list'' appears in the
3728    ``To'' field, and ``Cc <list>'' when it appears in the ``Cc'' field
3729    (otherwise it returns the name of the author).
3730
3731    Often times the ``To'' and ``Cc'' fields in mailing list messages tend to
3732    get quite large. Most people do not bother to remove the author of the
3733    message they are reply to from the list, resulting in two or more copies
3734    being sent to that person. The ``list-reply'' function, which by default
3735    is bound to ``L'' in the index menu and pager, helps reduce the clutter by
3736    only replying to the known mailing list addresses instead of all
3737    recipients (except as specified by Mail-Followup-To, see below).
3738
3739    Mutt-ng also supports the Mail-Followup-To header. When you send a message
3740    to a list of recipients which includes one or several subscribed mailing
3741    lists, and if the $followup_to option is set, mutt will generate a
3742    Mail-Followup-To header which contains all the recipients to whom you send
3743    this message, but not your address. This indicates that group-replies or
3744    list-replies (also known as ``followups'') to this message should only be
3745    sent to the original recipients of the message, and not separately to you
3746    - you'll receive your copy through one of the mailing lists you are
3747    subscribed to.
3748
3749    Conversely, when group-replying or list-replying to a message which has a
3750    Mail-Followup-To header, mutt will respect this header if the
3751    $honor_followup_to configuration variable is set. Using list-reply will in
3752    this case also make sure that the reply goes to the mailing list, even if
3753    it's not specified in the list of recipients in the Mail-Followup-To.
3754
3755    Note that, when header editing is enabled, you can create a
3756    Mail-Followup-To header manually. Mutt-ng will only auto-generate this
3757    header if it doesn't exist when you send the message.
3758
3759    The other method some mailing list admins use is to generate a
3760    ``Reply-To'' field which points back to the mailing list address rather
3761    than the author of the message. This can create problems when trying to
3762    reply directly to the author in private, since most mail clients will
3763    automatically reply to the address given in the ``Reply-To'' field.
3764    Mutt-ng uses the $reply_to variable to help decide which address to use.
3765    If set to ask-yes or ask-no, you will be prompted as to whether or not you
3766    would like to use the address given inthe ``Reply-To'' field, or reply
3767    directly to the address given in the ``From'' field. When set to yes, the
3768    ``Reply-To'' field will be used when present.
3769
3770    The ``X-Label:'' header field can be used to further identify mailing
3771    lists or list subject matter (or just to annotate messages individually).
3772    The $index_format variable's ``%y'' and ``%Y'' escapes can be used to
3773    expand ``X-Label:'' fields in the index, and Mutt-ng's pattern-matcher can
3774    match regular expressions to ``X-Label:'' fields with the ``~y'' selector.
3775    ``X-Label:'' is not a standard message header field, but it can easily be
3776    inserted by procmailand other mail filtering agents.
3777
3778    Lastly, Mutt-ng has the ability to sort the mailbox into threads. A thread
3779    is a group of messages which all relate to the same subject. This is
3780    usually organized into a tree-like structure where a message and all of
3781    its replies are represented graphically. If you've ever used a threaded
3782    news client, this is the same concept. It makes dealingwith large volume
3783    mailing lists easier because you can easily delete uninteresting threads
3784    and quickly find topics of value.
3785
3786 11. Editing threads
3787
3788    Mutt-ng has the ability to dynamically restructure threads that are broken
3789    either by misconfigured software or bad behavior from some correspondents.
3790    This allows to clean your mailboxes formats) from these annoyances which
3791    make it hard to follow a discussion.
3792
3793   11.1. Linking threads
3794
3795    Some mailers tend to "forget" to correctly set the "In-Reply-To:" and
3796    "References:" headers when replying to a message. This results in broken
3797    discussions because Mutt-ng has not enough information to guess the
3798    correct threading. You can fix this by tagging the reply, then moving to
3799    the parent message and using the ``link-threads'' function (bound to & by
3800    default). The reply will then be connected to this "parent" message.
3801
3802    You can also connect multiple children at once, tagging them and using the
3803    tag-prefix command (';') or the auto_tag option.
3804
3805   11.2. Breaking threads
3806
3807    On mailing lists, some people are in the bad habit of starting a new
3808    discussion by hitting "reply" to any message from the list and changing
3809    the subject to a totally unrelated one. You can fix such threads by using
3810    the ``break-thread'' function (boundby default to #), which will turn the
3811    subthread starting from the current message into a whole different thread.
3812
3813 12. Delivery Status Notification (DSN) Support
3814
3815    RfC 1894 defines a set of MIME content types for relaying information
3816    about the status of electronic mail messages. These can be thought of as
3817    ``return receipts.''
3818
3819    Users can make use of it in one of the following two ways:
3820
3821      o Berkeley sendmail 8.8.x currently has some command line options in
3822        which the mail client can make requests as to what type of status
3823        messages should be returned.
3824
3825      o The SMTP support via libESMTP supports it, too.
3826
3827    To support this, there are two variables:
3828
3829      o $dsn_notify is used to request receipts for different results (such as
3830        failed message,message delivered, etc.).
3831
3832      o $dsn_return requests how much of your message should be returned with
3833        the receipt (headers or full message).
3834
3835    Please see the reference chapter for possible values.
3836
3837 13. POP3 Support (OPTIONAL)
3838
3839    If Mutt-ng was compiled with POP3 support (by running the configure script
3840    with the --enable-pop flag), it has the ability to work with mailboxes
3841    located on a remote POP3 server and fetch mail for local browsing.
3842
3843    You can access the remote POP3 mailbox by selecting the folder
3844    pop://popserver/.
3845
3846    You can select an alternative port by specifying it with the server, i.e.:
3847    pop://popserver:port/.
3848
3849    You can also specify different username for each folder, i.e.:
3850    pop://username@popserver[:port]/.
3851
3852    Polling for new mail is more expensive over POP3 than locally. For this
3853    reason the frequency at which Mutt-ng will check for mail remotely can be
3854    controlled by the $pop_mail_check variable, which defaults to every 60
3855    seconds.
3856
3857    If Mutt-ng was compiled with SSL support (by running the configure script
3858    with the --with-ssl flag), connections to POP3 servers can be encrypted.
3859    This naturally requires that the server supports SSL encrypted
3860    connections. To access a folder with POP3/SSL, you should use pops:
3861    prefix, ie: pops://[username@]popserver[:port]/.
3862
3863    Another way to access your POP3 mail is the fetch-mail function (default:
3864    G). It allows to connect to pop-host ,fetch all your new mail and place it
3865    in the local $spoolfile. After this point, Mutt-ng runs exactly as if the
3866    mail had always been local.
3867
3868    Note: If you only need to fetch all messages to local mailbox you should
3869    consider using a specialized program, such as fetchmail(1).
3870
3871 14. IMAP Support (OPTIONAL)
3872
3873    If Mutt-ng was compiled with IMAP support (by running the configure script
3874    with the --enable-imap flag), it has the ability to work with folders
3875    located on a remote IMAP server.
3876
3877    You can access the remote inbox by selecting the folder via its URL:
3878
3879  imap://imapserver/INBOX
3880
3881    where imapserver is the name of the IMAP server and INBOX is the special
3882    name for your spool mailbox on the IMAP server. If you want to access
3883    another mail folder at the IMAP server, you should use
3884
3885  imap://imapserver/path/to/folder
3886
3887    where path/to/folder is the path of the folder you want to access. You can
3888    select an alternative port by specifying it with the server, i.e.:
3889
3890  imap://imapserver:port/INBOX
3891
3892    You can also specify different username for each folder by prenpending
3893    your username and an @ symbol to the server's name.
3894
3895    If Mutt-ng was compiled with SSL support (by running the configure script
3896    with the --with-ssl flag), connections to IMAP servers can be encrypted.
3897    This naturally requires that the server supports SSL encrypted
3898    connections. To access a folder with IMAP/SSL, you only need to substitute
3899    the initial imap:// by imaps:// in the above examples.
3900
3901    Note that not all servers use / as the hierarchy separator. Mutt-ng should
3902    correctly notice which separator is being used by the server and
3903    convertpaths accordingly.
3904
3905    When browsing folders on an IMAP server, you can toggle whether to look at
3906    only the folders you are subscribed to, or all folders with the
3907    toggle-subscribed command. See also the $imap_list_subscribed variable.
3908
3909    Polling for new mail on an IMAP server can cause noticeable delays. So,
3910    you'll want to carefully tune the $imap_mail_check and $timeout variables.
3911
3912    Note that if you are using mbox as the mail store on UW servers prior
3913    tov12.250, the server has been reported to disconnect a client if another
3914    client selects the same folder.
3915
3916   14.1. The Folder Browser
3917
3918    As of version 1.2, mutt supports browsing mailboxes on an IMAP server.
3919    This is mostly the same as the local file browser, with the following
3920    differences:
3921
3922      o Instead of file permissions, mutt displays the string "IMAP", possibly
3923        followed by the symbol "+", indicating that the entry contains both
3924        messages and subfolders. On Cyrus-like servers folders will often
3925        contain both messages and subfolders.
3926
3927      o For the case where an entry can contain both messages and subfolders,
3928        the selection key (bound to enter by default) will choose to descend
3929        into the subfolder view. If you wish to view the messages in that
3930        folder, you must use view-file instead (bound to space by default).
3931
3932      o You can create, delete and rename mailboxes with the create-mailbox,
3933        delete-mailbox, and rename-mailbox commands (default bindings: C , d
3934        and r, respectively). You may also subscribe and unsubscribe to
3935        mailboxes (normally these are bound to s and u, respectively).
3936
3937   14.2. Authentication
3938
3939    Mutt-ng supports four authentication methods with IMAP servers: SASL,
3940    GSSAPI, CRAM-MD5, and LOGIN (there is a patch by Grant Edwards to add NTLM
3941    authentication for you poor exchange users out there, but it has yet to be
3942    integrated into the main tree). There is also support for the
3943    pseudo-protocol ANONYMOUS, which allows you to log in to a public IMAP
3944    server without having an account. To use ANONYMOUS, simply make your
3945    username blank or "anonymous".
3946
3947    SASL is a special super-authenticator, which selects among several
3948    protocols (including GSSAPI, CRAM-MD5, ANONYMOUS, and DIGEST-MD5) the most
3949    secure method available on your host and the server. Using some of these
3950    methods (including DIGEST-MD5 and possibly GSSAPI), your entire session
3951    will be encrypted and invisible to those teeming network snoops. It is the
3952    best option if you have it. To use it, you must have the Cyrus SASL
3953    libraryinstalled on your system and compile mutt with the --with-sasl
3954    flag.
3955
3956    Mutt-ng will try whichever methods are compiled in and available on the
3957    server, in the following order: SASL, ANONYMOUS, GSSAPI, CRAM-MD5, LOGIN.
3958
3959    There are a few variables which control authentication:
3960
3961      o $imap_user - controls the username under which you request
3962        authentication on the IMAP server, for all authenticators. This is
3963        overridden by an explicit username in the mailbox path (i.e. by using
3964        a mailbox name of the form {user@host}).
3965
3966      o $imap_pass - a password which you may preset, used by all
3967        authentication methods where a password is needed.
3968
3969      o $imap_authenticators - a colon-delimited list of IMAP authentication
3970        methods to try, in the order you wish to try them. If specified, this
3971        overrides mutt's default (attempt everything, in the order listed
3972        above).
3973
3974 15. NNTP Support (OPTIONAL)
3975
3976    If compiled with ``--enable-nntp'' option, Mutt-ng can read news from a
3977    newsserver via NNTP. You can open a newsgroup with the
3978    ``change-newsgroup'' function from the index/pager which is by default
3979    bound to i.
3980
3981    The Default newsserver can be obtained from the $NNTPSERVER environment
3982    variable. Like other news readers, info about subscribed newsgroups is
3983    saved in a file as specified by the $nntp_newsrc variable. Article headers
3984    are cached and can be loaded from a file when a newsgroup is entered
3985    instead loading from newsserver; currently, this caching mechanism still
3986    is different from the header caching for maildir/IMAP.
3987
3988   15.1. Again: Scoring
3989
3990    Especially for Usenet, people often ask for advanced filtering and scoring
3991    functionality. Of course, mutt-ng has scoring and allows a killfile, too.
3992    How to use a killfile has been discussed in Message Scoring.
3993
3994    What has not been discusses in detail is mutt-ng's built-in realname
3995    filter. For may newsreaders including those for ``advanced users'' like
3996    slrn or tin, there are frequent request for such functionality. The
3997    solutions offered often are complicated regular expressions.
3998
3999    In mutt-ng this is as easy as
4000
4001  score ~* =42
4002
4003    This tells mutt-ng to apply a score of 42 to all messages whose sender
4004    specified a valid realname and a valid email address. Using
4005
4006  score !~* =42
4007
4008    on the contrary applies a score of 42 to all messages not matching those
4009    criteria which are very strict:
4010
4011      o Email addresses must be valid according to RfC 2822
4012
4013      o the name must consist of at least 2 fields whereby a field must not
4014        end in a dot. This means that ``Joe User'' and ``Joe A.User'' are
4015        valid while ``J. User'' and ``J. A. User'' aren't.
4016
4017      o it's assumed that users are interested in reading their own mail and
4018        mail from people who they have defined an alias forso that those 2
4019        groups of messages are excluded from the strict rules.
4020
4021 16. SMTP Support (OPTIONAL)
4022
4023    Mutt-ng can be built using a library called ``libESMTP'' which provides
4024    SMTP functionality. When configure was called with --with-libesmtp or the
4025    output muttng -v contains +USE_LIBESMTP, this will be or is the case
4026    already. The SMTP support includes support for Delivery Status
4027    Notification (see dsn section) as well as handling the 8BITMIME flag
4028    controlled via $use_8bitmime.
4029
4030    To enable sending mail directly via SMTP without an MTA such as Postfix or
4031    SSMTP and the like, simply set the $smtp_host variable pointing to your
4032    SMTP server.
4033
4034    Authentication mechanisms are available via the $smtp_user and $smtp_pass
4035    variables.
4036
4037    Transport Encryption via the StartTLS command is also available. For this
4038    to work, first of all Mutt-ng must be built with SSL or GNUTLS. Secondly,
4039    the $smtp_use_tls variable must be either set to ``enabled'' or
4040    ``required.'' In both cases, StartTLS will be used if the server supports
4041    it: for the second case, the connection will fail ifit doesn't while
4042    switching back to unencrypted communication for the first one.
4043
4044    Some mail providers require user's to set a particular envelope sender,
4045    i.e. they allow for only one value which may not be what the user wants to
4046    send as the From: header. In this case, the variable $smtp_envelope may be
4047    used to set the envelope different from the From: header.
4048
4049 17. Managing multiple IMAP/POP/NNTP accounts (OPTIONAL)
4050
4051    If you happen to have accounts on multiple IMAP and/or POP servers, you
4052    may find managing all the authentication settings inconvenient and
4053    error-prone. The account-hook command may help. This hook works like
4054    folder-hook but is invoked whenever you access a remote mailbox (including
4055    inside the folder browser), not just when you open the mailbox.
4056
4057    Some examples:
4058
4059  account-hook . 'unset imap_user; unset imap_pass; unset tunnel'
4060  account-hook imap://host1/ 'set imap_user=me1 imap_pass=foo'
4061  account-hook imap://host2/ 'set tunnel="ssh host2 /usr/libexec/imapd"'
4062
4063 18. Start a WWW Browser on URLs (EXTERNAL)
4064
4065    If a message contains URLs (unified resource locator = address in the WWW
4066    space like http://www.mutt.org/), it is efficient to get a menu with all
4067    the URLs and start a WWW browser on one of them. This functionality is
4068    provided by the external urlview program which can be retrieved at
4069    <ftp://ftp.mutt.org/mutt/contrib/> and the configuration commands:
4070
4071  macro index \cb |urlview\n
4072  macro pager \cb |urlview\n
4073
4074 19. Compressed folders Support (OPTIONAL)
4075
4076    If Mutt-ng was compiled with compressed folders support (by running the
4077    configure script with the --enable-compressed flag), Mutt can open folders
4078    stored in an arbitrary format, provided that the user has a script to
4079    convert from/to this format to one of the accepted.
4080
4081    The most common use is to open compressed archived folders e.g. with gzip.
4082
4083    In addition, the user can provide a script that gets a folder in an
4084    accepted format and appends its context to the folder in the user-defined
4085    format, which may be faster than converting the entire folder to the
4086    accepted format, appending to it and converting back to the user-defined
4087    format.
4088
4089    There are three hooks defined (open-hook, close-hook and append-hook
4090    )which define commands to uncompress and compress a folder and to append
4091    messages to an existing compressed folder respectively.
4092
4093    For example:
4094
4095  open-hook \\.gz$ "gzip -cd %f > %t"
4096  close-hook \\.gz$ "gzip -c %t > %f"
4097  append-hook \\.gz$ "gzip -c %t >> %f"
4098
4099    You do not have to specify all of the commands. If you omit append-hook
4100    ,the folder will be open and closed again each time you will add to it. If
4101    you omit close-hook (or give empty command) , the folder will be open in
4102    the mode. If you specify append-hook though you'll be able to append to
4103    the folder.
4104
4105    Note that Mutt-ng will only try to use hooks if the file is not in one of
4106    the accepted formats. In particular, if the file is empty, mutt supposes
4107    it is not compressed. This is important because it allows the use of
4108    programs that do not have well defined extensions. Just use "." as a
4109    regexp. But this may be surprising if your compressing script produces
4110    empty files. In this situation, unset $save_empty ,so that the compressed
4111    file will be removed if you delete all of the messages.
4112
4113   19.1. Open a compressed mailbox for reading
4114
4115    Usage: open-hookregexp "command"
4116
4117    The command is the command that can be used for opening the folders whose
4118    names match regexp.
4119
4120    The command string is the printf-like format string, and it should accept
4121    two parameters: %f, which is replaced with the (compressed) folder name,
4122    and %t which is replaced with the name of the temporary folder to which to
4123    write.
4124
4125    %f and %t can be repeated any number of times in the command string, and
4126    all of the entries are replaced with the appropriate folder name. In
4127    addition, %% is replaced by %, as in printf, and any other %anything is
4128    left as is.
4129
4130    The command should not remove the original compressed file. The command
4131    should return non-zero exit status if it fails, so mutt knows something's
4132    wrong.
4133
4134    Example:
4135
4136  open-hook \\.gz$ "gzip -cd %f > %t"
4137
4138    If the command is empty, this operation is disabled for this file type.
4139
4140   19.2. Write a compressed mailbox
4141
4142    Usage: close-hookregexp"command"
4143
4144    This is used to close the folder that was open with the open-hook command
4145    after some changes were made to it.
4146
4147    The command string is the command that can be used for closing the folders
4148    whose names match regexp. It has the same format as in the open-hook
4149    command. Temporary folder in this case is the folder previously produced
4150    by the open-hook command.
4151
4152    The command should not remove the decompressed file. The command should
4153    return non-zero exit status if it fails, so mutt knows something's wrong.
4154
4155    Example:
4156
4157  close-hook \\.gz$ "gzip -c %t > %f"
4158
4159    If the command is empty, this operation is disabled for this file type,
4160    and the file can only be open in the readonly mode.
4161
4162    close-hook is not called when you exit from the folder if the folder was
4163    not changed.
4164
4165   19.3. Append a message to a compressed mailbox
4166
4167    Usage: append-hookregexp"command"
4168
4169    This command is used for saving to an existing compressed folder. The
4170    command is the command that can be used for appending to the folders whose
4171    names match regexp. It has the same format as in the open-hook command.
4172    The temporary folder in this case contains the messages that are
4173    beingappended.
4174
4175    The command should not remove the decompressed file. The command should
4176    return non-zero exit status if it fails, so mutt knows something's wrong.
4177
4178    Example:
4179
4180  append-hook \\.gz$ "gzip -c %t >> %f"
4181
4182    When append-hook is used, the folder is not opened, which saves time, but
4183    this means that we can not find out what the folder type is. Thus the
4184    default ($mbox_type )type is always supposed (i.e. this is the format used
4185    for the temporary folder).
4186
4187    If the file does not exist when you save to it, close-hook is called, and
4188    not append-hook. append-hook is only for appending to existing folders.
4189
4190    If the command is empty, this operation is disabled for this file type. In
4191    this case, the folder will be open and closed again (using open-hook and
4192    close-hook respectively) each time you will add to it.
4193
4194   19.4. Encrypted folders
4195
4196    The compressed folders support can also be used to handle encrypted
4197    folders. If you want to encrypt a folder with PGP, you may want to usethe
4198    following hooks:
4199
4200  open-hook  \\.pgp$ "pgp -f < %f > %t"
4201  close-hook \\.pgp$ "pgp -fe YourPgpUserIdOrKeyId < %t > %f"
4202
4203    Please note, that PGP does not support appending to an encrypted folder,
4204    so there is no append-hook defined.
4205
4206    Note: the folder is temporary stored decrypted in the /tmp directory,
4207    where it can be read by your system administrator. So thinkabout the
4208    security aspects of this.
4209
4210 Chapter 5. Mutt-ng's MIME Support
4211
4212    Table of Contents
4213
4214    1. Using MIME in Mutt
4215
4216                 1.1. Viewing MIME messages in the pager
4217
4218                 1.2. The Attachment Menu
4219
4220                 1.3. The Compose Menu
4221
4222    2. MIME Type configuration with mime.types
4223
4224    3. MIME Viewer configuration with mailcap
4225
4226                 3.1. The Basics of the mailcap file
4227
4228                 3.2. Secure use of mailcap
4229
4230                 3.3. Advanced mailcap Usage
4231
4232                 3.4. Example mailcap files
4233
4234    4. MIME Autoview
4235
4236    5. MIME Multipart/Alternative
4237
4238    6. Attachment Searching and Counting
4239
4240    7. MIME Lookup
4241
4242    Quite a bit of effort has been made to make Mutt-ng the premier text-mode
4243    MIME MUA. Every effort has been made to provide the functionality that the
4244    discerning MIME user requires, and the conformance to the standards
4245    wherever possible. When configuring Mutt-ng for MIME, there are two
4246    extratypes of configuration files which Mutt-ng uses. One is the
4247    mime.types file, which contains the mapping of file extensions to IANA
4248    MIME types. The other is the mailcap file, which specifies the external
4249    commands to use for handling specific MIME types.
4250
4251 1. Using MIME in Mutt
4252
4253    There are three areas/menus in Mutt-ng which deal with MIME, they are the
4254    pager (while viewing a message), the attachment menu and the compose menu.
4255
4256   1.1. Viewing MIME messages in the pager
4257
4258    When you select a message from the index and view it in the pager, Mutt
4259    decodes the message to a text representation. Mutt-ng internally supports
4260    a number of MIME types, including text/plain, text/enriched,
4261    message/rfc822, and message/news .In addition, the export controlled
4262    version of Mutt-ng recognizes a variety of PGP MIME types, including
4263    PGP/MIME and application/pgp.
4264
4265    Mutt-ng will denote attachments with a couple lines describing them. These
4266    lines are of the form:
4267
4268  [-- Attachment #1: Description --]
4269  [-- Type: text/plain, Encoding: 7bit, Size: 10000 --]
4270
4271    Where the Description is the description or filename given for the
4272    attachment, and the Encoding is one of
4273    7bit/8bit/quoted-printable/base64/binary.
4274
4275    If Mutt-ng cannot deal with a MIME type, it will display a message like:
4276
4277  [-- image/gif is unsupported (use 'v' to view this part) --]
4278
4279   1.2. The Attachment Menu
4280
4281    The default binding for view-attachments is `v', which displays the
4282    attachment menu for a message. The attachment menu displays a list ofthe
4283    attachments in a message. From the attachment menu, you can save, print,
4284    pipe, delete, and view attachments. You can apply these operations to a
4285    group of attachments at once, by tagging the attachments and by using the
4286    ``tag-prefix'' operator. You can also reply to the current message from
4287    this menu, and only the current attachment (or the attachments tagged)
4288    will be quoted in your reply. You can view attachments as text, or view
4289    them using the mailcap viewer definition.
4290
4291    Finally, you can apply the usual message-related functions (like
4292    <resend-message>, and the reply and forward functions) to attachments of
4293    type message/rfc822.
4294
4295    See the help on the attachment menu for more information.
4296
4297   1.3. The Compose Menu
4298
4299    The compose menu is the menu you see before you send a message. It allows
4300    you to edit the recipient list, the subject, and other aspects of your
4301    message. It also contains a list of the attachments of your message,
4302    including the main body. From this menu, you can print, copy, filter,
4303    pipe, edit, compose, review, and rename an attachment or a list of tagged
4304    attachments. You can also modifying the attachment information, notably
4305    the type, encoding and description.
4306
4307    Attachments appear as follows:
4308
4309  1 [text/plain, 7bit, 1K]             /tmp/mutt-euler-8082-0 <no description>
4310  2 [applica/x-gunzip, base64, 422K]   ~/src/mutt-0.85.tar.gz <no description>
4311
4312    The '-' denotes that Mutt-ng will delete the file after sending (or
4313    postponing, or canceling) the message. It can be toggled with the
4314    toggle-unlink command (default: u). The next field is the MIME
4315    content-type, and can be changed with the edit-type command (default: ^T).
4316    The next field is the encoding for the attachment, which allows a binary
4317    message to be encoded for transmission on 7bit links. It can be changed
4318    with the edit-encoding command (default: ^E). The next field is the size
4319    of the attachment, rounded to kilobytes or megabytes. The next field is
4320    the filename, which can be changed with the rename-file command (default:
4321    R). The final field is the description of the attachment, and can be
4322    changed with the edit-description command (default: d).
4323
4324 2.  MIME Type configuration with mime.types
4325
4326    When you add an attachment to your mail message, Mutt-ng searches your
4327    personal mime.types file within $HOME and then the system mime.types file
4328    at /usr/local/share/mutt/mime.types or /etc/mime.types
4329
4330    The mime.types file consist of lines containing a MIME type and a space
4331    separated list of extensions. For example:
4332
4333  application/postscript          ps eps
4334  application/pgp                 pgp
4335  audio/x-aiff                    aif aifc aiff
4336
4337    A sample mime.types file comes with the Mutt-ng distribution, and should
4338    contain most of the MIME types you are likely to use.
4339
4340    If Mutt-ng can not determine the mime type by the extension of the file
4341    you attach, it will look at the file. If the file is free of binary
4342    information, Mutt-ng will assume that the file is plain text, and mark it
4343    as text/plain. If the file contains binary information, then Mutt-ng will
4344    mark it as application/octet-stream. You can change the MIME type that
4345    Mutt-ng assigns to an attachment by using the edit-type command from the
4346    compose menu (default: ^T). The MIME type is actually a major mime type
4347    followed by the sub-type, separated by a '/'. 6 major types: application,
4348    text, image, video, audio, and model have been approved after various
4349    internet discussions. Mutt-ng recognises all of these if the appropriate
4350    entry is found in the mime.types file. It also recognises other major mime
4351    types, such as the chemical type that is widely used in the molecular
4352    modelling community to pass molecular data in various forms to various
4353    molecular viewers. Non-recognised mime types should only be used if the
4354    recipient of the message is likely to be expecting such attachments.
4355
4356 3.  MIME Viewer configuration with mailcap
4357
4358    Mutt-ng supports RfC 1524 MIME Configuration, in particular the Unix
4359    specific format specified in Appendix A of the RfC. This file format is
4360    commonly referred to as the mailcap format. Many MIME compliant programs
4361    utilize the mailcap format, allowing you to specify handling for all MIME
4362    types in one place for all programs. Programs known to use this format
4363    include Netscape, XMosaic, lynx and metamail.
4364
4365    In order to handle various MIME types that Mutt-ng can not handle
4366    internally, Mutt-ng parses a series of external configuration files to
4367    find an external handler. The default search string for these files is a
4368    colon delimited list set to
4369
4370  ${HOME}/.mailcap:/usr/local/share/mutt/mailcap:/etc/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap
4371
4372    where $HOME is your home directory.
4373
4374    In particular, the metamail distribution will install a mailcap file,
4375    usually as /usr/local/etc/mailcap, which contains some baseline entries.
4376
4377   3.1. The Basics of the mailcap file
4378
4379    A mailcap file consists of a series of lines which are comments, blank, or
4380    definitions.
4381
4382    A comment line consists of a # character followed by anything you want.
4383
4384    A blank line is blank.
4385
4386    A definition line consists of a content type, a view command, and any
4387    number of optional fields. Each field of a definition line is dividedby a
4388    semicolon ';' character.
4389
4390    The content type is specified in the MIME standard type/subtype method.
4391    For example, text/plain, text/html, image/gif, etc. In addition, the
4392    mailcap format includes two formats for wildcards, one using the special
4393    '*' subtype, the other is the implicit wild, where you only include the
4394    major type. For example, image/* ,or video, will match all image types and
4395    video types, respectively.
4396
4397    The view command is a Unix command for viewing the type specified. There
4398    are two different types of commands supported. The default is to send the
4399    body of the MIME message to the command on stdin. You can change this
4400    behavior by using %s as a parameter to your view command. This will cause
4401    Mutt-ng to save the body of the MIME message to a temporary file, and then
4402    call the view command with the %s replaced by the name of the temporary
4403    file. In both cases, Mutt-ng will turn over the terminal to the view
4404    program until the program quits, at which time Mutt will remove the
4405    temporary file if it exists.
4406
4407    So, in the simplest form, you can send a text/plain message to the
4408    external pager more on stdin:
4409
4410  text/plain; more
4411
4412    Or, you could send the message as a file:
4413
4414  text/plain; more %s
4415
4416    Perhaps you would like to use lynx to interactively view a text/html
4417    message:
4418
4419  text/html; lynx %s
4420
4421    In this case, lynx does not support viewing a file from stdin, so you must
4422    use the %s syntax. Note:Some older versions of lynx contain a bug where
4423    they will check the mailcap file for a viewer for text/html. They will
4424    find the line which calls lynx, and run it. This causes lynx to
4425    continuously spawn itself to view the object.
4426
4427    On the other hand, maybe you don't want to use lynx interactively, youjust
4428    want to have it convert the text/html to text/plain, then you can use:
4429
4430  text/html; lynx -dump %s | more
4431
4432    Perhaps you wish to use lynx to view text/html files, and a pager on all
4433    other text formats, then you would use the following:
4434
4435  text/html; lynx %s
4436  text/*; more
4437
4438    This is the simplest form of a mailcap file.
4439
4440   3.2. Secure use of mailcap
4441
4442    The interpretation of shell meta-characters embedded in MIME parameters
4443    can lead to security problems in general. Mutt-ng tries to quote
4444    parameters in expansion of %s syntaxes properly, and avoids risky
4445    characters by substituting them, see the $mailcap_sanitize variable.
4446
4447    Although mutt's procedures to invoke programs with mailcap seem to be
4448    safe, there are other applications parsing mailcap, maybe taking less care
4449    of it. Therefore you should pay attention to the following rules:
4450
4451    Keep the %-expandos away from shell quoting. Don't quote them with single
4452    or double quotes. Mutt-ng does this for you, the right way, as should any
4453    other program which interprets mailcap. Don't put them into backtick
4454    expansions. Be highly careful with eval statements, and avoid them if
4455    possible at all. Trying to fix broken behaviour with quotes introduces new
4456    leaks - there is no alternative to correct quoting in the first place.
4457
4458    If you have to use the %-expandos' values in context where you need
4459    quoting or backtick expansions, put that value into a shell variable and
4460    reference the shell variable where necessary, as in the following example
4461    (using $charset inside the backtick expansion is safe, since it is not
4462    itself subject to any further expansion):
4463
4464  text/test-mailcap-bug; cat %s; copiousoutput; test=charset=%{charset} \
4465  && test "`echo $charset | tr '[A-Z]' '[a-z]'`" != iso-8859-1
4466
4467   3.3. Advanced mailcap Usage
4468
4469     3.3.1. Optional Fields
4470
4471    In addition to the required content-type and view command fields, you can
4472    add semi-colon ';' separated fields to set flags and other options.
4473    Mutt-ng recognizes the following optional fields:
4474
4475    copiousoutput
4476
4477            This flag tells Mutt-ng that the command passes possibly large
4478            amounts of text on stdout. This causes Mutt-ng to invoke a pager
4479            (either the internal pager or the external pager defined by the
4480            pager variable) on the output of the view command. Without this
4481            flag, Mutt-ng assumes that the command is interactive. One could
4482            use this to replace the pipe to more in the lynx -dump example in
4483            the Basic section:
4484
4485  text/html; lynx -dump %s ; copiousoutput
4486
4487            This will cause lynx to format the text/html output as text/plain
4488            and Mutt-ng will use your standard pager to display the results.
4489
4490    needsterminal
4491
4492            Mutt-ng uses this flag when viewing attachments with auto_view, in
4493            order to decide whether it should honor the setting of the
4494            $wait_key variable or not. When an attachment is viewed using an
4495            interactive program, and the corresponding mailcap entry has a
4496            needsterminal flag, Mutt-ng will use $wait_key and the exit
4497            statusof the program to decide if it will ask you to press a key
4498            after the external program has exited. In all other situations it
4499            will not prompt you for a key.
4500
4501    compose=<command>
4502
4503            This flag specifies the command to use to create a new attachment
4504            of a specific MIME type. Mutt-ng supports this from the compose
4505            menu.
4506
4507    composetyped=<command>
4508
4509            This flag specifies the command to use to create a new attachment
4510            of a specific MIME type. This command differs from the compose
4511            command in that mutt will expect standard MIME headers on the
4512            data. This can be used to specify parameters, filename,
4513            description, etc. for a new attachment. Mutt-ng supports this from
4514            the compose menu.
4515
4516    print=<command>
4517
4518            This flag specifies the command to use to print a specific MIME
4519            type. Mutt-ng supports this from the attachment and compose menus.
4520
4521    edit=<command>
4522
4523            This flag specifies the command to use to edit a specific MIME
4524            type. Mutt-ng supports this from the compose menu, and also uses
4525            it to compose new attachments. Mutt-ng will default to the defined
4526            editor for text attachments.
4527
4528    nametemplate=<template>
4529
4530            This field specifies the format for the file denoted by %s in the
4531            command fields. Certain programs will require a certain file
4532            extension, for instance, to correctly view a file. For instance,
4533            lynx will only interpret a file as text/html if the file ends in
4534            .html. So, you would specify lynx as a text/html viewer with a
4535            line in the mailcap file like:
4536
4537  text/html; lynx %s; nametemplate=%s.html
4538
4539    test=<command>
4540
4541            This field specifies a command to run to test whether this mailcap
4542            entry should be used. The command is defined with the command
4543            expansion rules defined in the next section. If the command
4544            returns 0, then the test passed, and Mutt-ng uses this entry. If
4545            the command returns non-zero, then the test failed, and Mutt-ng
4546            continues searching for the right entry. Note:the content-type
4547            must match before Mutt-ng performs the test. For example:
4548
4549  text/html; netscape -remote 'openURL(%s)' ; test=RunningX
4550  text/html; lynx %s
4551
4552            In this example, Mutt-ng will run the program RunningX which will
4553            return 0 if the X Window manager is running, and non-zero if it
4554            isn't. If RunningX returns 0, then Mutt-ng will call netscape to
4555            display the text/html object. If RunningX doesn't return 0, then
4556            Mutt-ng will go on to the next entry and use lynx to display the
4557            text/html object.
4558
4559     3.3.2. Search Order
4560
4561    When searching for an entry in the mailcap file, Mutt-ng will search for
4562    the most useful entry for its purpose. For instance, if you are attempting
4563    to print an image/gif, and you have the following entries in your mailcap
4564    file, Mutt-ng will search for an entry with the print command:
4565
4566  image/*;        xv %s
4567  image/gif;      ; print= anytopnm %s | pnmtops | lpr; \
4568  nametemplate=%s.gif
4569
4570    Mutt-ng will skip the image/* entry and use the image/gif entry with the
4571    print command.
4572
4573    In addition, you can use this with auto_view to denote two commands for
4574    viewing an attachment, one to be viewed automatically, the other to be
4575    viewed interactively from the attachment menu. In addition, you can then
4576    use the test feature to determine which viewer to use interactively
4577    depending on your environment.
4578
4579  text/html;      netscape -remote 'openURL(%s)' ; test=RunningX
4580  text/html;      lynx %s; nametemplate=%s.html
4581  text/html;      lynx -dump %s; nametemplate=%s.html; copiousoutput
4582
4583    For auto_view, Mutt-ng will choose the third entry because of the
4584    copiousoutput tag. For interactive viewing, Mutt will run the program
4585    RunningX to determine if it should use the first entry. If the program
4586    returns non-zero, Mutt-ng will use the second entry for interactive
4587    viewing.
4588
4589     3.3.3. Command Expansion
4590
4591    The various commands defined in the mailcap files are passed to the
4592    /bin/sh shell using the system() function. Before the command is passed to
4593    /bin/sh -c, it is parsed to expand various special parameters with
4594    information from Mutt-ng. The keywords Mutt-ng expands are:
4595
4596    %s
4597
4598            As seen in the basic mailcap section, this variable is expanded to
4599            a filename specified by the calling program. This file contains
4600            the body of the message to view/print/edit or where the composing
4601            program should place the results of composition. In addition, the
4602            use of this keyword causes Mutt-ng to not pass the body of the
4603            message to the view/print/edit program on stdin.
4604
4605    %t
4606
4607            Mutt-ng will expand %t to the text representation of the content
4608            type of the message in the same form as the first parameter of the
4609            mailcap definition line, ie text/html or image/gif.
4610
4611    %{<parameter>}
4612
4613            Mutt-ng will expand this to the value of the specified parameter
4614            from the Content-Type: line of the mail message. For instance, if
4615            Your mail message contains:
4616
4617  Content-Type: text/plain; charset=iso-8859-1
4618
4619            then Mutt-ng will expand %{charset} to iso-8859-1. The default
4620            metamail mailcap file uses this feature to test the charset to
4621            spawn an xterm using the right charset to view the message.
4622
4623    \%
4624
4625            This will be replaced by a %
4626
4627    Mutt-ng does not currently support the %F and %n keywords specified in RfC
4628    1524. The main purpose of these parameters is for multipart messages,
4629    which is handled internally by Mutt-ng.
4630
4631   3.4. Example mailcap files
4632
4633    This mailcap file is fairly simple and standard:
4634
4635  >
4636  # I'm always running X :)
4637  video/*;        xanim %s > /dev/null
4638  image/*;        xv %s > /dev/null
4639
4640  # I'm always running netscape (if my computer had more memory, maybe)
4641  text/html;      netscape -remote 'openURL(%s)'
4642
4643    This mailcap file shows quite a number of examples:
4644
4645  # Use xanim to view all videos   Xanim produces a header on startup,
4646  # send that to /dev/null so I don't see it
4647  video/*;        xanim %s > /dev/null
4648
4649  # Send html to a running netscape by remote
4650  text/html;      netscape -remote 'openURL(%s)'; test=RunningNetscape
4651  # If I'm not running netscape but I am running X, start netscape on the
4652  # object
4653  text/html;      netscape %s; test=RunningX
4654
4655  # Else use lynx to view it as text
4656  text/html;      lynx %s
4657
4658  # This version would convert the text/html to text/plain
4659  text/html;      lynx -dump %s; copiousoutput
4660
4661  # I use enscript to print text in two columns to a page
4662  text/*;         more %s; print=enscript -2Gr %s
4663
4664  # Netscape adds a flag to tell itself to view jpegs internally
4665  image/jpeg;xv %s; x-mozilla-flags=internal
4666
4667  # Use xv to view images if I'm running X
4668  # In addition, this uses the \ to extend the line and set my editor
4669  # for images
4670  image/*;xv %s; test=RunningX; edit=xpaint %s
4671
4672  # Convert images to text using the netpbm tools
4673  image/*;  (anytopnm %s | pnmscale -xysize 80 46 | ppmtopgm | \
4674  pgmtopbm | pbmtoascii -1x2 ) 2>&1 ; copiousoutput
4675
4676  # Send excel spreadsheets to my NT box
4677  application/ms-excel; open.pl %s
4678
4679 4. MIME Autoview
4680
4681    Usage: auto_viewmime-type [mime-type ...]
4682
4683    Usage: unauto_viewmime-type [mime-type ...]
4684
4685    In addition to explicitly telling Mutt-ng to view an attachment with
4686    theMIME viewer defined in the mailcap file, Mutt-ng has support for
4687    automatically viewing MIME attachments while in the pager.
4688
4689    To work, you must define a viewer in the mailcap file which uses the
4690    copiousoutput option to denote that it is non-interactive. Usually, you
4691    also use the entry to convert the attachment to a text representation
4692    which you can view in the pager.
4693
4694    You then use the auto_view muttrc command to list the content-types that
4695    you wish to view automatically.
4696
4697    For instance, if you set auto_view to:
4698
4699  auto_view text/html application/x-gunzip application/postscript
4700  image/gif application/x-tar-gz
4701
4702    Mutt-ng could use the following mailcap entries to automatically view
4703    attachments of these types.
4704
4705  text/html;      lynx -dump %s; copiousoutput; nametemplate=%s.html
4706  image/*;        anytopnm %s | pnmscale -xsize 80 -ysize 50 | ppmtopgm | pgmtopbm | pbmtoascii ; copiousoutput
4707  application/x-gunzip;   gzcat; copiousoutput
4708  application/x-tar-gz; gunzip -c %s | tar -tf - ; copiousoutput
4709  application/postscript; ps2ascii %s; copiousoutput
4710
4711    ``unauto_view'' can be used to remove previous entries from the autoview
4712    list. This can be used with message-hook to autoview messages based on
4713    size, etc. ``unauto_view *'' will remove all previous entries.
4714
4715 5. MIME Multipart/Alternative
4716
4717    Usage: alternative_ordermime-type [mime-type ...]
4718
4719    Usage: unalternative_ordermime-type [mime-type ...]
4720
4721    Mutt-ng has some heuristics for determining which attachment of a
4722    multipart/alternative type to display. First, mutt will check the
4723    alternative_order list to determine if one of the available typesis
4724    preferred. The alternative_order list consists of a number of MIME types
4725    in order, including support for implicit and explicit wildcards, for
4726    example:
4727
4728  alternative_order text/enriched text/plain text
4729  application/postscript image/*
4730
4731    Next, mutt will check if any of the types have a defined auto_view, and
4732    use that. Failing that, Mutt-ng will look for any text type. As a last
4733    attempt, mutt willlook for any type it knows how to handle.
4734
4735    To remove a MIME type from the alternative_order list, use the
4736    unalternative_order command.
4737
4738 6. Attachment Searching and Counting
4739
4740    If you ever lose track of attachments in your mailboxes, Mutt's
4741    attachment-counting and -searching support might be for you. You can make
4742    your message index display the number of qualifying attachments in each
4743    message, or search for messages by attachment count. You also can
4744    configure what kinds of attachments qualify for this feature with the
4745    attachments and unattachments commands.
4746
4747    The syntax is:
4748
4749    Usage: attachments( {+|-}disposition mime-type | ? )
4750
4751    Usage: unattachments{+|-}disposition mime-type
4752
4753    Disposition is the attachment's Content-disposition type -- either
4754    "inline" or "attachment". You can abbreviate this to I or A.
4755
4756    Disposition is prefixed by either a + symbolor a - symbol. If it's a +,
4757    you're saying that you want to allow this disposition and MIME type to
4758    qualify. If it's a -, you're saying that this disposition and MIME type is
4759    an exception to previous + rules. There are examples below of how this is
4760    useful.
4761
4762    Mime-type is, unsurprisingly, the MIME type of the attachment you want to
4763    affect. A MIME type is always of the format "major/minor", where "major"
4764    describes the broad category of document you're looking at, and "minor"
4765    describes the specific type within that category. The major part of
4766    mim-type must be literal text (or the special token "*"), but the minor
4767    part may be a regular expression. (Therefore, "*/.*" matches any MIME
4768    type.)
4769
4770    The MIME types you give to the attachments directive are a kind of
4771    pattern. When you use the attachments directive, the patterns you specify
4772    are added to a list. When you use unattachments, the pattern is removed
4773    from the list. The patterns are not expanded and matched to specific MIME
4774    types at this time -- they're just text in a list. They're only matched
4775    when actually evaluating a message.
4776
4777    Some examples might help to illustrate. The examples that are not
4778    commented out define the default configuration of the lists.
4779
4780  ## Removing a pattern from a list removes that pattern literally. It
4781  ## does not remove any type matching the pattern.
4782  ##
4783  ## attachments +A */.*
4784  ## attachments +A image/jpeg
4785  ## unattachments +A */.*
4786  ##
4787  ## This leaves "attached" image/jpeg files on the allowed attachments
4788  ## list. It does not remove all items, as you might expect, because the
4789  ## second */.* is not a matching expression at this time.
4790  ##
4791  ## Remember: "unattachments" only undoes what "attachments" has done!
4792  ## It does not trigger any matching on actual messages.
4793
4794
4795  ## Qualify any MIME part with an "attachment" disposition, EXCEPT for
4796  ## text/x-vcard and application/pgp parts. (PGP parts are already known
4797  ## to mutt, and can be searched for with ~g, ~G, and ~k.)
4798  ##
4799  ## I've added x-pkcs7 to this, since it functions (for S/MIME)
4800  ## analogously to PGP signature attachments. S/MIME isn't supported
4801  ## in a stock mutt build, but we can still treat it specially here.
4802  ##
4803  attachments +A */.*
4804  attachments -A text/x-vcard application/pgp.*
4805  attachments -A application/x-pkcs7-.*
4806
4807  ## Discount all MIME parts with an "inline" disposition, unless they're
4808  ## text/plain. (Why inline a text/plain part unless it's external to the
4809  ## message flow?)
4810  ##
4811  attachments +I text/plain
4812
4813  ## These two lines make Mutt qualify MIME containers. (So, for example,
4814  ## a message/rfc822 forward will count as an attachment.) The first
4815  ## line is unnecessary if you already have "attach-allow */.*", of
4816  ## course. These are off by default! The MIME elements contained
4817  ## within a message/* or multipart/* are still examined, even if the
4818  ## containers themseves don't qualify.
4819  ##
4820  #attachments +A message/.* multipart/.*
4821  #attachments +I message/.* multipart/.*
4822
4823  ## You probably don't really care to know about deleted attachments.
4824  attachments -A message/external-body
4825  attachments -I message/external-body
4826
4827    "attachments ?" will list your current settings in Muttrc format, so that
4828    it can be pasted elsewhere.
4829
4830 7. MIME Lookup
4831
4832    Usage: mime_lookupmime-type [mime-type ...]
4833
4834    Usage: unmime_lookupmime-type [mime-type ...]
4835
4836    Mutt-ng's mime_lookup list specifies a list of mime-types that should not
4837    be treated according to their mailcap entry. This option is designed
4838    todeal with binary types such as application/octet-stream. When an
4839    attachment's mime-type is listed in mime_lookup, then the extension of the
4840    filename will be compared to the list of extensions in the mime.types
4841    file. The mime-type associated with this extension will then be used to
4842    process the attachment according to the rules in the mailcap file and
4843    according to any other configuration options (such as auto_view)
4844    specified. Common usage would be:
4845
4846  mime_lookup application/octet-stream application/X-Lotus-Manuscript
4847
4848    In addition, the unmime_lookup command may be used to disable this feature
4849    for any particular mime-type if it had been set, for example, in a global
4850    muttrc.
4851
4852 Chapter 6. Security Considerations
4853
4854    Table of Contents
4855
4856    1. Passwords
4857
4858    2. Temporary Files
4859
4860    3. Information Leaks
4861
4862                 3.1. Message-ID: headers
4863
4864                 3.2. mailto:-style links
4865
4866    4. External applications
4867
4868                 4.1. mailcap
4869
4870                 4.2. Other
4871
4872    First of all, mutt-ng contains no security holes included by intention but
4873    may contain unknown security holes. As a consequence, please run mutt-ng
4874    only with as few permissions as possible.
4875
4876    Please do not run mutt-ng as the super user.
4877
4878    When configuring mutt-ng, there're some points to note about secure
4879    setups.
4880
4881    In practice, mutt-ng can be easily made as vulnerable as even the most
4882    insecure mail user agents (in their default configuration) just by
4883    changing mutt-ng's configuration files: it then can execute arbitrary
4884    programs and scripts attached to messages, send out private data on its
4885    own, etc. Although this is not believed to the common type of setup,
4886    please read this chapter carefully.
4887
4888 1. Passwords
4889
4890    Although mutt-ng can be told the various passwords for accounts, please
4891    never store passwords in configuration files. Besides the fact that the
4892    system's operator can always read them, you could forget to replace the
4893    actual password with asterisks when reporting a bug or asking for help
4894    via, for example, a mailing list so that your mail including your password
4895    could be archived by internet search engines, etc. Please never store
4896    passwords on disk.
4897
4898 2. Temporary Files
4899
4900    Mutt-ng uses many temporary files for viewing messages, verifying digital
4901    signatures, etc. The $umask variable can be used to change the default
4902    permissions of these files. Please only change it if you really know what
4903    you are doing. Also, a different location for these files may be desired
4904    which can be changed via the $tmpdir variable.
4905
4906 3. Information Leaks
4907
4908   3.1. Message-ID: headers
4909
4910    In the default configuration, mutt-ng will leak some information to the
4911    outside world when sending messages: the generation of Message-ID: headers
4912    includes a step counter which is increased (and rotated) with every
4913    message sent. If you'd like to hide this information probably telling
4914    others how many mail you sent in which time, you at least need to remove
4915    the %P expando from the default setting of the $msgid_format variable.
4916    Please make sure that you really know how local parts of these Message-ID:
4917    headers are composed.
4918
4919   3.2. mailto:-style links
4920
4921    As mutt-ng be can be set up to be the mail client to handle mailto: style
4922    links in websites, there're security considerations, too. To keep the old
4923    behavior by default, mutt-ng will be strict in interpreting them which
4924    means that arbitrary header fields can be embedded in these links which
4925    could override existing header fields or attach arbitrary files. This may
4926    be problematic if the $edit_headers variable is unset, i.e. the user
4927    doesn't want to see header fields while editing the message.
4928
4929    For example, following a link like
4930
4931  mailto:joe@host?Attach=~/.gnupg/secring.gpg
4932
4933    will send out the user's private gnupg keyring to joe@host if the user
4934    doesn't follow the information on screen carefully enough.
4935
4936    When unsetting the $strict_mailto variable, mutt-ng will
4937
4938      o be less strict when interpreting these links by prepending a X-Mailto-
4939        string to all header fields embedded in such a link and
4940
4941      o turn on the $edit_headers variable by force to let the user see all
4942        the headers (because they still may leak information.)
4943
4944 4. External applications
4945
4946    Mutt-ng in many places has to rely on external applications or for
4947    convenience supports mechanisms involving external applications.
4948
4949   4.1. mailcap
4950
4951    One of these is the mailcap mechanism as defined by RfC 1524. Mutt-ng can
4952    be set up to automatically execute any given utility as listed in one of
4953    the mailcap files (see the $mailcap_path variable for details.)
4954
4955    These utilities may have a variety of security vulnerabilities, including
4956    overwriting of arbitrary files, information leaks or other exploitable
4957    bugs. These vulnerabilities may go unnoticed by the user, especially when
4958    they are called automatically (and without interactive prompting) from the
4959    mailcap file(s). When using mutt-ng's autoview mechanism in combination
4960    with mailcap files, please be sure to...
4961
4962      o manually select trustworth applications with a reasonable calling
4963        sequence
4964
4965      o periodically check the contents of mailcap files, especially after
4966        software installations or upgrades
4967
4968      o keep the software packages referenced in the mailcap file up to date
4969
4970      o leave the $mailcap_sanitize variable in its default state to restrict
4971        mailcap expandos to a safe set of characters
4972
4973   4.2. Other
4974
4975    Besides the mailcap mechanism, mutt-ng uses a number of other external
4976    utilities for operation.
4977
4978    The same security considerations apply for these as for tools involved via
4979    mailcap (for example, mutt-ng is vulnerable to Denial of Service Attacks
4980    with compressed folders support if the uncompressed mailbox is too large
4981    for the disk it is saved to.)
4982
4983    As already noted, most of these problems are not built in but caused by
4984    wrong configuration, so please check your configuration.
4985
4986 Chapter 7. Reference
4987
4988    Table of Contents
4989
4990    1. Command line options
4991
4992    2. Patterns
4993
4994    3. Configuration Commands
4995
4996    4. Configuration variables
4997
4998    5. Functions
4999
5000                 5.1. generic
5001
5002                 5.2. index
5003
5004                 5.3. pager
5005
5006                 5.4. alias
5007
5008                 5.5. query
5009
5010                 5.6. attach
5011
5012                 5.7. compose
5013
5014                 5.8. postpone
5015
5016                 5.9. browser
5017
5018                 5.10. pgp
5019
5020                 5.11. editor
5021
5022                 5.12. sidebar
5023
5024 1. Command line options
5025
5026    Running mutt with no arguments will make Mutt-ng attempt to read your
5027    spool mailbox. However, it is possible to read other mailboxes and to send
5028    messages from the command line as well.
5029
5030    Table 7.1. Reference: Command Line Options
5031
5032    Option Description
5033    -A     expand an alias
5034    -a     attach a file to a message
5035    -b     specify a blind carbon-copy (BCC) address
5036    -c     specify a carbon-copy (Cc) address
5037    -e     specify a config command to be run after initialization files are
5038           read
5039    -f     specify a mailbox to load
5040    -F     specify an alternate file to read initialization commands
5041    -h     print help on command line options
5042    -H     specify a draft file from which to read a header and body
5043    -i     specify a file to include in a message composition
5044    -m     specify a default mailbox type
5045    -n     do not read the system Muttngrc
5046    -p     recall a postponed message
5047    -Q     query a configuration variable
5048    -R     open mailbox in read-only mode
5049    -s     specify a subject (enclose in quotes if it contains spaces)
5050    -t     dump the value of all variables to stdout
5051    -T     dump the value of all changed variables to stdout
5052    -v     show version number and compile-time definitions
5053    -x     simulate the mailx(1) compose mode
5054    -y     show a menu containing the files specified by the mailboxes command
5055    -z     exit immediately if there are no messages in the mailbox
5056    -Z     open the first folder with new message,exit immediately if none
5057
5058    To read messages in a mailbox
5059
5060    mutt ] -nz ] ] -F muttrc ] ] -m type ] ] -f mailbox ]
5061
5062    To compose a new message
5063
5064    mutt ] -n ] ] -F muttrc ] ] -a file ] ] -c address ] ] -i filename ] ] -s
5065    subject ] address ] address ... ]
5066
5067    Mutt-ng also supports a ``batch'' mode to send prepared messages. Simply
5068    redirect input from the file you wish to send. For example,
5069
5070    mutt -s "data set for run #2" professor@bigschool.edu < ~/run2.dat
5071
5072    This command will send a message to ``professor@bigschool.edu'' with a
5073    subject of ``data set for run #2''. In the body of the message will be the
5074    contents of the file ``~/run2.dat''.
5075
5076 2. Patterns
5077
5078    Table 7.2. Reference: Patterns
5079
5080    Pattern Modifier Argument    Description
5081    ~A/=A                        all messages
5082    ~b/=b            EXPR        messages which contain EXPR in the message
5083                                 body
5084    ~B/=B            EXPR        messages which contain EXPR in the whole
5085                                 message
5086    ~c/=c            EXPR        messages carbon-copied to EXPR
5087    ~C/=C            EXPR        message is either to: or cc: EXPR
5088    ~D/=D                        deleted messages
5089    ~d/=d            [MIN]-[MAX] messages with ``date-sent'' in a Date range
5090    ~E/=E                        expired messages
5091    ~e/=e            EXPR        message which contains EXPR in the ``Sender''
5092                                 field
5093    ~F/=F                        flagged messages
5094    ~f/=f            EXPR        messages originating from EXPR
5095    ~g/=g                        cryptographically signed messages
5096    ~G/=G                        cryptographically encrypted messages
5097    ~H/=H            EXPR        messages with a spam attribute matching EXPR
5098    ~h/=h            EXPR        messages which contain EXPR in the message
5099                                 header
5100    ~k/=k                        message contains PGP key material
5101    ~i/=i            EXPR        message which match ID in the ``Message-ID''
5102                                 field
5103    ~L/=L            EXPR        message is either originated or received by
5104                                 EXPR
5105    ~l/=l                        message is addressed to a known mailing list
5106    ~m/=m            [MIN]-[MAX] message in the range MIN to MAX *)
5107    ~M/=M                        multipart messages
5108    ~n/=n            [MIN]-[MAX] messages with a score in the range MIN to MAX
5109                                 *)
5110    ~N/=N                        new messages
5111    ~O/=O                        old messages
5112    ~p/=p                        message is addressed to you (consults
5113                                 alternates)
5114    ~P/=P                        message is from you (consults alternates)
5115    ~Q/=Q                        messages which have been replied to
5116    ~R/=R                        read messages
5117    ~r/=r            [MIN]-[MAX] messages with ``date-received'' in a Date
5118                                 range
5119    ~S/=S                        superseded messages
5120    ~s/=s            EXPR        messages having EXPR in the ``Subject''
5121                                 field.
5122    ~T/=T                        tagged messages
5123    ~t/=t            EXPR        messages addressed to EXPR
5124    ~U/=U                        unread messages
5125    ~u/=u                        message is addressed to a subscribed mailing
5126                                 list
5127    ~v/=v                        message is part of a collapsed thread.
5128    ~V/=V                        cryptographically verified messages
5129                                 messages which contain EXPR in the
5130    ~w/=w            EXPR        `Newsgroups' field (if compiled with NNTP
5131                                 support)
5132    ~x/=x            EXPR        messages which contain EXPR in the
5133                                 `References' field
5134    ~X/=X            [MIN]-[MAX] messages with MIN to MAX attachments *)
5135    ~y/=y            EXPR        messages which contain EXPR in the `X-Label'
5136                                 field
5137    ~z/=z            [MIN]-[MAX] messages with a size in the range MIN to MAX
5138                                 *)
5139    ~=/==                        duplicated messages (see $duplicate_threads)
5140    ~$/=$                        unreferenced messages (requires threaded
5141                                 view)
5142                                 ``From'' contains realname and
5143    ~*/=*                        (syntactically) valid address (excluded are
5144                                 addresses matching against alternates or any
5145                                 alias)
5146
5147    Where EXPR are regexp. Special attention has to be made when using regular
5148    expressions inside of patterns. Specifically, Mutt-ng's parser for these
5149    patterns will strip one level of backslash (\), which is normally used for
5150    quoting. If it is your intention to use a backslash in the regular
5151    expression, you will need to use two backslashes instead (\\).
5152
5153    *) The forms <[MAX], >[MIN], [MIN]- and -[MAX] are allowed, too.
5154
5155 3. Configuration Commands
5156
5157    The following are the commands understood by mutt.
5158
5159      o account-hook pattern command
5160
5161      o aliaskeyaddress [, address, ... ]
5162
5163      o unalias [ * | key ... ]
5164
5165      o alternatesregexp [ regexp ... ]
5166
5167      o unalternates [ * | regexp ... ]
5168
5169      o alternative_ordermimetype [ mimetype ... ]
5170
5171      o unalternative_ordermimetype [ mimetype ... ]
5172
5173      o append-hook regexp command
5174
5175      o auto_viewmimetype [ mimetype ... ]
5176
5177      o unauto_viewmimetype [ mimetype ... ]
5178
5179      o bind map key function
5180
5181      o charset-hook alias charset
5182
5183      o close-hook regexp command
5184
5185      o colorobjectforegroundbackground [ regexp ]
5186
5187      o uncolorindexpattern [ pattern ... ]
5188
5189      o execfunction [ function ... ]
5190
5191      o fcc-hook pattern mailbox
5192
5193      o fcc-save-hook pattern mailbox
5194
5195      o folder-hook pattern command
5196
5197      o hdr_orderheader [ header ... ]
5198
5199      o unhdr_orderheader [ header ... ]
5200
5201      o charset-hook charset local-charset
5202
5203      o ignorepattern [ pattern ... ]
5204
5205      o unignorepattern [ pattern ... ]
5206
5207      o listsregexp [ regexp ... ]
5208
5209      o unlistsregexp [ regexp ... ]
5210
5211      o macromenukeysequence [ description ]
5212
5213      o mailboxesfilename [ filename ... ]
5214
5215      o mbox-hook pattern mailbox
5216
5217      o message-hook pattern command
5218
5219      o mime_lookupmimetype [ mimetype ... ]
5220
5221      o unmime_lookupmimetype [ mimetype ... ]
5222
5223      o monoobject attribute [ regexp ]
5224
5225      o unmonoindexpattern [ pattern ... ]
5226
5227      o my_hdr string
5228
5229      o unmy_hdrfield [ field ... ]
5230
5231      o open-hook regexp command
5232
5233      o crypt-hook pattern key-id
5234
5235      o push string
5236
5237      o resetvariable [ variable ... ]
5238
5239      o save-hook regexp filename
5240
5241      o score pattern value
5242
5243      o unscorepattern [ pattern ... ]
5244
5245      o send-hook regexp command
5246
5247      o reply-hook regexp command
5248
5249      o set [no|inv]variable[ =value ] [ variable ... ]
5250
5251      o unsetvariable [ variable ... ]
5252
5253      o source filename
5254
5255      o spam pattern format
5256
5257      o nospam pattern
5258
5259      o subscriberegexp [ regexp ... ]
5260
5261      o unsubscriberegexp [ regexp ... ]
5262
5263      o togglevariable [ variable ... ]
5264
5265      o unhook hook-type
5266
5267 4. Configuration variables
5268
5269    The following list contains all variables which, in the process of
5270    providing more consistency, have been renamed and are partially even
5271    removed already. The left column contains the old synonym variables, the
5272    right column the full/new name:
5273
5274    Table 7.3. Reference: Obsolete Variables
5275
5276    Old Name               New Name
5277    edit_hdrs              $edit_headers
5278    forw_decode            $forward_decode
5279    forw_format            $forward_format
5280    forw_quote             $forward_quote
5281    hdr_format             $index_format
5282    indent_str             $indent_string
5283    mime_fwd               $mime_forward
5284    msg_format             $message_format
5285    pgp_autosign           $crypt_autosign
5286    pgp_autoencrypt        $crypt_autoencrypt
5287    pgp_replyencrypt       $crypt_replyencrypt
5288    pgp_replysign          $crypt_replysign
5289    pgp_replysignencrypted $crypt_replysignencrypted
5290    pgp_verify_sig         $crypt_verify_sig
5291    pgp_create_traditional $pgp_autoinline
5292    pgp_auto_traditional   $pgp_replyinline
5293    forw_decrypt           $forward_decrypt
5294    smime_sign_as          $smime_default_key
5295    post_indent_str        $post_indent_string
5296    print_cmd              $print_command
5297    shorten_hierarchy      $sidebar_shorten_hierarchy
5298    ask_followup_to        $nntp_ask_followup_to
5299    ask_x_comment_to       $nntp_ask_x_comment_to
5300    catchup_newsgroup      $nntp_catchup
5301    followup_to_poster     $nntp_followup_to_poster
5302    group_index_format     $nntp_group_index_format
5303    inews                  $nntp_inews
5304    mime_subject           $nntp_mime_subject
5305    news_cache_dir         $nntp_cache_dir
5306    news_server            $nntp_host
5307    newsrc                 $nntp_newsrc
5308    nntp_poll              $nntp_mail_check
5309    pop_checkinterval      $pop_mail_check
5310    post_moderated         $nntp_post_moderated
5311    save_unsubscribed      $nntp_save_unsubscribed
5312    show_new_news          $nntp_show_new_news
5313    show_only_unread       $nntp_show_only_unread
5314    x_comment_to           $nntp_x_comment_to
5315    smtp_auth_username     $smtp_user
5316    smtp_auth_password     $smtp_pass
5317    user_agent             $agent_string
5318
5319    The contrib subdirectory contains a script named update-config.pl which
5320    eases migration.
5321
5322    A complete list of current variables follows.
5323
5324 1. $abort_noattach
5325
5326    Type: quadoption
5327
5328    Default: no
5329
5330    This variable specifies whether to abort sending if no attachment was made
5331    but the content references them, i.e. the content matches the regular
5332    expression given in $attach_remind_regexp. If a match was found and this
5333    variable is set to yes, message sending will be aborted but the mail will
5334    be send nevertheless if set to no.
5335
5336    This variable and $attach_remind_regexp are intended to remind the user to
5337    attach files if the message's text references them.
5338
5339    See also the $attach_remind_regexp variable.
5340
5341 2. $abort_nosubject
5342
5343    Type: quadoption
5344
5345    Default: ask-yes
5346
5347    If set to yes, when composing messages and no subject is given at the
5348    subject prompt, composition will be aborted. If set to no, composing
5349    messages with no subject given at the subject prompt will never be
5350    aborted.
5351
5352 3. $abort_unmodified
5353
5354    Type: quadoption
5355
5356    Default: yes
5357
5358    If set to yes, composition will automatically abort after editing the
5359    message body if no changes are made to the file (this check only happens
5360    after the first edit of the file). When set to no, composition will never
5361    be aborted.
5362
5363 4. $agent_string
5364
5365    Type: boolean
5366
5367    Default: yes
5368
5369    When set, Mutt-ng will add a ``User-Agent:'' header to outgoing messages,
5370    indicating which version of Mutt-ng was used for composing them.
5371
5372 5. $alias_file
5373
5374    Type: path
5375
5376    Default: "~/.muttngrc"
5377
5378    The default file in which to save aliases created by the ``create-alias''
5379    function.
5380
5381    Note: Mutt-ng will not automatically source this file; you must explicitly
5382    use the ``source'' command for it to be executed.
5383
5384 6. $alias_format
5385
5386    Type: string
5387
5388    Default: "%4n %2f %t %-10a %r"
5389
5390    Specifies the format of the data displayed for the ``alias'' menu. The
5391    following printf(3)-style sequences are available:
5392
5393    %a
5394
5395            alias name
5396
5397    %f
5398
5399            flags - currently, a "d" for an alias marked for deletion
5400
5401    %n
5402
5403            index number
5404
5405    %r
5406
5407            address which alias expands to
5408
5409    %t
5410
5411            character which indicates if the alias is tagged for inclusion
5412
5413 7. $allow_8bit
5414
5415    Type: boolean
5416
5417    Default: yes
5418
5419    Controls whether 8-bit data is converted to 7-bit using either
5420    quoted-printable or base64 encoding when sending mail.
5421
5422 8. $allow_ansi
5423
5424    Type: boolean
5425
5426    Default: no
5427
5428    Controls whether ANSI color codes in messages (and color tags in rich text
5429    messages) are to be interpreted. Messages containing these codes are rare,
5430    but if this option is set, their text will be colored accordingly. Note
5431    that this may override your color choices, and even present a security
5432    problem, since a message could include a line like ``[-- PGP output
5433    follows ..." and give it the same color as your attachment color.
5434
5435 9. $arrow_cursor
5436
5437    Type: boolean
5438
5439    Default: no
5440
5441    When set, an arrow (``->'') will be used to indicate the current entry in
5442    menus instead of highlighting the whole line. On slow network or modem
5443    links this will make response faster because there is less that has to be
5444    redrawn on the screen when moving to the next or previous entries in the
5445    menu.
5446
5447 10. $ascii_chars
5448
5449    Type: boolean
5450
5451    Default: no
5452
5453    If set, Mutt-ng will use plain ASCII characters when displaying thread and
5454    attachment trees, instead of the default ACS characters.
5455
5456 11. $askbcc
5457
5458    Type: boolean
5459
5460    Default: no
5461
5462    If set, Mutt-ng will prompt you for blind-carbon-copy (Bcc) recipients
5463    before editing an outgoing message.
5464
5465 12. $askcc
5466
5467    Type: boolean
5468
5469    Default: no
5470
5471    If set, Mutt-ng will prompt you for carbon-copy (Cc) recipients before
5472    editing the body of an outgoing message.
5473
5474 13. $assumed_charset
5475
5476    Type: string
5477
5478    Default: "us-ascii"
5479
5480    This variable is a colon-separated list of character encoding schemes for
5481    messages without character encoding indication. Header field values and
5482    message body content without character encoding indication would be
5483    assumed that they are written in one of this list. By default, all the
5484    header fields and message body without any charset indication are assumed
5485    to be in us-ascii.
5486
5487    For example, Japanese users might prefer this:
5488
5489    set assumed_charset="iso-2022-jp:euc-jp:shift_jis:utf-8"
5490
5491    However, only the first content is valid for the message body. This
5492    variable is valid only if $strict_mime is unset.
5493
5494 14. $attach_format
5495
5496    Type: string
5497
5498    Default: "%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] "
5499
5500    This variable describes the format of the ``attachment'' menu. The
5501    following printf(3)-style sequences are understood:
5502
5503    %C
5504
5505            charset
5506
5507    %c
5508
5509            requires charset conversion (n or c)
5510
5511    %D
5512
5513            deleted flag
5514
5515    %d
5516
5517            description
5518
5519    %e
5520
5521            MIME Content-Transfer-Encoding: header field
5522
5523    %f
5524
5525            filename
5526
5527    %I
5528
5529            MIME Content-Disposition: header field (I=inline, A=attachment)
5530
5531    %m
5532
5533            major MIME type
5534
5535    %M
5536
5537            MIME subtype
5538
5539    %n
5540
5541            attachment number
5542
5543    %Q
5544
5545            "Q", if MIME part qualifies for attachment counting
5546
5547    %s
5548
5549            size
5550
5551    %t
5552
5553            tagged flag
5554
5555    %T
5556
5557            graphic tree characters
5558
5559    %u
5560
5561            unlink (=to delete) flag
5562
5563    %X
5564
5565            number of qualifying MIME parts in this part and its children
5566
5567    %>X
5568
5569            right justify the rest of the string and pad with character "X"
5570
5571    %|X
5572
5573            pad to the end of the line with character "X"
5574
5575 15. $attach_remind_regexp
5576
5577    Type: regular expression
5578
5579    Default: "attach"
5580
5581    If this variable is non-empty, muttng will scan a message's contents
5582    before sending for this regular expression. If it is found, it will ask
5583    for what to do depending on the setting of $abort_noattach.
5584
5585    This variable and $abort_noattach are intended to remind the user to
5586    attach files if the message's text references them.
5587
5588 16. $attach_sep
5589
5590    Type: string
5591
5592    Default: "\n"
5593
5594    The separator to add between attachments when operating (saving, printing,
5595    piping, etc) on a list of tagged attachments.
5596
5597 17. $attach_split
5598
5599    Type: boolean
5600
5601    Default: yes
5602
5603    If this variable is unset, when operating (saving, printing, piping, etc)
5604    on a list of tagged attachments, Mutt-ng will concatenate the attachments
5605    and will operate on them as a single attachment. The ``$attach_sep''
5606    separator is added after each attachment. When set, Mutt-ng will operate
5607    on the attachments one by one.
5608
5609 18. $attribution
5610
5611    Type: string
5612
5613    Default: "On %d, %n wrote:"
5614
5615    This is the string that will precede a message which has been included in
5616    a reply. For a full listing of defined printf(3)-like sequences see the
5617    section on ``$index_format''.
5618
5619 19. $auto_tag
5620
5621    Type: boolean
5622
5623    Default: no
5624
5625    When set, functions in the index menu which affect a message will be
5626    applied to all tagged messages (if there are any). When unset, you must
5627    first use the ``tag-prefix'' function (default: ";") to make the next
5628    function apply to all tagged messages.
5629
5630 20. $autoedit
5631
5632    Type: boolean
5633
5634    Default: no
5635
5636    When set along with ``$edit_headers'', Mutt-ng will skip the initial
5637    send-menu and allow you to immediately begin editing the body of your
5638    message. The send-menu may still be accessed once you have finished
5639    editing the body of your message.
5640
5641    Also see ``$fast_reply''.
5642
5643 21. $beep
5644
5645    Type: boolean
5646
5647    Default: yes
5648
5649    When this variable is set, Mutt-ng will beep when an error occurs.
5650
5651 22. $beep_new
5652
5653    Type: boolean
5654
5655    Default: no
5656
5657    When this variable is set, Mutt-ng will beep whenever it prints a message
5658    notifying you of new mail. This is independent of the setting of the
5659    ``$beep'' variable.
5660
5661 23. $bounce
5662
5663    Type: quadoption
5664
5665    Default: ask-yes
5666
5667    Controls whether you will be asked to confirm bouncing messages. If set to
5668    yes you don't get asked if you want to bounce a message. Setting this
5669    variable to no is not generally useful, and thus not recommended, because
5670    you are unable to bounce messages.
5671
5672 24. $bounce_delivered
5673
5674    Type: boolean
5675
5676    Default: yes
5677
5678    When this variable is set, Mutt-ng will include Delivered-To: header
5679    fields when bouncing messages. Postfix users may wish to unset this
5680    variable.
5681
5682 25. $braille_friendly
5683
5684    Type: boolean
5685
5686    Default: no
5687
5688    When this variable is set, mutt will place the cursor at the beginning of
5689    the current line in menus, even when the arrow_cursor variable is unset,
5690    making it easier for blind persons using Braille displays to follow these
5691    menus. The option is disabled by default because many visual terminals
5692    don't permit making the cursor invisible.
5693
5694 26. $certificate_file
5695
5696    Type: path
5697
5698    Default: "~/.mutt_certificates"
5699
5700    Availability: SSL or GNUTLS
5701
5702    This variable specifies the file where the certificates you trust are
5703    saved. When an unknown certificate is encountered, you are asked if you
5704    accept it or not. If you accept it, the certificate can also be saved in
5705    this file and further connections are automatically accepted.
5706
5707    You can also manually add CA certificates in this file. Any server
5708    certificate that is signed with one of these CA certificates are also
5709    automatically accepted.
5710
5711    Example: set certificate_file=~/.muttng/certificates
5712
5713 27. $charset
5714
5715    Type: string
5716
5717    Default: ""
5718
5719    Character set your terminal uses to display and enter textual data.
5720
5721 28. $check_new
5722
5723    Type: boolean
5724
5725    Default: yes
5726
5727    Note: this option only affects maildir and MH style mailboxes.
5728
5729    When set, Mutt-ng will check for new mail delivered while the mailbox is
5730    open. Especially with MH mailboxes, this operation can take quite some
5731    time since it involves scanning the directory and checking each file to
5732    see if it has already been looked at. If it's unset, no check for new mail
5733    is performed while the mailbox is open.
5734
5735 29. $collapse_unread
5736
5737    Type: boolean
5738
5739    Default: yes
5740
5741    When unset, Mutt-ng will not collapse a thread if it contains any unread
5742    messages.
5743
5744 30. $compose_format
5745
5746    Type: string
5747
5748    Default: "-- Mutt-ng: Compose [Approx. msg size: %l Atts: %a]%>-"
5749
5750    Controls the format of the status line displayed in the ``compose'' menu.
5751    This string is similar to ``$status_format'', but has its own set of
5752    printf(3)-like sequences:
5753
5754    %a
5755
5756            total number of attachments
5757
5758    %h
5759
5760            local hostname
5761
5762    %l
5763
5764            approximate size (in bytes) of the current message
5765
5766    %v
5767
5768            Mutt-ng version string
5769
5770    See the text describing the ``$status_format'' option for more information
5771    on how to set ``$compose_format''.
5772
5773 31. $config_charset
5774
5775    Type: string
5776
5777    Default: ""
5778
5779    When defined, Mutt-ng will recode commands in rc files from this encoding.
5780
5781 32. $confirmappend
5782
5783    Type: boolean
5784
5785    Default: yes
5786
5787    When set, Mutt-ng will prompt for confirmation when appending messages to
5788    an existing mailbox.
5789
5790 33. $confirmcreate
5791
5792    Type: boolean
5793
5794    Default: yes
5795
5796    When set, Mutt-ng will prompt for confirmation when saving messages to a
5797    mailbox which does not yet exist before creating it.
5798
5799 34. $connect_timeout
5800
5801    Type: number
5802
5803    Default: 30
5804
5805    Causes Mutt-ng to timeout a network connection (for IMAP or POP) after
5806    this many seconds if the connection is not able to be established. A
5807    negative value causes Mutt-ng to wait indefinitely for the connection to
5808    succeed.
5809
5810 35. $content_type
5811
5812    Type: string
5813
5814    Default: "text/plain"
5815
5816    Sets the default Content-Type: header field for the body of newly composed
5817    messages.
5818
5819 36. $copy
5820
5821    Type: quadoption
5822
5823    Default: yes
5824
5825    This variable controls whether or not copies of your outgoing messages
5826    will be saved for later references. Also see ``$record'', ``$save_name'',
5827    ``$force_name'' and ``fcc-hook''.
5828
5829 37. $crypt_autoencrypt
5830
5831    Type: boolean
5832
5833    Default: no
5834
5835    Setting this variable will cause Mutt-ng to always attempt to PGP encrypt
5836    outgoing messages. This is probably only useful in connection to the
5837    send-hook command. It can be overridden by use of the pgp-menu, when
5838    encryption is not required or signing is requested as well. If
5839    ``$smime_is_default'' is set, then OpenSSL is used instead to create
5840    S/MIME messages and settings can be overridden by use of the smime-menu.
5841    (Crypto only)
5842
5843 38. $crypt_autopgp
5844
5845    Type: boolean
5846
5847    Default: yes
5848
5849    This variable controls whether or not Mutt-ng may automatically enable PGP
5850    encryption/signing for messages. See also ``$crypt_autoencrypt'',
5851    ``$crypt_replyencrypt'', ``$crypt_autosign'', ``$crypt_replysign'' and
5852    ``$smime_is_default''.
5853
5854 39. $crypt_autosign
5855
5856    Type: boolean
5857
5858    Default: no
5859
5860    Setting this variable will cause Mutt-ng to always attempt to
5861    cryptographically sign outgoing messages. This can be overridden by use of
5862    the pgp-menu, when signing is not required or encryption is requested as
5863    well. If ``$smime_is_default'' is set, then OpenSSL is used instead to
5864    create S/MIME messages and settings can be overridden by use of the
5865    smime-menu. (Crypto only)
5866
5867 40. $crypt_autosmime
5868
5869    Type: boolean
5870
5871    Default: yes
5872
5873    This variable controls whether or not Mutt-ng may automatically enable
5874    S/MIME encryption/signing for messages. See also ``$crypt_autoencrypt'',
5875    ``$crypt_replyencrypt'', ``$crypt_autosign'', ``$crypt_replysign'' and
5876    ``$smime_is_default''.
5877
5878 41. $crypt_replyencrypt
5879
5880    Type: boolean
5881
5882    Default: yes
5883
5884    If set, automatically PGP or OpenSSL encrypt replies to messages which are
5885    encrypted. (Crypto only)
5886
5887 42. $crypt_replysign
5888
5889    Type: boolean
5890
5891    Default: no
5892
5893    If set, automatically PGP or OpenSSL sign replies to messages which are
5894    signed.
5895
5896    Note: this does not work on messages that are encrypted and signed!
5897    (Crypto only)
5898
5899 43. $crypt_replysignencrypted
5900
5901    Type: boolean
5902
5903    Default: no
5904
5905    If set, automatically PGP or OpenSSL sign replies to messages which are
5906    encrypted. This makes sense in combination with ``$crypt_replyencrypt'',
5907    because it allows you to sign all messages which are automatically
5908    encrypted. This works around the problem noted in ``$crypt_replysign'',
5909    that Mutt-ng is not able to find out whether an encrypted message is also
5910    signed. (Crypto only)
5911
5912 44. $crypt_timestamp
5913
5914    Type: boolean
5915
5916    Default: yes
5917
5918    If set, Mutt-ng will include a time stamp in the lines surrounding PGP or
5919    S/MIME output, so spoofing such lines is more difficult. If you are using
5920    colors to mark these lines, and rely on these, you may unset this setting.
5921    (Crypto only)
5922
5923 45. $crypt_use_gpgme
5924
5925    Type: boolean
5926
5927    Default: no
5928
5929    This variable controls the use the GPGME enabled crypto backends. If it is
5930    set and Mutt-ng was build with gpgme support, the gpgme code for S/MIME
5931    and PGP will be used instead of the classic code.
5932
5933    Note: You need to use this option in your .muttngrc configuration file as
5934    it won't have any effect when used interactively.
5935
5936 46. $crypt_verify_sig
5937
5938    Type: quadoption
5939
5940    Default: yes
5941
5942    If ``yes'', always attempt to verify PGP or S/MIME signatures. If ``ask'',
5943    ask whether or not to verify the signature. If ``no'', never attempt to
5944    verify cryptographic signatures. (Crypto only)
5945
5946 47. $date_format
5947
5948    Type: string
5949
5950    Default: "!%a, %b %d, %Y at %I:%M:%S%p %Z"
5951
5952    This variable controls the format of the date printed by the ``%d''
5953    sequence in ``$index_format''. This is passed to strftime(3) to process
5954    the date.
5955
5956    Unless the first character in the string is a bang (``!''), the month and
5957    week day names are expanded according to the locale specified in the
5958    variable ``$locale''. If the first character in the string is a bang, the
5959    bang is discarded, and the month and week day names in the rest of the
5960    string are expanded in the C locale (that is in US English).
5961
5962 48. $debug_level
5963
5964    Type: number
5965
5966    Default: 1
5967
5968    Availability: debug
5969
5970    This variable specifies the current debug level and may be used to
5971    increase or decrease the verbosity level during runtime. It overrides the
5972    level given with the -d command line option.
5973
5974    Currently, this number must be >= 0 and <= 5 and muttng must be started
5975    with -d to enable debugging at all; enabling at runtime is not possible.
5976
5977 49. $default_hook
5978
5979    Type: string
5980
5981    Default: "~f %s !~P | (~P ~C %s)"
5982
5983    This variable controls how send-hooks, message-hooks, save-hooks, and
5984    fcc-hooks will be interpreted if they are specified with only a simple
5985    regexp, instead of a matching pattern. The hooks are expanded when they
5986    are declared, so a hook will be interpreted according to the value of this
5987    variable at the time the hook is declared. The default value matches if
5988    the message is either from a user matching the regular expression given,
5989    or if it is from you (if the from address matches ``alternates'') and is
5990    to or cc'ed to a user matching the given regular expression.
5991
5992 50. $delete
5993
5994    Type: quadoption
5995
5996    Default: ask-yes
5997
5998    Controls whether or not messages are really deleted when closing or
5999    synchronizing a mailbox. If set to yes, messages marked for deleting will
6000    automatically be purged without prompting. If set to no, messages marked
6001    for deletion will be kept in the mailbox.
6002
6003 51. $delete_space
6004
6005    Type: boolean
6006
6007    Default: no
6008
6009    When sending messages with format=flowed by setting the $text_flowed
6010    variable, this variable specifies whether to also set the DelSp parameter
6011    to yes. If this is unset, no additional parameter will be send as a value
6012    of no already is the default behavior.
6013
6014    Note: this variable only has an effect on outgoing messages (if
6015    $text_flowed is set) but not on incomming.
6016
6017 52. $delete_untag
6018
6019    Type: boolean
6020
6021    Default: yes
6022
6023    If this option is set, Mutt-ng will untag messages when marking them for
6024    deletion. This applies when you either explicitly delete a message, or
6025    when you save it to another folder.
6026
6027 53. $digest_collapse
6028
6029    Type: boolean
6030
6031    Default: yes
6032
6033    If this option is set, Mutt-ng's received-attachments menu will not show
6034    the subparts of individual messages in a multipart/digest. To see these
6035    subparts, press 'v' on that menu.
6036
6037 54. $display_filter
6038
6039    Type: path
6040
6041    Default: ""
6042
6043    When set, specifies a command used to filter messages. When a message is
6044    viewed it is passed as standard input to $display_filter, and the filtered
6045    message is read from the standard output.
6046
6047 55. $dotlock_program
6048
6049    Type: path
6050
6051    Default: "$muttng_bindir/muttng_dotlock"
6052
6053    Availability: Standalone and Dotlock
6054
6055    Contains the path of the muttng_dotlock(1) binary to be used by Mutt-ng.
6056
6057 56. $dsn_notify
6058
6059    Type: string
6060
6061    Default: ""
6062
6063    Note: you should not enable this unless you are using Sendmail 8.8.x or
6064    greater or in connection with the SMTP support via libESMTP.
6065
6066    This variable sets the request for when notification is returned. The
6067    string consists of a comma separated list (no spaces!) of one or more of
6068    the following: never, to never request notification, failure, to request
6069    notification on transmission failure, delay, to be notified of message
6070    delays, success, to be notified of successful transmission.
6071
6072    Example: set dsn_notify="failure,delay"
6073
6074 57. $dsn_return
6075
6076    Type: string
6077
6078    Default: ""
6079
6080    Note: you should not enable this unless you are using Sendmail 8.8.x or
6081    greater or in connection with the SMTP support via libESMTP.
6082
6083    This variable controls how much of your message is returned in DSN
6084    messages. It may be set to either hdrs to return just the message header,
6085    or full to return the full message.
6086
6087    Example: set dsn_return=hdrs
6088
6089 58. $duplicate_threads
6090
6091    Type: boolean
6092
6093    Default: yes
6094
6095    This variable controls whether Mutt-ng, when sorting by threads, threads
6096    messages with the same Message-ID: header field together. If it is set, it
6097    will indicate that it thinks they are duplicates of each other with an
6098    equals sign in the thread diagram.
6099
6100 59. $edit_headers
6101
6102    Type: boolean
6103
6104    Default: no
6105
6106    This option allows you to edit the header of your outgoing messages along
6107    with the body of your message.
6108
6109    Which empty header fields to show is controlled by the $editor_headers
6110    option.
6111
6112 60. $editor
6113
6114    Type: path
6115
6116    Default: ""
6117
6118    This variable specifies which editor is used by Mutt-ng. It defaults to
6119    the value of the $VISUAL, or $EDITOR, environment variable, or to the
6120    string "vi" if neither of those are set.
6121
6122 61. $editor_headers
6123
6124    Type: string
6125
6126    Default: "From: To: Cc: Bcc: Subject: Reply-To: Newsgroups: Followup-To:
6127    X-Comment-To:"
6128
6129    If $edit_headers is set, this space-separated list specifies which
6130    non-empty header fields to edit in addition to user-defined headers.
6131
6132    Note: if $edit_headers had to be turned on by force because $strict_mailto
6133    is unset, this option has no effect.
6134
6135 62. $encode_from
6136
6137    Type: boolean
6138
6139    Default: no
6140
6141    When set, Mutt-ng will quoted-printable encode messages when they contain
6142    the string ``From '' (note the trailing space) in the beginning of a line.
6143    Useful to avoid the tampering certain mail delivery and transport agents
6144    tend to do with messages.
6145
6146    Note: as Mutt-ng currently violates RfC3676 defining format=flowed, it's
6147    <em/strongly/ advised to set this option although discouraged by the
6148    standard. Alternatively, you must take care of space-stuffing <tt/From /
6149    lines (with a trailing space) yourself.
6150
6151 63. $entropy_file
6152
6153    Type: path
6154
6155    Default: ""
6156
6157    Availability: SSL
6158
6159    The file which includes random data that is used to initialize SSL library
6160    functions.
6161
6162 64. $envelope_from_address
6163
6164    Type: e-mail address
6165
6166    Default: ""
6167
6168    Manually sets the envelope sender for outgoing messages. This value is
6169    ignored if ``$use_envelope_from'' is unset.
6170
6171 65. $escape
6172
6173    Type: string
6174
6175    Default: "~"
6176
6177    Escape character to use for functions in the builtin editor.
6178
6179 66. $fast_reply
6180
6181    Type: boolean
6182
6183    Default: no
6184
6185    When set, the initial prompt for recipients and subject are skipped when
6186    replying to messages, and the initial prompt for subject is skipped when
6187    forwarding messages.
6188
6189    Note: this variable has no effect when the ``$autoedit'' variable is set.
6190
6191 67. $fcc_attach
6192
6193    Type: boolean
6194
6195    Default: yes
6196
6197    This variable controls whether or not attachments on outgoing messages are
6198    saved along with the main body of your message.
6199
6200 68. $fcc_clear
6201
6202    Type: boolean
6203
6204    Default: no
6205
6206    When this variable is set, FCCs will be stored unencrypted and unsigned,
6207    even when the actual message is encrypted and/or signed. (PGP only)
6208
6209 69. $file_charset
6210
6211    Type: string
6212
6213    Default: ""
6214
6215    This variable is a colon-separated list of character encoding schemes for
6216    text file attatchments. If unset, $charset value will be used instead. For
6217    example, the following configuration would work for Japanese text
6218    handling:
6219
6220    set file_charset="iso-2022-jp:euc-jp:shift_jis:utf-8"
6221
6222    Note: ``iso-2022-*'' must be put at the head of the value as shown above
6223    if included.
6224
6225 70. $folder
6226
6227    Type: path
6228
6229    Default: "~/Mail"
6230
6231    Specifies the default location of your mailboxes. A ``+'' or ``='' at the
6232    beginning of a pathname will be expanded to the value of this variable.
6233    Note that if you change this variable from the default value you need to
6234    make sure that the assignment occurs before you use ``+'' or ``='' for any
6235    other variables since expansion takes place during the ``set'' command.
6236
6237 71. $folder_format
6238
6239    Type: string
6240
6241    Default: "%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f"
6242
6243    This variable allows you to customize the file browser display to your
6244    personal taste. This string is similar to ``$index_format'', but has its
6245    own set of printf(3)-like sequences:
6246
6247    %C
6248
6249            current file number
6250
6251    %d
6252
6253            date/time folder was last modified
6254
6255    %f
6256
6257            filename
6258
6259    %F
6260
6261            file permissions
6262
6263    %g
6264
6265            group name (or numeric gid, if missing)
6266
6267    %l
6268
6269            number of hard links
6270
6271    %N
6272
6273            N if folder has new mail, blank otherwise
6274
6275    %s
6276
6277            size in bytes
6278
6279    %t
6280
6281            * if the file is tagged, blank otherwise
6282
6283    %u
6284
6285            owner name (or numeric uid, if missing)
6286
6287    %>X
6288
6289            right justify the rest of the string and pad with character "X"
6290
6291    %|X
6292
6293            pad to the end of the line with character "X"
6294
6295 72. $followup_to
6296
6297    Type: boolean
6298
6299    Default: yes
6300
6301    Controls whether or not the Mail-Followup-To: header field is generated
6302    when sending mail. When set, Mutt-ng will generate this field when you are
6303    replying to a known mailing list, specified with the ``subscribe'' or
6304    ``lists'' commands or detected by common mailing list headers.
6305
6306    This field has two purposes. First, preventing you from receiving
6307    duplicate copies of replies to messages which you send to mailing lists.
6308    Second, ensuring that you do get a reply separately for any messages sent
6309    to known lists to which you are not subscribed. The header will contain
6310    only the list's address for subscribed lists, and both the list address
6311    and your own email address for unsubscribed lists. Without this header, a
6312    group reply to your message sent to a subscribed list will be sent to both
6313    the list and your address, resulting in two copies of the same email for
6314    you.
6315
6316 73. $force_buffy_check
6317
6318    Type: boolean
6319
6320    Default: no
6321
6322    When set, it causes Mutt-ng to check for new mail when the buffy-list
6323    command is invoked. When unset, buffy_list will just list all mailboxes
6324    which are already known to have new mail.
6325
6326    Also see the following variables: ``$timeout'', ``$mail_check'' and
6327    ``$imap_mail_check''.
6328
6329 74. $force_name
6330
6331    Type: boolean
6332
6333    Default: no
6334
6335    This variable is similar to ``$save_name'', except that Mutt-ng will store
6336    a copy of your outgoing message by the username of the address you are
6337    sending to even if that mailbox does not exist.
6338
6339    Also see the ``$record'' variable.
6340
6341 75. $forward_decode
6342
6343    Type: boolean
6344
6345    Default: yes
6346
6347    Controls the decoding of complex MIME messages into text/plain when
6348    forwarding a message. The message header is also RFC2047 decoded. This
6349    variable is only used, if ``$mime_forward'' is unset, otherwise
6350    ``$mime_forward_decode'' is used instead.
6351
6352 76. $forward_decrypt
6353
6354    Type: boolean
6355
6356    Default: yes
6357
6358    Controls the handling of encrypted messages when forwarding a message.
6359    When set, the outer layer of encryption is stripped off. This variable is
6360    only used if ``$mime_forward'' is set and ``$mime_forward_decode'' is
6361    unset. (PGP only)
6362
6363 77. $forward_edit
6364
6365    Type: quadoption
6366
6367    Default: yes
6368
6369    This quadoption controls whether or not the user is automatically placed
6370    in the editor when forwarding messages. For those who always want to
6371    forward with no modification, use a setting of no.
6372
6373 78. $forward_format
6374
6375    Type: string
6376
6377    Default: "[%a: %s]"
6378
6379    This variable controls the default subject when forwarding a message. It
6380    uses the same format sequences as the ``$index_format'' variable.
6381
6382 79. $forward_quote
6383
6384    Type: boolean
6385
6386    Default: no
6387
6388    When set forwarded messages included in the main body of the message (when
6389    ``$mime_forward'' is unset) will be quoted using ``$indent_string''.
6390
6391 80. $from
6392
6393    Type: e-mail address
6394
6395    Default: ""
6396
6397    This variable contains a default from address. It can be overridden using
6398    my_hdr (including from send-hooks) and ``$reverse_name''. This variable is
6399    ignored if ``$use_from'' is unset.
6400
6401    E.g. you can use send-hook Mutt-ng-devel@lists.berlios.de 'my_hdr From:
6402    Foo Bar <foo@bar.fb>' when replying to the Mutt-ng developer's mailing
6403    list and Mutt-ng takes this email address.
6404
6405    Defaults to the contents of the environment variable $EMAIL.
6406
6407 81. $gecos_mask
6408
6409    Type: regular expression
6410
6411    Default: "^[^,]*"
6412
6413    A regular expression used by Mutt-ng to parse the GECOS field of a
6414    password entry when expanding the alias. By default the regular expression
6415    is set to ``^[^,]*'' which will return the string up to the first ``,''
6416    encountered. If the GECOS field contains a string like "lastname,
6417    firstname" then you should do: set gecos_mask=".*".
6418
6419    This can be useful if you see the following behavior: you address a e-mail
6420    to user ID stevef whose full name is Steve Franklin. If Mutt-ng expands
6421    stevef to ``Franklin'' stevef@foo.bar then you should set the gecos_mask
6422    to a regular expression that will match the whole name so Mutt-ng will
6423    expand ``Franklin'' to ``Franklin, Steve''.
6424
6425 82. $hdrs
6426
6427    Type: boolean
6428
6429    Default: yes
6430
6431    When unset, the header fields normally added by the ``my_hdr'' command are
6432    not created. This variable must be unset before composing a new message or
6433    replying in order to take effect. If set, the user defined header fields
6434    are added to every new message.
6435
6436 83. $header
6437
6438    Type: boolean
6439
6440    Default: no
6441
6442    When set, this variable causes Mutt-ng to include the header of the
6443    message you are replying to into the edit buffer. The ``$weed'' setting
6444    applies.
6445
6446 84. $header_cache
6447
6448    Type: path
6449
6450    Default: ""
6451
6452    Availability: Header Cache
6453
6454    The $header_cache variable points to the header cache database.
6455
6456    If $header_cache points to a directory it will contain a header cache
6457    database per folder. If $header_cache points to a file that file will be a
6458    single global header cache. By default it is unset so no header caching
6459    will be used.
6460
6461 85. $header_cache_compress
6462
6463    Type: boolean
6464
6465    Default: no
6466
6467    If enabled the header cache will be compressed. So only one fifth of the
6468    usual diskspace is used, but the uncompression can result in a slower open
6469    of the cached folder.
6470
6471 86. $help
6472
6473    Type: boolean
6474
6475    Default: yes
6476
6477    When set, help lines describing the bindings for the major functions
6478    provided by each menu are displayed on the first line of the screen.
6479
6480    Note: The binding will not be displayed correctly if the function is bound
6481    to a sequence rather than a single keystroke. Also, the help line may not
6482    be updated if a binding is changed while Mutt-ng is running. Since this
6483    variable is primarily aimed at new users, neither of these should present
6484    a major problem.
6485
6486 87. $hidden_host
6487
6488    Type: boolean
6489
6490    Default: no
6491
6492    When set, Mutt-ng will skip the host name part of ``$hostname'' variable
6493    when adding the domain part to addresses. This variable does not affect
6494    the generation of Message-ID: header fields, and it will not lead to the
6495    cut-off of first-level domains.
6496
6497 88. $hide_limited
6498
6499    Type: boolean
6500
6501    Default: no
6502
6503    When set, Mutt-ng will not show the presence of messages that are hidden
6504    by limiting, in the thread tree.
6505
6506 89. $hide_missing
6507
6508    Type: boolean
6509
6510    Default: yes
6511
6512    When set, Mutt-ng will not show the presence of missing messages in the
6513    thread tree.
6514
6515 90. $hide_thread_subject
6516
6517    Type: boolean
6518
6519    Default: yes
6520
6521    When set, Mutt-ng will not show the subject of messages in the thread tree
6522    that have the same subject as their parent or closest previously displayed
6523    sibling.
6524
6525 91. $hide_top_limited
6526
6527    Type: boolean
6528
6529    Default: no
6530
6531    When set, Mutt-ng will not show the presence of messages that are hidden
6532    by limiting, at the top of threads in the thread tree. Note that when
6533    $hide_missing is set, this option will have no effect.
6534
6535 92. $hide_top_missing
6536
6537    Type: boolean
6538
6539    Default: yes
6540
6541    When set, Mutt-ng will not show the presence of missing messages at the
6542    top of threads in the thread tree. Note that when $hide_limited is set,
6543    this option will have no effect.
6544
6545 93. $history
6546
6547    Type: number
6548
6549    Default: 10
6550
6551    This variable controls the size (in number of strings remembered) of the
6552    string history buffer. The buffer is cleared each time the variable is
6553    changed.
6554
6555 94. $honor_followup_to
6556
6557    Type: quadoption
6558
6559    Default: yes
6560
6561    This variable controls whether or not a Mail-Followup-To: header field is
6562    honored when group-replying to a message.
6563
6564 95. $hostname
6565
6566    Type: string
6567
6568    Default: ""
6569
6570    Specifies the hostname to use after the ``@'' in local e-mail addresses
6571    and during generation of Message-ID: headers.
6572
6573    Please be sure to really know what you are doing when changing this
6574    variable to configure a custom domain part of Message-IDs.
6575
6576 96. $ignore_list_reply_to
6577
6578    Type: boolean
6579
6580    Default: no
6581
6582    Affects the behaviour of the reply function when replying to messages from
6583    mailing lists. When set, if the ``Reply-To:'' header field is set to the
6584    same value as the ``To:'' header field, Mutt-ng assumes that the
6585    ``Reply-To:'' header field was set by the mailing list to automate
6586    responses to the list, and will ignore this field. To direct a response to
6587    the mailing list when this option is set, use the list-reply function;
6588    group-reply will reply to both the sender and the list. Remember: This
6589    option works only for mailing lists which are explicitly set in your
6590    muttngrc configuration file.
6591
6592 97. $imap_authenticators
6593
6594    Type: string
6595
6596    Default: ""
6597
6598    Availability: IMAP
6599
6600    This is a colon-delimited list of authentication methods Mutt-ng may
6601    attempt to use to log in to an IMAP server, in the order Mutt-ng should
6602    try them. Authentication methods are either ``login'' or the right side of
6603    an IMAP ``AUTH='' capability string, e.g. ``digest-md5'', ``gssapi'' or
6604    ``cram-md5''. This parameter is case-insensitive.
6605
6606    If this parameter is unset (the default) Mutt-ng will try all available
6607    methods, in order from most-secure to least-secure.
6608
6609    Example: set imap_authenticators="gssapi:cram-md5:login"
6610
6611    Note: Mutt-ng will only fall back to other authentication methods if the
6612    previous methods are unavailable. If a method is available but
6613    authentication fails, Mutt-ng will not connect to the IMAP server.
6614
6615 98. $imap_check_subscribed
6616
6617    Type: boolean
6618
6619    Default: no
6620
6621    When set, mutt will fetch the set of subscribed folders from your server
6622    on connection, and add them to the set of mailboxes it polls for new mail.
6623    See also the ``mailboxes'' command.
6624
6625 99. $imap_delim_chars
6626
6627    Type: string
6628
6629    Default: "/."
6630
6631    Availability: IMAP
6632
6633    This contains the list of characters which you would like to treat as
6634    folder separators for displaying IMAP paths. In particular it helps in
6635    using the '=' shortcut for your $folder variable.
6636
6637 100. $imap_headers
6638
6639    Type: string
6640
6641    Default: ""
6642
6643    Availability: IMAP
6644
6645    Mutt-ng requests these header fields in addition to the default headers
6646    (``DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE
6647    CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES X-LABEL'') from IMAP
6648    servers before displaying the ``index'' menu. You may want to add more
6649    headers for spam detection.
6650
6651    Note: This is a space separated list.
6652
6653 101. $imap_home_namespace
6654
6655    Type: string
6656
6657    Default: ""
6658
6659    Availability: IMAP
6660
6661    You normally want to see your personal folders alongside your INBOX in the
6662    IMAP browser. If you see something else, you may set this variable to the
6663    IMAP path to your folders.
6664
6665 102. $imap_keepalive
6666
6667    Type: number
6668
6669    Default: 900
6670
6671    Availability: IMAP
6672
6673    This variable specifies the maximum amount of time in seconds that Mutt-ng
6674    will wait before polling open IMAP connections, to prevent the server from
6675    closing them before Mutt-ng has finished with them.
6676
6677    The default is well within the RFC-specified minimum amount of time (30
6678    minutes) before a server is allowed to do this, but in practice the RFC
6679    does get violated every now and then.
6680
6681    Reduce this number if you find yourself getting disconnected from your
6682    IMAP server due to inactivity.
6683
6684 103. $imap_list_subscribed
6685
6686    Type: boolean
6687
6688    Default: no
6689
6690    Availability: IMAP
6691
6692    This variable configures whether IMAP folder browsing will look for only
6693    subscribed folders or all folders. This can be toggled in the IMAP browser
6694    with the toggle-subscribed function.
6695
6696 104. $imap_login
6697
6698    Type: string
6699
6700    Default: ""
6701
6702    Availability: IMAP
6703
6704    Your login name on the IMAP server.
6705
6706    This variable defaults to the value of ``$imap_user.''
6707
6708 105. $imap_mail_check
6709
6710    Type: number
6711
6712    Default: 300
6713
6714    This variable configures how often (in seconds) Mutt-ng should look for
6715    new mail in IMAP folders. This is split from the ``mail_check'' variable
6716    to generate less traffic and get more accurate information for local
6717    folders.
6718
6719 106. $imap_pass
6720
6721    Type: string
6722
6723    Default: ""
6724
6725    Availability: IMAP
6726
6727    Specifies the password for your IMAP account. If unset, Mutt-ng will
6728    prompt you for your password when you invoke the fetch-mail function.
6729
6730    Warning: you should only use this option when you are on a fairly secure
6731    machine, because the superuser can read your configuration even if you are
6732    the only one who can read the file.
6733
6734 107. $imap_passive
6735
6736    Type: boolean
6737
6738    Default: yes
6739
6740    Availability: IMAP
6741
6742    When set, Mutt-ng will not open new IMAP connections to check for new
6743    mail. Mutt-ng will only check for new mail over existing IMAP connections.
6744    This is useful if you don't want to be prompted to user/password pairs on
6745    Mutt-ng invocation, or if opening the connection is slow.
6746
6747 108. $imap_peek
6748
6749    Type: boolean
6750
6751    Default: yes
6752
6753    Availability: IMAP
6754
6755    If set, Mutt-ng will avoid implicitly marking your mail as read whenever
6756    you fetch a message from the server. This is generally a good thing, but
6757    can make closing an IMAP folder somewhat slower. This option exists to
6758    appease speed freaks.
6759
6760 109. $imap_reconnect
6761
6762    Type: quadoption
6763
6764    Default: ask-yes
6765
6766    Availability: IMAP
6767
6768    Controls whether or not Mutt-ng will try to reconnect to IMAP server when
6769    the connection is lost.
6770
6771 110. $imap_servernoise
6772
6773    Type: boolean
6774
6775    Default: yes
6776
6777    Availability: IMAP
6778
6779    When set, Mutt-ng will display warning messages from the IMAP server as
6780    error messages. Since these messages are often harmless, or generated due
6781    to configuration problems on the server which are out of the users' hands,
6782    you may wish to suppress them at some point.
6783
6784 111. $imap_user
6785
6786    Type: string
6787
6788    Default: ""
6789
6790    Availability: IMAP
6791
6792    The name of the user whose mail you intend to access on the IMAP server.
6793
6794    This variable defaults to your user name on the local machine.
6795
6796 112. $implicit_autoview
6797
6798    Type: boolean
6799
6800    Default: no
6801
6802    If set, Mutt-ng will look for a mailcap entry with the ``copiousoutput''
6803    flag set for every MIME attachment it doesn't have an internal viewer
6804    defined for. If such an entry is found, Mutt-ng will use the viewer
6805    defined in that entry to convert the body part to text form.
6806
6807 113. $include
6808
6809    Type: quadoption
6810
6811    Default: ask-yes
6812
6813    Controls whether or not a copy of the message(s) you are replying to is
6814    included in your reply.
6815
6816 114. $include_onlyfirst
6817
6818    Type: boolean
6819
6820    Default: no
6821
6822    Controls whether or not Mutt-ng includes only the first attachment of the
6823    message you are replying.
6824
6825 115. $indent_string
6826
6827    Type: string
6828
6829    Default: "> "
6830
6831    Specifies the string to prepend to each line of text quoted in a message
6832    to which you are replying. You are strongly encouraged not to change this
6833    value, as it tends to agitate the more fanatical netizens.
6834
6835 116. $index_format
6836
6837    Type: string
6838
6839    Default: "%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s"
6840
6841    This variable allows you to customize the message index display to your
6842    personal taste.
6843
6844    ``Format strings'' are similar to the strings used in the ``C'' function
6845    printf(3) to format output (see the man page for more detail). The
6846    following sequences are defined in Mutt-ng:
6847
6848    %a
6849
6850            address of the author
6851
6852    %A
6853
6854            reply-to address (if present; otherwise: address of author)
6855
6856    %b
6857
6858            filename of the original message folder (think mailBox)
6859
6860    %B
6861
6862            the list to which the letter was sent, or else the folder name
6863            (%b).
6864
6865    %c
6866
6867            number of characters (bytes) in the message
6868
6869    %C
6870
6871            current message number
6872
6873    %d
6874
6875            date and time of the message in the format specified by
6876            ``date_format'' converted to sender's time zone
6877
6878    %D
6879
6880            date and time of the message in the format specified by
6881            ``date_format'' converted to the local time zone
6882
6883    %e
6884
6885            current message number in thread
6886
6887    %E
6888
6889            number of messages in current thread
6890
6891    %f
6892
6893            entire From: line (address + real name)
6894
6895    %F
6896
6897            author name, or recipient name if the message is from you
6898
6899    %H
6900
6901            spam attribute(s) of this message
6902
6903    %g
6904
6905            newsgroup name (if compiled with nntp support)
6906
6907    %i
6908
6909            message-id of the current message
6910
6911    %l
6912
6913            number of lines in the message (does not work with maildir, mh,
6914            and possibly IMAP folders)
6915
6916    %L
6917
6918            If an address in the To or CC header field matches an address
6919            defined by the users ``subscribe'' command, this displays "To
6920            <list-name>", otherwise the same as %F.
6921
6922    %m
6923
6924            total number of message in the mailbox
6925
6926    %M
6927
6928            number of hidden messages if the thread is collapsed.
6929
6930    %N
6931
6932            message score
6933
6934    %n
6935
6936            author's real name (or address if missing)
6937
6938    %O
6939
6940            (_O_riginal save folder) Where Mutt-ng would formerly have stashed
6941            the message: list name or recipient name if no list
6942
6943    %s
6944
6945            subject of the message
6946
6947    %S
6948
6949            status of the message (N/D/d/!/r/*)
6950
6951    %t
6952
6953            `to:' field (recipients)
6954
6955    %T
6956
6957            the appropriate character from the $to_chars string
6958
6959    %u
6960
6961            user (login) name of the author
6962
6963    %v
6964
6965            first name of the author, or the recipient if the message is from
6966            you
6967
6968    %W
6969
6970            name of organization of author (`organization:' field)
6971
6972    %X
6973
6974            number of attachments
6975
6976    %y
6977
6978            `x-label:' field, if present
6979
6980    %Y
6981
6982            `x-label' field, if present, and (1) not at part of a thread tree,
6983            (2) at the top of a thread, or (3) `x-label' is different from
6984            preceding message's `x-label'.
6985
6986    %Z
6987
6988            message status flags
6989
6990    %{fmt}
6991
6992            the date and time of the message is converted to sender's time
6993            zone, and ``fmt'' is expanded by the library function
6994            ``strftime''; a leading bang disables locales
6995
6996    %[fmt]
6997
6998            the date and time of the message is converted to the local time
6999            zone, and ``fmt'' is expanded by the library function
7000            ``strftime''; a leading bang disables locales
7001
7002    %(fmt)
7003
7004            the local date and time when the message was received. ``fmt'' is
7005            expanded by the library function ``strftime''; a leading bang
7006            disables locales
7007
7008    %<fmt>
7009
7010            the current local time. ``fmt'' is expanded by the library
7011            function ``strftime''; a leading bang disables locales.
7012
7013    %>X
7014
7015            right justify the rest of the string and pad with character "X"
7016
7017    %|X
7018
7019            pad to the end of the line with character "X"
7020
7021    See also: ``$to_chars''.
7022
7023 117. $ispell
7024
7025    Type: path
7026
7027    Default: "ispell"
7028
7029    How to invoke ispell (GNU's spell-checking software).
7030
7031 118. $keep_flagged
7032
7033    Type: boolean
7034
7035    Default: no
7036
7037    If set, read messages marked as flagged will not be moved from your spool
7038    mailbox to your ``$mbox'' mailbox, or as a result of a ``mbox-hook''
7039    command.
7040
7041 119. $list_reply
7042
7043    Type: quadoption
7044
7045    Default: no
7046
7047    When set, address replies to the mailing list the original message came
7048    from (instead to the author only). Setting this option to ``ask-yes'' or
7049    ``ask-no'' will ask if you really intended to reply to the author only.
7050
7051 120. $locale
7052
7053    Type: string
7054
7055    Default: "C"
7056
7057    The locale used by strftime(3) to format dates. Legal values are the
7058    strings your system accepts for the locale variable LC_TIME.
7059
7060 121. $mail_check
7061
7062    Type: number
7063
7064    Default: 5
7065
7066    This variable configures how often (in seconds) Mutt-ng should look for
7067    new mail.
7068
7069    Note: This does not apply to IMAP mailboxes, see $imap_mail_check.
7070
7071 122. $mailcap_path
7072
7073    Type: string
7074
7075    Default: ""
7076
7077    This variable specifies which files to consult when attempting to display
7078    MIME bodies not directly supported by Mutt-ng.
7079
7080 123. $mailcap_sanitize
7081
7082    Type: boolean
7083
7084    Default: yes
7085
7086    If set, Mutt-ng will restrict possible characters in mailcap % expandos to
7087    a well-defined set of safe characters. This is the safe setting, but we
7088    are not sure it doesn't break some more advanced MIME stuff.
7089
7090    DON'T CHANGE THIS SETTING UNLESS YOU ARE REALLY SURE WHAT YOU ARE DOING!
7091
7092 124. $maildir_header_cache_verify
7093
7094    Type: boolean
7095
7096    Default: yes
7097
7098    Availability: Header Cache
7099
7100    Check for Maildir unaware programs other than Mutt-ng having modified
7101    maildir files when the header cache is in use. This incurs one stat(2) per
7102    message every time the folder is opened.
7103
7104 125. $maildir_trash
7105
7106    Type: boolean
7107
7108    Default: no
7109
7110    If set, messages marked as deleted will be saved with the maildir
7111    (T)rashed flag instead of physically deleted.
7112
7113    NOTE: this only applies to maildir-style mailboxes. Setting it will have
7114    no effect on other mailbox types.
7115
7116    It is similiar to the trash option.
7117
7118 126. $mark_old
7119
7120    Type: boolean
7121
7122    Default: yes
7123
7124    Controls whether or not Mutt-ng marks newunread messages as old if you
7125    exit a mailbox without reading them.
7126
7127    With this option set, the next time you start Mutt-ng, the messages will
7128    show up with an "O" next to them in the ``index'' menu, indicating that
7129    they are old.
7130
7131 127. $markers
7132
7133    Type: boolean
7134
7135    Default: yes
7136
7137    Controls the display of wrapped lines in the internal pager. If set, a
7138    ``+'' marker is displayed at the beginning of wrapped lines. Also see the
7139    ``$smart_wrap'' variable.
7140
7141 128. $mask
7142
7143    Type: regular expression
7144
7145    Default: "!^\.[^.]"
7146
7147    A regular expression used in the file browser, optionally preceded by the
7148    not operator ``!''. Only files whose names match this mask will be shown.
7149    The match is always case-sensitive.
7150
7151 129. $max_display_recips
7152
7153    Type: number
7154
7155    Default: 0
7156
7157    When set non-zero, this specifies the maximum number of recipient header
7158    lines (To:, Cc: and Bcc:) to display in the pager if header weeding is
7159    turned on. In case the number of lines exeeds its value, the last line
7160    will have 3 dots appended.
7161
7162 130. $max_line_length
7163
7164    Type: number
7165
7166    Default: 0
7167
7168    When set, the maximum line length for displaying ``format = flowed''
7169    messages is limited to this length. A value of 0 (which is also the
7170    default) means that the maximum line length is determined by the terminal
7171    width and $wrapmargin.
7172
7173 131. $mbox
7174
7175    Type: path
7176
7177    Default: "~/mbox"
7178
7179    This specifies the folder into which read mail in your ``$spoolfile''
7180    folder will be appended.
7181
7182 132. $mbox_type
7183
7184    Type: folder magic
7185
7186    Default: mbox
7187
7188    The default mailbox type used when creating new folders. May be any of
7189    mbox, MMDF, MH and Maildir.
7190
7191 133. $menu_context
7192
7193    Type: number
7194
7195    Default: 0
7196
7197    This variable controls the number of lines of context that are given when
7198    scrolling through menus. (Similar to ``$pager_context''.)
7199
7200 134. $menu_move_off
7201
7202    Type: boolean
7203
7204    Default: yes
7205
7206    When unset, the bottom entry of menus will never scroll up past the bottom
7207    of the screen, unless there are less entries than lines. When set, the
7208    bottom entry may move off the bottom.
7209
7210 135. $menu_scroll
7211
7212    Type: boolean
7213
7214    Default: no
7215
7216    When set, menus will be scrolled up or down one line when you attempt to
7217    move across a screen boundary. If unset, the screen is cleared and the
7218    next or previous page of the menu is displayed (useful for slow links to
7219    avoid many redraws).
7220
7221 136. $message_format
7222
7223    Type: string
7224
7225    Default: "%s"
7226
7227    This is the string displayed in the ``attachment'' menu for attachments of
7228    type message/rfc822. For a full listing of defined printf(3)-like
7229    sequences see the section on ``$index_format''.
7230
7231 137. $meta_key
7232
7233    Type: boolean
7234
7235    Default: no
7236
7237    If set, forces Mutt-ng to interpret keystrokes with the high bit (bit 8)
7238    set as if the user had pressed the ESC key and whatever key remains after
7239    having the high bit removed. For example, if the key pressed has an ASCII
7240    value of 0xf8, then this is treated as if the user had pressed ESC then
7241    ``x''. This is because the result of removing the high bit from ``0xf8''
7242    is ``0x78'', which is the ASCII character ``x''.
7243
7244 138. $metoo
7245
7246    Type: boolean
7247
7248    Default: no
7249
7250    If unset, Mutt-ng will remove your address (see the ``alternates''
7251    command) from the list of recipients when replying to a message.
7252
7253 139. $mh_purge
7254
7255    Type: boolean
7256
7257    Default: no
7258
7259    When unset, Mutt-ng will mimic mh's behaviour and rename deleted messages
7260    to ,<old file name> in mh folders instead of really deleting them. If the
7261    variable is set, the message files will simply be deleted.
7262
7263 140. $mh_seq_flagged
7264
7265    Type: string
7266
7267    Default: "flagged"
7268
7269    The name of the MH sequence used for flagged messages.
7270
7271 141. $mh_seq_replied
7272
7273    Type: string
7274
7275    Default: "replied"
7276
7277    The name of the MH sequence used to tag replied messages.
7278
7279 142. $mh_seq_unseen
7280
7281    Type: string
7282
7283    Default: "unseen"
7284
7285    The name of the MH sequence used for unseen messages.
7286
7287 143. $mime_forward
7288
7289    Type: quadoption
7290
7291    Default: no
7292
7293    When set, the message you are forwarding will be attached as a separate
7294    MIME part instead of included in the main body of the message.
7295
7296    This is useful for forwarding MIME messages so the receiver can properly
7297    view the message as it was delivered to you. If you like to switch between
7298    MIME and not MIME from mail to mail, set this variable to ask-no or
7299    ask-yes.
7300
7301    Also see ``$forward_decode'' and ``$mime_forward_decode''.
7302
7303 144. $mime_forward_decode
7304
7305    Type: boolean
7306
7307    Default: no
7308
7309    Controls the decoding of complex MIME messages into text/plain when
7310    forwarding a message while ``$mime_forward'' is set. Otherwise
7311    ``$forward_decode'' is used instead.
7312
7313 145. $mime_forward_rest
7314
7315    Type: quadoption
7316
7317    Default: yes
7318
7319    When forwarding multiple attachments of a MIME message from the recvattach
7320    menu, attachments which cannot be decoded in a reasonable manner will be
7321    attached to the newly composed message if this option is set.
7322
7323 146. $mix_entry_format
7324
7325    Type: string
7326
7327    Default: "%4n %c %-16s %a"
7328
7329    Availability: Mixmaster
7330
7331    This variable describes the format of a remailer line on the mixmaster
7332    chain selection screen. The following printf(3)-like sequences are
7333    supported:
7334
7335    %n
7336
7337            The running number on the menu.
7338
7339    %c
7340
7341            Remailer capabilities.
7342
7343    %s
7344
7345            The remailer's short name.
7346
7347    %a
7348
7349            The remailer's e-mail address.
7350
7351 147. $mixmaster
7352
7353    Type: path
7354
7355    Default: "mixmaster"
7356
7357    Availability: Mixmaster
7358
7359    This variable contains the path to the Mixmaster binary on your system. It
7360    is used with various sets of parameters to gather the list of known
7361    remailers, and to finally send a message through the mixmaster chain.
7362
7363 148. $move
7364
7365    Type: quadoption
7366
7367    Default: ask-no
7368
7369    Controls whether or not Mutt-ng will move read messages from your spool
7370    mailbox to your ``$mbox'' mailbox, or as a result of a ``mbox-hook''
7371    command.
7372
7373 149. $msgid_format
7374
7375    Type: string
7376
7377    Default: "%Y%m%d%h%M%s.G%P%p"
7378
7379    This is the format for the ``local part'' of the Message-ID: header field
7380    generated by Mutt-ng. If this variable is empty, no Message-ID: headers
7381    will be generated. The '%' character marks that certain data will be added
7382    to the string, similar to printf(3). The following characters are allowed:
7383
7384    %d
7385
7386            the current day of month
7387
7388    %h
7389
7390            the current hour
7391
7392    %m
7393
7394            the current month
7395
7396    %M
7397
7398            the current minute
7399
7400    %O
7401
7402            the current UNIX timestamp (octal)
7403
7404    %p
7405
7406            the process ID
7407
7408    %P
7409
7410            the current Message-ID prefix (a character rotating with every
7411            Message-ID being generated)
7412
7413    %r
7414
7415            a random integer value (decimal)
7416
7417    %R
7418
7419            a random integer value (hexadecimal)
7420
7421    %s
7422
7423            the current second
7424
7425    %T
7426
7427            the current UNIX timestamp (decimal)
7428
7429    %X
7430
7431            the current UNIX timestamp (hexadecimal)
7432
7433    %Y
7434
7435            the current year (Y2K compliant)
7436
7437    %%
7438
7439            the '%' character
7440
7441    Note: Please only change this setting if you know what you are doing. Also
7442    make sure to consult RFC2822 to produce technically valid strings.
7443
7444 150. $muttng_bindir
7445
7446    Type: system property
7447
7448    Value: /opt/freebsd4/mutt-ng/bin
7449
7450    This is a read-only system property and specifies the directory containing
7451    the muttng binary.
7452
7453 151. $muttng_docdir
7454
7455    Type: system property
7456
7457    Value: /opt/freebsd4/mutt-ng/doc/muttng
7458
7459    This is a read-only system property and specifies the directory containing
7460    the muttng documentation.
7461
7462 152. $muttng_folder_name
7463
7464    Type: system property
7465
7466    Value:
7467
7468    This is a read-only system property and, at runtime, specifies the last
7469    part of the full path or URI of the folder currently open (if any), i.e.
7470    everything after the last ``/''.
7471
7472 153. $muttng_folder_path
7473
7474    Type: system property
7475
7476    Value:
7477
7478    This is a read-only system property and, at runtime, specifies the full
7479    path or URI of the folder currently open (if any).
7480
7481 154. $muttng_hcache_backend
7482
7483    Type: system property
7484
7485    Value: qdbm
7486
7487    This is a read-only system property and specifies the header chaching's
7488    database backend.
7489
7490 155. $muttng_pwd
7491
7492    Type: system property
7493
7494    Value:
7495
7496    This is a read-only system property and, at runtime, specifies the current
7497    working directory of the muttng binary.
7498
7499 156. $muttng_revision
7500
7501    Type: system property
7502
7503    Value: 541
7504
7505    This is a read-only system property and specifies muttng's subversion
7506    revision string.
7507
7508 157. $muttng_sysconfdir
7509
7510    Type: system property
7511
7512    Value: /opt/freebsd4/mutt-ng/etc
7513
7514    This is a read-only system property and specifies the directory containing
7515    the muttng system-wide configuration.
7516
7517 158. $muttng_version
7518
7519    Type: system property
7520
7521    Value: devel
7522
7523    This is a read-only system property and specifies muttng's version string.
7524
7525 159. $narrow_tree
7526
7527    Type: boolean
7528
7529    Default: no
7530
7531    This variable, when set, makes the thread tree narrower, allowing deeper
7532    threads to fit on the screen.
7533
7534 160. $net_inc
7535
7536    Type: number
7537
7538    Default: 10
7539
7540    Operations that expect to transfer a large amount of data over the network
7541    will update their progress every net_inc kilobytes. If set to 0, no
7542    progress messages will be displayed.
7543
7544    See also ``$read_inc'' and ``$write_inc''.
7545
7546 161. $nntp_ask_followup_to
7547
7548    Type: boolean
7549
7550    Default: no
7551
7552    Availability: NNTP
7553
7554    If set, Mutt-ng will prompt you for the Followup-To: header field before
7555    editing the body of an outgoing news article.
7556
7557 162. $nntp_ask_x_comment_to
7558
7559    Type: boolean
7560
7561    Default: no
7562
7563    Availability: NNTP
7564
7565    If set, Mutt-ng will prompt you for the X-Comment-To: header field before
7566    editing the body of an outgoing news article.
7567
7568 163. $nntp_cache_dir
7569
7570    Type: path
7571
7572    Default: "~/.muttng"
7573
7574    Availability: NNTP
7575
7576    This variable points to directory where Mutt-ng will cache news article
7577    headers. If unset, headers will not be saved at all and will be reloaded
7578    each time when you enter a newsgroup.
7579
7580    As for the header caching in connection with IMAP and/or Maildir, this
7581    drastically increases speed and lowers traffic.
7582
7583 164. $nntp_catchup
7584
7585    Type: quadoption
7586
7587    Default: ask-yes
7588
7589    Availability: NNTP
7590
7591    If this variable is set, Mutt-ng will mark all articles in a newsgroup as
7592    read when you leaving it.
7593
7594 165. $nntp_context
7595
7596    Type: number
7597
7598    Default: 1000
7599
7600    Availability: NNTP
7601
7602    This variable controls how many news articles to cache per newsgroup (if
7603    caching is enabled, see $nntp_cache_dir) and how many news articles to
7604    show in the ``index'' menu.
7605
7606    If there're more articles than defined with $nntp_context, all older ones
7607    will be removed/not shown in the index.
7608
7609 166. $nntp_followup_to_poster
7610
7611    Type: quadoption
7612
7613    Default: ask-yes
7614
7615    Availability: NNTP
7616
7617    If this variable is set and the keyword "poster" is present in the
7618    Followup-To: header field, a follow-up to the newsgroup is not permitted.
7619    The message will be mailed to the submitter of the message via mail.
7620
7621 167. $nntp_group_index_format
7622
7623    Type: string
7624
7625    Default: "%4C %M%N %5s %-45.45f %d"
7626
7627    Availability: NNTP
7628
7629    This variable allows you to customize the newsgroup browser display to
7630    your personal taste. This string is similar to ``index_format'', but has
7631    its own set of printf(3)-like sequences:
7632
7633  %C      current newsgroup number
7634  %d      description of newsgroup (retrieved from server)
7635  %f      newsgroup name
7636  %M      ``-'' if newsgroup not allowed for direct post (moderated for example)
7637  %N      ``N'' if newsgroup is new, ``u'' if unsubscribed, blank otherwise
7638  %n      number of new articles in newsgroup
7639  %s      number of unread articles in newsgroup
7640  %>X     right justify the rest of the string and pad with character "X"
7641  %|X     pad to the end of the line with character "X"
7642
7643
7644 168. $nntp_host
7645
7646    Type: string
7647
7648    Default: ""
7649
7650    Availability: NNTP
7651
7652    This variable specifies the name (or address) of the NNTP server to be
7653    used.
7654
7655    It defaults to the value specified via the environment variable
7656    $NNTPSERVER or contained in the file /etc/nntpserver.
7657
7658    You can also specify a username and an alternative port for each
7659    newsserver, e.g.
7660
7661    [nntp[s]://][username[:password]@]newsserver[:port]
7662
7663    Note: Using a password as shown and stored in a configuration file
7664    presents a security risk since the superuser of your machine may read it
7665    regardless of the file's permissions.
7666
7667 169. $nntp_inews
7668
7669    Type: path
7670
7671    Default: ""
7672
7673    Availability: NNTP
7674
7675    If set, specifies the program and arguments used to deliver news posted by
7676    Mutt-ng. Otherwise, Mutt-ng posts article using current connection. The
7677    following printf(3)-style sequence is understood:
7678
7679  %s      newsserver name
7680
7681
7682    Example: set inews="/usr/local/bin/inews -hS"
7683
7684 170. $nntp_load_description
7685
7686    Type: boolean
7687
7688    Default: yes
7689
7690    Availability: NNTP
7691
7692    This variable controls whether or not descriptions for newsgroups are to
7693    be loaded when subscribing to a newsgroup.
7694
7695 171. $nntp_mail_check
7696
7697    Type: number
7698
7699    Default: 60
7700
7701    Availability: NNTP
7702
7703    The time in seconds until any operations on a newsgroup except posting a
7704    new article will cause a recheck for new news. If set to 0, Mutt-ng will
7705    recheck on each operation in index (stepping, read article, etc.).
7706
7707 172. $nntp_mime_subject
7708
7709    Type: boolean
7710
7711    Default: yes
7712
7713    Availability: NNTP
7714
7715    If unset, an 8-bit ``Subject:'' header field in a news article will not be
7716    encoded according to RFC2047.
7717
7718    Note: Only change this setting if you know what you are doing.
7719
7720 173. $nntp_newsrc
7721
7722    Type: path
7723
7724    Default: "~/.newsrc"
7725
7726    Availability: NNTP
7727
7728    This file contains information about subscribed newsgroup and articles
7729    read so far.
7730
7731    To ease the use of multiple news servers, the following printf(3)-style
7732    sequence is understood:
7733
7734  %s      newsserver name
7735
7736
7737 174. $nntp_pass
7738
7739    Type: string
7740
7741    Default: ""
7742
7743    Availability: NNTP
7744
7745    Your password for NNTP account.
7746
7747    Note: Storing passwords in a configuration file presents a security risk
7748    since the superuser of your machine may read it regardless of the file's
7749    permissions.
7750
7751 175. $nntp_post_moderated
7752
7753    Type: quadoption
7754
7755    Default: ask-yes
7756
7757    Availability: NNTP
7758
7759    If set to yes, Mutt-ng will post articles to newsgroup that have not
7760    permissions to post (e.g. moderated).
7761
7762    Note: if the newsserver does not support posting to that newsgroup or a
7763    group is totally read-only, that posting will not have any effect.
7764
7765 176. $nntp_reconnect
7766
7767    Type: quadoption
7768
7769    Default: ask-yes
7770
7771    Availability: NNTP
7772
7773    Controls whether or not Mutt-ng will try to reconnect to a newsserver when
7774    the was connection lost.
7775
7776 177. $nntp_save_unsubscribed
7777
7778    Type: boolean
7779
7780    Default: no
7781
7782    Availability: NNTP
7783
7784    When set, info about unsubscribed newsgroups will be saved into the
7785    ``newsrc'' file and into the news cache.
7786
7787 178. $nntp_show_new_news
7788
7789    Type: boolean
7790
7791    Default: yes
7792
7793    Availability: NNTP
7794
7795    If set, the newsserver will be asked for new newsgroups on entering the
7796    browser. Otherwise, it will be done only once for a newsserver. Also
7797    controls whether or not the number of new articles of subscribed
7798    newsgroups will be checked.
7799
7800 179. $nntp_show_only_unread
7801
7802    Type: boolean
7803
7804    Default: no
7805
7806    Availability: NNTP
7807
7808    If set, only subscribed newsgroups that contain unread articles will be
7809    displayed in the newsgroup browser.
7810
7811 180. $nntp_user
7812
7813    Type: string
7814
7815    Default: ""
7816
7817    Availability: NNTP
7818
7819    Your login name on the NNTP server. If unset and the server requires
7820    authentification, Mutt-ng will prompt you for your account name.
7821
7822 181. $nntp_x_comment_to
7823
7824    Type: boolean
7825
7826    Default: no
7827
7828    Availability: NNTP
7829
7830    If set, Mutt-ng will add a ``X-Comment-To:'' header field (that contains
7831    full name of the original article author) to articles that you followup
7832    to.
7833
7834 182. $operating_system
7835
7836    Type: string
7837
7838    Default: ""
7839
7840    This specifies the operating system name for the User-Agent: header field.
7841    If this is unset, it will be set to the operating system name that
7842    uname(2) returns. If uname(2) fails, ``UNIX'' will be used.
7843
7844    It may, for example, look as: ``mutt-ng 1.5.9i (Linux)''.
7845
7846 183. $pager
7847
7848    Type: path
7849
7850    Default: "builtin"
7851
7852    This variable specifies which pager you would like to use to view
7853    messages. ``builtin'' means to use the builtin pager, otherwise this
7854    variable should specify the pathname of the external pager you would like
7855    to use.
7856
7857    Using an external pager may have some disadvantages: Additional keystrokes
7858    are necessary because you can't call Mutt-ng functions directly from the
7859    pager, and screen resizes cause lines longer than the screen width to be
7860    badly formatted in the help menu.
7861
7862 184. $pager_context
7863
7864    Type: number
7865
7866    Default: 0
7867
7868    This variable controls the number of lines of context that are given when
7869    displaying the next or previous page in the internal pager. By default,
7870    Mutt-ng will display the line after the last one on the screen at the top
7871    of the next page (0 lines of context).
7872
7873 185. $pager_format
7874
7875    Type: string
7876
7877    Default: "-%Z- %C/%m: %-20.20n %s"
7878
7879    This variable controls the format of the one-line message ``status''
7880    displayed before each message in either the internal or an external pager.
7881    The valid sequences are listed in the ``$index_format'' section.
7882
7883 186. $pager_index_lines
7884
7885    Type: number
7886
7887    Default: 0
7888
7889    Determines the number of lines of a mini-index which is shown when in the
7890    pager. The current message, unless near the top or bottom of the folder,
7891    will be roughly one third of the way down this mini-index, giving the
7892    reader the context of a few messages before and after the message. This is
7893    useful, for example, to determine how many messages remain to be read in
7894    the current thread. One of the lines is reserved for the status bar from
7895    the index, so a pager_index_lines of 6 will only show 5 lines of the
7896    actual index. A value of 0 results in no index being shown. If the number
7897    of messages in the current folder is less than pager_index_lines, then the
7898    index will only use as many lines as it needs.
7899
7900 187. $pager_stop
7901
7902    Type: boolean
7903
7904    Default: no
7905
7906    When set, the internal-pager will not move to the next message when you
7907    are at the end of a message and invoke the next-page function.
7908
7909 188. $pgp_auto_decode
7910
7911    Type: boolean
7912
7913    Default: no
7914
7915    If set, Mutt-ng will automatically attempt to decrypt traditional PGP
7916    messages whenever the user performs an operation which ordinarily would
7917    result in the contents of the message being operated on. For example, if
7918    the user displays a pgp-traditional message which has not been manually
7919    checked with the check-traditional-pgp function, Mutt-ng will
7920    automatically check the message for traditional pgp.
7921
7922 189. $pgp_autoinline
7923
7924    Type: boolean
7925
7926    Default: no
7927
7928    This option controls whether Mutt-ng generates old-style inline
7929    (traditional) PGP encrypted or signed messages under certain
7930    circumstances. This can be overridden by use of the pgp-menu, when inline
7931    is not required.
7932
7933    Note that Mutt-ng might automatically use PGP/MIME for messages which
7934    consist of more than a single MIME part. Mutt-ng can be configured to ask
7935    before sending PGP/MIME messages when inline (traditional) would not work.
7936    See also: ``$pgp_mime_auto''.
7937
7938    Also note that using the old-style PGP message format is
7939    stronglydeprecated. (PGP only)
7940
7941 190. $pgp_check_exit
7942
7943    Type: boolean
7944
7945    Default: yes
7946
7947    If set, Mutt-ng will check the exit code of the PGP subprocess when
7948    signing or encrypting. A non-zero exit code means that the subprocess
7949    failed. (PGP only)
7950
7951 191. $pgp_clearsign_command
7952
7953    Type: string
7954
7955    Default: ""
7956
7957    This format is used to create a old-style ``clearsigned'' PGP message.
7958
7959    Note that the use of this format is stronglydeprecated. (PGP only)
7960
7961 192. $pgp_decode_command
7962
7963    Type: string
7964
7965    Default: ""
7966
7967    This format strings specifies a command which is used to decode
7968    application/pgp attachments.
7969
7970    The PGP command formats have their own set of printf(3)-like sequences:
7971
7972    %p
7973
7974            Expands to PGPPASSFD=0 when a pass phrase is needed, to an empty
7975            string otherwise. Note: This may be used with a %? construct.
7976
7977    %f
7978
7979            Expands to the name of a file containing a message.
7980
7981    %s
7982
7983            Expands to the name of a file containing the signature part of a
7984            multipart/signed attachment when verifying it.
7985
7986    %a
7987
7988            The value of $pgp_sign_as.
7989
7990    %r
7991
7992            One or more key IDs.
7993
7994    For examples on how to configure these formats for the various versions of
7995    PGP which are floating around, see the pgp*.rc and gpg.rc files in the
7996    samples/ subdirectory which has been installed on your system alongside
7997    the documentation. (PGP only)
7998
7999 193. $pgp_decrypt_command
8000
8001    Type: string
8002
8003    Default: ""
8004
8005    This command is used to decrypt a PGP encrypted message. (PGP only)
8006
8007 194. $pgp_encrypt_only_command
8008
8009    Type: string
8010
8011    Default: ""
8012
8013    This command is used to encrypt a body part without signing it. (PGP only)
8014
8015 195. $pgp_encrypt_sign_command
8016
8017    Type: string
8018
8019    Default: ""
8020
8021    This command is used to both sign and encrypt a body part. (PGP only)
8022
8023 196. $pgp_entry_format
8024
8025    Type: string
8026
8027    Default: "%4n %t%f %4l/0x%k %-4a %2c %u"
8028
8029    This variable allows you to customize the PGP key selection menu to your
8030    personal taste. This string is similar to ``$index_format'', but has its
8031    own set of printf(3)-like sequences:
8032
8033    %n
8034
8035            number
8036
8037    %k
8038
8039            key id
8040
8041    %u
8042
8043            user id
8044
8045    %a
8046
8047            algorithm
8048
8049    %l
8050
8051            key length
8052
8053    %f
8054
8055            flags
8056
8057    %c
8058
8059            capabilities
8060
8061    %t
8062
8063            trust/validity of the key-uid association
8064
8065    %[<s>]
8066
8067            date of the key where <s> is an strftime(3) expression
8068
8069    (PGP only)
8070
8071 197. $pgp_export_command
8072
8073    Type: string
8074
8075    Default: ""
8076
8077    This command is used to export a public key from the user's key ring. (PGP
8078    only)
8079
8080 198. $pgp_getkeys_command
8081
8082    Type: string
8083
8084    Default: ""
8085
8086    This command is invoked whenever Mutt-ng will need public key information.
8087    %r is the only printf(3)-like sequence used with this format. (PGP only)
8088
8089 199. $pgp_good_sign
8090
8091    Type: regular expression
8092
8093    Default: ""
8094
8095    If you assign a text to this variable, then a PGP signature is only
8096    considered verified if the output from $pgp_verify_command contains the
8097    text. Use this variable if the exit code from the command is 0 even for
8098    bad signatures. (PGP only)
8099
8100 200. $pgp_ignore_subkeys
8101
8102    Type: boolean
8103
8104    Default: yes
8105
8106    Setting this variable will cause Mutt-ng to ignore OpenPGP subkeys.
8107    Instead, the principal key will inherit the subkeys' capabilities. Unset
8108    this if you want to play interesting key selection games. (PGP only)
8109
8110 201. $pgp_import_command
8111
8112    Type: string
8113
8114    Default: ""
8115
8116    This command is used to import a key from a message into the user's public
8117    key ring. (PGP only)
8118
8119 202. $pgp_list_pubring_command
8120
8121    Type: string
8122
8123    Default: ""
8124
8125    This command is used to list the public key ring's contents. The output
8126    format must be analogous to the one used by gpg --list-keys --with-colons.
8127
8128    This format is also generated by the pgpring utility which comes with
8129    Mutt-ng. (PGP only)
8130
8131 203. $pgp_list_secring_command
8132
8133    Type: string
8134
8135    Default: ""
8136
8137    This command is used to list the secret key ring's contents. The output
8138    format must be analogous to the one used by gpg --list-keys --with-colons.
8139
8140    This format is also generated by the pgpring utility which comes with
8141    Mutt-ng. (PGP only)
8142
8143 204. $pgp_long_ids
8144
8145    Type: boolean
8146
8147    Default: no
8148
8149    If set, use 64 bit PGP key IDs. Unset uses the normal 32 bit Key IDs. (PGP
8150    only)
8151
8152 205. $pgp_mime_auto
8153
8154    Type: quadoption
8155
8156    Default: ask-yes
8157
8158    This option controls whether Mutt-ng will prompt you for automatically
8159    sending a (signed/encrypted) message using PGP/MIME when inline
8160    (traditional) fails (for any reason).
8161
8162    Also note that using the old-style PGP message format is
8163    stronglydeprecated. (PGP only)
8164
8165 206. $pgp_replyinline
8166
8167    Type: boolean
8168
8169    Default: no
8170
8171    Setting this variable will cause Mutt-ng to always attempt to create an
8172    inline (traditional) message when replying to a message which is PGP
8173    encrypted/signed inline. This can be overridden by use of the pgp-menu,
8174    when inline is not required. This option does not automatically detect if
8175    the (replied-to) message is inline; instead it relies on Mutt-ng internals
8176    for previously checked/flagged messages.
8177
8178    Note that Mutt-ng might automatically use PGP/MIME for messages which
8179    consist of more than a single MIME part. Mutt-ng can be configured to ask
8180    before sending PGP/MIME messages when inline (traditional) would not work.
8181    See also: ``$pgp_mime_auto''.
8182
8183    Also note that using the old-style PGP message format is
8184    stronglydeprecated. (PGP only)
8185
8186 207. $pgp_retainable_sigs
8187
8188    Type: boolean
8189
8190    Default: no
8191
8192    If set, signed and encrypted messages will consist of nested
8193    multipart/signed and multipart/encrypted body parts.
8194
8195    This is useful for applications like encrypted and signed mailing lists,
8196    where the outer layer (multipart/encrypted) can be easily removed, while
8197    the inner multipart/signed part is retained. (PGP only)
8198
8199 208. $pgp_show_unusable
8200
8201    Type: boolean
8202
8203    Default: yes
8204
8205    If set, Mutt-ng will display non-usable keys on the PGP key selection
8206    menu. This includes keys which have been revoked, have expired, or have
8207    been marked as ``disabled'' by the user. (PGP only)
8208
8209 209. $pgp_sign_as
8210
8211    Type: string
8212
8213    Default: ""
8214
8215    If you have more than one key pair, this option allows you to specify
8216    which of your private keys to use. It is recommended that you use the
8217    keyid form to specify your key (e.g., ``0x00112233''). (PGP only)
8218
8219 210. $pgp_sign_command
8220
8221    Type: string
8222
8223    Default: ""
8224
8225    This command is used to create the detached PGP signature for a
8226    multipart/signed PGP/MIME body part. (PGP only)
8227
8228 211. $pgp_sort_keys
8229
8230    Type: sort order
8231
8232    Default: address
8233
8234    Specifies how the entries in the ``pgp keys'' menu are sorted. The
8235    following are legal values:
8236
8237    address
8238
8239            sort alphabetically by user id
8240
8241    keyid
8242
8243            sort alphabetically by key id
8244
8245    date
8246
8247            sort by key creation date
8248
8249    trust
8250
8251            sort by the trust of the key
8252
8253    If you prefer reverse order of the above values, prefix it with
8254    ``reverse-''. (PGP only)
8255
8256 212. $pgp_strict_enc
8257
8258    Type: boolean
8259
8260    Default: yes
8261
8262    If set, Mutt-ng will automatically encode PGP/MIME signed messages as
8263    quoted-printable. Please note that unsetting this variable may lead to
8264    problems with non-verifyable PGP signatures, so only change this if you
8265    know what you are doing. (PGP only)
8266
8267 213. $pgp_timeout
8268
8269    Type: number
8270
8271    Default: 300
8272
8273    The number of seconds after which a cached passphrase will expire if not
8274    used. Default: 300. (PGP only)
8275
8276 214. $pgp_use_gpg_agent
8277
8278    Type: boolean
8279
8280    Default: no
8281
8282    If set, Mutt-ng will use a possibly-running gpg-agent process. (PGP only)
8283
8284 215. $pgp_verify_command
8285
8286    Type: string
8287
8288    Default: ""
8289
8290    This command is used to verify PGP signatures. (PGP only)
8291
8292 216. $pgp_verify_key_command
8293
8294    Type: string
8295
8296    Default: ""
8297
8298    This command is used to verify key information from the key selection
8299    menu. (PGP only)
8300
8301 217. $pipe_decode
8302
8303    Type: boolean
8304
8305    Default: no
8306
8307    Used in connection with the pipe-message command. When unset, Mutt-ng will
8308    pipe the messages without any preprocessing. When set, Mutt-ng will weed
8309    headers and will attempt to PGP/MIME decode the messages first.
8310
8311 218. $pipe_sep
8312
8313    Type: string
8314
8315    Default: "\n"
8316
8317    The separator to add between messages when piping a list of tagged
8318    messages to an external Unix command.
8319
8320 219. $pipe_split
8321
8322    Type: boolean
8323
8324    Default: no
8325
8326    Used in connection with the pipe-message command and the ``tag- prefix''
8327    or ``tag-prefix-cond'' operators. If this variable is unset, when piping a
8328    list of tagged messages Mutt-ng will concatenate the messages and will
8329    pipe them as a single folder. When set, Mutt-ng will pipe the messages one
8330    by one. In both cases the messages are piped in the current sorted order,
8331    and the ``$pipe_sep'' separator is added after each message.
8332
8333 220. $pop_auth_try_all
8334
8335    Type: boolean
8336
8337    Default: yes
8338
8339    Availability: POP
8340
8341    If set, Mutt-ng will try all available methods. When unset, Mutt-ng will
8342    only fall back to other authentication methods if the previous methods are
8343    unavailable. If a method is available but authentication fails, Mutt-ng
8344    will not connect to the POP server.
8345
8346 221. $pop_authenticators
8347
8348    Type: string
8349
8350    Default: ""
8351
8352    Availability: POP
8353
8354    This is a colon-delimited list of authentication methods Mutt-ng may
8355    attempt to use to log in to an POP server, in the order Mutt-ng should try
8356    them. Authentication methods are either ``user'', ``apop'' or any SASL
8357    mechanism, eg ``digest-md5'', ``gssapi'' or ``cram-md5''.
8358
8359    This parameter is case-insensitive. If this parameter is unset (the
8360    default) Mutt-ng will try all available methods, in order from most-secure
8361    to least-secure.
8362
8363    Example: set pop_authenticators="digest-md5:apop:user"
8364
8365 222. $pop_delete
8366
8367    Type: quadoption
8368
8369    Default: ask-no
8370
8371    Availability: POP
8372
8373    If set, Mutt-ng will delete successfully downloaded messages from the POP
8374    server when using the ``fetch-mail'' function. When unset, Mutt-ng will
8375    download messages but also leave them on the POP server.
8376
8377 223. $pop_host
8378
8379    Type: string
8380
8381    Default: ""
8382
8383    Availability: POP
8384
8385    The name of your POP server for the ``fetch-mail'' function. You can also
8386    specify an alternative port, username and password, i.e.:
8387
8388    [pop[s]://][username[:password]@]popserver[:port]
8389
8390    Note: Storing passwords in a configuration file presents a security risk
8391    since the superuser of your machine may read it regardless of the file's
8392    permissions.
8393
8394 224. $pop_last
8395
8396    Type: boolean
8397
8398    Default: no
8399
8400    Availability: POP
8401
8402    If this variable is set, Mutt-ng will try to use the ``LAST'' POP command
8403    for retrieving only unread messages from the POP server when using the
8404    ``fetch-mail'' function.
8405
8406 225. $pop_mail_check
8407
8408    Type: number
8409
8410    Default: 60
8411
8412    Availability: POP
8413
8414    This variable configures how often (in seconds) Mutt-ng should look for
8415    new mail.
8416
8417 226. $pop_pass
8418
8419    Type: string
8420
8421    Default: ""
8422
8423    Availability: POP
8424
8425    Specifies the password for your POP account. If unset, Mutt-ng will prompt
8426    you for your password when you open POP mailbox.
8427
8428    Note: Storing passwords in a configuration file presents a security risk
8429    since the superuser of your machine may read it regardless of the file's
8430    permissions.
8431
8432 227. $pop_reconnect
8433
8434    Type: quadoption
8435
8436    Default: ask-yes
8437
8438    Availability: POP
8439
8440    Controls whether or not Mutt-ng will try to reconnect to a POP server if
8441    the connection is lost.
8442
8443 228. $pop_user
8444
8445    Type: string
8446
8447    Default: ""
8448
8449    Availability: POP
8450
8451    Your login name on the POP server.
8452
8453    This variable defaults to your user name on the local machine.
8454
8455 229. $post_indent_string
8456
8457    Type: string
8458
8459    Default: ""
8460
8461    Similar to the ``$attribution'' variable, Mutt-ng will append this string
8462    after the inclusion of a message which is being replied to.
8463
8464 230. $postpone
8465
8466    Type: quadoption
8467
8468    Default: ask-yes
8469
8470    Controls whether or not messages are saved in the ``$postponed'' mailbox
8471    when you elect not to send immediately.
8472
8473 231. $postponed
8474
8475    Type: path
8476
8477    Default: "~/postponed"
8478
8479    Mutt-ng allows you to indefinitely ``postpone sending a message'' which
8480    you are editing. When you choose to postpone a message, Mutt-ng saves it
8481    in the mailbox specified by this variable. Also see the ``$postpone''
8482    variable.
8483
8484 232. $preconnect
8485
8486    Type: string
8487
8488    Default: ""
8489
8490    If set, a shell command to be executed if Mutt-ng fails to establish a
8491    connection to the server. This is useful for setting up secure
8492    connections, e.g. with ssh(1). If the command returns a nonzero status,
8493    Mutt-ng gives up opening the server. Example:
8494
8495    preconnect="ssh -f -q -L 1234:mailhost.net:143 mailhost.net sleep 20 <
8496    /dev/null > /dev/null"
8497
8498    Mailbox ``foo'' on mailhost.net can now be reached as
8499    ``{localhost:1234}foo''.
8500
8501    Note: For this example to work, you must be able to log in to the remote
8502    machine without having to enter a password.
8503
8504 233. $print
8505
8506    Type: quadoption
8507
8508    Default: ask-no
8509
8510    Controls whether or not Mutt-ng really prints messages. This is set to
8511    ask-no by default, because some people accidentally hit ``p'' often.
8512
8513 234. $print_command
8514
8515    Type: path
8516
8517    Default: "lpr"
8518
8519    This specifies the command pipe that should be used to print messages.
8520
8521 235. $print_decode
8522
8523    Type: boolean
8524
8525    Default: yes
8526
8527    Used in connection with the print-message command. If this option is set,
8528    the message is decoded before it is passed to the external command
8529    specified by $print_command. If this option is unset, no processing will
8530    be applied to the message when printing it. The latter setting may be
8531    useful if you are using some advanced printer filter which is able to
8532    properly format e-mail messages for printing.
8533
8534 236. $print_split
8535
8536    Type: boolean
8537
8538    Default: no
8539
8540    Used in connection with the print-message command. If this option is set,
8541    the command specified by $print_command is executed once for each message
8542    which is to be printed. If this option is unset, the command specified by
8543    $print_command is executed only once, and all the messages are
8544    concatenated, with a form feed as the message separator.
8545
8546    Those who use the enscript(1) program's mail-printing mode will most
8547    likely want to set this option.
8548
8549 237. $prompt_after
8550
8551    Type: boolean
8552
8553    Default: yes
8554
8555    If you use an external ``$pager'', setting this variable will cause
8556    Mutt-ng to prompt you for a command when the pager exits rather than
8557    returning to the index menu. If unset, Mutt-ng will return to the index
8558    menu when the external pager exits.
8559
8560 238. $query_command
8561
8562    Type: path
8563
8564    Default: ""
8565
8566    This specifies the command that Mutt-ng will use to make external address
8567    queries. The string should contain a %s, which will be substituted with
8568    the query string the user types. See ``query'' for more information.
8569
8570 239. $quit
8571
8572    Type: quadoption
8573
8574    Default: yes
8575
8576    This variable controls whether ``quit'' and ``exit'' actually quit from
8577    Mutt-ng. If it set to yes, they do quit, if it is set to no, they have no
8578    effect, and if it is set to ask-yes or ask-no, you are prompted for
8579    confirmation when you try to quit.
8580
8581 240. $quote_empty
8582
8583    Type: boolean
8584
8585    Default: yes
8586
8587    Controls whether or not empty lines will be quoted using
8588    ``indent_string''.
8589
8590 241. $quote_quoted
8591
8592    Type: boolean
8593
8594    Default: no
8595
8596    Controls how quoted lines will be quoted. If set, one quote character will
8597    be added to the end of existing prefix. Otherwise, quoted lines will be
8598    prepended by ``indent_string''.
8599
8600 242. $quote_regexp
8601
8602    Type: regular expression
8603
8604    Default: "^([ \t]*[|>:}#])+"
8605
8606    A regular expression used in the internal-pager to determine quoted
8607    sections of text in the body of a message.
8608
8609    Note: In order to use the quotedx patterns in the internal pager, you need
8610    to set this to a regular expression that matches exactly the quote
8611    characters at the beginning of quoted lines.
8612
8613 243. $read_inc
8614
8615    Type: number
8616
8617    Default: 10
8618
8619    If set to a value greater than 0, Mutt-ng will display which message it is
8620    currently on when reading a mailbox. The message is printed after read_inc
8621    messages have been read (e.g., if set to 25, Mutt-ng will print a message
8622    when it reads message 25, and then again when it gets to message 50). This
8623    variable is meant to indicate progress when reading large mailboxes which
8624    may take some time. When set to 0, only a single message will appear
8625    before the reading the mailbox.
8626
8627    Also see the ``$write_inc'' variable.
8628
8629 244. $read_only
8630
8631    Type: boolean
8632
8633    Default: no
8634
8635    If set, all folders are opened in read-only mode.
8636
8637 245. $realname
8638
8639    Type: string
8640
8641    Default: ""
8642
8643    This variable specifies what ``real'' or ``personal'' name should be used
8644    when sending messages.
8645
8646    By default, this is the GECOS field from /etc/passwd.
8647
8648    Note: This variable will not be used when the user has set a real name in
8649    the $from variable.
8650
8651 246. $recall
8652
8653    Type: quadoption
8654
8655    Default: ask-yes
8656
8657    Controls whether or not Mutt-ng recalls postponed messages when composing
8658    a new message. Also see ``$postponed''.
8659
8660    Setting this variable to yes is not generally useful, and thus not
8661    recommended.
8662
8663 247. $record
8664
8665    Type: path
8666
8667    Default: ""
8668
8669    This specifies the file into which your outgoing messages should be
8670    appended. (This is meant as the primary method for saving a copy of your
8671    messages, but another way to do this is using the ``my_hdr'' command to
8672    create a Bcc: header field with your email address in it.)
8673
8674    The value of $record is overridden by the ``$force_name'' and
8675    ``$save_name'' variables, and the ``fcc-hook'' command.
8676
8677 248. $reply_regexp
8678
8679    Type: regular expression
8680
8681    Default: "^(re([\[0-9\]+])*|aw):[ \t]*"
8682
8683    A regular expression used to recognize reply messages when threading and
8684    replying. The default value corresponds to the English ``Re:'' and the
8685    German ``Aw:''.
8686
8687 249. $reply_self
8688
8689    Type: boolean
8690
8691    Default: no
8692
8693    If unset and you are replying to a message sent by you, Mutt-ng will
8694    assume that you want to reply to the recipients of that message rather
8695    than to yourself.
8696
8697 250. $reply_to
8698
8699    Type: quadoption
8700
8701    Default: ask-yes
8702
8703    If set, when replying to a message, Mutt-ng will use the address listed in
8704    the ``Reply-To:'' header field as the recipient of the reply. If unset, it
8705    will use the address in the ``From:'' header field instead.
8706
8707    This option is useful for reading a mailing list that sets the
8708    ``Reply-To:'' header field to the list address and you want to send a
8709    private message to the author of a message.
8710
8711 251. $resolve
8712
8713    Type: boolean
8714
8715    Default: yes
8716
8717    When set, the cursor will be automatically advanced to the next (possibly
8718    undeleted) message whenever a command that modifies the current message is
8719    executed.
8720
8721 252. $reverse_alias
8722
8723    Type: boolean
8724
8725    Default: no
8726
8727    This variable controls whether or not Mutt-ng will display the
8728    ``personal'' name from your aliases in the index menu if it finds an alias
8729    that matches the message's sender. For example, if you have the following
8730    alias:
8731
8732    alias juser abd30425@somewhere.net (Joe User)
8733
8734    and then you receive mail which contains the following header:
8735
8736    From: abd30425@somewhere.net
8737
8738    It would be displayed in the index menu as ``Joe User'' instead of
8739    ``abd30425@somewhere.net.'' This is useful when the person's e-mail
8740    address is not human friendly (like CompuServe addresses).
8741
8742 253. $reverse_name
8743
8744    Type: boolean
8745
8746    Default: no
8747
8748    It may sometimes arrive that you receive mail to a certain machine, move
8749    the messages to another machine, and reply to some the messages from
8750    there. If this variable is set, the default From: line of the reply
8751    messages is built using the address where you received the messages you
8752    are replying to if that address matches your alternates. If the variable
8753    is unset, or the address that would be used doesn't match your alternates,
8754    the From: line will use your address on the current machine.
8755
8756 254. $reverse_realname
8757
8758    Type: boolean
8759
8760    Default: yes
8761
8762    This variable fine-tunes the behaviour of the reverse_name feature. When
8763    it is set, Mutt-ng will use the address from incoming messages as-is,
8764    possibly including eventual real names. When it is unset, Mutt-ng will
8765    override any such real names with the setting of the realname variable.
8766
8767 255. $rfc2047_parameters
8768
8769    Type: boolean
8770
8771    Default: no
8772
8773    When this variable is set, Mutt-ng will decode RFC-2047-encoded MIME
8774    parameters. You want to set this variable when Mutt-ng suggests you to
8775    save attachments to files named like this:
8776
8777    =?iso-8859-1?Q?file=5F=E4=5F991116=2Ezip?=
8778
8779    When this variable is set interactively, the change doesn't have the
8780    desired effect before you have changed folders.
8781
8782    Note that this use of RFC 2047's encoding is explicitly, prohibited by the
8783    standard, but nevertheless encountered in the wild.
8784
8785    Also note that setting this parameter will not have the effect that
8786    Mutt-ng generates this kind of encoding. Instead, Mutt-ng will
8787    unconditionally use the encoding specified in RFC 2231.
8788
8789 256. $save_address
8790
8791    Type: boolean
8792
8793    Default: no
8794
8795    If set, Mutt-ng will take the sender's full address when choosing a
8796    default folder for saving a mail. If ``$save_name'' or ``$force_name'' is
8797    set too, the selection of the fcc folder will be changed as well.
8798
8799 257. $save_empty
8800
8801    Type: boolean
8802
8803    Default: yes
8804
8805    When unset, mailboxes which contain no saved messages will be removed when
8806    closed (the exception is ``$spoolfile'' which is never removed). If set,
8807    mailboxes are never removed.
8808
8809    Note: This only applies to mbox and MMDF folders, Mutt-ng does not delete
8810    MH and Maildir directories.
8811
8812 258. $save_name
8813
8814    Type: boolean
8815
8816    Default: no
8817
8818    This variable controls how copies of outgoing messages are saved. When
8819    set, a check is made to see if a mailbox specified by the recipient
8820    address exists (this is done by searching for a mailbox in the ``$folder''
8821    directory with the username part of the recipient address). If the mailbox
8822    exists, the outgoing message will be saved to that mailbox, otherwise the
8823    message is saved to the ``$record'' mailbox.
8824
8825    Also see the ``$force_name'' variable.
8826
8827 259. $score
8828
8829    Type: boolean
8830
8831    Default: yes
8832
8833    When this variable is unset, scoring is turned off. This can be useful to
8834    selectively disable scoring for certain folders when the
8835    ``$score_threshold_delete'' variable and friends are used.
8836
8837 260. $score_threshold_delete
8838
8839    Type: number
8840
8841    Default: -1
8842
8843    Messages which have been assigned a score equal to or lower than the value
8844    of this variable are automatically marked for deletion by Mutt-ng. Since
8845    Mutt-ng scores are always greater than or equal to zero, the default
8846    setting of this variable will never mark a message for deletion.
8847
8848 261. $score_threshold_flag
8849
8850    Type: number
8851
8852    Default: 9999
8853
8854    Messages which have been assigned a score greater than or equal to this
8855    variable's value are automatically marked ``flagged''.
8856
8857 262. $score_threshold_read
8858
8859    Type: number
8860
8861    Default: -1
8862
8863    Messages which have been assigned a score equal to or lower than the value
8864    of this variable are automatically marked as read by Mutt-ng. Since
8865    Mutt-ng scores are always greater than or equal to zero, the default
8866    setting of this variable will never mark a message read.
8867
8868 263. $send_charset
8869
8870    Type: string
8871
8872    Default: "us-ascii:iso-8859-1:utf-8"
8873
8874    A list of character sets for outgoing messages. Mutt-ng will use the first
8875    character set into which the text can be converted exactly. If your
8876    ``$charset'' is not iso-8859-1 and recipients may not understand UTF-8, it
8877    is advisable to include in the list an appropriate widely used standard
8878    character set (such as iso-8859-2, koi8-r or iso-2022-jp) either instead
8879    of or after iso-8859-1.
8880
8881 264. $sendmail
8882
8883    Type: path
8884
8885    Default: "/usr/sbin/sendmail -oem -oi"
8886
8887    Specifies the program and arguments used to deliver mail sent by Mutt-ng.
8888    Mutt-ng expects that the specified program interprets additional arguments
8889    as recipient addresses.
8890
8891 265. $sendmail_wait
8892
8893    Type: number
8894
8895    Default: 0
8896
8897    Specifies the number of seconds to wait for the ``$sendmail'' process to
8898    finish before giving up and putting delivery in the background.
8899
8900    Mutt-ng interprets the value of this variable as follows:
8901
8902    >0
8903
8904            number of seconds to wait for sendmail to finish before continuing
8905
8906    0
8907
8908            wait forever for sendmail to finish
8909
8910    <0
8911
8912            always put sendmail in the background without waiting
8913
8914    Note that if you specify a value other than 0, the output of the child
8915    process will be put in a temporary file. If there is some error, you will
8916    be informed as to where to find the output.
8917
8918 266. $shell
8919
8920    Type: path
8921
8922    Default: ""
8923
8924    Command to use when spawning a subshell. By default, the user's login
8925    shell from /etc/passwd is used.
8926
8927 267. $sidebar_boundary
8928
8929    Type: string
8930
8931    Default: "."
8932
8933    When the sidebar is displayed and $sidebar_shorten_hierarchy is set, this
8934    variable specifies the characters at which to split a folder name into
8935    ``hierarchy items.''
8936
8937 268. $sidebar_delim
8938
8939    Type: string
8940
8941    Default: "|"
8942
8943    This specifies the delimiter between the sidebar (if visible) and other
8944    screens.
8945
8946 269. $sidebar_newmail_only
8947
8948    Type: boolean
8949
8950    Default: no
8951
8952    If set, only folders with new mail will be shown in the sidebar.
8953
8954 270. $sidebar_number_format
8955
8956    Type: string
8957
8958    Default: "%m%?n?(%n)?%?f?[%f]?"
8959
8960    This variable controls how message counts are printed when the sidebar is
8961    enabled. If this variable is empty (and only if), no numbers will be
8962    printed and Mutt-ng won't frequently count mail (which may be a great
8963    speedup esp. with mbox-style mailboxes.)
8964
8965    The following printf(3)-like sequences are supported all of which may be
8966    printed non-zero:
8967
8968    %d
8969
8970            Number of deleted messages. 1)
8971
8972    %F
8973
8974            Number of flagged messages.
8975
8976    %m
8977
8978            Total number of messages.
8979
8980    %M
8981
8982            Total number of messages shown, i.e. not hidden by a limit. 1)
8983
8984    %n
8985
8986            Number of new messages.
8987
8988    %t
8989
8990            Number of tagged messages. 1)
8991
8992    1) These expandos only have a non-zero value for the current mailbox and
8993    will always be zero otherwise.
8994
8995 271. $sidebar_shorten_hierarchy
8996
8997    Type: boolean
8998
8999    Default: no
9000
9001    When set, the ``hierarchy'' of the sidebar entries will be shortened only
9002    if they cannot be printed in full length (because ``$sidebar_width'' is
9003    set to a too low value). For example, if the newsgroup name
9004    ``de.alt.sysadmin.recovery'' doesn't fit on the screen, it'll get
9005    shortened ``d.a.s.recovery'' while ``de.alt.d0'' still would and thus will
9006    not get shortened.
9007
9008    At which characters this compression is done is controled via the
9009    $sidebar_boundary variable.
9010
9011 272. $sidebar_visible
9012
9013    Type: boolean
9014
9015    Default: no
9016
9017    This specifies whether or not to show the sidebar (a list of folders
9018    specified with the ``mailboxes'' command).
9019
9020 273. $sidebar_width
9021
9022    Type: number
9023
9024    Default: 0
9025
9026    The width of the sidebar.
9027
9028 274. $sig_dashes
9029
9030    Type: boolean
9031
9032    Default: yes
9033
9034    If set, a line containing ``-- '' (dash, dash, space) will be inserted
9035    before your ``$signature''. It is strongly recommended that you not unset
9036    this variable unless your ``signature'' contains just your name. The
9037    reason for this is because many software packages use ``-- \n'' to detect
9038    your signature.
9039
9040    For example, Mutt-ng has the ability to highlight the signature in a
9041    different color in the builtin pager.
9042
9043 275. $sig_on_top
9044
9045    Type: boolean
9046
9047    Default: no
9048
9049    If set, the signature will be included before any quoted or forwarded
9050    text. It is strongly recommended that you do not set this variable unless
9051    you really know what you are doing, and are prepared to take some heat
9052    from netiquette guardians.
9053
9054 276. $signature
9055
9056    Type: path
9057
9058    Default: "~/.signature"
9059
9060    Specifies the filename of your signature, which is appended to all
9061    outgoing messages. If the filename ends with a pipe (``|''), it is assumed
9062    that filename is a shell command and input should be read from its stdout.
9063
9064 277. $signoff_string
9065
9066    Type: string
9067
9068    Default: ""
9069
9070    If set, this string will be inserted before the signature. This is useful
9071    for people that want to sign off every message they send with their name.
9072
9073    If you want to insert your website's URL, additional contact information
9074    or witty quotes into your mails, better use a signature file instead of
9075    the signoff string.
9076
9077 278. $simple_search
9078
9079    Type: string
9080
9081    Default: "~f %s | ~s %s"
9082
9083    Specifies how Mutt-ng should expand a simple search into a real search
9084    pattern. A simple search is one that does not contain any of the ~
9085    operators. See ``patterns'' for more information on search patterns.
9086
9087    For example, if you simply type ``joe'' at a search or limit prompt,
9088    Mutt-ng will automatically expand it to the value specified by this
9089    variable. For the default value it would be:
9090
9091    ~f joe | ~s joe
9092
9093 279. $sleep_time
9094
9095    Type: number
9096
9097    Default: 1
9098
9099    Specifies time, in seconds, to pause while displaying certain
9100    informational messages, while moving from folder to folder and after
9101    expunging messages from the current folder. The default is to pause one
9102    second, so a value of zero for this option suppresses the pause.
9103
9104 280. $smart_wrap
9105
9106    Type: boolean
9107
9108    Default: yes
9109
9110    Controls the display of lines longer than the screen width in the internal
9111    pager. If set, long lines are wrapped at a word boundary. If unset, lines
9112    are simply wrapped at the screen edge. Also see the ``$markers'' variable.
9113
9114 281. $smileys
9115
9116    Type: regular expression
9117
9118    Default: "(>From )|(:[-^]?[][)(><}{|/DP])"
9119
9120    The pager uses this variable to catch some common false positives of
9121    ``$quote_regexp'', most notably smileys in the beginning of a line
9122
9123 282. $smime_ask_cert_label
9124
9125    Type: boolean
9126
9127    Default: yes
9128
9129    This flag controls whether you want to be asked to enter a label for a
9130    certificate about to be added to the database or not. It is set by
9131    default. (S/MIME only)
9132
9133 283. $smime_ca_location
9134
9135    Type: path
9136
9137    Default: ""
9138
9139    This variable contains the name of either a directory, or a file which
9140    contains trusted certificates for use with OpenSSL. (S/MIME only)
9141
9142 284. $smime_certificates
9143
9144    Type: path
9145
9146    Default: ""
9147
9148    Since there is no pubring/secring as with PGP, Mutt-ng has to handle
9149    storage and retrieval of keys by itself. This is very basic right now, and
9150    keys and certificates are stored in two different directories, both named
9151    as the hash-value retrieved from OpenSSL. There is an index file which
9152    contains mailbox-address keyid pairs, and which can be manually edited.
9153    This one points to the location of the certificates. (S/MIME only)
9154
9155 285. $smime_decrypt_command
9156
9157    Type: string
9158
9159    Default: ""
9160
9161    This format string specifies a command which is used to decrypt
9162    application/x-pkcs7-mime attachments.
9163
9164    The OpenSSL command formats have their own set of printf(3)-like sequences
9165    similar to PGP's:
9166
9167    %f
9168
9169            Expands to the name of a file containing a message.
9170
9171    %s
9172
9173            Expands to the name of a file containing the signature part of a
9174            multipart/signed attachment when verifying it.
9175
9176    %k
9177
9178            The key-pair specified with $smime_default_key
9179
9180    %c
9181
9182            One or more certificate IDs.
9183
9184    %a
9185
9186            The algorithm used for encryption.
9187
9188    %C
9189
9190            CA location: Depending on whether $smime_ca_location points to a
9191            directory or file, this expands to "-CApath $smime_ca_location" or
9192            "-CAfile $smime_ca_location".
9193
9194    For examples on how to configure these formats, see the smime.rc in the
9195    samples/ subdirectory which has been installed on your system alongside
9196    the documentation. (S/MIME only)
9197
9198 286. $smime_decrypt_use_default_key
9199
9200    Type: boolean
9201
9202    Default: yes
9203
9204    If set (default) this tells Mutt-ng to use the default key for decryption.
9205    Otherwise, if manage multiple certificate-key-pairs, Mutt-ng will try to
9206    use the mailbox-address to determine the key to use. It will ask you to
9207    supply a key, if it can't find one. (S/MIME only)
9208
9209 287. $smime_default_key
9210
9211    Type: string
9212
9213    Default: ""
9214
9215    This is the default key-pair to use for signing. This must be set to the
9216    keyid (the hash-value that OpenSSL generates) to work properly (S/MIME
9217    only)
9218
9219 288. $smime_encrypt_command
9220
9221    Type: string
9222
9223    Default: ""
9224
9225    This command is used to create encrypted S/MIME messages. (S/MIME only)
9226
9227 289. $smime_encrypt_with
9228
9229    Type: string
9230
9231    Default: ""
9232
9233    This sets the algorithm that should be used for encryption. Valid choices
9234    are ``des'', ``des3'', ``rc2-40'', ``rc2-64'', ``\frc2-128''.
9235
9236    If unset ``3des'' (TripleDES) is used. (S/MIME only)
9237
9238 290. $smime_get_cert_command
9239
9240    Type: string
9241
9242    Default: ""
9243
9244    This command is used to extract X509 certificates from a PKCS7 structure.
9245    (S/MIME only)
9246
9247 291. $smime_get_cert_email_command
9248
9249    Type: string
9250
9251    Default: ""
9252
9253    This command is used to extract the mail address(es) used for storing X509
9254    certificates, and for verification purposes (to check whether the
9255    certificate was issued for the sender's mailbox). (S/MIME only)
9256
9257 292. $smime_get_signer_cert_command
9258
9259    Type: string
9260
9261    Default: ""
9262
9263    This command is used to extract only the signers X509 certificate from a
9264    S/MIME signature, so that the certificate's owner may get compared to the
9265    email's ``From:'' header field. (S/MIME only)
9266
9267 293. $smime_import_cert_command
9268
9269    Type: string
9270
9271    Default: ""
9272
9273    This command is used to import a certificate via smime_keysng. (S/MIME
9274    only)
9275
9276 294. $smime_is_default
9277
9278    Type: boolean
9279
9280    Default: no
9281
9282    The default behaviour of Mutt-ng is to use PGP on all auto-sign/encryption
9283    operations. To override and to use OpenSSL instead this must be set.
9284
9285    However, this has no effect while replying, since Mutt-ng will
9286    automatically select the same application that was used to sign/encrypt
9287    the original message.
9288
9289    (Note that this variable can be overridden by unsetting $crypt_autosmime.)
9290    (S/MIME only)
9291
9292 295. $smime_keys
9293
9294    Type: path
9295
9296    Default: ""
9297
9298    Since there is no pubring/secring as with PGP, Mutt-ng has to handle
9299    storage ad retrieval of keys/certs by itself. This is very basic right
9300    now, and stores keys and certificates in two different directories, both
9301    named as the hash-value retrieved from OpenSSL. There is an index file
9302    which contains mailbox-address keyid pair, and which can be manually
9303    edited. This one points to the location of the private keys. (S/MIME only)
9304
9305 296. $smime_pk7out_command
9306
9307    Type: string
9308
9309    Default: ""
9310
9311    This command is used to extract PKCS7 structures of S/MIME signatures, in
9312    order to extract the public X509 certificate(s). (S/MIME only)
9313
9314 297. $smime_sign_command
9315
9316    Type: string
9317
9318    Default: ""
9319
9320    This command is used to created S/MIME signatures of type
9321    multipart/signed, which can be read by all mail clients. (S/MIME only)
9322
9323 298. $smime_sign_opaque_command
9324
9325    Type: string
9326
9327    Default: ""
9328
9329    This command is used to created S/MIME signatures of type
9330    application/x-pkcs7-signature, which can only be handled by mail clients
9331    supporting the S/MIME extension. (S/MIME only)
9332
9333 299. $smime_timeout
9334
9335    Type: number
9336
9337    Default: 300
9338
9339    The number of seconds after which a cached passphrase will expire if not
9340    used. (S/MIME only)
9341
9342 300. $smime_verify_command
9343
9344    Type: string
9345
9346    Default: ""
9347
9348    This command is used to verify S/MIME signatures of type multipart/signed.
9349    (S/MIME only)
9350
9351 301. $smime_verify_opaque_command
9352
9353    Type: string
9354
9355    Default: ""
9356
9357    This command is used to verify S/MIME signatures of type
9358    application/x-pkcs7-mime. (S/MIME only)
9359
9360 302. $smtp_host
9361
9362    Type: string
9363
9364    Default: ""
9365
9366    Availability: SMTP
9367
9368    Defines the SMTP host which will be used to deliver mail, as opposed to
9369    invoking the sendmail binary. Setting this variable overrides the value of
9370    ``$sendmail'', and any associated variables.
9371
9372 303. $smtp_pass
9373
9374    Type: string
9375
9376    Default: ""
9377
9378    Availability: SMTP
9379
9380    Defines the password to use with SMTP AUTH. If ``$smtp_user'' is set, but
9381    this variable is not, you will be prompted for a password when sending.
9382
9383    Note: Storing passwords in a configuration file presents a security risk
9384    since the superuser of your machine may read it regardless of the file's
9385    permissions.
9386
9387 304. $smtp_port
9388
9389    Type: number
9390
9391    Default: 25
9392
9393    Availability: SMTP
9394
9395    Defines the port that the SMTP host is listening on for mail delivery.
9396    Must be specified as a number.
9397
9398    Defaults to 25, the standard SMTP port, but RFC 2476-compliant SMTP
9399    servers will probably desire 587, the mail submission port.
9400
9401 305. $smtp_use_tls
9402
9403    Type: string
9404
9405    Default: ""
9406
9407    Availability: SMTP (and SSL)
9408
9409    Defines wether to use STARTTLS. If this option is set to ``required'' and
9410    the server does not support STARTTLS or there is an error in the TLS
9411    Handshake, the connection will fail. Setting this to ``enabled'' will try
9412    to start TLS and continue without TLS in case of an error. Muttng still
9413    needs to have SSL support enabled in order to use it.
9414
9415 306. $smtp_user
9416
9417    Type: string
9418
9419    Default: ""
9420
9421    Availability: SMTP
9422
9423    Defines the username to use with SMTP AUTH. Setting this variable will
9424    cause Mutt-ng to attempt to use SMTP AUTH when sending.
9425
9426 307. $sort
9427
9428    Type: sort order
9429
9430    Default: date
9431
9432    Specifies how to sort messages in the index menu. Valid values are:
9433
9434     date or date-sent
9435     date-received
9436     from
9437     mailbox-order (unsorted)
9438     score
9439     size
9440     spam
9441     subject
9442     threads
9443     to
9444
9445
9446    You may optionally use the ``reverse-'' prefix to specify reverse sorting
9447    order (example: set sort=reverse-date-sent).
9448
9449 308. $sort_alias
9450
9451    Type: sort order
9452
9453    Default: alias
9454
9455    Specifies how the entries in the ``alias'' menu are sorted. The following
9456    are legal values:
9457
9458     address (sort alphabetically by email address)
9459     alias (sort alphabetically by alias name)
9460     unsorted (leave in order specified in .muttrc)
9461
9462
9463 309. $sort_aux
9464
9465    Type: sort order
9466
9467    Default: date
9468
9469    When sorting by threads, this variable controls how threads are sorted in
9470    relation to other threads, and how the branches of the thread trees are
9471    sorted. This can be set to any value that ``$sort'' can, except threads
9472    (in that case, Mutt-ng will just use date-sent). You can also specify the
9473    ``last-'' prefix in addition to ``reverse-'' prefix, but last- must come
9474    after reverse-. The last- prefix causes messages to be sorted against its
9475    siblings by which has the last descendant, using the rest of sort_aux as
9476    an ordering.
9477
9478    For instance, set sort_aux=last-date-received would mean that if a new
9479    message is received in a thread, that thread becomes the last one
9480    displayed (or the first, if you have set sort=reverse-threads.)
9481
9482    Note: For reversed ``$sort'' order $sort_aux is reversed again (which is
9483    not the right thing to do, but kept to not break any existing
9484    configuration setting).
9485
9486 310. $sort_browser
9487
9488    Type: sort order
9489
9490    Default: alpha
9491
9492    Specifies how to sort entries in the file browser. By default, the entries
9493    are sorted alphabetically. Valid values:
9494
9495     alpha (alphabetically)
9496     date
9497     size
9498     unsorted
9499
9500
9501    You may optionally use the ``reverse-'' prefix to specify reverse sorting
9502    order (example: set sort_browser=reverse-date).
9503
9504 311. $sort_re
9505
9506    Type: boolean
9507
9508    Default: yes
9509
9510    This variable is only useful when sorting by threads with
9511    ``$strict_threads'' unset. In that case, it changes the heuristic Mutt-ng
9512    uses to thread messages by subject. With $sort_reset, Mutt-ng will only
9513    attach a message as the child of another message by subject if the subject
9514    of the child message starts with a substring matching the setting of
9515    ``$reply_regexp''. With $sort_reunset, Mutt-ng will attach the message
9516    whether or not this is the case, as long as the non-``$reply_regexp''
9517    parts of both messages are identical.
9518
9519 312. $spam_separator
9520
9521    Type: string
9522
9523    Default: ","
9524
9525    ``spam_separator'' controls what happens when multiple spam headers are
9526    matched: if unset, each successive header will overwrite any previous
9527    matches value for the spam label. If set, each successive match will
9528    append to the previous, using ``spam_separator'' as a separator.
9529
9530 313. $spoolfile
9531
9532    Type: path
9533
9534    Default: ""
9535
9536    If your spool mailbox is in a non-default place where Mutt-ng cannot find
9537    it, you can specify its location with this variable. Mutt-ng will
9538    automatically set this variable to the value of the environment variable
9539    $MAIL if it is not set.
9540
9541 314. $ssl_ca_certificates_file
9542
9543    Type: path
9544
9545    Default: ""
9546
9547    This variable specifies a file containing trusted CA certificates. Any
9548    server certificate that is signed with one of these CA certificates are
9549    also automatically accepted.
9550
9551    Example: set ssl_ca_certificates_file=/etc/ssl/certs/ca-certificates.crt
9552
9553 315. $ssl_client_cert
9554
9555    Type: path
9556
9557    Default: ""
9558
9559    Availability: SSL
9560
9561    The file containing a client certificate and its associated private key.
9562
9563 316. $ssl_force_tls
9564
9565    Type: boolean
9566
9567    Default: no
9568
9569    If this variable is set, Mutt-ng will require that all connections to
9570    remote servers be encrypted. Furthermore it will attempt to negotiate TLS
9571    even if the server does not advertise the capability, since it would
9572    otherwise have to abort the connection anyway. This option supersedes
9573    ``$ssl_starttls''.
9574
9575 317. $ssl_min_dh_prime_bits
9576
9577    Type: number
9578
9579    Default: 0
9580
9581    Availability: GNUTLS
9582
9583    This variable specifies the minimum acceptable prime size (in bits) for
9584    use in any Diffie-Hellman key exchange. A value of 0 will use the default
9585    from the GNUTLS library.
9586
9587 318. $ssl_starttls
9588
9589    Type: quadoption
9590
9591    Default: yes
9592
9593    Availability: SSL or GNUTLS
9594
9595    If set (the default), Mutt-ng will attempt to use STARTTLS on servers
9596    advertising the capability. When unset, Mutt-ng will not attempt to use
9597    STARTTLS regardless of the server's capabilities.
9598
9599 319. $ssl_use_sslv2
9600
9601    Type: boolean
9602
9603    Default: yes
9604
9605    Availability: SSL
9606
9607    This variables specifies whether to attempt to use SSLv2 in the SSL
9608    authentication process.
9609
9610 320. $ssl_use_sslv3
9611
9612    Type: boolean
9613
9614    Default: yes
9615
9616    Availability: SSL or GNUTLS
9617
9618    This variables specifies whether to attempt to use SSLv3 in the SSL
9619    authentication process.
9620
9621 321. $ssl_use_tlsv1
9622
9623    Type: boolean
9624
9625    Default: yes
9626
9627    Availability: SSL or GNUTLS
9628
9629    This variables specifies whether to attempt to use TLSv1 in the SSL
9630    authentication process.
9631
9632 322. $ssl_usesystemcerts
9633
9634    Type: boolean
9635
9636    Default: yes
9637
9638    Availability: SSL
9639
9640    If set to yes, Mutt-ng will use CA certificates in the system-wide
9641    certificate store when checking if server certificate is signed by a
9642    trusted CA.
9643
9644 323. $status_chars
9645
9646    Type: string
9647
9648    Default: "-*%A"
9649
9650    Controls the characters used by the ``%r'' indicator in
9651    ``$status_format''. The first character is used when the mailbox is
9652    unchanged. The second is used when the mailbox has been changed, and it
9653    needs to be resynchronized. The third is used if the mailbox is in
9654    read-only mode, or if the mailbox will not be written when exiting that
9655    mailbox (You can toggle whether to write changes to a mailbox with the
9656    toggle-write operation, bound by default to ``%''). The fourth is used to
9657    indicate that the current folder has been opened in attach-message mode
9658    (Certain operations like composing a new mail, replying, forwarding, etc.
9659    are not permitted in this mode).
9660
9661 324. $status_format
9662
9663    Type: string
9664
9665    Default: "-%r-Mutt-ng: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d?
9666    Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l?
9667    %l?]---(%s/%S)-%>-(%P)---"
9668
9669    Controls the format of the status line displayed in the index menu. This
9670    string is similar to ``$index_format'', but has its own set of
9671    printf(3)-like sequences:
9672
9673    %b
9674
9675            number of mailboxes with new mail *
9676
9677    %B
9678
9679            the short pathname of the current mailbox
9680
9681    %d
9682
9683            number of deleted messages *
9684
9685    %f
9686
9687            the full pathname of the current mailbox
9688
9689    %F
9690
9691            number of flagged messages *
9692
9693    %h
9694
9695            local hostname
9696
9697    %l
9698
9699            size (in bytes) of the current mailbox *
9700
9701    %L
9702
9703            size (in bytes) of the messages shown (i.e., which match the
9704            current limit) *
9705
9706    %m
9707
9708            the number of messages in the mailbox *
9709
9710    %M
9711
9712            the number of messages shown (i.e., which match the current limit)
9713            *
9714
9715    %n
9716
9717            number of new messages in the mailbox *
9718
9719    %o
9720
9721            number of old unread messages *
9722
9723    %p
9724
9725            number of postponed messages *
9726
9727    %P
9728
9729            percentage of the way through the index
9730
9731    %r
9732
9733            modified/read-only/won't-write/attach-message indicator, according
9734            to $status_chars
9735
9736    %s
9737
9738            current sorting mode ($sort)
9739
9740    %S
9741
9742            current aux sorting method ($sort_aux)
9743
9744    %t
9745
9746            number of tagged messages *
9747
9748    %u
9749
9750            number of unread messages *
9751
9752    %v
9753
9754            Mutt-ng version string
9755
9756    %V
9757
9758            currently active limit pattern, if any *
9759
9760    %>X
9761
9762            right justify the rest of the string and pad with "X"
9763
9764    %|X
9765
9766            pad to the end of the line with "X"
9767
9768    * = can be optionally printed if nonzero
9769
9770    Some of the above sequences can be used to optionally print a string if
9771    their value is nonzero. For example, you may only want to see the number
9772    of flagged messages if such messages exist, since zero is not particularly
9773    meaningful. To optionally print a string based upon one of the above
9774    sequences, the following construct is used
9775
9776    %?<sequence_char>?<optional_string>?
9777
9778    where sequence_char is a character from the table above, and
9779    optional_string is the string you would like printed if sequence_char is
9780    nonzero. optional_stringmay contain other sequences as well as normal
9781    text, but you may not nest optional strings.
9782
9783    Here is an example illustrating how to optionally print the number of new
9784    messages in a mailbox:
9785
9786    %?n?%n new messages.?
9787
9788    Additionally you can switch between two strings, the first one, if a value
9789    is zero, the second one, if the value is nonzero, by using the following
9790    construct:
9791
9792    %?<sequence_char>?<if_string>&<else_string>?
9793
9794    You can additionally force the result of any printf(3)-like sequence to be
9795    lowercase by prefixing the sequence character with an underscore (_) sign.
9796    For example, if you want to display the local hostname in lowercase, you
9797    would use:
9798
9799    %_h
9800
9801    If you prefix the sequence character with a colon (:) character, Mutt-ng
9802    will replace any dots in the expansion by underscores. This might be
9803    helpful with IMAP folders that don't like dots in folder names.
9804
9805 325. $status_on_top
9806
9807    Type: boolean
9808
9809    Default: no
9810
9811    Setting this variable causes the ``status bar'' to be displayed on the
9812    first line of the screen rather than near the bottom.
9813
9814 326. $strict_mailto
9815
9816    Type: boolean
9817
9818    Default: yes
9819
9820    With mailto: style links, a body as well as arbitrary header information
9821    may be embedded. This may lead to (user) headers being overwriten without
9822    note if ``$edit_headers'' is unset.
9823
9824    If this variable is set, Mutt-ng is strict and allows anything to be
9825    changed. If it's unset, all headers given will be prefixed with
9826    ``X-Mailto-'' and the message including headers will be shown in the
9827    editor regardless of what ``$edit_headers'' is set to.
9828
9829 327. $strict_mime
9830
9831    Type: boolean
9832
9833    Default: yes
9834
9835    When unset, non MIME-compliant messages that doesn't have any charset
9836    indication in the ``Content-Type:'' header field can be displayed (non
9837    MIME-compliant messages are often generated by old mailers or buggy
9838    mailers like MS Outlook Express). See also $assumed_charset.
9839
9840    This option also replaces linear-white-space between encoded-word and
9841    *text to a single space to prevent the display of MIME-encoded
9842    ``Subject:'' header field from being devided into multiple lines.
9843
9844 328. $strict_threads
9845
9846    Type: boolean
9847
9848    Default: no
9849
9850    If set, threading will only make use of the ``In-Reply-To:'' and
9851    ``References:'' header fields when you ``$sort'' by message threads. By
9852    default, messages with the same subject are grouped together in ``pseudo
9853    threads.'' This may not always be desirable, such as in a personal mailbox
9854    where you might have several unrelated messages with the subject ``hi''
9855    which will get grouped together. See also ``$sort_re'' for a less drastic
9856    way of controlling this behaviour.
9857
9858 329. $strip_was
9859
9860    Type: boolean
9861
9862    Default: no
9863
9864    When set, Mutt-ng will remove the trailing part of the ``Subject:'' line
9865    which matches $strip_was_regex when replying. This is useful to properly
9866    react on subject changes and reduce ``subject noise.'' (esp. in Usenet)
9867
9868 330. $strip_was_regex
9869
9870    Type: regular expression
9871
9872    Default: "\([Ww][Aa][RrSs]: .*\)[ ]*$"
9873
9874    When non-empty and $strip_was is set, Mutt-ng will remove this trailing
9875    part of the ``Subject'' line when replying if it won't be empty
9876    afterwards.
9877
9878 331. $stuff_quoted
9879
9880    Type: boolean
9881
9882    Default: no
9883
9884    If set, attachments with flowed format will have their quoting
9885    ``stuffed'', i.e. a space will be inserted between the quote characters
9886    and the actual text.
9887
9888 332. $suspend
9889
9890    Type: boolean
9891
9892    Default: yes
9893
9894    When unset, Mutt-ng won't stop when the user presses the terminal's susp
9895    key, usually CTRL+Z. This is useful if you run Mutt-ng inside an xterm
9896    using a command like ``xterm -e muttng.''
9897
9898 333. $text_flowed
9899
9900    Type: boolean
9901
9902    Default: no
9903
9904    When set, Mutt-ng will generate text/plain; format=flowed attachments.
9905    This format is easier to handle for some mailing software, and generally
9906    just looks like ordinary text. To actually make use of this format's
9907    features, you'll need support in your editor.
9908
9909    Note that $indent_string is ignored when this option is set.
9910
9911 334. $thorough_search
9912
9913    Type: boolean
9914
9915    Default: no
9916
9917    Affects the ~b and ~h search operations described in section ``patterns''
9918    above. If set, the headers and attachments of messages to be searched are
9919    decoded before searching. If unset, messages are searched as they appear
9920    in the folder.
9921
9922 335. $thread_received
9923
9924    Type: boolean
9925
9926    Default: no
9927
9928    When set, Mutt-ng uses the date received rather than the date sent to
9929    thread messages by subject.
9930
9931 336. $tilde
9932
9933    Type: boolean
9934
9935    Default: no
9936
9937    When set, the internal-pager will pad blank lines to the bottom of the
9938    screen with a tilde (~).
9939
9940 337. $timeout
9941
9942    Type: number
9943
9944    Default: 600
9945
9946    This variable controls the number of seconds Mutt-ng will wait for a key
9947    to be pressed in the main menu before timing out and checking for new
9948    mail. A value of zero or less will cause Mutt-ng to never time out.
9949
9950 338. $tmpdir
9951
9952    Type: path
9953
9954    Default: ""
9955
9956    This variable allows you to specify where Mutt-ng will place its temporary
9957    files needed for displaying and composing messages. If this variable is
9958    not set, the environment variable $TMPDIR is used. If $TMPDIR is not set
9959    then "/tmp" is used.
9960
9961 339. $to_chars
9962
9963    Type: string
9964
9965    Default: " +TCFL"
9966
9967    Controls the character used to indicate mail addressed to you. The first
9968    character is the one used when the mail is NOT addressed to your address
9969    (default: space). The second is used when you are the only recipient of
9970    the message (default: +). The third is when your address appears in the
9971    ``To:'' header field, but you are not the only recipient of the message
9972    (default: T). The fourth character is used when your address is specified
9973    in the ``Cc:'' header field, but you are not the only recipient. The fifth
9974    character is used to indicate mail that was sent by you. The sixth
9975    character is used to indicate when a mail was sent to a mailing-list
9976    you're subscribe to (default: L).
9977
9978 340. $trash
9979
9980    Type: path
9981
9982    Default: ""
9983
9984    If set, this variable specifies the path of the trash folder where the
9985    mails marked for deletion will be moved, instead of being irremediably
9986    purged.
9987
9988    Note: When you delete a message in the trash folder, it is really deleted,
9989    so that there is no way to recover mail.
9990
9991 341. $tunnel
9992
9993    Type: string
9994
9995    Default: ""
9996
9997    Setting this variable will cause Mutt-ng to open a pipe to a command
9998    instead of a raw socket. You may be able to use this to set up
9999    preauthenticated connections to your IMAP/POP3 server. Example:
10000
10001    tunnel="ssh -q mailhost.net /usr/local/libexec/imapd"
10002
10003    Note: For this example to work you must be able to log in to the remote
10004    machine without having to enter a password.
10005
10006 342. $umask
10007
10008    Type: number
10009
10010    Default: 0077
10011
10012    This sets the umask that will be used by Mutt-ng when creating all kinds
10013    of files. If unset, the default value is 077.
10014
10015 343. $uncollapse_jump
10016
10017    Type: boolean
10018
10019    Default: no
10020
10021    When set, Mutt-ng will jump to the next unread message, if any, when the
10022    current thread is uncollapsed.
10023
10024 344. $use_8bitmime
10025
10026    Type: boolean
10027
10028    Default: no
10029
10030    Warning: do not set this variable unless you are using a version of
10031    sendmail which supports the -B8BITMIME flag (such as sendmail 8.8.x) or in
10032    connection with the SMTP support via libESMTP. Otherwise you may not be
10033    able to send mail.
10034
10035    When set, Mutt-ng will either invoke ``$sendmail'' with the -B8BITMIME
10036    flag when sending 8-bit messages to enable ESMTP negotiation or tell
10037    libESMTP to do so.
10038
10039 345. $use_domain
10040
10041    Type: boolean
10042
10043    Default: yes
10044
10045    When set, Mutt-ng will qualify all local addresses (ones without the @host
10046    portion) with the value of ``$hostname''. If unset, no addresses will be
10047    qualified.
10048
10049 346. $use_envelope_from
10050
10051    Type: boolean
10052
10053    Default: no
10054
10055    When set, Mutt-ng will use ``$envelope_from_address'' as the envelope
10056    sender if that is set, otherwise it will attempt to derive it from the
10057    "From:" header.
10058
10059    Note: This information is passed to sendmail command using the "-f"
10060    command line switch and passed to the SMTP server for libESMTP (if support
10061    is compiled in).
10062
10063 347. $use_from
10064
10065    Type: boolean
10066
10067    Default: yes
10068
10069    When set, Mutt-ng will generate the ``From:'' header field when sending
10070    messages. If unset, no ``From:'' header field will be generated unless the
10071    user explicitly sets one using the ``my_hdr'' command.
10072
10073 348. $use_idn
10074
10075    Type: boolean
10076
10077    Default: yes
10078
10079    Availability: IDN
10080
10081    When set, Mutt-ng will show you international domain names decoded.
10082
10083    Note: You can use IDNs for addresses even if this is unset. This variable
10084    only affects decoding.
10085
10086 349. $use_ipv6
10087
10088    Type: boolean
10089
10090    Default: yes
10091
10092    When set, Mutt-ng will look for IPv6 addresses of hosts it tries to
10093    contact. If this option is unset, Mutt-ng will restrict itself to IPv4
10094    addresses. Normally, the default should work.
10095
10096 350. $visual
10097
10098    Type: path
10099
10100    Default: ""
10101
10102    Specifies the visual editor to invoke when the ~v command is given in the
10103    builtin editor.
10104
10105 351. $wait_key
10106
10107    Type: boolean
10108
10109    Default: yes
10110
10111    Controls whether Mutt-ng will ask you to press a key after shell- escape,
10112    pipe-message, pipe-entry, print-message, and print-entry commands.
10113
10114    It is also used when viewing attachments with ``auto_view'', provided that
10115    the corresponding mailcap entry has a needsterminal flag, and the external
10116    program is interactive.
10117
10118    When set, Mutt-ng will always ask for a key. When unset, Mutt-ng will wait
10119    for a key only if the external command returned a non-zero status.
10120
10121 352. $weed
10122
10123    Type: boolean
10124
10125    Default: yes
10126
10127    When set, Mutt-ng will weed headers when displaying, forwarding, printing,
10128    or replying to messages.
10129
10130 353. $wrap_search
10131
10132    Type: boolean
10133
10134    Default: yes
10135
10136    Controls whether searches wrap around the end of the mailbox.
10137
10138    When set, searches will wrap around the first (or last) message. When
10139    unset, searches will not wrap.
10140
10141 354. $wrapmargin
10142
10143    Type: number
10144
10145    Default: 0
10146
10147    Controls the size of the margin remaining at the right side of the
10148    terminal when Mutt-ng's pager does smart wrapping.
10149
10150 355. $write_bcc
10151
10152    Type: boolean
10153
10154    Default: yes
10155
10156    Controls whether Mutt-ng writes out the Bcc header when preparing messages
10157    to be sent. Exim users may wish to unset this.
10158
10159 356. $write_inc
10160
10161    Type: number
10162
10163    Default: 10
10164
10165    When writing a mailbox, a message will be printed every write_inc messages
10166    to indicate progress. If set to 0, only a single message will be displayed
10167    before writing a mailbox.
10168
10169    Also see the ``$read_inc'' variable.
10170
10171 357. $xterm_icon
10172
10173    Type: string
10174
10175    Default: "M%?n?AIL&ail?"
10176
10177    Controls the format of the X11 icon title, as long as $xterm_set_titles is
10178    set. This string is identical in formatting to the one used by
10179    ``$status_format''.
10180
10181 358. $xterm_leave
10182
10183    Type: string
10184
10185    Default: ""
10186
10187    If $xterm_set_titles is set, this string will be used to set the title
10188    when leaving Mutt-ng. For terminal-based programs, there's no easy and
10189    portable way to read the current title so Mutt-ng cannot read it upon
10190    startup and restore it when exiting.
10191
10192    Based on the xterm FAQ, the following might work:
10193
10194    set xterm_leave = "`test x$DISPLAY != x && xprop -id $WINDOWID | grep
10195    WM_NAME | cut -d '"' -f 2`"
10196
10197 359. $xterm_set_titles
10198
10199    Type: boolean
10200
10201    Default: no
10202
10203    Controls whether Mutt-ng sets the xterm title bar and icon name (as long
10204    as you're in an appropriate terminal). The default must be unset to force
10205    in the validity checking.
10206
10207 360. $xterm_title
10208
10209    Type: string
10210
10211    Default: "Mutt-ng with %?m?%m messages&no messages?%?n? [%n New]?"
10212
10213    Controls the format of the title bar of the xterm provided that
10214    $xterm_set_titles has been set. This string is identical in formatting to
10215    the one used by ``$status_format''.
10216
10217 5. Functions
10218
10219    The following is the list of available functions listed by the mapping in
10220    which they are available. The default key setting is given, and an
10221    explanation of what the function does. The key bindings of these functions
10222    can be changed with the bind command.
10223
10224   5.1. generic
10225
10226    The generic menu is not a real menu, but specifies common functions (such
10227    as movement) available in all menus except for pager and editor. Changing
10228    settings for this menu will affect the default bindings for all menus
10229    (except as noted).
10230
10231    Table 7.4. Reference: Default Generic Function Bindings
10232
10233    Function          Default Key Description
10234    <bottom-page>     L           move to the bottom of the page
10235    <current-bottom>              move current entry to bottom of page
10236    <current-middle>              move current entry to middle of page
10237    <current-top>                 move current entry to top of page
10238    <enter-command>   :           enter a muttngrc command
10239    <exit>            q           exit this menu
10240    <first-entry>     =           move to the first entry
10241    <half-down>       ]           scroll down 1/2 page
10242    <half-up>         [           scroll up 1/2 page
10243    <help>            ?           this screen
10244    <jump>            number      jump to an index number
10245    <last-entry>      *           move to the last entry
10246    <middle-page>     M           move to the middle of the page
10247    <next-entry>      j           move to the next entry
10248    <next-line>       >           scroll down one line
10249    <next-page>       z           move to the next page
10250    <previous-entry>  k           move to the previous entry
10251    <previous-line>   >           scroll up one line
10252    <previous-page>   Z           move to the previous page
10253    <refresh>         C-L         clear and redraw the screen
10254    <search>          /           search for a regular expression
10255    <search-next>     n           search for next match
10256    <search-opposite>             search for next match in opposite direction
10257    <search-reverse>  E-/         search backwards for a regular expression
10258    <select-entry>    Return      select the current entry
10259    <shell-escape>    !           run a program in a subshell
10260    <tag-entry>       t           toggle the tag on the current entry
10261    <tag-prefix>      ;           apply next command to tagged entries
10262    <tag-prefix-cond>             apply next function ONLY to tagged messages
10263    <top-page>        H           move to the top of the page
10264    <what-key>                    display the keycode for a key press
10265
10266   5.2. index
10267
10268    Table 7.5. Reference: Default Index Function Bindings
10269
10270    Function                   Default Key Description
10271    <bounce-message>           b           remail a message to another user
10272    <change-folder>            c           open a different folder
10273    <change-folder-readonly>   E-c         open a different folder in read
10274                                           only mode
10275    <check-traditional-pgp>    E-P         check for classic pgp
10276    <clear-flag>               W           clear a status flag from a message
10277    <copy-message>             C           copy a message to a file/mailbox
10278    <create-alias>             a           create an alias from a message
10279                                           sender
10280    <decode-copy>              E-C         decode a message and copy it to a
10281                                           file/mailbox
10282    <decode-save>              E-s         decode a message and save it to a
10283                                           file/mailbox
10284    <delete-message>           d           delete the current entry
10285    <delete-pattern>           D           delete messages matching a pattern
10286    <delete-subthread>         E-d         delete all messages in subthread
10287    <delete-thread>            C-D         delete all messages in thread
10288    <display-address>          @           display full address of sender
10289    <display-toggle-weed>      h           display message and toggle header
10290                                           weeding
10291    <display-message>          Return      display a message
10292    <edit>                     e           edit the current message
10293    <edit-type>                C-E         edit the current message's
10294                                           Content-Type
10295    <exit>                     x           exit without saving changes
10296    <extract-keys>             C-K         extract PGP public keys
10297    <fetch-mail>               G           retrieve mail from POP server
10298    <flag-message>             F           toggle a message's 'important' flag
10299    <forget-passphrase>        C-F         wipe PGP passphrase from memory
10300    <forward-message>          f           forward a message with comments
10301    <group-reply>              g           reply to all recipients
10302    <limit>                    l           show only messages matching a
10303                                           pattern
10304    <list-reply>               L           reply to specified mailing list
10305    <mail>                     m           compose a new mail message
10306    <mail-key>                 E-k         mail a PGP public key
10307    <next-new>                             jump to the next new message
10308    <next-new-then-unread>     Tab         jump to the next new or unread
10309                                           message
10310    <next-subthread>           E-n         jump to the next subthread
10311    <next-thread>              C-N         jump to the next thread
10312    <next-undeleted>           j           move to the next undeleted message
10313    <next-unread>                          jump to the next unread message
10314    <parent-message>           P           jump to parent message in thread
10315    <pipe-message>             |           pipe message/attachment to a shell
10316                                           command
10317    <previous-new>                         jump to the previous new message
10318    <previous-new-then-unread> E-Tab       jump to the previous new or unread
10319                                           message
10320    <previous-page>            Z           move to the previous page
10321    <previous-subthread>       E-p         jump to previous subthread
10322    <previous-thread>          C-P         jump to previous thread
10323    <previous-undeleted>       k           move to the last undelete message
10324    <previous-unread>                      jump to the previous unread message
10325    <print-message>            p           print the current entry
10326    <query>                    Q           query external program for
10327                                           addresses
10328    <quit>                     q           save changes to mailbox and quit
10329    <read-subthread>           E-r         mark the current subthread as read
10330    <read-thread>              C-R         mark the current thread as read
10331    <recall-message>           R           recall a postponed message
10332    <reply>                    r           reply to a message
10333    <resend-message>           E-e         resend message and preserve MIME
10334                                           structure
10335    <save-message>             s           save message/attachment to a file
10336    <set-flag>                 w           set a status flag on a message
10337    <show-version>             V           show the Mutt-ng version number and
10338                                           date
10339    <show-limit>               E-l         show currently active limit
10340                                           pattern, if any
10341    <sort-mailbox>             o           sort messages
10342    <sort-reverse>             O           sort messages in reverse order
10343    <sync-mailbox>             $           save changes to mailbox
10344    <tag-pattern>              T           tag messages matching a pattern
10345    <tag-thread>               E-t         tag/untag all messages in the
10346                                           current thread
10347    <toggle-new>               N           toggle a message's 'new' flag
10348    <toggle-write>             %           toggle whether the mailbox will be
10349                                           rewritten
10350    <undelete-message>         u           undelete the current entry
10351    <undelete-pattern>         U           undelete messages matching a
10352                                           pattern
10353    <undelete-subthread>       E-u         undelete all messages in subthread
10354    <undelete-thread>          C-U         undelete all messages in thread
10355    <untag-pattern>            C-T         untag messages matching a pattern
10356    <view-attachments>         v           show MIME attachments
10357
10358   5.3. pager
10359
10360    Table 7.6. Reference: Default Pager Function Bindings
10361
10362    Function                   Default Key Description
10363    <bottom>                               jump to the bottom of the message
10364    <bounce-message>           b           remail a message to another user
10365    <change-folder>            c           open a different folder
10366    <change-folder-readonly>   E-c         open a different folder in read
10367                                           only mode
10368    <check-traditional-pgp>    E-P         check for classic pgp
10369    <copy-message>             C           copy a message to a file/mailbox
10370    <create-alias>             a           create an alias from a message
10371    <senderdecode-copy>        E-C         decode a message and copy it to a
10372                                           file/mailbox
10373    <decode-save>              E-s         decode a message and save it to a
10374                                           file/mailbox
10375    <delete-message>           d           delete the current entry
10376    <delete-subthread>         E-d         delete all messages in subthread
10377    <delete-thread>            C-D         delete all messages in thread
10378    <display-address>          @           display full address of sender
10379    <display-toggle-weed>      h           display message and toggle header
10380                                           weeding
10381    <edit>                     e           edit the current message
10382    <edit-type>                C-E         edit the current message's
10383                                           Content-Type
10384    <enter-command>            :           enter a muttngrc command
10385    <exit>                     i           return to the main-menu
10386    <extract-keys>             C-K         extract PGP public keys
10387    <flag-message>             F           toggle a message's 'important' flag
10388    <forget-passphrase>        C-F         wipe PGP passphrase from memory
10389    <forward-message>          f           forward a message with comments
10390    <group-reply>              g           reply to all recipients
10391    <half-up>                              move up one-half page
10392    <half-down>                            move down one-half page
10393    <help>                     ?           this screen
10394    <list-reply>               L           reply to specified mailing list
10395    <mail>                     m           compose a new mail message
10396    <mail-key>                 E-k         mail a PGP public key
10397    <mark-as-new>              N           toggle a message's 'new' flag
10398    <next-line>                Return      scroll down one line
10399    <next-entry>               J           move to the next entry
10400    <next-new>                             jump to the next new message
10401    <next-new-then-unread>     Tab         jump to the next new or unread
10402                                           message
10403    <next-page>                            move to the next page
10404    <next-subthread>           E-n         jump to the next subthread
10405    <next-thread>              C-N         jump to the next thread
10406    <next-undeleted>           j           move to the next undeleted message
10407    <next-unread>                          jump to the next unread message
10408    <parent-message>           P           jump to parent message in thread
10409    <pipe-message>             |           pipe message/attachment to a shell
10410                                           command
10411    <previous-line>            BackSpace   scroll up one line
10412    <previous-entry>           K           move to the previous entry
10413    <previous-new>                         jump to the previous new message
10414    <previous-new-then-unread>             jump to the previous new or unread
10415                                           message
10416    <previous-page>            -           move to the previous page
10417    <previous-subthread>       E-p         jump to previous subthread
10418    <previous-thread>          C-P         jump to previous thread
10419    <previous-undeleted>       k           move to the last undelete message
10420    <previous-unread>                      jump to the previous unread message
10421    <print-message>            p           print the current entry
10422    <quit>                     Q           save changes to mailbox and quit
10423    <read-subthread>           E-r         mark the current subthread as read
10424    <read-thread>              C-R         mark the current thread as read
10425    <recall-message>           R           recall a postponed message
10426    <redraw-screen>            C-L         clear and redraw the screen
10427    <reply>                    r           reply to a message
10428    <save-message>             s           save message/attachment to a file
10429    <search>                   /           search for a regular expression
10430    <search-next>              n           search for next match
10431    <search-opposite>                      search for next match in opposite
10432                                           direction
10433    <search-reverse>           E-/         search backwards for a regular
10434                                           expression
10435    <search-toggle>            \           toggle search pattern coloring
10436    <shell-escape>             !           invoke a command in a subshell
10437    <show-version>             V           show the Mutt-ng version number and
10438                                           date
10439    <skip-quoted>              S           skip beyond quoted text
10440    <sync-mailbox>             $           save changes to mailbox
10441    <tag-message>              t           tag a message
10442    <toggle-quoted>            T           toggle display of quoted text
10443    <top>                      ^           jump to the top of the message
10444    <undelete-message>         u           undelete the current entry
10445    <undelete-subthread>       E-u         undelete all messages in subthread
10446    <undelete-thread>          C-U         undelete all messages in thread
10447    <view-attachments>         v           show MIME attachments
10448
10449   5.4. alias
10450
10451    Table 7.7. Reference: Default Alias Menu Function Bindings
10452
10453    Function         Default Key Description
10454    <search>         /           search for a regular expression
10455    <search-next>    n           search for next match
10456    <search-reverse> E-/         search backwards for a regular expression
10457
10458   5.5. query
10459
10460    Table 7.8. Reference: Default Query Menu Function Bindings
10461
10462    Function          Default Key Description
10463    <create-alias>    a           create an alias from a message sender
10464    <mail>            m           compose a new mail message
10465    <query>           Q           query external program for addresses
10466    <query-append>    A           append new query results to current results
10467    <search>          /           search for a regular expression
10468    <search-next>     n           search for next match
10469    <search-opposite>             search for next match in opposite direction
10470    <search-reverse>  E-/         search backwards for a regular expression
10471
10472   5.6. attach
10473
10474    Table 7.9. Reference: Default Attachment Menu Function Bindings
10475
10476    Function              Default Key Description
10477    <bounce-message>      b           remail a message to another user
10478    <collapse-parts>      v           toggle display of subparts
10479    <delete-entry>        d           delete the current entry
10480    <display-toggle-weed> h           display message and toggle header
10481                                      weeding
10482    <edit-type>           C-E         edit the current entry's Content-Type
10483    <extract-keys>        C-K         extract PGP public keys
10484    <forward-message>     f           forward a message with comments
10485    <group-reply>         g           reply to all recipients
10486    <list-reply>          L           reply to specified mailing list
10487    <pipe-entry>          |           pipe message/attachment to a shell
10488                                      command
10489    <print-entry>         p           print the current entry
10490    <reply>               r           reply to a message
10491    <resend-message>      E-e         resend message and preserve MIME
10492                                      structure
10493    <save-entry>          s           save message/attachment to a file
10494    <undelete-entry>      u           undelete the current entry
10495    <view-attach>         Return      view attachment using mailcap entry if
10496                                      necessary
10497    <view-mailcap>        m           force viewing of attachment using
10498                                      mailcap
10499    <view-text>           T           view attachment as text
10500
10501   5.7. compose
10502
10503    Table 7.10. Reference: Default Compose Menu Function Bindings
10504
10505    Function              Default Key Description
10506    <attach-file>         a           attach a file(s) to this message
10507    <attach-message>      A           attach message(s) to this message
10508    <attach-key>          E-k         attach a PGP public key
10509    <copy-file>           C           save message/attachment to a file
10510    <detach-file>         D           delete the current entry
10511    <display-toggle-weed> h           display message and toggle header
10512                                      weeding
10513    <edit-bcc>            b           edit the BCC list
10514    <edit-cc>             c           edit the CC list
10515    <edit-description>    d           edit attachment description
10516    <edit-encoding>       C-E         edit attachment transfer-encoding
10517    <edit-fcc>            f           enter a file to save a copy of this
10518                                      message in
10519    <edit-from>           E-f         edit the from: field
10520    <edit-file>           C-X e       edit the file to be attached
10521    <edit-headers>        E           edit the message with headers
10522    <edit>                e           edit the message
10523    <edit-mime>           m           edit attachment using mailcap entry
10524    <edit-reply-to>       r           edit the Reply-To field
10525    <edit-subject>        s           edit the subject of this message
10526    <edit-to>             t           edit the TO list
10527    <edit-type>           C-T         edit attachment type
10528    <filter-entry>        F           filter attachment through a shell
10529                                      command
10530    <forget-passphrase>   C-F         wipe PGP passphrase from memory
10531    <ispell>              i           run ispell on the message
10532    <new-mime>            n           compose new attachment using mailcap
10533                                      entry
10534    <pgp-menu>            p           show PGP options
10535    <pipe-entry>          |           pipe message/attachment to a shell
10536                                      command
10537    <postpone-message>    P           save this message to send later
10538    <print-entry>         l           print the current entry
10539    <rename-file>         R           rename/move an attached file
10540    <send-message>        y           send the message
10541    <toggle-unlink>       u           toggle whether to delete file after
10542                                      sending it
10543    <view-attach>         Return      view attachment using mailcap entry if
10544                                      necessary
10545    <write-fcc>           w           write the message to a folder
10546
10547   5.8. postpone
10548
10549    Table 7.11. Reference: Default Postpone Menu Function Bindings
10550
10551    Function         Default Key Description
10552    <delete-entry>   d           delete the current entry
10553    <undelete-entry> u           undelete the current entry
10554
10555   5.9. browser
10556
10557    Table 7.12. Reference: Default Browser Menu Function Bindings
10558
10559    Function            Default Key Description
10560    <change-dir>        c           change directories
10561    <check-new>         Tab         check mailboxes for new mail
10562    <enter-mask>        m           enter a file mask
10563    <search>            /           search for a regular expression
10564    <search-next>       n           search for next match
10565    <search-reverse>    E-/         search backwards for a regular expression
10566    <select-new>        N           select a new file in this directory
10567    <sort>              o           sort messages
10568    <sort-reverse>      O           sort messages in reverse order
10569    <toggle-mailboxes>  Tab         toggle whether to browse mailboxes or all
10570                                    files
10571    <view-file>         Space       view file
10572    <subscribe>         s           subscribe to current mailbox (IMAP Only)
10573    <unsubscribe>       u           unsubscribe to current mailbox (IMAP Only)
10574    <toggle-subscribed> T           toggle view all/subscribed mailboxes (IMAP
10575                                    Only)
10576
10577   5.10. pgp
10578
10579    Table 7.13. Reference: Default PGP Menu Function Bindings
10580
10581    Function     Default Key Description
10582    <view-name>  %           view the key's user id
10583    <verify-key> c           verify a PGP public key
10584
10585   5.11. editor
10586
10587    Table 7.14. Reference: Default Editor Function Bindings
10588
10589    Function          Default Key Description
10590    <backspace>       BackSpace   delete the char in front of the cursor
10591    <backward-char>   C-B         move the cursor one character to the left
10592    <backward-word>   E-b         move the cursor to the previous word
10593    <bol>             C-A         jump to the beginning of the line
10594    <buffy-cycle>     Space       cycle among incoming mailboxes
10595    <capitalize-word> E-c         uppercase the first character in the word
10596    <complete>        Tab         complete filename or alias
10597    <complete-query>  C-T         complete address with query
10598    <delete-char>     C-D         delete the char under the cursor
10599    <downcase-word>   E-l         lowercase all characters in current word
10600    <eol>             C-E         jump to the end of the line
10601    <forward-char>    C-F         move the cursor one character to the right
10602    <forward-word>    E-f         move the cursor to the next word
10603    <history-down>                scroll down through the history list
10604    <history-up>                  scroll up through the history list
10605    <kill-eol>        C-K         delete chars from cursor to end of line
10606    <kill-eow>        E-d         delete chars from cursor to end of word
10607    <kill-line>       C-U         delete all chars on the line
10608    <kill-word>       C-W         delete the word in front of the cursor
10609    <quote-char>      C-V         quote the next typed key
10610    <transpose-chars>             transpose character under cursor with
10611                                  previous
10612    <upcase-word>     E-u         uppercase all characters in current word
10613
10614   5.12. sidebar
10615
10616    Table 7.15. Referene: Default Sidebar Function Bindings
10617
10618    Key Function              Description
10619        <sidebar-scroll-up>   Scrolls the mailbox list up 1 page
10620        <sidebar-scroll-down> Scrolls the mailbox list down 1 page
10621        <sidebar-next>        Highlights the next mailbox
10622        <sidebar-next-new>    Highlights the next mailbox with new mail
10623        <sidebar-previous>    Highlights the previous mailbox
10624        <sidebar-open>        Opens the currently highlighted mailbox
10625
10626 Appendix A. Acknowledgments
10627
10628    Kari Hurtta <kari.hurtta@fmi.fi> co-developed the original MIME >parsing
10629    code back in the ELM-ME days.
10630
10631    The following people have been very helpful to the development of Mutt
10632    (sorted by surnames):
10633
10634      o Vikas Agnihotri <vikasa@writeme.com>
10635      o Francois Berjon < Francois.Berjon@aar.alcatel-alsthom.fr>
10636      o Aric Blumer <aric@fore.com>
10637      o John Capo <jc@irbs.com>
10638      o David Champion <dgc@uchicago.edu>
10639      o Brendan Cully <brendan@kublai.com>
10640      o Liviu Daia <daia@stoilow.imar.ro>
10641      o Thomas E. Dickey <dickey@herndon4.his.com>
10642      o David DeSimone <fox@convex.hp.com>
10643      o Nickolay N. Dudorov <nnd@wint.itfs.nsk.su>
10644      o Ruslan Ermilov <ru@freebsd.org>
10645      o Edmund Grimley Evans <edmundo@rano.org>
10646      o Michael Finken <finken@conware.de>
10647      o Sven Guckes <guckes@math.fu-berlin.de>
10648      o Lars Hecking <lhecking@nmrc.ie>
10649      o Mark Holloman <holloman@nando.net>
10650      o Andreas Holzmann <holzmann@fmi.uni-passau.de>
10651      o Marco d'Itri <md@linux.it>
10652      o Björn Jacke <bjacke@suse.com>
10653      o Byrial Jensen <byrial@image.dk>
10654      o David Jeske <jeske@igcom.net>
10655      o Christophe Kalt <kalt@hugo.int-evry.fr>
10656      o Tommi Komulainen <Tommi.Komulainen@iki.fi>
10657      o Felix von Leitner (a.k.a ``Fefe'') < leitner@math.fu-berlin.de >
10658      o Brandon Long <blong@fiction.net>
10659      o Jimmy Mäkeä <jmy@flashback.net>
10660      o Lars Marowsky-Bree <lmb@pointer.in-minden.de>
10661      o Thomas ``Mike'' Michlmayr <mike@cosy.sbg.ac.at>
10662      o Andrew W. Nosenko <awn@bcs.zp.ua>
10663      o David O'Brien <obrien@Nuxi.cs.ucdavis.edu>
10664      o Clint Olsen <olsenc@ichips.intel.com>
10665      o Park Myeong Seok <pms@romance.kaist.ac.kr>
10666      o Thomas Parmelan <tom@ankh.fr.eu.org>
10667      o Ollivier Robert <roberto@keltia.freenix.fr>
10668      o Thomas Roessler <roessler@does-not-exist.org>
10669      o Roland Rosenfeld <roland@spinnaker.de>
10670      o TAKIZAWA Takashi <taki@luna.email.ne.jp>
10671      o Allain Thivillon <Allain.Thivillon@alma.fr>
10672      o Gero Treuner <gero@70t.de>
10673      o Vsevolod Volkov <vvv@lucky.net>
10674      o Ken Weinert <kenw@ihs.com>
10675
10676    Mutt-ng is developed by the following people:
10677
10678      o Andreas Krennmair <ak@synflood.at>
10679      o Nico Golde <nico@ngolde.de>
10680      o Rocco Rutte <pdmef@cs.tu-berlin.de>
10681
10682    The following people have been very helpful to the development of Mutt-ng
10683    (sorted by surnames):
10684
10685      o Christian Gall <cg@cgall.de>
10686      o Iain Lea <iain@bricbrac.de>
10687      o Andreas Kneib <akneib@gmx.net>
10688      o Felix Meinhold <felix.meinhold@gmx.net>
10689      o Carsten Schoelzki <cjs@weisshuhn.de>
10690      o Elimar Riesebieter <riesebie@lxtec.de>
10691
10692 Appendix B. Hacking Documentation
10693
10694    This manual is written in XML and transformed via a XSLT stylesheet into
10695    valid DocBook/XML and/or LaTeX to be again transformed via a XSLT
10696    stylesheet into the final formats.
10697
10698    This two pass processing is required to keep the file size low and to
10699    sanitize use, i.e. drastically lower the typing overhead.
10700
10701    To achieve the latter, the sources come with a file called
10702    muttng-manual.xsl introducing the muttng-doc namespace which offers the
10703    following tags to be used (note: this is far from being complete, any help
10704    towards consistency is highly appreciated).
10705
10706    <muttng-doc:man name="" [sect=""]/>
10707
10708            References to manual pages. If the sect parameter is omitted,
10709            it'll be 1 for the commands section. There's no auto-indexing yet.
10710
10711    <muttng-doc:envvar name=""/>
10712
10713            References to environment variables. The name parameter must
10714            contain upper-case letters only without the dollar sign as it'll
10715            be added automatically. Auto-indexing is done.
10716
10717    <muttng-doc:hook name=""/>
10718
10719            References to hooks. The string -hook will be added automatically
10720            to the value given in the name parameter. All entries will be
10721            auto-indexed.
10722
10723    <muttng-doc:pattern name="" [full="1"]/>
10724
10725            References to patterns. The name parameter must only contain the
10726            letter/symbol for the pattern as the tilde symbol/equal sign will
10727            be added automatically. Auto-indexing is done. If the full
10728            parameter is given the equal sign as well as tilde will be printed
10729            for a fully complete reference.
10730
10731    <muttng-doc:key [mod="C|E"]>key</muttng-doc:key>
10732
10733            Referencing a key.. Because it's somewhat untrivial to always get
10734            the right escaping for LaTeX, there's a tag for it. The optional
10735            modifiers C or E stand for Control and Escape respectively. To
10736            still allow escaping, the actual key sequences must be given
10737            within the tag.
10738
10739    <muttng-doc:funcdef name=""/>
10740
10741            Defining a command.. It's used to define a command with the name
10742            given in the name parameter. The default key binding must be given
10743            via <muttng-doc:key/> (see above). The string will be
10744            automatically enclosed in <>. Auto-indexing is done. Also an
10745            anchor with id func-[name] will be added with [name] being the
10746            value of the name parameter.
10747
10748    <muttng-doc:funcref name=""/>
10749
10750            References to functions.. This is practically the same as the
10751            above except that there's no anchor defined.
10752
10753    <muttng-doc:vardef name=""/>
10754
10755            Defining a variable. This is to be used by makedoc only to define
10756            a command with a given name and XML-normalized link given via id.
10757            Auto-indexing is done. The name parameter's value will be prefixed
10758            with a dollar sign as for environment variables.
10759
10760    <muttng-doc:varref name=""/>
10761
10762            References to variables. This practically is the same as above
10763            except that the text inbetween won't be wrapped within a <sect1>
10764            tag. Auto-indexing is the same as for the above. This one is
10765            intended for manual use.
10766
10767    <muttng-doc:web url""/>
10768
10769            Pretty print a linked URL. As for E-Mail addresses where the text
10770            (mostly) equals the link's target, URLs must be enclosed in <>
10771            (also this reduced redudant URL typing).
10772
10773    <muttng-doc:rfc num=""/>
10774
10775            References to RfC documents. Use this to produce links to RfC
10776            document with number given as the num parameter. A link to
10777            <http://www.faqs.org/> will be made. Auto-indexing is done under
10778            RfC.
10779
10780    <muttng-doc:cmddef name="" [noanchor="1"]/>
10781
10782            Defining a configuration command. The name of the command is given
10783            as the name parameter. In case a single command has multiple
10784            possible calling sequences, specify noanchor="1" for subsequent
10785            use. Auto-indexing is done. Specify the arguments within the tag.
10786
10787    <muttng-doc:cmdref name=""/>
10788
10789            References to configuration commands. Use this to refer to
10790            commands as it builds the proper internal reference name.
10791            Auto-indexing is done.
10792
10793    <muttng-doc:lstconf/>, <muttng-doc:lstmail/>, <muttng-doc:lstshell/>
10794
10795            Screen layout by context. These are used to specify environments
10796            for different types of screen output. For DocBook output, all of
10797            these simply map to <screen/>. But as a possible future migration
10798            to LaTeX may be ahead, different languages defined for the
10799            listings.sty packages may be used to have proper syntax
10800            highlighting for these so that there must be a context sensitive
10801            distinction.
10802
10803    <muttng-doc:special [docbook=""] [latex=""]/>
10804
10805            This is intended for specifying special strings for either
10806            DocBook/XML or LaTeX.
10807
10808    Additional notes follow.
10809
10810      o To not fully bloat the XSL stylesheet procuding the LaTeX code, all
10811        tables must have an attribute called texstr which is directly passed
10812        to longtable.
10813
10814 Index
10815
10816   Symbols
10817
10818    ~$/ =$, Patterns
10819
10820    ~*/ =*, Patterns
10821
10822    ~=/ ==, Patterns
10823
10824    ~A/ =A, Patterns
10825
10826    ~b/ =b, Complex Patterns, Patterns
10827
10828    ~B/ =B, Patterns
10829
10830    ~c/ =c, Patterns
10831
10832    ~C/ =C, Patterns
10833
10834    ~d/ =d, Patterns and Dates, Patterns
10835
10836    ~D/ =D, Patterns
10837
10838    ~E/ =E, Patterns
10839
10840    ~e/ =e, Patterns
10841
10842    ~f/ =f, Complex Patterns, Patterns
10843
10844    ~F/ =F, Patterns
10845
10846    ~g/ =g, Patterns
10847
10848    ~G/ =G, Patterns
10849
10850    ~H/ =H, Spam detection, Patterns
10851
10852    ~h/ =h, Patterns
10853
10854    ~i/ =i, Patterns
10855
10856    ~k/ =k, Patterns
10857
10858    ~L/ =L, Patterns
10859
10860    ~l/ =l, Patterns
10861
10862    ~m/ =m, Patterns
10863
10864    ~M/ =M, Patterns
10865
10866    ~n/ =n, Message Scoring, Patterns
10867
10868    ~N/ =N, Patterns
10869
10870    ~O/ =O, Patterns
10871
10872    ~p/ =p, Patterns
10873
10874    ~P/ =P, Patterns
10875
10876    ~Q/ =Q, Patterns
10877
10878    ~R/ =R, Patterns
10879
10880    ~r/ =r, Patterns
10881
10882    ~s/ =s, Complex Patterns, Patterns
10883
10884    ~S/ =S, Patterns
10885
10886    ~T/ =T, Patterns
10887
10888    ~t/ =t, Patterns
10889
10890    ~U/ =U, Complex Patterns, Patterns
10891
10892    ~u/ =u, Patterns
10893
10894    ~v/ =v, Patterns
10895
10896    ~V/ =V, Patterns
10897
10898    ~w/ =w, Patterns
10899
10900    ~x/ =x, Complex Patterns, Patterns
10901
10902    ~X/ =X, Patterns
10903
10904    ~y/ =y, Handling Mailing Lists, Patterns
10905
10906    ~z/ =z, Patterns
10907
10908   A
10909
10910    $abort_noattach , $abort_noattach
10911
10912    $abort_nosubject , $abort_nosubject
10913
10914    $abort_unmodified , $abort_unmodified
10915
10916    account-hook, Managing multiple IMAP/POP/NNTP accounts (OPTIONAL),
10917    Configuration Commands
10918
10919    $agent_string , Configuration variables
10920
10921    $agent_string , $agent_string
10922
10923    alias, Miscellaneous Functions, Defining/Using aliases, Configuration
10924    Commands
10925
10926    $alias_file, Miscellaneous Functions, Defining/Using aliases
10927
10928    $alias_file , $alias_file
10929
10930    $alias_format , $alias_format
10931
10932    $allow_8bit , $allow_8bit
10933
10934    $allow_ansi , $allow_ansi
10935
10936    alternates, Alternative addresses, Configuration Commands
10937
10938    alternative_order, MIME Multipart/Alternative, Configuration Commands
10939
10940    append-hook, Compressed folders Support (OPTIONAL), Append a message to a
10941    compressed mailbox, Encrypted folders, Configuration Commands
10942
10943    $arrow_cursor , $arrow_cursor
10944
10945    $ascii_chars , $ascii_chars
10946
10947    $askbcc , $askbcc
10948
10949    $askcc , $askcc
10950
10951    $assumed_charset , $assumed_charset
10952
10953    <attach-file>, Composing new messages, compose
10954
10955    <attach-key>, Composing new messages, compose
10956
10957    <attach-message>, Composing new messages, compose
10958
10959    attachments, Attachment Searching and Counting
10960
10961    $attach_format , $attach_format
10962
10963    $attach_remind_regexp , $attach_remind_regexp
10964
10965    $attach_sep , $attach_sep
10966
10967    $attach_split , $attach_split
10968
10969    $attribution, Change settings based upon message recipients, $attribution
10970
10971    $auto_tag, Using Tags
10972
10973    $autoedit , $autoedit
10974
10975    $auto_tag , $auto_tag
10976
10977    auto_view, The Pager, Optional Fields, Search Order, MIME Autoview, MIME
10978    Multipart/Alternative, Configuration Commands
10979
10980   B
10981
10982    <backspace>, Editing Input Fields, editor
10983
10984    <backward-char>, Editing Input Fields, editor
10985
10986    <backward-word>, Editing Input Fields, editor
10987
10988    $beep , $beep
10989
10990    $beep_new , $beep_new
10991
10992    bind, Editing Input Fields, Changing the default key bindings, Keyboard
10993    macros, Configuration Commands
10994
10995    <bol>, Editing Input Fields, editor
10996
10997    <bottom>, pager
10998
10999    <bottom-page>, generic
11000
11001    <bounce>, Sending Mail, $bounce
11002
11003    <bounce-message>, index, pager, attach
11004
11005    $bounce_delivered , $bounce_delivered
11006
11007    $braille_friendly , $braille_friendly
11008
11009    <buffy-cycle>, editor
11010
11011   C
11012
11013    <capitalize-word>, Editing Input Fields, editor
11014
11015    $certificate_file , $certificate_file
11016
11017    <change-dir>, browser
11018
11019    <change-folder>, index, pager
11020
11021    <change-folder-readonly>, index, pager
11022
11023    $charset , $charset
11024
11025    charset-hook, Defining aliases for character sets, Configuration Commands
11026
11027    <check-new>, browser
11028
11029    <check-traditional-pgp>, Miscellaneous Functions, index, pager
11030
11031    $check_new , $check_new
11032
11033    <clear-flag>, index
11034
11035    close-hook, Compressed folders Support (OPTIONAL), Write a compressed
11036    mailbox, Append a message to a compressed mailbox, Configuration Commands
11037
11038    <collapse-all>, Threaded Mode
11039
11040    <collapse-parts>, attach
11041
11042    <collapse-thread>, Threaded Mode
11043
11044    $collapse_unread , $collapse_unread
11045
11046    color, The Pager, Using color and mono video attributes, Configuration
11047    Commands
11048
11049    $COLORFGBG, Using color and mono video attributes
11050
11051    <complete>, Editing Input Fields, editor
11052
11053    <complete-query>, Editing Input Fields, editor
11054
11055    <compose>, Sending Mail
11056
11057    $compose_format , $compose_format
11058
11059    $config_charset , $config_charset
11060
11061    $confirmappend , $confirmappend
11062
11063    $confirmcreate , $confirmcreate
11064
11065    $connect_timeout , $connect_timeout
11066
11067    $content_type , $content_type
11068
11069    $copy , $copy
11070
11071    <copy-file>, compose
11072
11073    <copy-message>, index, pager
11074
11075    <create-alias>, Miscellaneous Functions, Defining/Using aliases, index,
11076    pager, query
11077
11078    $crypt_autoencrypt , Configuration variables
11079
11080    $crypt_autosign , Configuration variables
11081
11082    crypt-hook, Choosing the cryptographic key of the recipient, Configuration
11083    Commands
11084
11085    $crypt_replyencrypt , Configuration variables
11086
11087    $crypt_replysign , Configuration variables
11088
11089    $crypt_replysignencrypted , Configuration variables
11090
11091    $crypt_verify_sig , Configuration variables
11092
11093    $crypt_autoencrypt , $crypt_autoencrypt
11094
11095    $crypt_autopgp , $crypt_autopgp
11096
11097    $crypt_autosign , $crypt_autosign
11098
11099    $crypt_autosmime , $crypt_autosmime
11100
11101    $crypt_replyencrypt , $crypt_replyencrypt
11102
11103    $crypt_replysign , $crypt_replysign
11104
11105    $crypt_replysignencrypted , $crypt_replysignencrypted
11106
11107    $crypt_timestamp , $crypt_timestamp
11108
11109    $crypt_use_gpgme , $crypt_use_gpgme
11110
11111    $crypt_verify_sig , $crypt_verify_sig
11112
11113    <current-bottom>, generic
11114
11115    <current-middle>, generic
11116
11117    <current-top>, generic
11118
11119   D
11120
11121    $date_format , $date_format
11122
11123    $debug_level , $debug_level
11124
11125    <decode-copy>, index
11126
11127    <decode-save>, index, pager
11128
11129    default-hook, Message Matching in Hooks
11130
11131    $default_hook , $default_hook
11132
11133    $delete , $delete
11134
11135    <delete-char>, Editing Input Fields, editor
11136
11137    <delete-entry>, attach, postpone
11138
11139    <delete-message>, index, pager
11140
11141    <delete-pattern>, index
11142
11143    $delete_space, Additional Notes
11144
11145    <delete-subthread>, Threaded Mode, index, pager
11146
11147    <delete-thread>, Threaded Mode, index, pager
11148
11149    $delete_space , $delete_space
11150
11151    $delete_untag , $delete_untag
11152
11153    <detach-file>, Composing new messages, compose
11154
11155    $digest_collapse , $digest_collapse
11156
11157    <display-address>, index, pager
11158
11159    <display-message>, index
11160
11161    <display-toggle-weed>, Miscellaneous Functions, index, pager, attach,
11162    compose
11163
11164    $display_filter , $display_filter
11165
11166    $dotlock_program , $dotlock_program
11167
11168    <downcase-word>, Editing Input Fields, editor
11169
11170    $dsn_notify, Delivery Status Notification (DSN) Support
11171
11172    $dsn_return, Delivery Status Notification (DSN) Support
11173
11174    $dsn_notify , $dsn_notify
11175
11176    $dsn_return , $dsn_return
11177
11178    $duplicate_threads , $duplicate_threads
11179
11180   E
11181
11182    <edit>, Miscellaneous Functions, index, pager, compose
11183
11184    <edit-bcc>, Composing new messages, compose
11185
11186    <edit-cc>, Composing new messages, compose
11187
11188    <edit-description>, Composing new messages, compose
11189
11190    <edit-encoding>, compose
11191
11192    <edit-fcc>, Composing new messages, compose
11193
11194    <edit-file>, compose
11195
11196    <edit-from>, Composing new messages, compose
11197
11198    $edit_headers, Editing the message header, User defined headers,
11199    mailto:-style links, Configuration variables, compose
11200
11201    <edit-mime>, compose
11202
11203    <edit-reply-to>, Composing new messages, compose
11204
11205    <edit-subject>, Composing new messages, compose
11206
11207    <edit-to>, Composing new messages, compose
11208
11209    <edit-type>, Miscellaneous Functions, index, pager, attach, compose
11210
11211    $EDITOR, Manual Conventions, Composing new messages
11212
11213    $editor , $editor
11214
11215    $editor_headers, Editing the message header, Defining/Using aliases
11216
11217    $editor_headers , $editor_headers
11218
11219    $edit_headers , $edit_headers
11220
11221    $encode_from , $encode_from
11222
11223    <enter-command>, Miscellaneous Functions, generic, pager
11224
11225    <enter-mask>, browser
11226
11227    $entropy_file , $entropy_file
11228
11229    $envelope_from_address , $envelope_from_address
11230
11231    <eol>, Editing Input Fields, editor
11232
11233    $escape , $escape
11234
11235    exec, Executing functions, Configuration Commands
11236
11237    <exit>, generic, index, pager
11238
11239    <extract-keys>, Miscellaneous Functions, index, pager, attach
11240
11241   F
11242
11243    $fast_reply , $fast_reply
11244
11245    fcc-hook, Specify default Fcc: mailbox when composing, Specify default
11246    save filename and default Fcc: mailbox at once, Using Hooks, Message
11247    Matching in Hooks, Configuration Commands
11248
11249    fcc-save-hook, Specify default save filename, Specify default Fcc: mailbox
11250    when composing, Specify default save filename and default Fcc: mailbox at
11251    once, Using Hooks, Configuration Commands
11252
11253    $fcc_attach , $fcc_attach
11254
11255    $fcc_clear , $fcc_clear
11256
11257    <fetch-mail>, index
11258
11259    $file_charset , $file_charset
11260
11261    <filter-entry>, compose
11262
11263    <first-entry>, Moving Around in Menus, generic
11264
11265    <flag-message>, index, pager
11266
11267    $folder, Configuration Variables, Defining mailboxes which receive mail,
11268    Mailbox Shortcuts, $folder
11269
11270    folder-hook, Setting variables based upon mailbox, Spam detection, Using
11271    Hooks, Managing multiple IMAP/POP/NNTP accounts (OPTIONAL), Configuration
11272    Commands
11273
11274    $folder_format , $folder_format
11275
11276    $followup_to, Mailing lists, Handling Mailing Lists
11277
11278    $followup_to , $followup_to
11279
11280    $force_buffy_check , $force_buffy_check
11281
11282    $force_name , $force_name
11283
11284    <forget-passphrase>, Miscellaneous Functions, Composing new messages,
11285    index, pager, compose
11286
11287    <forward>, Sending Mail
11288
11289    <forward-char>, Editing Input Fields, editor
11290
11291    $forward_decode , Configuration variables
11292
11293    $forward_decrypt , Configuration variables
11294
11295    $forward_format , Configuration variables
11296
11297    <forward-message>, index, pager, attach
11298
11299    $forward_quote , Configuration variables
11300
11301    <forward-word>, Editing Input Fields, editor
11302
11303    $forward_decode , $forward_decode
11304
11305    $forward_decrypt , $forward_decrypt
11306
11307    $forward_edit , $forward_edit
11308
11309    $forward_format , $forward_format
11310
11311    $forward_quote , $forward_quote
11312
11313    $from , $from
11314
11315   G
11316
11317    $gecos_mask , $gecos_mask
11318
11319    <group-reply>, Sending Mail, index, pager, attach
11320
11321   H
11322
11323    <half-down>, generic, pager
11324
11325    <half-up>, generic, pager
11326
11327    $hdrs , $hdrs
11328
11329    hdr_order, Defining the order of headers when viewing messages,
11330    Configuration Commands
11331
11332    $header , $header
11333
11334    $header_cache , $header_cache
11335
11336    $header_cache_compress , $header_cache_compress
11337
11338    <help>, Moving Around in Menus, $help, generic, pager
11339
11340    $hidden_host , $hidden_host
11341
11342    $hide_limited , $hide_limited
11343
11344    $hide_missing , $hide_missing
11345
11346    $hide_thread_subject , $hide_thread_subject
11347
11348    $hide_top_limited , $hide_top_limited
11349
11350    $hide_top_missing , $hide_top_missing
11351
11352    $history , $history
11353
11354    <history-down>, Editing Input Fields, editor
11355
11356    <history-up>, Editing Input Fields, editor
11357
11358    $HOME, MIME Type configuration with mime.types, MIME Viewer configuration
11359    with mailcap
11360
11361    $honor_followup_to, Miscellaneous Functions, Handling Mailing Lists
11362
11363    $honor_followup_to , $honor_followup_to
11364
11365    $HOSTNAME, Environment Variables
11366
11367    $hostname , $hostname
11368
11369   I
11370
11371    iconv-hook, Defining aliases for character sets
11372
11373    ignore, Miscellaneous Functions, Ignoring (weeding) unwanted message
11374    headers, Configuration Commands
11375
11376    $ignore_list_reply_to , $ignore_list_reply_to
11377
11378    $imap_authenticators, Authentication
11379
11380    $imap_home_namespace, Configuration Variables
11381
11382    $imap_list_subscribed, IMAP Support (OPTIONAL)
11383
11384    $imap_mail_check, Manual Conventions, Conditional parts, IMAP Support
11385    (OPTIONAL)
11386
11387    $imap_pass, Authentication
11388
11389    $imap_user, Authentication
11390
11391    $imap_authenticators , $imap_authenticators
11392
11393    $imap_check_subscribed , $imap_check_subscribed
11394
11395    $imap_delim_chars , $imap_delim_chars
11396
11397    $imap_headers , $imap_headers
11398
11399    $imap_home_namespace , $imap_home_namespace
11400
11401    $imap_keepalive , $imap_keepalive
11402
11403    $imap_list_subscribed , $imap_list_subscribed
11404
11405    $imap_login , $imap_login
11406
11407    $imap_mail_check , $imap_mail_check
11408
11409    $imap_pass , $imap_pass
11410
11411    $imap_passive , $imap_passive
11412
11413    $imap_peek , $imap_peek
11414
11415    $imap_reconnect , $imap_reconnect
11416
11417    $imap_servernoise , $imap_servernoise
11418
11419    $imap_user , $imap_user
11420
11421    $implicit_autoview , $implicit_autoview
11422
11423    $include , $include
11424
11425    $include_onlyfirst , $include_onlyfirst
11426
11427    $indent_string , Configuration variables
11428
11429    $indent_string , $indent_string
11430
11431    $index_format, Threaded Mode, Spam detection, Handling Mailing Lists,
11432    Configuration variables
11433
11434    $index_format , $index_format
11435
11436    <ispell>, Composing new messages, $ispell, compose
11437
11438   J
11439
11440    <jump>, generic
11441
11442   K
11443
11444    $keep_flagged , $keep_flagged
11445
11446    <kill-eol>, Editing Input Fields, editor
11447
11448    <kill-eow>, Editing Input Fields, editor
11449
11450    <kill-line>, Editing Input Fields, editor
11451
11452    <kill-word>, Editing Input Fields, editor
11453
11454   L
11455
11456    <last-entry>, Moving Around in Menus, generic
11457
11458    <limit>, index
11459
11460    <list-reply>, Miscellaneous Functions, Sending Mail, index, pager, attach
11461
11462    lists, Miscellaneous Functions, Mailing lists, Handling Mailing Lists,
11463    Configuration Commands
11464
11465    $list_reply , $list_reply
11466
11467    $locale, Change settings based upon message recipients, $locale
11468
11469   M
11470
11471    macro, Miscellaneous Functions, Keyboard macros, Adding key sequences to
11472    the keyboard buffer, Using Tags, Configuration Commands
11473
11474    <mail>, index, pager, query
11475
11476    <mail-key>, Sending Mail, index, pager
11477
11478    mailboxes, Defining mailboxes which receive mail, Configuration Commands
11479
11480    $mailcap_path, mailcap
11481
11482    $mailcap_sanitize, Secure use of mailcap, mailcap
11483
11484    $mailcap_path , $mailcap_path
11485
11486    $mailcap_sanitize , $mailcap_sanitize
11487
11488    $maildir_header_cache_verify , $maildir_header_cache_verify
11489
11490    $maildir_trash , $maildir_trash
11491
11492    $mail_check , $mail_check
11493
11494    <mark-as-new>, pager
11495
11496    $markers , $markers
11497
11498    $mark_old , $mark_old
11499
11500    $mask , $mask
11501
11502    $max_display_recips , $max_display_recips
11503
11504    $max_line_length , $max_line_length
11505
11506    $mbox, Mailbox Shortcuts, $mbox
11507
11508    mbox-hook, Using Multiple spool mailboxes, Using Hooks, Configuration
11509    Commands
11510
11511    $mbox_type, Mailbox Formats, Append a message to a compressed mailbox
11512
11513    $mbox_type , $mbox_type
11514
11515    $menu_context , $menu_context
11516
11517    $menu_move_off , $menu_move_off
11518
11519    $menu_scroll , $menu_scroll
11520
11521    $message_format , Configuration variables
11522
11523    message-hook, Change settings before formatting a message, Using Hooks,
11524    Message Matching in Hooks, MIME Autoview, Configuration Commands
11525
11526    $message_format , $message_format
11527
11528    $meta_key , $meta_key
11529
11530    $metoo , $metoo
11531
11532    $mh_purge , $mh_purge
11533
11534    $mh_seq_flagged , $mh_seq_flagged
11535
11536    $mh_seq_replied , $mh_seq_replied
11537
11538    $mh_seq_unseen , $mh_seq_unseen
11539
11540    <middle-page>, generic
11541
11542    $mime_forward , Configuration variables
11543
11544    $mime_forward , $mime_forward
11545
11546    $mime_forward_decode , $mime_forward_decode
11547
11548    $mime_forward_rest , $mime_forward_rest
11549
11550    mime_lookup, MIME Lookup, Configuration Commands
11551
11552    $mix_entry_format, Sending anonymous messages via mixmaster
11553
11554    $mixmaster , $mixmaster
11555
11556    $mix_entry_format , $mix_entry_format
11557
11558    mono, Using color and mono video attributes, Configuration Commands
11559
11560    $move , $move
11561
11562    $msgid_format, Message-ID: headers
11563
11564    $msgid_format , $msgid_format
11565
11566    $muttng_bindir , $muttng_bindir
11567
11568    $muttng_docdir , $muttng_docdir
11569
11570    $muttng_folder_name , $muttng_folder_name
11571
11572    $muttng_folder_path , $muttng_folder_path
11573
11574    $muttng_hcache_backend , $muttng_hcache_backend
11575
11576    $muttng_pwd , $muttng_pwd
11577
11578    $muttng_revision , $muttng_revision
11579
11580    $muttng_sysconfdir , $muttng_sysconfdir
11581
11582    $muttng_version , $muttng_version
11583
11584    my_hdr, User defined headers, Configuration Commands
11585
11586   N
11587
11588    $narrow_tree , $narrow_tree
11589
11590    $net_inc , $net_inc
11591
11592    <new-mime>, compose
11593
11594    <next-entry>, Moving Around in Menus, generic, pager
11595
11596    <next-line>, generic, pager
11597
11598    <next-new>, index, pager
11599
11600    <next-new-then-unread>, index, pager
11601
11602    <next-page>, generic, pager
11603
11604    <next-subthread>, Threaded Mode, index, pager
11605
11606    <next-thread>, Threaded Mode, index, pager
11607
11608    <next-undeleted>, index, pager
11609
11610    <next-unread>, index, pager
11611
11612    $nntp_ask_followup_to , Configuration variables
11613
11614    $nntp_ask_x_comment_to , Configuration variables
11615
11616    $nntp_cache_dir , Configuration variables
11617
11618    $nntp_catchup , Configuration variables
11619
11620    $nntp_followup_to_poster , Configuration variables
11621
11622    $nntp_group_index_format , Configuration variables
11623
11624    $nntp_host , Configuration variables
11625
11626    $nntp_inews , Configuration variables
11627
11628    $nntp_mail_check , Configuration variables
11629
11630    $nntp_mime_subject , Configuration variables
11631
11632    $nntp_newsrc, NNTP Support (OPTIONAL), Configuration variables
11633
11634    $nntp_post_moderated , Configuration variables
11635
11636    $nntp_save_unsubscribed , Configuration variables
11637
11638    $nntp_show_new_news , Configuration variables
11639
11640    $nntp_show_only_unread , Configuration variables
11641
11642    $nntp_x_comment_to , Configuration variables
11643
11644    $NNTPSERVER, NNTP Support (OPTIONAL)
11645
11646    $nntp_ask_followup_to , $nntp_ask_followup_to
11647
11648    $nntp_ask_x_comment_to , $nntp_ask_x_comment_to
11649
11650    $nntp_cache_dir , $nntp_cache_dir
11651
11652    $nntp_catchup , $nntp_catchup
11653
11654    $nntp_context , $nntp_context
11655
11656    $nntp_followup_to_poster , $nntp_followup_to_poster
11657
11658    $nntp_group_index_format , $nntp_group_index_format
11659
11660    $nntp_host , $nntp_host
11661
11662    $nntp_inews , $nntp_inews
11663
11664    $nntp_load_description , $nntp_load_description
11665
11666    $nntp_mail_check , $nntp_mail_check
11667
11668    $nntp_mime_subject , $nntp_mime_subject
11669
11670    $nntp_newsrc , $nntp_newsrc
11671
11672    $nntp_pass , $nntp_pass
11673
11674    $nntp_post_moderated , $nntp_post_moderated
11675
11676    $nntp_reconnect , $nntp_reconnect
11677
11678    $nntp_save_unsubscribed , $nntp_save_unsubscribed
11679
11680    $nntp_show_new_news , $nntp_show_new_news
11681
11682    $nntp_show_only_unread , $nntp_show_only_unread
11683
11684    $nntp_user , $nntp_user
11685
11686    $nntp_x_comment_to , $nntp_x_comment_to
11687
11688    nospam, Spam detection, Configuration Commands
11689
11690   O
11691
11692    open-hook, Compressed folders Support (OPTIONAL), Open a compressed
11693    mailbox for reading, Write a compressed mailbox, Append a message to a
11694    compressed mailbox, Configuration Commands
11695
11696    $operating_system , $operating_system
11697
11698   P
11699
11700    <page-down>, Moving Around in Menus
11701
11702    <page-up>, Moving Around in Menus
11703
11704    $pager , $pager
11705
11706    $pager_index_lines, Conditional parts
11707
11708    $pager_context , $pager_context
11709
11710    $pager_format , $pager_format
11711
11712    $pager_index_lines , $pager_index_lines
11713
11714    $pager_stop , $pager_stop
11715
11716    <parent-message>, Threaded Mode, index, pager
11717
11718    pattern-hook, Specify default save filename, Specify default Fcc: mailbox
11719    when composing, Change settings based upon message recipients, Change
11720    settings before formatting a message
11721
11722    $pgp_autoinline , Configuration variables
11723
11724    $pgp_entry_format, Using Mutt-ng with PGP
11725
11726    <pgp-menu>, Composing new messages, compose
11727
11728    $pgp_replyinline , Configuration variables
11729
11730    $pgp_sign_as, Using Mutt-ng with PGP
11731
11732    $pgp_autoinline , $pgp_autoinline
11733
11734    $pgp_auto_decode , $pgp_auto_decode
11735
11736    $pgp_check_exit , $pgp_check_exit
11737
11738    $pgp_clearsign_command , $pgp_clearsign_command
11739
11740    $pgp_decode_command , $pgp_decode_command
11741
11742    $pgp_decrypt_command , $pgp_decrypt_command
11743
11744    $pgp_encrypt_only_command , $pgp_encrypt_only_command
11745
11746    $pgp_encrypt_sign_command , $pgp_encrypt_sign_command
11747
11748    $pgp_entry_format , $pgp_entry_format
11749
11750    $pgp_export_command , $pgp_export_command
11751
11752    $pgp_getkeys_command , $pgp_getkeys_command
11753
11754    $pgp_good_sign , $pgp_good_sign
11755
11756    $pgp_ignore_subkeys , $pgp_ignore_subkeys
11757
11758    $pgp_import_command , $pgp_import_command
11759
11760    $pgp_list_pubring_command , $pgp_list_pubring_command
11761
11762    $pgp_list_secring_command , $pgp_list_secring_command
11763
11764    $pgp_long_ids , $pgp_long_ids
11765
11766    $pgp_mime_auto , $pgp_mime_auto
11767
11768    $pgp_replyinline , $pgp_replyinline
11769
11770    $pgp_retainable_sigs , $pgp_retainable_sigs
11771
11772    $pgp_show_unusable , $pgp_show_unusable
11773
11774    $pgp_sign_as , $pgp_sign_as
11775
11776    $pgp_sign_command , $pgp_sign_command
11777
11778    $pgp_sort_keys , $pgp_sort_keys
11779
11780    $pgp_strict_enc , $pgp_strict_enc
11781
11782    $pgp_timeout , $pgp_timeout
11783
11784    $pgp_use_gpg_agent , $pgp_use_gpg_agent
11785
11786    $pgp_verify_command , $pgp_verify_command
11787
11788    $pgp_verify_key_command , $pgp_verify_key_command
11789
11790    $pipe_decode, Miscellaneous Functions
11791
11792    <pipe-entry>, attach, compose
11793
11794    <pipe-message>, Miscellaneous Functions, index, pager
11795
11796    $pipe_split, Miscellaneous Functions
11797
11798    $pipe_decode , $pipe_decode
11799
11800    $pipe_sep , $pipe_sep
11801
11802    $pipe_split , $pipe_split
11803
11804    $pop_mail_check, POP3 Support (OPTIONAL), Configuration variables
11805
11806    $pop_authenticators , $pop_authenticators
11807
11808    $pop_auth_try_all , $pop_auth_try_all
11809
11810    $pop_delete , $pop_delete
11811
11812    $pop_host , $pop_host
11813
11814    $pop_last , $pop_last
11815
11816    $pop_mail_check , $pop_mail_check
11817
11818    $pop_pass , $pop_pass
11819
11820    $pop_reconnect , $pop_reconnect
11821
11822    $pop_user , $pop_user
11823
11824    $post_indent_string , Configuration variables
11825
11826    $postpone, Postponing Mail, $postpone
11827
11828    <postpone-message>, Composing new messages, compose
11829
11830    $postponed, Postponing Mail, $postponed
11831
11832    $post_indent_string , $post_indent_string
11833
11834    $preconnect , $preconnect
11835
11836    <previous-entry>, Moving Around in Menus, generic, pager
11837
11838    <previous-line>, generic, pager
11839
11840    <previous-new>, index, pager
11841
11842    <previous-new-then-unread>, index, pager
11843
11844    <previous-page>, generic, index, pager
11845
11846    <previous-subthread>, Threaded Mode, index, pager
11847
11848    <previous-thread>, Threaded Mode, index, pager
11849
11850    <previous-undeleted>, index, pager
11851
11852    <previous-unread>, index, pager
11853
11854    $print , $print
11855
11856    $print_command , Configuration variables
11857
11858    <print-entry>, attach, compose
11859
11860    <print-message>, index, pager
11861
11862    $print_command , $print_command
11863
11864    $print_decode , $print_decode
11865
11866    $print_split , $print_split
11867
11868    $prompt_after , $prompt_after
11869
11870    push, Adding key sequences to the keyboard buffer, Using Tags,
11871    Configuration Commands
11872
11873   Q
11874
11875    <query>, index, query
11876
11877    <query-append>, query
11878
11879    $query_command, External Address Queries
11880
11881    $query_command , $query_command
11882
11883    <quit>, Moving Around in Menus, Composing new messages, $quit, index,
11884    pager
11885
11886    <quote-char>, Editing Input Fields, editor
11887
11888    $quote_regexp, Miscellaneous Functions, Using color and mono video
11889    attributes
11890
11891    $quote_empty , $quote_empty
11892
11893    $quote_quoted , $quote_quoted
11894
11895    $quote_regexp , $quote_regexp
11896
11897   R
11898
11899    <read-subthread>, Threaded Mode, index, pager
11900
11901    <read-thread>, Threaded Mode, index, pager
11902
11903    $read_inc , $read_inc
11904
11905    $read_only , $read_only
11906
11907    $realname , $realname
11908
11909    $recall , $recall
11910
11911    <recall-message>, index, pager
11912
11913    $record, Environment Variables, Specify default Fcc: mailbox when
11914    composing, Mailbox Shortcuts, $record
11915
11916    <redraw-screen>, pager
11917
11918    <refresh>, generic
11919
11920    <rename-file>, compose
11921
11922    <reply>, Sending Mail, index, pager, attach
11923
11924    reply-hook, Change settings based upon message recipients, Configuration
11925    Commands
11926
11927    $reply_to, Alternative addresses, Handling Mailing Lists
11928
11929    $reply_regexp , $reply_regexp
11930
11931    $reply_self , $reply_self
11932
11933    $reply_to , $reply_to
11934
11935    <resend-message>, Miscellaneous Functions, The Attachment Menu, index,
11936    attach
11937
11938    reset, Setting variables, Configuration Commands
11939
11940    $resolve , $resolve
11941
11942    $reverse_alias , $reverse_alias
11943
11944    $reverse_name , $reverse_name
11945
11946    $reverse_realname , $reverse_realname
11947
11948    RfC
11949
11950                 1524, MIME Viewer configuration with mailcap, Command
11951                 Expansion, mailcap
11952
11953                 1894, Delivery Status Notification (DSN) Support
11954
11955                 2822, Again: Scoring
11956
11957                 3676, Sending
11958
11959                 822, User defined headers
11960
11961    $rfc2047_parameters , $rfc2047_parameters
11962
11963   S
11964
11965    $save_empty, Compressed folders Support (OPTIONAL)
11966
11967    <save-entry>, attach
11968
11969    save-hook, Specify default save filename, Specify default save filename
11970    and default Fcc: mailbox at once, Using Hooks, Message Matching in Hooks,
11971    Mailbox Shortcuts, Configuration Commands
11972
11973    <save-message>, index, pager
11974
11975    $save_address , $save_address
11976
11977    $save_empty , $save_empty
11978
11979    $save_name , $save_name
11980
11981    score, Message Scoring, Configuration Commands, $score
11982
11983    $score_threshold_delete, Message Scoring
11984
11985    $score_threshold_flag, Message Scoring
11986
11987    $score_threshold_read, Message Scoring
11988
11989    $score_threshold_delete , $score_threshold_delete
11990
11991    $score_threshold_flag , $score_threshold_flag
11992
11993    $score_threshold_read , $score_threshold_read
11994
11995    <search>, generic, pager, alias, query, browser
11996
11997    <search-next>, generic, pager, alias, query, browser
11998
11999    <search-opposite>, generic, pager, query
12000
12001    <search-reverse>, generic, pager, alias, query, browser
12002
12003    <search-toggle>, pager
12004
12005    <select-entry>, generic
12006
12007    <select-new>, browser
12008
12009    send-hook, Change settings based upon message recipients, Using Hooks,
12010    Message Matching in Hooks, Configuration Commands
12011
12012    <send-message>, Composing new messages, compose
12013
12014    send2-hook, Change settings based upon message recipients
12015
12016    <senderdecode-copy>, pager
12017
12018    $sendmail, Change settings based upon message recipients, $sendmail
12019
12020    $sendmail_wait , $sendmail_wait
12021
12022    $send_charset , $send_charset
12023
12024    set, Setting variables, Configuration Commands
12025
12026    <set-flag>, index
12027
12028    $shell , $shell
12029
12030    <shell-escape>, Miscellaneous Functions, generic, pager
12031
12032    <show-limit>, index
12033
12034    <show-version>, index, pager
12035
12036    <sidebar-next>, sidebar
12037
12038    <sidebar-next-new>, sidebar
12039
12040    <sidebar-open>, sidebar
12041
12042    <sidebar-previous>, sidebar
12043
12044    <sidebar-scroll-down>, sidebar
12045
12046    <sidebar-scroll-up>, sidebar
12047
12048    $sidebar_shorten_hierarchy , Configuration variables
12049
12050    $sidebar_boundary , $sidebar_boundary
12051
12052    $sidebar_delim , $sidebar_delim
12053
12054    $sidebar_newmail_only , $sidebar_newmail_only
12055
12056    $sidebar_number_format , $sidebar_number_format
12057
12058    $sidebar_shorten_hierarchy , $sidebar_shorten_hierarchy
12059
12060    $sidebar_visible , $sidebar_visible
12061
12062    $sidebar_width , $sidebar_width
12063
12064    $signature, Change settings based upon message recipients, $signature
12065
12066    $signoff_string , $signoff_string
12067
12068    $sig_dashes , $sig_dashes
12069
12070    $sig_on_top , $sig_on_top
12071
12072    $simple_search , $simple_search
12073
12074    <skip-quoted>, Miscellaneous Functions, pager
12075
12076    $sleep_time , $sleep_time
12077
12078    $smart_wrap , $smart_wrap
12079
12080    $smileys , $smileys
12081
12082    $smime_default_key , Configuration variables
12083
12084    <smime-menu>, Composing new messages
12085
12086    $smime_ask_cert_label , $smime_ask_cert_label
12087
12088    $smime_ca_location , $smime_ca_location
12089
12090    $smime_certificates , $smime_certificates
12091
12092    $smime_decrypt_command , $smime_decrypt_command
12093
12094    $smime_decrypt_use_default_key , $smime_decrypt_use_default_key
12095
12096    $smime_default_key , $smime_default_key
12097
12098    $smime_encrypt_command , $smime_encrypt_command
12099
12100    $smime_encrypt_with , $smime_encrypt_with
12101
12102    $smime_get_cert_command , $smime_get_cert_command
12103
12104    $smime_get_cert_email_command , $smime_get_cert_email_command
12105
12106    $smime_get_signer_cert_command , $smime_get_signer_cert_command
12107
12108    $smime_import_cert_command , $smime_import_cert_command
12109
12110    $smime_is_default , $smime_is_default
12111
12112    $smime_keys , $smime_keys
12113
12114    $smime_pk7out_command , $smime_pk7out_command
12115
12116    $smime_sign_command , $smime_sign_command
12117
12118    $smime_sign_opaque_command , $smime_sign_opaque_command
12119
12120    $smime_timeout , $smime_timeout
12121
12122    $smime_verify_command , $smime_verify_command
12123
12124    $smime_verify_opaque_command , $smime_verify_opaque_command
12125
12126    $smtp_envelope, SMTP Support (OPTIONAL)
12127
12128    $smtp_host, SMTP Support (OPTIONAL)
12129
12130    $smtp_pass, SMTP Support (OPTIONAL), Configuration variables
12131
12132    $smtp_use_tls, SMTP Support (OPTIONAL)
12133
12134    $smtp_user, SMTP Support (OPTIONAL), Configuration variables
12135
12136    $smtp_host , $smtp_host
12137
12138    $smtp_pass , $smtp_pass
12139
12140    $smtp_port , $smtp_port
12141
12142    $smtp_user , $smtp_user
12143
12144    $smtp_use_tls , $smtp_use_tls
12145
12146    $sort , $sort, browser
12147
12148    <sort-mailbox>, index
12149
12150    <sort-reverse>, index, browser
12151
12152    $sort_alias , $sort_alias
12153
12154    $sort_aux , $sort_aux
12155
12156    $sort_browser , $sort_browser
12157
12158    $sort_re , $sort_re
12159
12160    source, Miscellaneous Functions, Defining/Using aliases, Reading
12161    initialization commands from another file, Configuration Commands
12162
12163    spam, Spam detection, Configuration Commands
12164
12165    $spam_separator , $spam_separator
12166
12167    $spoolfile, Setting variables based upon mailbox, Defining mailboxes which
12168    receive mail, Mailbox Shortcuts, POP3 Support (OPTIONAL), $spoolfile
12169
12170    $ssl_ca_certificates_file , $ssl_ca_certificates_file
12171
12172    $ssl_client_cert , $ssl_client_cert
12173
12174    $ssl_force_tls , $ssl_force_tls
12175
12176    $ssl_min_dh_prime_bits , $ssl_min_dh_prime_bits
12177
12178    $ssl_starttls , $ssl_starttls
12179
12180    $ssl_usesystemcerts , $ssl_usesystemcerts
12181
12182    $ssl_use_sslv2 , $ssl_use_sslv2
12183
12184    $ssl_use_sslv3 , $ssl_use_sslv3
12185
12186    $ssl_use_tlsv1 , $ssl_use_tlsv1
12187
12188    $status_format, Composing new messages, Introduction
12189
12190    $status_chars , $status_chars
12191
12192    $status_format , $status_format
12193
12194    $status_on_top , $status_on_top
12195
12196    $strict_mailto, mailto:-style links
12197
12198    $strict_threads, Threaded Mode
12199
12200    $strict_mailto , $strict_mailto
12201
12202    $strict_mime , $strict_mime
12203
12204    $strict_threads , $strict_threads
12205
12206    $strip_was , $strip_was
12207
12208    $strip_was_regex , $strip_was_regex
12209
12210    $stuff_quoted , $stuff_quoted
12211
12212    subscribe, Mailing lists, Configuration Commands, browser
12213
12214    $suspend , $suspend
12215
12216    <sync-mailbox>, Manual Conventions, index, pager
12217
12218   T
12219
12220    <tag-entry>, generic
12221
12222    <tag-message>, pager
12223
12224    <tag-pattern>, index
12225
12226    <tag-prefix>, generic
12227
12228    <tag-prefix-cond>, generic
12229
12230    <tag-thread>, Threaded Mode, index
12231
12232    $text_flowed , $text_flowed
12233
12234    $thorough_search , $thorough_search
12235
12236    $thread_received , $thread_received
12237
12238    $tilde , $tilde
12239
12240    $timeout, IMAP Support (OPTIONAL), $timeout
12241
12242    $tmpdir, Temporary Files, $tmpdir
12243
12244    $to_chars, Status Flags
12245
12246    toggle, Setting variables, Configuration Commands
12247
12248    <toggle-mailboxes>, browser
12249
12250    <toggle-new>, index
12251
12252    <toggle-quoted>, Miscellaneous Functions, pager
12253
12254    <toggle-subscribed>, browser
12255
12256    <toggle-unlink>, compose
12257
12258    <toggle-write>, index
12259
12260    <top>, pager
12261
12262    <top-page>, generic
12263
12264    $to_chars , $to_chars
12265
12266    <transpose-chars>, editor
12267
12268    $trash , $trash
12269
12270    $tunnel , $tunnel
12271
12272   U
12273
12274    $umask, Temporary Files, $umask
12275
12276    unalias, Defining/Using aliases, Configuration Commands
12277
12278    unalternates, Alternative addresses, Configuration Commands
12279
12280    unalternative_order, MIME Multipart/Alternative, Configuration Commands
12281
12282    unattachments, Attachment Searching and Counting
12283
12284    unauto_view, MIME Autoview, Configuration Commands
12285
12286    $uncollapse_jump , $uncollapse_jump
12287
12288    uncolor, Using color and mono video attributes, Configuration Commands
12289
12290    <undelete-entry>, attach, postpone
12291
12292    <undelete-message>, index, pager
12293
12294    <undelete-pattern>, index
12295
12296    <undelete-subthread>, Threaded Mode, index, pager
12297
12298    <undelete-thread>, Threaded Mode, index, pager
12299
12300    unhdr_order, Defining the order of headers when viewing messages,
12301    Configuration Commands
12302
12303    unhook, Removing hooks, Configuration Commands
12304
12305    unignore, Ignoring (weeding) unwanted message headers, Configuration
12306    Commands
12307
12308    unlists, Mailing lists, Configuration Commands
12309
12310    unmailboxes, Defining mailboxes which receive mail
12311
12312    unmime_lookup, MIME Lookup, Configuration Commands
12313
12314    unmono, Using color and mono video attributes, Configuration Commands
12315
12316    unmy_hdr, User defined headers, Configuration Commands
12317
12318    unscore, Message Scoring, Configuration Commands
12319
12320    unset, Setting variables, Configuration Commands
12321
12322    unsubscribe, Mailing lists, Configuration Commands, browser
12323
12324    <untag-pattern>, index
12325
12326    <upcase-word>, Editing Input Fields, editor
12327
12328    $use_8bitmime, SMTP Support (OPTIONAL)
12329
12330    $use_8bitmime , $use_8bitmime
12331
12332    $use_domain , $use_domain
12333
12334    $use_envelope_from , $use_envelope_from
12335
12336    $use_from , $use_from
12337
12338    $use_idn , $use_idn
12339
12340    $use_ipv6 , $use_ipv6
12341
12342   V
12343
12344    <verify-key>, pgp
12345
12346    <view-attach>, attach, compose
12347
12348    <view-attachments>, index, pager
12349
12350    <view-file>, browser
12351
12352    <view-mailcap>, attach
12353
12354    <view-name>, pgp
12355
12356    <view-text>, attach
12357
12358    $VISUAL, Composing new messages
12359
12360    $visual , $visual
12361
12362   W
12363
12364    $wait_key, Miscellaneous Functions, Optional Fields
12365
12366    $wait_key , $wait_key
12367
12368    $weed, Miscellaneous Functions, $weed
12369
12370    <what-key>, generic
12371
12372    $wrapmargin , $wrapmargin
12373
12374    $wrap_search , $wrap_search
12375
12376    <write-fcc>, Composing new messages, compose
12377
12378    $write_bcc , $write_bcc
12379
12380    $write_inc , $write_inc
12381
12382   X
12383
12384    $xterm_icon , $xterm_icon
12385
12386    $xterm_leave , $xterm_leave
12387
12388    $xterm_set_titles , $xterm_set_titles
12389
12390    $xterm_title , $xterm_title