1 /* 2 * Copyright (C) 1996-2002,2007 Michael R. Elkins <me@mutt.org> 3 * Copyright (C) 2004 g10 Code GmbH 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 */ 19 20 #ifdef _MAKEDOC 21 # include "config.h" 22 # include "doc/makedoc-defs.h" 23 #else 24 # include "sort.h" 25 #endif 26 27 #include "buffy.h" 28 29 #ifndef _MAKEDOC 30 #define DT_MASK 0x0f 31 #define DT_BOOL 1 /* boolean option */ 32 #define DT_NUM 2 /* a number */ 33 #define DT_STR 3 /* a string */ 34 #define DT_PATH 4 /* a pathname */ 35 #define DT_QUAD 5 /* quad-option (yes/no/ask-yes/ask-no) */ 36 #define DT_SORT 6 /* sorting methods */ 37 #define DT_RX 7 /* regular expressions */ 38 #define DT_MAGIC 8 /* mailbox type */ 39 #define DT_SYN 9 /* synonym for another variable */ 40 #define DT_ADDR 10 /* e-mail address */ 41 42 #define DTYPE(x) ((x) & DT_MASK) 43 44 /* subtypes */ 45 #define DT_SUBTYPE_MASK 0xf0 46 #define DT_SORT_ALIAS 0x10 47 #define DT_SORT_BROWSER 0x20 48 #define DT_SORT_KEYS 0x40 49 #define DT_SORT_AUX 0x80 50 51 /* flags to parse_set() */ 52 #define M_SET_INV (1<<0) /* default is to invert all vars */ 53 #define M_SET_UNSET (1<<1) /* default is to unset all vars */ 54 #define M_SET_RESET (1<<2) /* default is to reset all vars to default */ 55 56 /* forced redraw/resort types */ 57 #define R_NONE 0 58 #define R_INDEX (1<<0) 59 #define R_PAGER (1<<1) 60 #define R_RESORT (1<<2) /* resort the mailbox */ 61 #define R_RESORT_SUB (1<<3) /* resort subthreads */ 62 #define R_RESORT_INIT (1<<4) /* resort from scratch */ 63 #define R_TREE (1<<5) /* redraw the thread tree */ 64 #define R_BOTH (R_INDEX | R_PAGER) 65 #define R_RESORT_BOTH (R_RESORT | R_RESORT_SUB) 66 67 struct option_t 68 { 69 char *option; 70 short type; 71 short flags; 72 unsigned long data; 73 unsigned long init; /* initial value */ 74 }; 75 76 #define UL (unsigned long) 77 78 #endif /* _MAKEDOC */ 79 80 #ifndef ISPELL 81 #define ISPELL "ispell" 82 #endif 83 84 struct option_t MuttVars[] = { 85 /*++*/ 86 { "abort_nosubject", DT_QUAD, R_NONE, OPT_SUBJECT, M_ASKYES }, 87 /* 88 ** .pp 89 ** If set to \fIyes\fP, when composing messages and no subject is given 90 ** at the subject prompt, composition will be aborted. If set to 91 ** \fIno\fP, composing messages with no subject given at the subject 92 ** prompt will never be aborted. 93 */ 94 { "abort_unmodified", DT_QUAD, R_NONE, OPT_ABORT, M_YES }, 95 /* 96 ** .pp 97 ** If set to \fIyes\fP, composition will automatically abort after 98 ** editing the message body if no changes are made to the file (this 99 ** check only happens after the \fIfirst\fP edit of the file). When set 100 ** to \fIno\fP, composition will never be aborted. 101 */ 102 { "alias_file", DT_PATH, R_NONE, UL &AliasFile, UL "~/.muttrc" }, 103 /* 104 ** .pp 105 ** The default file in which to save aliases created by the 106 ** \fC$<create-alias>\fP function. Entries added to this file are 107 ** encoded in the character set specified by $$config_charset if it 108 ** is \fIset\fP or the current character set otherwise. 109 ** .pp 110 ** \fBNote:\fP Mutt will not automatically source this file; you must 111 ** explicitly use the ``$source'' command for it to be executed in case 112 ** this option points to a dedicated alias file. 113 ** .pp 114 ** The default for this option is the currently used muttrc file, or 115 ** ``~/.muttrc'' if no user muttrc was found. 116 */ 117 { "alias_format", DT_STR, R_NONE, UL &AliasFmt, UL "%4n %2f %t %-10a %r" }, 118 /* 119 ** .pp 120 ** Specifies the format of the data displayed for the ``$alias'' menu. The 121 ** following \fCprintf(3)\fP-style sequences are available: 122 ** .dl 123 ** .dt %a .dd alias name 124 ** .dt %f .dd flags - currently, a ``d'' for an alias marked for deletion 125 ** .dt %n .dd index number 126 ** .dt %r .dd address which alias expands to 127 ** .dt %t .dd character which indicates if the alias is tagged for inclusion 128 ** .de 129 */ 130 { "allow_8bit", DT_BOOL, R_NONE, OPTALLOW8BIT, 1 }, 131 /* 132 ** .pp 133 ** Controls whether 8-bit data is converted to 7-bit using either Quoted- 134 ** Printable or Base64 encoding when sending mail. 135 */ 136 { "allow_ansi", DT_BOOL, R_NONE, OPTALLOWANSI, 0 }, 137 /* 138 ** .pp 139 ** Controls whether ANSI color codes in messages (and color tags in 140 ** rich text messages) are to be interpreted. 141 ** Messages containing these codes are rare, but if this option is \fIset\fP, 142 ** their text will be colored accordingly. Note that this may override 143 ** your color choices, and even present a security problem, since a 144 ** message could include a line like 145 ** .ts 146 ** [-- PGP output follows ... 147 ** .te 148 ** .pp 149 ** and give it the same color as your attachment color (see also 150 ** $$crypt_timestamp). 151 */ 152 { "arrow_cursor", DT_BOOL, R_BOTH, OPTARROWCURSOR, 0 }, 153 /* 154 ** .pp 155 ** When \fIset\fP, an arrow (``->'') will be used to indicate the current entry 156 ** in menus instead of highlighting the whole line. On slow network or modem 157 ** links this will make response faster because there is less that has to 158 ** be redrawn on the screen when moving to the next or previous entries 159 ** in the menu. 160 */ 161 { "ascii_chars", DT_BOOL, R_BOTH, OPTASCIICHARS, 0 }, 162 /* 163 ** .pp 164 ** If \fIset\fP, Mutt will use plain ASCII characters when displaying thread 165 ** and attachment trees, instead of the default \fIACS\fP characters. 166 */ 167 { "askbcc", DT_BOOL, R_NONE, OPTASKBCC, 0 }, 168 /* 169 ** .pp 170 ** If \fIset\fP, Mutt will prompt you for blind-carbon-copy (Bcc) recipients 171 ** before editing an outgoing message. 172 */ 173 { "askcc", DT_BOOL, R_NONE, OPTASKCC, 0 }, 174 /* 175 ** .pp 176 ** If \fIset\fP, Mutt will prompt you for carbon-copy (Cc) recipients before 177 ** editing the body of an outgoing message. 178 */ 179 { "assumed_charset", DT_STR, R_NONE, UL &AssumedCharset, UL 0}, 180 /* 181 ** .pp 182 ** This variable is a colon-separated list of character encoding 183 ** schemes for messages without character encoding indication. 184 ** Header field values and message body content without character encoding 185 ** indication would be assumed that they are written in one of this list. 186 ** By default, all the header fields and message body without any charset 187 ** indication are assumed to be in ``us-ascii''. 188 ** .pp 189 ** For example, Japanese users might prefer this: 190 ** .ts 191 ** set assumed_charset="iso-2022-jp:euc-jp:shift_jis:utf-8" 192 ** .te 193 ** .pp 194 ** However, only the first content is valid for the message body. 195 */ 196 { "attach_charset", DT_STR, R_NONE, UL &AttachCharset, UL 0 }, 197 /* 198 ** .pp 199 ** This variable is a colon-separated list of character encoding 200 ** schemes for text file attachments. Mutt uses this setting to guess 201 ** which encoding files being attached are encoded in to convert them to 202 ** a proper character set given in $$send_charset. 203 ** .pp 204 ** If \fIunset\fP, the value of $$charset will be used instead. 205 ** For example, the following configuration would work for Japanese 206 ** text handling: 207 ** .ts 208 ** set attach_charset="iso-2022-jp:euc-jp:shift_jis:utf-8" 209 ** .te 210 ** .pp 211 ** Note: for Japanese users, ``iso-2022-*'' must be put at the head 212 ** of the value as shown above if included. 213 */ 214 { "attach_format", DT_STR, R_NONE, UL &AttachFormat, UL "%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] " }, 215 /* 216 ** .pp 217 ** This variable describes the format of the ``attachment'' menu. The 218 ** following \fCprintf(3)\fP-style sequences are understood: 219 ** .dl 220 ** .dt %C .dd charset 221 ** .dt %c .dd requires charset conversion (``n'' or ``c'') 222 ** .dt %D .dd deleted flag 223 ** .dt %d .dd description 224 ** .dt %e .dd MIME content-transfer-encoding 225 ** .dt %f .dd filename 226 ** .dt %I .dd disposition (``I'' for inline, ``A'' for attachment) 227 ** .dt %m .dd major MIME type 228 ** .dt %M .dd MIME subtype 229 ** .dt %n .dd attachment number 230 ** .dt %Q .dd ``Q'', if MIME part qualifies for attachment counting 231 ** .dt %s .dd size 232 ** .dt %t .dd tagged flag 233 ** .dt %T .dd graphic tree characters 234 ** .dt %u .dd unlink (=to delete) flag 235 ** .dt %X .dd number of qualifying MIME parts in this part and its children 236 ** (please see the ``$attachments'' section for possible speed effects) 237 ** .dt %>X .dd right justify the rest of the string and pad with character ``X'' 238 ** .dt %|X .dd pad to the end of the line with character ``X'' 239 ** .dt %*X .dd soft-fill with character ``X'' as pad 240 ** .de 241 ** .pp 242 ** For an explanation of ``soft-fill'', see the $$index_format documentation. 243 */ 244 { "attach_sep", DT_STR, R_NONE, UL &AttachSep, UL "\n" }, 245 /* 246 ** .pp 247 ** The separator to add between attachments when operating (saving, 248 ** printing, piping, etc) on a list of tagged attachments. 249 */ 250 { "attach_split", DT_BOOL, R_NONE, OPTATTACHSPLIT, 1 }, 251 /* 252 ** .pp 253 ** If this variable is \fIunset\fP, when operating (saving, printing, piping, 254 ** etc) on a list of tagged attachments, Mutt will concatenate the 255 ** attachments and will operate on them as a single attachment. The 256 ** $$attach_sep separator is added after each attachment. When \fIset\fP, 257 ** Mutt will operate on the attachments one by one. 258 */ 259 { "attribution", DT_STR, R_NONE, UL &Attribution, UL "On %d, %n wrote:" }, 260 /* 261 ** .pp 262 ** This is the string that will precede a message which has been included 263 ** in a reply. For a full listing of defined \fCprintf(3)\fP-like sequences see 264 ** the section on $$index_format. 265 */ 266 { "auto_tag", DT_BOOL, R_NONE, OPTAUTOTAG, 0 }, 267 /* 268 ** .pp 269 ** When \fIset\fP, functions in the \fIindex\fP menu which affect a message 270 ** will be applied to all tagged messages (if there are any). When 271 ** unset, you must first use the \fC<tag-prefix>\fP function (bound to ``;'' 272 ** by default) to make the next function apply to all tagged messages. 273 */ 274 { "autoedit", DT_BOOL, R_NONE, OPTAUTOEDIT, 0 }, 275 /* 276 ** .pp 277 ** When \fIset\fP along with $$edit_headers, Mutt will skip the initial 278 ** send-menu (prompting for subject and recipients) and allow you to 279 ** immediately begin editing the body of your 280 ** message. The send-menu may still be accessed once you have finished 281 ** editing the body of your message. 282 ** .pp 283 ** .pp 284 ** \fBNote:\fP when this option is \fIset\fP, you cannot use send-hooks that depend 285 ** on the recipients when composing a new (non-reply) message, as the initial 286 ** list of recipients is empty. 287 ** .pp 288 ** Also see $$fast_reply. 289 */ 290 { "beep", DT_BOOL, R_NONE, OPTBEEP, 1 }, 291 /* 292 ** .pp 293 ** When this variable is \fIset\fP, mutt will beep when an error occurs. 294 */ 295 { "beep_new", DT_BOOL, R_NONE, OPTBEEPNEW, 0 }, 296 /* 297 ** .pp 298 ** When this variable is \fIset\fP, mutt will beep whenever it prints a message 299 ** notifying you of new mail. This is independent of the setting of the 300 ** $$beep variable. 301 */ 302 { "bounce", DT_QUAD, R_NONE, OPT_BOUNCE, M_ASKYES }, 303 /* 304 ** .pp 305 ** Controls whether you will be asked to confirm bouncing messages. 306 ** If set to \fIyes\fP you don't get asked if you want to bounce a 307 ** message. Setting this variable to \fIno\fP is not generally useful, 308 ** and thus not recommended, because you are unable to bounce messages. 309 */ 310 { "bounce_delivered", DT_BOOL, R_NONE, OPTBOUNCEDELIVERED, 1 }, 311 /* 312 ** .pp 313 ** When this variable is \fIset\fP, mutt will include Delivered-To headers when 314 ** bouncing messages. Postfix users may wish to \fIunset\fP this variable. 315 */ 316 { "braille_friendly", DT_BOOL, R_NONE, OPTBRAILLEFRIENDLY, 0 }, 317 /* 318 ** .pp 319 ** When this variable is \fIset\fP, mutt will place the cursor at the beginning 320 ** of the current line in menus, even when the $$arrow_cursor variable 321 ** is \fIunset\fP, making it easier for blind persons using Braille displays to 322 ** follow these menus. The option is \fIunset\fP by default because many 323 ** visual terminals don't permit making the cursor invisible. 324 */ 325 #if defined(USE_SSL) 326 { "certificate_file", DT_PATH, R_NONE, UL &SslCertFile, UL "~/.mutt_certificates" }, 327 /* 328 ** .pp 329 ** This variable specifies the file where the certificates you trust 330 ** are saved. When an unknown certificate is encountered, you are asked 331 ** if you accept it or not. If you accept it, the certificate can also 332 ** be saved in this file and further connections are automatically 333 ** accepted. 334 ** .pp 335 ** You can also manually add CA certificates in this file. Any server 336 ** certificate that is signed with one of these CA certificates is 337 ** also automatically accepted. 338 ** .pp 339 ** Example: 340 ** .ts 341 ** set certificate_file=~/.mutt/certificates 342 ** .te 343 ** 344 */ 345 #endif 346 { "charset", DT_STR, R_NONE, UL &Charset, UL 0 }, 347 /* 348 ** .pp 349 ** Character set your terminal uses to display and enter textual data. 350 ** It is also the fallback for $$send_charset. 351 ** .pp 352 ** Upon startup Mutt tries to derive this value from environment variables 353 ** such as \fC$$$LC_CTYPE\fP or \fC$$$LANG\fP. 354 ** .pp 355 ** \fBNote:\fP It should only be set in case Mutt isn't able to determine the 356 ** character set used correctly. 357 */ 358 { "check_mbox_size", DT_BOOL, R_NONE, OPTCHECKMBOXSIZE, 0 }, 359 /* 360 ** .pp 361 ** When this variable is \fIset\fP, mutt will use file size attribute instead of 362 ** access time when checking for new mail in mbox and mmdf folders. 363 ** .pp 364 ** This variable is \fIunset\fP by default and should only be enabled when 365 ** new mail detection for these folder types is unreliable or doesn't work. 366 ** .pp 367 ** Note that enabling this variable should happen before any ``$mailboxes'' 368 ** directives occur in configuration files regarding mbox or mmdf folders 369 ** because mutt needs to determine the initial new mail status of such a 370 ** mailbox by performing a fast mailbox scan when it is defined. 371 ** Afterwards the new mail status is tracked by file size changes. 372 */ 373 { "check_new", DT_BOOL, R_NONE, OPTCHECKNEW, 1 }, 374 /* 375 ** .pp 376 ** \fBNote:\fP this option only affects \fImaildir\fP and \fIMH\fP style 377 ** mailboxes. 378 ** .pp 379 ** When \fIset\fP, Mutt will check for new mail delivered while the 380 ** mailbox is open. Especially with MH mailboxes, this operation can 381 ** take quite some time since it involves scanning the directory and 382 ** checking each file to see if it has already been looked at. If 383 ** this variable is \fIunset\fP, no check for new mail is performed 384 ** while the mailbox is open. 385 */ 386 #ifdef ENABLE_CJK_WIDTH 387 { "cjk_width", DT_BOOL, R_NONE, OPTCJKWIDTH, 0 }, 388 /* 389 ** .pp 390 ** When this option is set, characters in the East Asian Ambiguous (A) 391 ** category as defined in Unicode Technical Report #11 have a column 392 ** width of 2. Othrwise, they have a column width of 1. 393 ** This variant might be useful for users of CJK legacy encodings 394 ** who want to migrate to UCS without changing the traditional terminal 395 ** character-width behaviour. 396 ** .pp 397 ** \fBNote:\fP this option only affects in UTF-8 encoding. 398 */ 399 #endif 400 { "collapse_unread", DT_BOOL, R_NONE, OPTCOLLAPSEUNREAD, 1 }, 401 /* 402 ** .pp 403 ** When \fIunset\fP, Mutt will not collapse a thread if it contains any 404 ** unread messages. 405 */ 406 { "compose_format", DT_STR, R_BOTH, UL &ComposeFormat, UL "-- Mutt: Compose [Approx. msg size: %l Atts: %a]%>-" }, 407 /* 408 ** .pp 409 ** Controls the format of the status line displayed in the ``compose'' 410 ** menu. This string is similar to $$status_format, but has its own 411 ** set of \fCprintf(3)\fP-like sequences: 412 ** .dl 413 ** .dt %a .dd total number of attachments 414 ** .dt %h .dd local hostname 415 ** .dt %l .dd approximate size (in bytes) of the current message 416 ** .dt %v .dd Mutt version string 417 ** .de 418 ** .pp 419 ** See the text describing the $$status_format option for more 420 ** information on how to set $$compose_format. 421 */ 422 { "config_charset", DT_STR, R_NONE, UL &ConfigCharset, UL 0 }, 423 /* 424 ** .pp 425 ** When defined, Mutt will recode commands in rc files from this 426 ** encoding to the current character set as specified by $$charset 427 ** and aliases written to $$alias_file from the current character set. 428 ** .pp 429 ** Please note that if setting $$charset it must be done before 430 ** setting $$config_charset. 431 ** .pp 432 ** Recoding should be avoided as it may render unconvertable 433 ** characters as question marks which can lead to undesired 434 ** side effects (for example in regular expressions). 435 */ 436 { "confirmappend", DT_BOOL, R_NONE, OPTCONFIRMAPPEND, 1 }, 437 /* 438 ** .pp 439 ** When \fIset\fP, Mutt will prompt for confirmation when appending messages to 440 ** an existing mailbox. 441 */ 442 { "confirmcreate", DT_BOOL, R_NONE, OPTCONFIRMCREATE, 1 }, 443 /* 444 ** .pp 445 ** When \fIset\fP, Mutt will prompt for confirmation when saving messages to a 446 ** mailbox which does not yet exist before creating it. 447 */ 448 { "connect_timeout", DT_NUM, R_NONE, UL &ConnectTimeout, 30 }, 449 /* 450 ** .pp 451 ** Causes Mutt to timeout a network connection (for IMAP, POP or SMTP) after this 452 ** many seconds if the connection is not able to be established. A negative 453 ** value causes Mutt to wait indefinitely for the connection attempt to succeed. 454 */ 455 { "content_type", DT_STR, R_NONE, UL &ContentType, UL "text/plain" }, 456 /* 457 ** .pp 458 ** Sets the default Content-Type for the body of newly composed messages. 459 */ 460 { "copy", DT_QUAD, R_NONE, OPT_COPY, M_YES }, 461 /* 462 ** .pp 463 ** This variable controls whether or not copies of your outgoing messages 464 ** will be saved for later references. Also see $$record, 465 ** $$save_name, $$force_name and ``$fcc-hook''. 466 */ 467 { "pgp_autoencrypt", DT_SYN, R_NONE, UL "crypt_autoencrypt", 0 }, 468 { "crypt_autoencrypt", DT_BOOL, R_NONE, OPTCRYPTAUTOENCRYPT, 0 }, 469 /* 470 ** .pp 471 ** Setting this variable will cause Mutt to always attempt to PGP 472 ** encrypt outgoing messages. This is probably only useful in 473 ** connection to the ``$send-hook'' command. It can be overridden 474 ** by use of the pgp menu, when encryption is not required or 475 ** signing is requested as well. If $$smime_is_default is \fIset\fP, 476 ** then OpenSSL is used instead to create S/MIME messages and 477 ** settings can be overridden by use of the smime menu instead. 478 ** (Crypto only) 479 */ 480 { "crypt_autopgp", DT_BOOL, R_NONE, OPTCRYPTAUTOPGP, 1 }, 481 /* 482 ** .pp 483 ** This variable controls whether or not mutt may automatically enable 484 ** PGP encryption/signing for messages. See also $$crypt_autoencrypt, 485 ** $$crypt_replyencrypt, 486 ** $$crypt_autosign, $$crypt_replysign and $$smime_is_default. 487 */ 488 { "pgp_autosign", DT_SYN, R_NONE, UL "crypt_autosign", 0 }, 489 { "crypt_autosign", DT_BOOL, R_NONE, OPTCRYPTAUTOSIGN, 0 }, 490 /* 491 ** .pp 492 ** Setting this variable will cause Mutt to always attempt to 493 ** cryptographically sign outgoing messages. This can be overridden 494 ** by use of the pgp menu, when signing is not required or 495 ** encryption is requested as well. If $$smime_is_default is \fIset\fP, 496 ** then OpenSSL is used instead to create S/MIME messages and settings can 497 ** be overridden by use of the smime menu instead of the pgp menu. 498 ** (Crypto only) 499 */ 500 { "crypt_autosmime", DT_BOOL, R_NONE, OPTCRYPTAUTOSMIME, 1 }, 501 /* 502 ** .pp 503 ** This variable controls whether or not mutt may automatically enable 504 ** S/MIME encryption/signing for messages. See also $$crypt_autoencrypt, 505 ** $$crypt_replyencrypt, 506 ** $$crypt_autosign, $$crypt_replysign and $$smime_is_default. 507 */ 508 { "pgp_replyencrypt", DT_SYN, R_NONE, UL "crypt_replyencrypt", 1 }, 509 { "crypt_replyencrypt", DT_BOOL, R_NONE, OPTCRYPTREPLYENCRYPT, 1 }, 510 /* 511 ** .pp 512 ** If \fIset\fP, automatically PGP or OpenSSL encrypt replies to messages which are 513 ** encrypted. 514 ** (Crypto only) 515 */ 516 { "pgp_replysign", DT_SYN, R_NONE, UL "crypt_replysign", 0 }, 517 { "crypt_replysign", DT_BOOL, R_NONE, OPTCRYPTREPLYSIGN, 0 }, 518 /* 519 ** .pp 520 ** If \fIset\fP, automatically PGP or OpenSSL sign replies to messages which are 521 ** signed. 522 ** .pp 523 ** \fBNote:\fP this does not work on messages that are encrypted 524 ** \fIand\fP signed! 525 ** (Crypto only) 526 */ 527 { "pgp_replysignencrypted", DT_SYN, R_NONE, UL "crypt_replysignencrypted", 0}, 528 { "crypt_replysignencrypted", DT_BOOL, R_NONE, OPTCRYPTREPLYSIGNENCRYPTED, 0 }, 529 /* 530 ** .pp 531 ** If \fIset\fP, automatically PGP or OpenSSL sign replies to messages 532 ** which are encrypted. This makes sense in combination with 533 ** $$crypt_replyencrypt, because it allows you to sign all 534 ** messages which are automatically encrypted. This works around 535 ** the problem noted in $$crypt_replysign, that mutt is not able 536 ** to find out whether an encrypted message is also signed. 537 ** (Crypto only) 538 */ 539 { "crypt_timestamp", DT_BOOL, R_NONE, OPTCRYPTTIMESTAMP, 1 }, 540 /* 541 ** .pp 542 ** If \fIset\fP, mutt will include a time stamp in the lines surrounding 543 ** PGP or S/MIME output, so spoofing such lines is more difficult. 544 ** If you are using colors to mark these lines, and rely on these, 545 ** you may \fIunset\fP this setting. 546 ** (Crypto only) 547 */ 548 { "crypt_use_gpgme", DT_BOOL, R_NONE, OPTCRYPTUSEGPGME, 0 }, 549 /* 550 ** .pp 551 ** This variable controls the use of the GPGME-enabled crypto backends. 552 ** If it is \fIset\fP and Mutt was built with gpgme support, the gpgme code for 553 ** S/MIME and PGP will be used instead of the classic code. Note that 554 ** you need to set this option in .muttrc; it won't have any effect when 555 ** used interactively. 556 */ 557 { "crypt_use_pka", DT_BOOL, R_NONE, OPTCRYPTUSEPKA, 0 }, 558 /* 559 ** .pp 560 ** Controls whether mutt uses PKA 561 ** (see http://www.g10code.de/docs/pka-intro.de.pdf) during signature 562 ** verification (only supported by the GPGME backend). 563 */ 564 { "pgp_verify_sig", DT_SYN, R_NONE, UL "crypt_verify_sig", 0}, 565 { "crypt_verify_sig", DT_QUAD, R_NONE, OPT_VERIFYSIG, M_YES }, 566 /* 567 ** .pp 568 ** If \fI``yes''\fP, always attempt to verify PGP or S/MIME signatures. 569 ** If \fI``ask-*''\fP, ask whether or not to verify the signature. 570 ** If \fI``no''\fP, never attempt to verify cryptographic signatures. 571 ** (Crypto only) 572 */ 573 { "create_rfc2047_parameters", DT_BOOL, R_NONE, OPTCREATERFC2047PARAMS, 0 }, 574 /* 575 ** .pp 576 ** When this variable is set, Mutt will add the following RFC-2047-encoded 577 ** MIME parameter to Content-Type header field as filename for attachment: 578 ** name="=?iso-2022-jp?B?GyRCO244MxsoQi50eHQ=?=" 579 ** .pp 580 ** Note: this use of RFC 2047's encoding is explicitly prohibited 581 ** by the standard. You may set this variable only if a mailer 582 ** of recipients can not parse RFC 2231 parameters. 583 */ 584 { "date_format", DT_STR, R_BOTH, UL &DateFmt, UL "!%a, %b %d, %Y at %I:%M:%S%p %Z" }, 585 /* 586 ** .pp 587 ** This variable controls the format of the date printed by the ``%d'' 588 ** sequence in $$index_format. This is passed to the \fCstrftime(3)\fP 589 ** function to process the date, see the man page for the proper syntax. 590 ** .pp 591 ** Unless the first character in the string is a bang (``!''), the month 592 ** and week day names are expanded according to the locale specified in 593 ** the variable $$locale. If the first character in the string is a 594 ** bang, the bang is discarded, and the month and week day names in the 595 ** rest of the string are expanded in the \fIC\fP locale (that is in US 596 ** English). 597 */ 598 { "default_hook", DT_STR, R_NONE, UL &DefaultHook, UL "~f %s !~P | (~P ~C %s)" }, 599 /* 600 ** .pp 601 ** This variable controls how ``$message-hook'', ``$reply-hook'', ``$send-hook'', 602 ** ``$send2-hook'', ``$save-hook'', and ``$fcc-hook'' will 603 ** be interpreted if they are specified with only a simple regexp, 604 ** instead of a matching pattern. The hooks are expanded when they are 605 ** declared, so a hook will be interpreted according to the value of this 606 ** variable at the time the hook is declared. 607 ** .pp 608 ** The default value matches 609 ** if the message is either from a user matching the regular expression 610 ** given, or if it is from you (if the from address matches 611 ** ``$alternates'') and is to or cc'ed to a user matching the given 612 ** regular expression. 613 */ 614 { "delete", DT_QUAD, R_NONE, OPT_DELETE, M_ASKYES }, 615 /* 616 ** .pp 617 ** Controls whether or not messages are really deleted when closing or 618 ** synchronizing a mailbox. If set to \fIyes\fP, messages marked for 619 ** deleting will automatically be purged without prompting. If set to 620 ** \fIno\fP, messages marked for deletion will be kept in the mailbox. 621 */ 622 { "delete_untag", DT_BOOL, R_NONE, OPTDELETEUNTAG, 1 }, 623 /* 624 ** .pp 625 ** If this option is \fIset\fP, mutt will untag messages when marking them 626 ** for deletion. This applies when you either explicitly delete a message, 627 ** or when you save it to another folder. 628 */ 629 { "digest_collapse", DT_BOOL, R_NONE, OPTDIGESTCOLLAPSE, 1}, 630 /* 631 ** .pp 632 ** If this option is \fIset\fP, mutt's received-attachments menu will not show the subparts of 633 ** individual messages in a multipart/digest. To see these subparts, press ``v'' on that menu. 634 */ 635 { "delete_prefix", DT_BOOL, R_NONE, OPTDELETEPREFIX, 0 }, 636 /* 637 ** .pp 638 ** If set, prefix in Subject: field generated by some mailing lists 639 ** (something like "Subject: [foo-ML:0012] real-subject") can be deleted 640 ** when displaying in index-mode and editing in message reply. 641 ** Deletion pattern can be configured by $$delete_regexp variable. 642 */ 643 { "delete_regexp", DT_RX, R_NONE, UL &DeleteRegexp, UL "^(\\[[A-Za-z0-9_.: \\-]*\\][ ]*)" }, 644 /* 645 ** .pp 646 ** A regular expression used in $$delete_prefix function. 647 */ 648 { "display_filter", DT_PATH, R_PAGER, UL &DisplayFilter, UL "" }, 649 /* 650 ** .pp 651 ** When set, specifies a command used to filter messages. When a message 652 ** is viewed it is passed as standard input to $$display_filter, and the 653 ** filtered message is read from the standard output. 654 */ 655 #if defined(DL_STANDALONE) && defined(USE_DOTLOCK) 656 { "dotlock_program", DT_PATH, R_NONE, UL &MuttDotlock, UL BINDIR "/mutt_dotlock" }, 657 /* 658 ** .pp 659 ** Contains the path of the \fCmutt_dotlock(8)\fP binary to be used by 660 ** mutt. 661 */ 662 #endif 663 { "dsn_notify", DT_STR, R_NONE, UL &DsnNotify, UL "" }, 664 /* 665 ** .pp 666 ** This variable sets the request for when notification is returned. The 667 ** string consists of a comma separated list (no spaces!) of one or more 668 ** of the following: \fInever\fP, to never request notification, 669 ** \fIfailure\fP, to request notification on transmission failure, 670 ** \fIdelay\fP, to be notified of message delays, \fIsuccess\fP, to be 671 ** notified of successful transmission. 672 ** .pp 673 ** Example: 674 ** .ts 675 ** set dsn_notify="failure,delay" 676 ** .te 677 ** .pp 678 ** \fBNote:\fP when using $$sendmail for delivery, you should not enable 679 ** this unless you are either using Sendmail 8.8.x or greater or a MTA 680 ** providing a \fCsendmail(1)\fP-compatible interface supporting the \fC-N\fP option 681 ** for DSN. For SMTP delivery, DSN support is auto-detected so that it 682 ** depends on the server whether DSN will be used or not. 683 */ 684 { "dsn_return", DT_STR, R_NONE, UL &DsnReturn, UL "" }, 685 /* 686 ** .pp 687 ** This variable controls how much of your message is returned in DSN 688 ** messages. It may be set to either \fIhdrs\fP to return just the 689 ** message header, or \fIfull\fP to return the full message. 690 ** .pp 691 ** Example: 692 ** .ts 693 ** set dsn_return=hdrs 694 ** .te 695 ** .pp 696 ** \fBNote:\fP when using $$sendmail for delivery, you should not enable 697 ** this unless you are either using Sendmail 8.8.x or greater or a MTA 698 ** providing a \fCsendmail(1)\fP-compatible interface supporting the \fC-R\fP option 699 ** for DSN. For SMTP delivery, DSN support is auto-detected so that it 700 ** depends on the server whether DSN will be used or not. 701 */ 702 { "duplicate_threads", DT_BOOL, R_RESORT|R_RESORT_INIT|R_INDEX, OPTDUPTHREADS, 1 }, 703 /* 704 ** .pp 705 ** This variable controls whether mutt, when $$sort is set to \fIthreads\fP, threads 706 ** messages with the same Message-Id together. If it is \fIset\fP, it will indicate 707 ** that it thinks they are duplicates of each other with an equals sign 708 ** in the thread tree. 709 */ 710 { "edit_headers", DT_BOOL, R_NONE, OPTEDITHDRS, 0 }, 711 /* 712 ** .pp 713 ** This option allows you to edit the header of your outgoing messages 714 ** along with the body of your message. 715 ** .pp 716 ** \fBNote\fP that changes made to the References: and Date: headers are 717 ** ignored for interoperability reasons. 718 */ 719 { "edit_hdrs", DT_SYN, R_NONE, UL "edit_headers", 0 }, 720 /* 721 */ 722 { "editor", DT_PATH, R_NONE, UL &Editor, 0 }, 723 /* 724 ** .pp 725 ** This variable specifies which editor is used by mutt. 726 ** It defaults to the value of the \fC$$$VISUAL\fP, or \fC$$$EDITOR\fP, environment 727 ** variable, or to the string ``vi'' if neither of those are set. 728 */ 729 { "encode_from", DT_BOOL, R_NONE, OPTENCODEFROM, 0 }, 730 /* 731 ** .pp 732 ** When \fIset\fP, mutt will quoted-printable encode messages when 733 ** they contain the string ``From '' (note the trailing space) in the beginning of a line. 734 ** This is useful to avoid the tampering certain mail delivery and transport 735 ** agents tend to do with messages (in order to prevent tools from 736 ** misinterpreting the line as a mbox message separator). 737 */ 738 #if defined(USE_SSL_OPENSSL) 739 { "entropy_file", DT_PATH, R_NONE, UL &SslEntropyFile, 0 }, 740 /* 741 ** .pp 742 ** The file which includes random data that is used to initialize SSL 743 ** library functions. 744 */ 745 #endif 746 { "envelope_from_address", DT_ADDR, R_NONE, UL &EnvFrom, 0 }, 747 /* 748 ** .pp 749 ** Manually sets the \fIenvelope\fP sender for outgoing messages. 750 ** This value is ignored if $$use_envelope_from is \fIunset\fP. 751 */ 752 { "escape", DT_STR, R_NONE, UL &EscChar, UL "~" }, 753 /* 754 ** .pp 755 ** Escape character to use for functions in the built-in editor. 756 */ 757 { "fast_reply", DT_BOOL, R_NONE, OPTFASTREPLY, 0 }, 758 /* 759 ** .pp 760 ** When \fIset\fP, the initial prompt for recipients and subject are skipped 761 ** when replying to messages, and the initial prompt for subject is 762 ** skipped when forwarding messages. 763 ** .pp 764 ** \fBNote:\fP this variable has no effect when the $$autoedit 765 ** variable is \fIset\fP. 766 */ 767 { "fcc_attach", DT_QUAD, R_NONE, OPT_FCCATTACH, M_YES }, 768 /* 769 ** .pp 770 ** This variable controls whether or not attachments on outgoing messages 771 ** are saved along with the main body of your message. 772 */ 773 { "fcc_clear", DT_BOOL, R_NONE, OPTFCCCLEAR, 0 }, 774 /* 775 ** .pp 776 ** When this variable is \fIset\fP, FCCs will be stored unencrypted and 777 ** unsigned, even when the actual message is encrypted and/or 778 ** signed. 779 ** (PGP only) 780 */ 781 { "folder", DT_PATH, R_NONE, UL &Maildir, UL "~/Mail" }, 782 /* 783 ** .pp 784 ** Specifies the default location of your mailboxes. A ``+'' or ``='' at the 785 ** beginning of a pathname will be expanded to the value of this 786 ** variable. Note that if you change this variable (from the default) 787 ** value you need to make sure that the assignment occurs \fIbefore\fP 788 ** you use ``+'' or ``='' for any other variables since expansion takes place 789 ** when handling the ``$mailboxes'' command. 790 */ 791 { "folder_format", DT_STR, R_INDEX, UL &FolderFormat, UL "%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f" }, 792 /* 793 ** .pp 794 ** This variable allows you to customize the file browser display to your 795 ** personal taste. This string is similar to $$index_format, but has 796 ** its own set of \fCprintf(3)\fP-like sequences: 797 ** .dl 798 ** .dt %C .dd current file number 799 ** .dt %d .dd date/time folder was last modified 800 ** .dt %D .dd date/time folder was last modified using $$date_format. 801 ** .dt %f .dd filename (``/'' is appended to directory names, 802 ** ``@'' to symbolic links and ``*'' to executable 803 ** files) 804 ** .dt %F .dd file permissions 805 ** .dt %g .dd group name (or numeric gid, if missing) 806 ** .dt %l .dd number of hard links 807 ** .dt %N .dd N if folder has new mail, blank otherwise 808 ** .dt %s .dd size in bytes 809 ** .dt %t .dd ``*'' if the file is tagged, blank otherwise 810 ** .dt %u .dd owner name (or numeric uid, if missing) 811 ** .dt %>X .dd right justify the rest of the string and pad with character ``X'' 812 ** .dt %|X .dd pad to the end of the line with character ``X'' 813 ** .dt %*X .dd soft-fill with character ``X'' as pad 814 ** .de 815 ** .pp 816 ** For an explanation of ``soft-fill'', see the $$index_format documentation. 817 */ 818 { "followup_to", DT_BOOL, R_NONE, OPTFOLLOWUPTO, 1 }, 819 /* 820 ** .pp 821 ** Controls whether or not the ``Mail-Followup-To:'' header field is 822 ** generated when sending mail. When \fIset\fP, Mutt will generate this 823 ** field when you are replying to a known mailing list, specified with 824 ** the ``$subscribe'' or ``$lists'' commands. 825 ** .pp 826 ** This field has two purposes. First, preventing you from 827 ** receiving duplicate copies of replies to messages which you send 828 ** to mailing lists, and second, ensuring that you do get a reply 829 ** separately for any messages sent to known lists to which you are 830 ** not subscribed. 831 ** .pp 832 ** The header will contain only the list's address 833 ** for subscribed lists, and both the list address and your own 834 ** email address for unsubscribed lists. Without this header, a 835 ** group reply to your message sent to a subscribed list will be 836 ** sent to both the list and your address, resulting in two copies 837 ** of the same email for you. 838 */ 839 { "force_name", DT_BOOL, R_NONE, OPTFORCENAME, 0 }, 840 /* 841 ** .pp 842 ** This variable is similar to $$save_name, except that Mutt will 843 ** store a copy of your outgoing message by the username of the address 844 ** you are sending to even if that mailbox does not exist. 845 ** .pp 846 ** Also see the $$record variable. 847 */ 848 { "forward_decode", DT_BOOL, R_NONE, OPTFORWDECODE, 1 }, 849 /* 850 ** .pp 851 ** Controls the decoding of complex MIME messages into \fCtext/plain\fP when 852 ** forwarding a message. The message header is also RFC2047 decoded. 853 ** This variable is only used, if $$mime_forward is \fIunset\fP, 854 ** otherwise $$mime_forward_decode is used instead. 855 */ 856 { "forw_decode", DT_SYN, R_NONE, UL "forward_decode", 0 }, 857 /* 858 */ 859 { "forward_decrypt", DT_BOOL, R_NONE, OPTFORWDECRYPT, 1 }, 860 /* 861 ** .pp 862 ** Controls the handling of encrypted messages when forwarding a message. 863 ** When \fIset\fP, the outer layer of encryption is stripped off. This 864 ** variable is only used if $$mime_forward is \fIset\fP and 865 ** $$mime_forward_decode is \fIunset\fP. 866 ** (PGP only) 867 */ 868 { "forw_decrypt", DT_SYN, R_NONE, UL "forward_decrypt", 0 }, 869 /* 870 */ 871 { "forward_edit", DT_QUAD, R_NONE, OPT_FORWEDIT, M_YES }, 872 /* 873 ** .pp 874 ** This quadoption controls whether or not the user is automatically 875 ** placed in the editor when forwarding messages. For those who always want 876 ** to forward with no modification, use a setting of ``no''. 877 */ 878 { "forward_format", DT_STR, R_NONE, UL &ForwFmt, UL "[%a: %s]" }, 879 /* 880 ** .pp 881 ** This variable controls the default subject when forwarding a message. 882 ** It uses the same format sequences as the $$index_format variable. 883 */ 884 { "forw_format", DT_SYN, R_NONE, UL "forward_format", 0 }, 885 /* 886 */ 887 { "forward_quote", DT_BOOL, R_NONE, OPTFORWQUOTE, 0 }, 888 /* 889 ** .pp 890 ** When \fIset\fP, forwarded messages included in the main body of the 891 ** message (when $$mime_forward is \fIunset\fP) will be quoted using 892 ** $$indent_string. 893 */ 894 { "forw_quote", DT_SYN, R_NONE, UL "forward_quote", 0 }, 895 /* 896 */ 897 { "from", DT_ADDR, R_NONE, UL &From, UL 0 }, 898 /* 899 ** .pp 900 ** When \fIset\fP, this variable contains a default from address. It 901 ** can be overridden using ``$my_hdr'' (including from a ``$send-hook'') and 902 ** $$reverse_name. This variable is ignored if $$use_from is \fIunset\fP. 903 ** .pp 904 ** This setting defaults to the contents of the environment variable \fC$$$EMAIL\fP. 905 */ 906 { "gecos_mask", DT_RX, R_NONE, UL &GecosMask, UL "^[^,]*" }, 907 /* 908 ** .pp 909 ** A regular expression used by mutt to parse the GECOS field of a password 910 ** entry when expanding the alias. The default value 911 ** will return the string up to the first ``,'' encountered. 912 ** If the GECOS field contains a string like ``lastname, firstname'' then you 913 ** should set it to ``\fC.*\fP''. 914 ** .pp 915 ** This can be useful if you see the following behavior: you address an e-mail 916 ** to user ID ``stevef'' whose full name is ``Steve Franklin''. If mutt expands 917 ** ``stevef'' to ``"Franklin" stevef@foo.bar'' then you should set the $$gecos_mask to 918 ** a regular expression that will match the whole name so mutt will expand 919 ** ``Franklin'' to ``Franklin, Steve''. 920 */ 921 { "hdr_format", DT_SYN, R_NONE, UL "index_format", 0 }, 922 /* 923 */ 924 { "hdrs", DT_BOOL, R_NONE, OPTHDRS, 1 }, 925 /* 926 ** .pp 927 ** When \fIunset\fP, the header fields normally added by the ``$my_hdr'' 928 ** command are not created. This variable \fImust\fP be unset before 929 ** composing a new message or replying in order to take effect. If \fIset\fP, 930 ** the user defined header fields are added to every new message. 931 */ 932 { "header", DT_BOOL, R_NONE, OPTHEADER, 0 }, 933 /* 934 ** .pp 935 ** When \fIset\fP, this variable causes Mutt to include the header 936 ** of the message you are replying to into the edit buffer. 937 ** The $$weed setting applies. 938 */ 939 #ifdef USE_HCACHE 940 { "header_cache", DT_PATH, R_NONE, UL &HeaderCache, 0 }, 941 /* 942 ** .pp 943 ** This variable points to the header cache database. 944 ** If pointing to a directory Mutt will contain a header cache 945 ** database file per folder, if pointing to a file that file will 946 ** be a single global header cache. By default it is \fIunset\fP so no header 947 ** caching will be used. 948 ** .pp 949 ** Header caching can greatly improve speed when opening POP, IMAP 950 ** MH or Maildir folders, see ``$caching'' for details. 951 */ 952 #if defined(HAVE_QDBM) || defined(HAVE_TC) 953 { "header_cache_compress", DT_BOOL, R_NONE, OPTHCACHECOMPRESS, 1 }, 954 /* 955 ** .pp 956 ** When mutt is compiled with qdbm or tokyocabinet as header cache backend, 957 ** this option determines whether the database will be compressed. 958 ** Compression results in database files roughly being one fifth 959 ** of the usual diskspace, but the decompression can result in a 960 ** slower opening of cached folder(s) which in general is still 961 ** much faster than opening non header cached folders. 962 */ 963 #endif /* HAVE_QDBM */ 964 #if defined(HAVE_GDBM) || defined(HAVE_DB4) 965 { "header_cache_pagesize", DT_STR, R_NONE, UL &HeaderCachePageSize, UL "16384" }, 966 /* 967 ** .pp 968 ** When mutt is compiled with either gdbm or bdb4 as the header cache backend, 969 ** this option changes the database page size. Too large or too small 970 ** values can waste space, memory, or CPU time. The default should be more 971 ** or less optimal for most use cases. 972 */ 973 #endif /* HAVE_GDBM || HAVE_DB4 */ 974 #endif /* USE_HCACHE */ 975 { "help", DT_BOOL, R_BOTH, OPTHELP, 1 }, 976 /* 977 ** .pp 978 ** When \fIset\fP, help lines describing the bindings for the major functions 979 ** provided by each menu are displayed on the first line of the screen. 980 ** .pp 981 ** \fBNote:\fP The binding will not be displayed correctly if the 982 ** function is bound to a sequence rather than a single keystroke. Also, 983 ** the help line may not be updated if a binding is changed while Mutt is 984 ** running. Since this variable is primarily aimed at new users, neither 985 ** of these should present a major problem. 986 */ 987 { "hidden_host", DT_BOOL, R_NONE, OPTHIDDENHOST, 0 }, 988 /* 989 ** .pp 990 ** When \fIset\fP, mutt will skip the host name part of $$hostname variable 991 ** when adding the domain part to addresses. This variable does not 992 ** affect the generation of Message-IDs, and it will not lead to the 993 ** cut-off of first-level domains. 994 */ 995 { "hide_limited", DT_BOOL, R_TREE|R_INDEX, OPTHIDELIMITED, 0 }, 996 /* 997 ** .pp 998 ** When \fIset\fP, mutt will not show the presence of messages that are hidden 999 ** by limiting, in the thread tree. 1000 */ 1001 { "hide_missing", DT_BOOL, R_TREE|R_INDEX, OPTHIDEMISSING, 1 }, 1002 /* 1003 ** .pp 1004 ** When \fIset\fP, mutt will not show the presence of missing messages in the 1005 ** thread tree. 1006 */ 1007 { "hide_thread_subject", DT_BOOL, R_TREE|R_INDEX, OPTHIDETHREADSUBJECT, 1 }, 1008 /* 1009 ** .pp 1010 ** When \fIset\fP, mutt will not show the subject of messages in the thread 1011 ** tree that have the same subject as their parent or closest previously 1012 ** displayed sibling. 1013 */ 1014 { "hide_top_limited", DT_BOOL, R_TREE|R_INDEX, OPTHIDETOPLIMITED, 0 }, 1015 /* 1016 ** .pp 1017 ** When \fIset\fP, mutt will not show the presence of messages that are hidden 1018 ** by limiting, at the top of threads in the thread tree. Note that when 1019 ** $$hide_limited is \fIset\fP, this option will have no effect. 1020 */ 1021 { "hide_top_missing", DT_BOOL, R_TREE|R_INDEX, OPTHIDETOPMISSING, 1 }, 1022 /* 1023 ** .pp 1024 ** When \fIset\fP, mutt will not show the presence of missing messages at the 1025 ** top of threads in the thread tree. Note that when $$hide_missing is 1026 ** \fIset\fP, this option will have no effect. 1027 */ 1028 { "history", DT_NUM, R_NONE, UL &HistSize, 10 }, 1029 /* 1030 ** .pp 1031 ** This variable controls the size (in number of strings remembered) of 1032 ** the string history buffer per category. The buffer is cleared each time the 1033 ** variable is set. 1034 */ 1035 { "history_file", DT_PATH, R_NONE, UL &HistFile, UL "~/.mutthistory" }, 1036 /* 1037 ** .pp 1038 ** The file in which Mutt will save its history. 1039 */ 1040 { "honor_disposition", DT_BOOL, R_NONE, OPTHONORDISP, 0 }, 1041 /* 1042 ** .pp 1043 ** When \fIset\fP, Mutt will not display attachments with a 1044 ** disposition of ``attachment'' inline even if it could 1045 ** render the part to plain text. These MIME parts can only 1046 ** be viewed from the attachment menu. 1047 ** .pp 1048 ** If \fIunset\fP, Mutt will render all MIME parts it can 1049 ** properly transform to plain text. 1050 */ 1051 { "honor_followup_to", DT_QUAD, R_NONE, OPT_MFUPTO, M_YES }, 1052 /* 1053 ** .pp 1054 ** This variable controls whether or not a Mail-Followup-To header is 1055 ** honored when group-replying to a message. 1056 */ 1057 { "hostname", DT_STR, R_NONE, UL &Fqdn, 0 }, 1058 /* 1059 ** .pp 1060 ** Specifies the fully-qualified hostname of the system mutt is running on 1061 ** containing the host's name and the DNS domain it belongs to. It is used 1062 ** as the domain part (after ``@'') for local email addresses as well as 1063 ** Message-Id headers. 1064 ** .pp 1065 ** Its value is determined at startup as follows: If the node's name 1066 ** as returned by the \fCuname(3)\fP function contains the hostname and the 1067 ** domain, these are used to construct $$hostname. If there is no 1068 ** domain part returned, Mutt will look for a ``domain'' or ``search'' 1069 ** line in \fC/etc/resolv.conf\fP to determine the domain. Optionally, Mutt 1070 ** can be compiled with a fixed domain name in which case a detected 1071 ** one is not used. 1072 ** .pp 1073 ** Also see $$use_domain and $$hidden_host. 1074 */ 1075 { "ignore_linear_white_space", DT_BOOL, R_NONE, OPTIGNORELWS, 0 }, 1076 /* 1077 ** .pp 1078 ** This option replaces linear-white-space between encoded-word 1079 ** and text to a single space to prevent the display of MIME-encoded 1080 ** ``Subject:'' field from being divided into multiple lines. 1081 */ 1082 { "ignore_list_reply_to", DT_BOOL, R_NONE, OPTIGNORELISTREPLYTO, 0 }, 1083 /* 1084 ** .pp 1085 ** Affects the behavior of the \fC<reply>\fP function when replying to 1086 ** messages from mailing lists (as defined by the ``$subscribe'' or 1087 ** ``$lists'' commands). When \fIset\fP, if the ``Reply-To:'' field is 1088 ** set to the same value as the ``To:'' field, Mutt assumes that the 1089 ** ``Reply-To:'' field was set by the mailing list to automate responses 1090 ** to the list, and will ignore this field. To direct a response to the 1091 ** mailing list when this option is \fIset\fP, use the \fC$<list-reply>\fP 1092 ** function; \fC<group-reply>\fP will reply to both the sender and the 1093 ** list. 1094 */ 1095 #ifdef USE_IMAP 1096 { "imap_authenticators", DT_STR, R_NONE, UL &ImapAuthenticators, UL 0 }, 1097 /* 1098 ** .pp 1099 ** This is a colon-delimited list of authentication methods mutt may 1100 ** attempt to use to log in to an IMAP server, in the order mutt should 1101 ** try them. Authentication methods are either ``login'' or the right 1102 ** side of an IMAP ``AUTH=xxx'' capability string, e.g. ``digest-md5'', ``gssapi'' 1103 ** or ``cram-md5''. This option is case-insensitive. If it's 1104 ** \fIunset\fP (the default) mutt will try all available methods, 1105 ** in order from most-secure to least-secure. 1106 ** .pp 1107 ** Example: 1108 ** .ts 1109 ** set imap_authenticators="gssapi:cram-md5:login" 1110 ** .te 1111 ** .pp 1112 ** \fBNote:\fP Mutt will only fall back to other authentication methods if 1113 ** the previous methods are unavailable. If a method is available but 1114 ** authentication fails, mutt will not connect to the IMAP server. 1115 */ 1116 { "imap_check_subscribed", DT_BOOL, R_NONE, OPTIMAPCHECKSUBSCRIBED, 0 }, 1117 /* 1118 ** .pp 1119 ** When \fIset\fP, mutt will fetch the set of subscribed folders from 1120 ** your server on connection, and add them to the set of mailboxes 1121 ** it polls for new mail just as if you had issued individual ``$mailboxes'' 1122 ** commands. 1123 */ 1124 { "imap_delim_chars", DT_STR, R_NONE, UL &ImapDelimChars, UL "/." }, 1125 /* 1126 ** .pp 1127 ** This contains the list of characters which you would like to treat 1128 ** as folder separators for displaying IMAP paths. In particular it 1129 ** helps in using the ``='' shortcut for your \fIfolder\fP variable. 1130 */ 1131 { "imap_headers", DT_STR, R_INDEX, UL &ImapHeaders, UL 0}, 1132 /* 1133 ** .pp 1134 ** Mutt requests these header fields in addition to the default headers 1135 ** (``Date:'', ``From:'', ``Subject:'', ``To:'', ``Cc:'', ``Message-Id:'', 1136 ** ``References:'', ``Content-Type:'', ``Content-Description:'', ``In-Reply-To:'', 1137 ** ``Reply-To:'', ``Lines:'', ``List-Post:'', ``X-Label:'') from IMAP 1138 ** servers before displaying the index menu. You may want to add more 1139 ** headers for spam detection. 1140 ** .pp 1141 ** \fBNote:\fP This is a space separated list, items should be uppercase 1142 ** and not contain the colon, e.g. ``X-BOGOSITY X-SPAM-STATUS'' for the 1143 ** ``X-Bogosity:'' and ``X-Spam-Status:'' header fields. 1144 */ 1145 { "imap_idle", DT_BOOL, R_NONE, OPTIMAPIDLE, 0 }, 1146 /* 1147 ** .pp 1148 ** When \fIset\fP, mutt will attempt to use the IMAP IDLE extension 1149 ** to check for new mail in the current mailbox. Some servers 1150 ** (dovecot was the inspiration for this option) react badly 1151 ** to mutt's implementation. If your connection seems to freeze 1152 ** up periodically, try unsetting this. 1153 */ 1154 { "imap_keepalive", DT_NUM, R_NONE, UL &ImapKeepalive, 900 }, 1155 /* 1156 ** .pp 1157 ** This variable specifies the maximum amount of time in seconds that mutt 1158 ** will wait before polling open IMAP connections, to prevent the server 1159 ** from closing them before mutt has finished with them. The default is 1160 ** well within the RFC-specified minimum amount of time (30 minutes) before 1161 ** a server is allowed to do this, but in practice the RFC does get 1162 ** violated every now and then. Reduce this number if you find yourself 1163 ** getting disconnected from your IMAP server due to inactivity. 1164 */ 1165 { "imap_list_subscribed", DT_BOOL, R_NONE, OPTIMAPLSUB, 0 }, 1166 /* 1167 ** .pp 1168 ** This variable configures whether IMAP folder browsing will look for 1169 ** only subscribed folders or all folders. This can be toggled in the 1170 ** IMAP browser with the \fC<toggle-subscribed>\fP function. 1171 */ 1172 { "imap_login", DT_STR, R_NONE, UL &ImapLogin, UL 0 }, 1173 /* 1174 ** .pp 1175 ** Your login name on the IMAP server. 1176 ** .pp 1177 ** This variable defaults to the value of $$imap_user. 1178 */ 1179 { "imap_pass", DT_STR, R_NONE, UL &ImapPass, UL 0 }, 1180 /* 1181 ** .pp 1182 ** Specifies the password for your IMAP account. If \fIunset\fP, Mutt will 1183 ** prompt you for your password when you invoke the \fC<imap-fetch-mail>\fP function 1184 ** or try to open an IMAP folder. 1185 ** .pp 1186 ** \fBWarning\fP: you should only use this option when you are on a 1187 ** fairly secure machine, because the superuser can read your muttrc even 1188 ** if you are the only one who can read the file. 1189 */ 1190 { "imap_passive", DT_BOOL, R_NONE, OPTIMAPPASSIVE, 1 }, 1191 /* 1192 ** .pp 1193 ** When \fIset\fP, mutt will not open new IMAP connections to check for new 1194 ** mail. Mutt will only check for new mail over existing IMAP 1195 ** connections. This is useful if you don't want to be prompted to 1196 ** user/password pairs on mutt invocation, or if opening the connection 1197 ** is slow. 1198 */ 1199 { "imap_peek", DT_BOOL, R_NONE, OPTIMAPPEEK, 1 }, 1200 /* 1201 ** .pp 1202 ** When \fIset\fP, mutt will avoid implicitly marking your mail as read whenever 1203 ** you fetch a message from the server. This is generally a good thing, 1204 ** but can make closing an IMAP folder somewhat slower. This option 1205 ** exists to appease speed freaks. 1206 */ 1207 { "imap_pipeline_depth", DT_NUM, R_NONE, UL &ImapPipelineDepth, 15 }, 1208 /* 1209 ** .pp 1210 ** Controls the number of IMAP commands that may be queued up before they 1211 ** are sent to the server. A deeper pipeline reduces the amount of time 1212 ** mutt must wait for the server, and can make IMAP servers feel much 1213 ** more responsive. But not all servers correctly handle pipelined commands, 1214 ** so if you have problems you might want to try setting this variable to 0. 1215 ** .pp 1216 ** \fBNote:\fP Changes to this variable have no effect on open connections. 1217 */ 1218 { "imap_servernoise", DT_BOOL, R_NONE, OPTIMAPSERVERNOISE, 1 }, 1219 /* 1220 ** .pp 1221 ** When \fIset\fP, mutt will display warning messages from the IMAP 1222 ** server as error messages. Since these messages are often 1223 ** harmless, or generated due to configuration problems on the 1224 ** server which are out of the users' hands, you may wish to suppress 1225 ** them at some point. 1226 */ 1227 { "imap_user", DT_STR, R_NONE, UL &ImapUser, UL 0 }, 1228 /* 1229 ** .pp 1230 ** The name of the user whose mail you intend to access on the IMAP 1231 ** server. 1232 ** .pp 1233 ** This variable defaults to your user name on the local machine. 1234 */ 1235 #endif 1236 { "implicit_autoview", DT_BOOL,R_NONE, OPTIMPLICITAUTOVIEW, 0}, 1237 /* 1238 ** .pp 1239 ** If set to ``yes'', mutt will look for a mailcap entry with the 1240 ** ``\fCcopiousoutput\fP'' flag set for \fIevery\fP MIME attachment it doesn't have 1241 ** an internal viewer defined for. If such an entry is found, mutt will 1242 ** use the viewer defined in that entry to convert the body part to text 1243 ** form. 1244 */ 1245 { "include", DT_QUAD, R_NONE, OPT_INCLUDE, M_ASKYES }, 1246 /* 1247 ** .pp 1248 ** Controls whether or not a copy of the message(s) you are replying to 1249 ** is included in your reply. 1250 */ 1251 { "include_onlyfirst", DT_BOOL, R_NONE, OPTINCLUDEONLYFIRST, 0}, 1252 /* 1253 ** .pp 1254 ** Controls whether or not Mutt includes only the first attachment 1255 ** of the message you are replying. 1256 */ 1257 { "indent_string", DT_STR, R_NONE, UL &Prefix, UL "> " }, 1258 /* 1259 ** .pp 1260 ** Specifies the string to prepend to each line of text quoted in a 1261 ** message to which you are replying. You are strongly encouraged not to 1262 ** change this value, as it tends to agitate the more fanatical netizens. 1263 ** .pp 1264 ** The value of this option is ignored if $$text_flowed is set, too because 1265 ** the quoting mechanism is strictly defined for format=flowed. 1266 ** .pp 1267 ** This option is a format string, please see the description of 1268 ** $$index_format for supported \fCprintf(3)\fP-style sequences. 1269 */ 1270 { "indent_str", DT_SYN, R_NONE, UL "indent_string", 0 }, 1271 /* 1272 */ 1273 { "index_format", DT_STR, R_BOTH, UL &HdrFmt, UL "%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" }, 1274 /* 1275 ** .pp 1276 ** This variable allows you to customize the message index display to 1277 ** your personal taste. 1278 ** .pp 1279 ** ``Format strings'' are similar to the strings used in the C 1280 ** function \fCprintf(3)\fP to format output (see the man page for more details). 1281 ** The following sequences are defined in Mutt: 1282 ** .dl 1283 ** .dt %a .dd address of the author 1284 ** .dt %A .dd reply-to address (if present; otherwise: address of author) 1285 ** .dt %b .dd filename of the original message folder (think mailbox) 1286 ** .dt %B .dd the list to which the letter was sent, or else the folder name (%b). 1287 ** .dt %c .dd number of characters (bytes) in the message 1288 ** .dt %C .dd current message number 1289 ** .dt %d .dd date and time of the message in the format specified by 1290 ** $$date_format converted to sender's time zone 1291 ** .dt %D .dd date and time of the message in the format specified by 1292 ** $$date_format converted to the local time zone 1293 ** .dt %e .dd current message number in thread 1294 ** .dt %E .dd number of messages in current thread 1295 ** .dt %f .dd sender (address + real name), either From: or Return-Path: 1296 ** .dt %F .dd author name, or recipient name if the message is from you 1297 ** .dt %H .dd spam attribute(s) of this message 1298 ** .dt %i .dd message-id of the current message 1299 ** .dt %l .dd number of lines in the message (does not work with maildir, 1300 ** mh, and possibly IMAP folders) 1301 ** .dt %L .dd If an address in the ``To:'' or ``Cc:'' header field matches an address 1302 ** defined by the users ``$subscribe'' command, this displays 1303 ** "To <list-name>", otherwise the same as %F. 1304 ** .dt %m .dd total number of message in the mailbox 1305 ** .dt %M .dd number of hidden messages if the thread is collapsed. 1306 ** .dt %N .dd message score 1307 ** .dt %n .dd author's real name (or address if missing) 1308 ** .dt %O .dd original save folder where mutt would formerly have 1309 ** stashed the message: list name or recipient name 1310 ** if not sent to a list 1311 ** .dt %P .dd progress indicator for the built-in pager (how much of the file has been displayed) 1312 ** .dt %s .dd subject of the message 1313 ** .dt %S .dd status of the message (``N''/``D''/``d''/``!''/``r''/\(as) 1314 ** .dt %t .dd ``To:'' field (recipients) 1315 ** .dt %T .dd the appropriate character from the $$to_chars string 1316 ** .dt %u .dd user (login) name of the author 1317 ** .dt %v .dd first name of the author, or the recipient if the message is from you 1318 ** .dt %X .dd number of attachments 1319 ** (please see the ``$attachments'' section for possible speed effects) 1320 ** .dt %y .dd ``X-Label:'' field, if present 1321 ** .dt %Y .dd ``X-Label:'' field, if present, and \fI(1)\fP not at part of a thread tree, 1322 ** \fI(2)\fP at the top of a thread, or \fI(3)\fP ``X-Label:'' is different from 1323 ** preceding message's ``X-Label:''. 1324 ** .dt %Z .dd message status flags 1325 ** .dt %{fmt} .dd the date and time of the message is converted to sender's 1326 ** time zone, and ``fmt'' is expanded by the library function 1327 ** \fCstrftime(3)\fP; a leading bang disables locales 1328 ** .dt %[fmt] .dd the date and time of the message is converted to the local 1329 ** time zone, and ``fmt'' is expanded by the library function 1330 ** \fCstrftime(3)\fP; a leading bang disables locales 1331 ** .dt %(fmt) .dd the local date and time when the message was received. 1332 ** ``fmt'' is expanded by the library function \fCstrftime(3)\fP; 1333 ** a leading bang disables locales 1334 ** .dt %<fmt> .dd the current local time. ``fmt'' is expanded by the library 1335 ** function \fCstrftime(3)\fP; a leading bang disables locales. 1336 ** .dt %>X .dd right justify the rest of the string and pad with character ``X'' 1337 ** .dt %|X .dd pad to the end of the line with character ``X'' 1338 ** .dt %*X .dd soft-fill with character ``X'' as pad 1339 ** .de 1340 ** .pp 1341 ** ``Soft-fill'' deserves some explanation: Normal right-justification 1342 ** will print everything to the left of the ``%>'', displaying padding and 1343 ** whatever lies to the right only if there's room. By contrast, 1344 ** soft-fill gives priority to the right-hand side, guaranteeing space 1345 ** to display it and showing padding only if there's still room. If 1346 ** necessary, soft-fill will eat text leftwards to make room for 1347 ** rightward text. 1348 ** .pp 1349 ** Note that these expandos are supported in 1350 ** ``$save-hook'', ``$fcc-hook'' and ``$fcc-save-hook'', too. 1351 */ 1352 { "ispell", DT_PATH, R_NONE, UL &Ispell, UL ISPELL }, 1353 /* 1354 ** .pp 1355 ** How to invoke ispell (GNU's spell-checking software). 1356 */ 1357 { "keep_flagged", DT_BOOL, R_NONE, OPTKEEPFLAGGED, 0 }, 1358 /* 1359 ** .pp 1360 ** If \fIset\fP, read messages marked as flagged will not be moved 1361 ** from your spool mailbox to your $$mbox mailbox, or as a result of 1362 ** a ``$mbox-hook'' command. 1363 */ 1364 { "locale", DT_STR, R_BOTH, UL &Locale, UL "C" }, 1365 /* 1366 ** .pp 1367 ** The locale used by \fCstrftime(3)\fP to format dates. Legal values are 1368 ** the strings your system accepts for the locale environment variable \fC$$$LC_TIME\fP. 1369 */ 1370 { "mail_check", DT_NUM, R_NONE, UL &BuffyTimeout, 5 }, 1371 /* 1372 ** .pp 1373 ** This variable configures how often (in seconds) mutt should look for 1374 ** new mail. Also see the $$timeout variable. 1375 */ 1376 { "mail_check_recent",DT_BOOL, R_NONE, OPTMAILCHECKRECENT, 1 }, 1377 /* 1378 ** .pp 1379 ** When \fIset\fP, Mutt will only notify you about new mail that has been received 1380 ** since the last time you opened the mailbox. When \fIunset\fP, Mutt will notify you 1381 ** if any new mail exists in the mailbox, regardless of whether you have visited it 1382 ** recently. 1383 ** .pp 1384 ** When \fI$$mark_old\fP is set, Mutt does not consider the mailbox to contain new 1385 ** mail if only old messages exist. 1386 */ 1387 { "mailcap_path", DT_STR, R_NONE, UL &MailcapPath, 0 }, 1388 /* 1389 ** .pp 1390 ** This variable specifies which files to consult when attempting to 1391 ** display MIME bodies not directly supported by Mutt. 1392 */ 1393 { "mailcap_sanitize", DT_BOOL, R_NONE, OPTMAILCAPSANITIZE, 1 }, 1394 /* 1395 ** .pp 1396 ** If \fIset\fP, mutt will restrict possible characters in mailcap % expandos 1397 ** to a well-defined set of safe characters. This is the safe setting, 1398 ** but we are not sure it doesn't break some more advanced MIME stuff. 1399 ** .pp 1400 ** \fBDON'T CHANGE THIS SETTING UNLESS YOU ARE REALLY SURE WHAT YOU ARE 1401 ** DOING!\fP 1402 */ 1403 #ifdef USE_HCACHE 1404 { "maildir_header_cache_verify", DT_BOOL, R_NONE, OPTHCACHEVERIFY, 1 }, 1405 /* 1406 ** .pp 1407 ** Check for Maildir unaware programs other than mutt having modified maildir 1408 ** files when the header cache is in use. This incurs one \fCstat(2)\fP per 1409 ** message every time the folder is opened (which can be very slow for NFS 1410 ** folders). 1411 */ 1412 #endif 1413 { "maildir_trash", DT_BOOL, R_NONE, OPTMAILDIRTRASH, 0 }, 1414 /* 1415 ** .pp 1416 ** If \fIset\fP, messages marked as deleted will be saved with the maildir 1417 ** trashed flag instead of unlinked. \fBNote:\fP this only applies 1418 ** to maildir-style mailboxes. Setting it will have no effect on other 1419 ** mailbox types. 1420 */ 1421 { "mark_old", DT_BOOL, R_BOTH, OPTMARKOLD, 1 }, 1422 /* 1423 ** .pp 1424 ** Controls whether or not mutt marks \fInew\fP \fBunread\fP 1425 ** messages as \fIold\fP if you exit a mailbox without reading them. 1426 ** With this option \fIset\fP, the next time you start mutt, the messages 1427 ** will show up with an ``O'' next to them in the index menu, 1428 ** indicating that they are old. 1429 */ 1430 { "markers", DT_BOOL, R_PAGER, OPTMARKERS, 1 }, 1431 /* 1432 ** .pp 1433 ** Controls the display of wrapped lines in the internal pager. If set, a 1434 ** ``+'' marker is displayed at the beginning of wrapped lines. 1435 ** .pp 1436 ** Also see the $$smart_wrap variable. 1437 */ 1438 { "mask", DT_RX, R_NONE, UL &Mask, UL "!^\\.[^.]" }, 1439 /* 1440 ** .pp 1441 ** A regular expression used in the file browser, optionally preceded by 1442 ** the \fInot\fP operator ``!''. Only files whose names match this mask 1443 ** will be shown. The match is always case-sensitive. 1444 */ 1445 { "mbox", DT_PATH, R_BOTH, UL &Inbox, UL "~/mbox" }, 1446 /* 1447 ** .pp 1448 ** This specifies the folder into which read mail in your $$spoolfile 1449 ** folder will be appended. 1450 ** .pp 1451 ** Also see the $$move variable. 1452 */ 1453 { "mbox_type", DT_MAGIC,R_NONE, UL &DefaultMagic, M_MBOX }, 1454 /* 1455 ** .pp 1456 ** The default mailbox type used when creating new folders. May be any of 1457 ** ``mbox'', ``MMDF'', ``MH'' and ``Maildir''. This is overridden by the 1458 ** \fC-m\fP command-line option. 1459 */ 1460 { "menu_context", DT_NUM, R_NONE, UL &MenuContext, 0 }, 1461 /* 1462 ** .pp 1463 ** This variable controls the number of lines of context that are given 1464 ** when scrolling through menus. (Similar to $$pager_context.) 1465 */ 1466 { "menu_move_off", DT_BOOL, R_NONE, OPTMENUMOVEOFF, 1 }, 1467 /* 1468 ** .pp 1469 ** When \fIunset\fP, the bottom entry of menus will never scroll up past 1470 ** the bottom of the screen, unless there are less entries than lines. 1471 ** When \fIset\fP, the bottom entry may move off the bottom. 1472 */ 1473 { "menu_scroll", DT_BOOL, R_NONE, OPTMENUSCROLL, 0 }, 1474 /* 1475 ** .pp 1476 ** When \fIset\fP, menus will be scrolled up or down one line when you 1477 ** attempt to move across a screen boundary. If \fIunset\fP, the screen 1478 ** is cleared and the next or previous page of the menu is displayed 1479 ** (useful for slow links to avoid many redraws). 1480 */ 1481 #if defined(USE_IMAP) || defined(USE_POP) 1482 { "message_cache_clean", DT_BOOL, R_NONE, OPTMESSAGECACHECLEAN, 0 }, 1483 /* 1484 ** .pp 1485 ** If \fIset\fP, mutt will clean out obsolete entries from the message cache when 1486 ** the mailbox is synchronized. You probably only want to set it 1487 ** every once in a while, since it can be a little slow 1488 ** (especially for large folders). 1489 */ 1490 { "message_cachedir", DT_PATH, R_NONE, UL &MessageCachedir, 0 }, 1491 /* 1492 ** .pp 1493 ** Set this to a directory and mutt will cache copies of messages from 1494 ** your IMAP and POP servers here. You are free to remove entries at any 1495 ** time. 1496 ** .pp 1497 ** When setting this variable to a directory, mutt needs to fetch every 1498 ** remote message only once and can perform regular expression searches 1499 ** as fast as for local folders. 1500 ** .pp 1501 ** Also see the $$message_cache_clean variable. 1502 */ 1503 #endif 1504 { "message_format", DT_STR, R_NONE, UL &MsgFmt, UL "%s" }, 1505 /* 1506 ** .pp 1507 ** This is the string displayed in the ``attachment'' menu for 1508 ** attachments of type \fCmessage/rfc822\fP. For a full listing of defined 1509 ** \fCprintf(3)\fP-like sequences see the section on $$index_format. 1510 */ 1511 { "msg_format", DT_SYN, R_NONE, UL "message_format", 0 }, 1512 /* 1513 */ 1514 { "meta_key", DT_BOOL, R_NONE, OPTMETAKEY, 0 }, 1515 /* 1516 ** .pp 1517 ** If \fIset\fP, forces Mutt to interpret keystrokes with the high bit (bit 8) 1518 ** set as if the user had pressed the Esc key and whatever key remains 1519 ** after having the high bit removed. For example, if the key pressed 1520 ** has an ASCII value of \fC0xf8\fP, then this is treated as if the user had 1521 ** pressed Esc then ``x''. This is because the result of removing the 1522 ** high bit from \fC0xf8\fP is \fC0x78\fP, which is the ASCII character 1523 ** ``x''. 1524 */ 1525 { "metoo", DT_BOOL, R_NONE, OPTMETOO, 0 }, 1526 /* 1527 ** .pp 1528 ** If \fIunset\fP, Mutt will remove your address (see the ``$alternates'' 1529 ** command) from the list of recipients when replying to a message. 1530 */ 1531 { "mh_purge", DT_BOOL, R_NONE, OPTMHPURGE, 0 }, 1532 /* 1533 ** .pp 1534 ** When \fIunset\fP, mutt will mimic mh's behavior and rename deleted messages 1535 ** to \fI,<old file name>\fP in mh folders instead of really deleting 1536 ** them. This leaves the message on disk but makes programs reading the folder 1537 ** ignore it. If the variable is \fIset\fP, the message files will simply be 1538 ** deleted. 1539 ** .pp 1540 ** This option is similar to $$maildir_trash for Maildir folders. 1541 */ 1542 { "mh_seq_flagged", DT_STR, R_NONE, UL &MhFlagged, UL "flagged" }, 1543 /* 1544 ** .pp 1545 ** The name of the MH sequence used for flagged messages. 1546 */ 1547 { "mh_seq_replied", DT_STR, R_NONE, UL &MhReplied, UL "replied" }, 1548 /* 1549 ** .pp 1550 ** The name of the MH sequence used to tag replied messages. 1551 */ 1552 { "mh_seq_unseen", DT_STR, R_NONE, UL &MhUnseen, UL "unseen" }, 1553 /* 1554 ** .pp 1555 ** The name of the MH sequence used for unseen messages. 1556 */ 1557 { "mime_forward", DT_QUAD, R_NONE, OPT_MIMEFWD, M_NO }, 1558 /* 1559 ** .pp 1560 ** When \fIset\fP, the message you are forwarding will be attached as a 1561 ** separate \fCmessage/rfc822\fP MIME part instead of included in the main body of the 1562 ** message. This is useful for forwarding MIME messages so the receiver 1563 ** can properly view the message as it was delivered to you. If you like 1564 ** to switch between MIME and not MIME from mail to mail, set this 1565 ** variable to ``ask-no'' or ``ask-yes''. 1566 ** .pp 1567 ** Also see $$forward_decode and $$mime_forward_decode. 1568 */ 1569 { "mime_forward_decode", DT_BOOL, R_NONE, OPTMIMEFORWDECODE, 0 }, 1570 /* 1571 ** .pp 1572 ** Controls the decoding of complex MIME messages into \fCtext/plain\fP when 1573 ** forwarding a message while $$mime_forward is \fIset\fP. Otherwise 1574 ** $$forward_decode is used instead. 1575 */ 1576 { "mime_fwd", DT_SYN, R_NONE, UL "mime_forward", 0 }, 1577 /* 1578 */ 1579 { "mime_forward_rest", DT_QUAD, R_NONE, OPT_MIMEFWDREST, M_YES }, 1580 /* 1581 ** .pp 1582 ** When forwarding multiple attachments of a MIME message from the attachment 1583 ** menu, attachments which cannot be decoded in a reasonable manner will 1584 ** be attached to the newly composed message if this option is \fIset\fP. 1585 */ 1586 #ifdef MIXMASTER 1587 { "mix_entry_format", DT_STR, R_NONE, UL &MixEntryFormat, UL "%4n %c %-16s %a" }, 1588 /* 1589 ** .pp 1590 ** This variable describes the format of a remailer line on the mixmaster 1591 ** chain selection screen. The following \fCprintf(3)\fP-like sequences are 1592 ** supported: 1593 ** .dl 1594 ** .dt %n .dd The running number on the menu. 1595 ** .dt %c .dd Remailer capabilities. 1596 ** .dt %s .dd The remailer's short name. 1597 ** .dt %a .dd The remailer's e-mail address. 1598 ** .de 1599 */ 1600 { "mixmaster", DT_PATH, R_NONE, UL &Mixmaster, UL MIXMASTER }, 1601 /* 1602 ** .pp 1603 ** This variable contains the path to the Mixmaster binary on your 1604 ** system. It is used with various sets of parameters to gather the 1605 ** list of known remailers, and to finally send a message through the 1606 ** mixmaster chain. 1607 */ 1608 #endif 1609 { "move", DT_QUAD, R_NONE, OPT_MOVE, M_NO }, 1610 /* 1611 ** .pp 1612 ** Controls whether or not Mutt will move read messages 1613 ** from your spool mailbox to your $$mbox mailbox, or as a result of 1614 ** a ``$mbox-hook'' command. 1615 */ 1616 { "narrow_tree", DT_BOOL, R_TREE|R_INDEX, OPTNARROWTREE, 0 }, 1617 /* 1618 ** .pp 1619 ** This variable, when \fIset\fP, makes the thread tree narrower, allowing 1620 ** deeper threads to fit on the screen. 1621 */ 1622 #ifdef USE_SOCKET 1623 { "net_inc", DT_NUM, R_NONE, UL &NetInc, 10 }, 1624 /* 1625 ** .pp 1626 ** Operations that expect to transfer a large amount of data over the 1627 ** network will update their progress every $$net_inc kilobytes. 1628 ** If set to 0, no progress messages will be displayed. 1629 ** .pp 1630 ** See also $$read_inc, $$write_inc and $$net_inc. 1631 */ 1632 #endif 1633 { "pager", DT_PATH, R_NONE, UL &Pager, UL "builtin" }, 1634 /* 1635 ** .pp 1636 ** This variable specifies which pager you would like to use to view 1637 ** messages. The value ``builtin'' means to use the built-in pager, otherwise this 1638 ** variable should specify the pathname of the external pager you would 1639 ** like to use. 1640 ** .pp 1641 ** Using an external pager may have some disadvantages: Additional 1642 ** keystrokes are necessary because you can't call mutt functions 1643 ** directly from the pager, and screen resizes cause lines longer than 1644 ** the screen width to be badly formatted in the help menu. 1645 */ 1646 { "pager_context", DT_NUM, R_NONE, UL &PagerContext, 0 }, 1647 /* 1648 ** .pp 1649 ** This variable controls the number of lines of context that are given 1650 ** when displaying the next or previous page in the internal pager. By 1651 ** default, Mutt will display the line after the last one on the screen 1652 ** at the top of the next page (0 lines of context). 1653 ** .pp 1654 ** This variable also specifies the amount of context given for search 1655 ** results. If positive, this many lines will be given before a match, 1656 ** if 0, the match will be top-aligned. 1657 */ 1658 { "pager_format", DT_STR, R_PAGER, UL &PagerFmt, UL "-%Z- %C/%m: %-20.20n %s%* -- (%P)" }, 1659 /* 1660 ** .pp 1661 ** This variable controls the format of the one-line message ``status'' 1662 ** displayed before each message in either the internal or an external 1663 ** pager. The valid sequences are listed in the $$index_format 1664 ** section. 1665 */ 1666 { "pager_index_lines",DT_NUM, R_PAGER, UL &PagerIndexLines, 0 }, 1667 /* 1668 ** .pp 1669 ** Determines the number of lines of a mini-index which is shown when in 1670 ** the pager. The current message, unless near the top or bottom of the 1671 ** folder, will be roughly one third of the way down this mini-index, 1672 ** giving the reader the context of a few messages before and after the 1673 ** message. This is useful, for example, to determine how many messages 1674 ** remain to be read in the current thread. One of the lines is reserved 1675 ** for the status bar from the index, so a setting of 6 1676 ** will only show 5 lines of the actual index. A value of 0 results in 1677 ** no index being shown. If the number of messages in the current folder 1678 ** is less than $$pager_index_lines, then the index will only use as 1679 ** many lines as it needs. 1680 */ 1681 { "pager_stop", DT_BOOL, R_NONE, OPTPAGERSTOP, 0 }, 1682 /* 1683 ** .pp 1684 ** When \fIset\fP, the internal-pager will \fBnot\fP move to the next message 1685 ** when you are at the end of a message and invoke the \fC<next-page>\fP 1686 ** function. 1687 */ 1688 { "pgp_auto_decode", DT_BOOL, R_NONE, OPTPGPAUTODEC, 0 }, 1689 /* 1690 ** .pp 1691 ** If \fIset\fP, mutt will automatically attempt to decrypt traditional PGP 1692 ** messages whenever the user performs an operation which ordinarily would 1693 ** result in the contents of the message being operated on. For example, 1694 ** if the user displays a pgp-traditional message which has not been manually 1695 ** checked with the \fC$<check-traditional-pgp>\fP function, mutt will automatically 1696 ** check the message for traditional pgp. 1697 */ 1698 { "pgp_create_traditional", DT_SYN, R_NONE, UL "pgp_autoinline", 0 }, 1699 { "pgp_autoinline", DT_BOOL, R_NONE, OPTPGPAUTOINLINE, 0 }, 1700 /* 1701 ** .pp 1702 ** This option controls whether Mutt generates old-style inline 1703 ** (traditional) PGP encrypted or signed messages under certain 1704 ** circumstances. This can be overridden by use of the pgp menu, 1705 ** when inline is not required. 1706 ** .pp 1707 ** Note that Mutt might automatically use PGP/MIME for messages 1708 ** which consist of more than a single MIME part. Mutt can be 1709 ** configured to ask before sending PGP/MIME messages when inline 1710 ** (traditional) would not work. 1711 ** .pp 1712 ** Also see the $$pgp_mime_auto variable. 1713 ** .pp 1714 ** Also note that using the old-style PGP message format is \fBstrongly\fP 1715 ** \fBdeprecated\fP. 1716 ** (PGP only) 1717 */ 1718 { "pgp_check_exit", DT_BOOL, R_NONE, OPTPGPCHECKEXIT, 1 }, 1719 /* 1720 ** .pp 1721 ** If \fIset\fP, mutt will check the exit code of the PGP subprocess when 1722 ** signing or encrypting. A non-zero exit code means that the 1723 ** subprocess failed. 1724 ** (PGP only) 1725 */ 1726 { "pgp_clearsign_command", DT_STR, R_NONE, UL &PgpClearSignCommand, 0 }, 1727 /* 1728 ** .pp 1729 ** This format is used to create an old-style ``clearsigned'' PGP 1730 ** message. Note that the use of this format is \fBstrongly\fP 1731 ** \fBdeprecated\fP. 1732 ** .pp 1733 ** This is a format string, see the $$pgp_decode_command command for 1734 ** possible \fCprintf(3)\fP-like sequences. 1735 ** (PGP only) 1736 */ 1737 { "pgp_decode_command", DT_STR, R_NONE, UL &PgpDecodeCommand, 0}, 1738 /* 1739 ** .pp 1740 ** This format strings specifies a command which is used to decode 1741 ** application/pgp attachments. 1742 ** .pp 1743 ** The PGP command formats have their own set of \fCprintf(3)\fP-like sequences: 1744 ** .dl 1745 ** .dt %p .dd Expands to PGPPASSFD=0 when a pass phrase is needed, to an empty 1746 ** string otherwise. Note: This may be used with a %? construct. 1747 ** .dt %f .dd Expands to the name of a file containing a message. 1748 ** .dt %s .dd Expands to the name of a file containing the signature part 1749 ** . of a \fCmultipart/signed\fP attachment when verifying it. 1750 ** .dt %a .dd The value of $$pgp_sign_as. 1751 ** .dt %r .dd One or more key IDs. 1752 ** .de 1753 ** .pp 1754 ** For examples on how to configure these formats for the various versions 1755 ** of PGP which are floating around, see the pgp and gpg sample configuration files in 1756 ** the \fCsamples/\fP subdirectory which has been installed on your system 1757 ** alongside the documentation. 1758 ** (PGP only) 1759 */ 1760 { "pgp_decrypt_command", DT_STR, R_NONE, UL &PgpDecryptCommand, 0}, 1761 /* 1762 ** .pp 1763 ** This command is used to decrypt a PGP encrypted message. 1764 ** .pp 1765 ** This is a format string, see the $$pgp_decode_command command for 1766 ** possible \fCprintf(3)\fP-like sequences. 1767 ** (PGP only) 1768 */ 1769 { "pgp_encrypt_only_command", DT_STR, R_NONE, UL &PgpEncryptOnlyCommand, 0}, 1770 /* 1771 ** .pp 1772 ** This command is used to encrypt a body part without signing it. 1773 ** .pp 1774 ** This is a format string, see the $$pgp_decode_command command for 1775 ** possible \fCprintf(3)\fP-like sequences. 1776 ** (PGP only) 1777 */ 1778 { "pgp_encrypt_sign_command", DT_STR, R_NONE, UL &PgpEncryptSignCommand, 0}, 1779 /* 1780 ** .pp 1781 ** This command is used to both sign and encrypt a body part. 1782 ** .pp 1783 ** This is a format string, see the $$pgp_decode_command command for 1784 ** possible \fCprintf(3)\fP-like sequences. 1785 ** (PGP only) 1786 */ 1787 { "pgp_entry_format", DT_STR, R_NONE, UL &PgpEntryFormat, UL "%4n %t%f %4l/0x%k %-4a %2c %u" }, 1788 /* 1789 ** .pp 1790 ** This variable allows you to customize the PGP key selection menu to 1791 ** your personal taste. This string is similar to $$index_format, but 1792 ** has its own set of \fCprintf(3)\fP-like sequences: 1793 ** .dl 1794 ** .dt %n .dd number 1795 ** .dt %k .dd key id 1796 ** .dt %u .dd user id 1797 ** .dt %a .dd algorithm 1798 ** .dt %l .dd key length 1799 ** .dt %f .dd flags 1800 ** .dt %c .dd capabilities 1801 ** .dt %t .dd trust/validity of the key-uid association 1802 ** .dt %[<s>] .dd date of the key where <s> is an \fCstrftime(3)\fP expression 1803 ** .de 1804 ** .pp 1805 ** (PGP only) 1806 */ 1807 { "pgp_export_command", DT_STR, R_NONE, UL &PgpExportCommand, 0}, 1808 /* 1809 ** .pp 1810 ** This command is used to export a public key from the user's 1811 ** key ring. 1812 ** .pp 1813 ** This is a format string, see the $$pgp_decode_command command for 1814 ** possible \fCprintf(3)\fP-like sequences. 1815 ** (PGP only) 1816 */ 1817 { "pgp_getkeys_command", DT_STR, R_NONE, UL &PgpGetkeysCommand, 0}, 1818 /* 1819 ** .pp 1820 ** This command is invoked whenever mutt will need public key information. 1821 ** Of the sequences supported by $$pgp_decode_command, %r is the only 1822 ** \fCprintf(3)\fP-like sequence used with this format. 1823 ** (PGP only) 1824 */ 1825 { "pgp_good_sign", DT_RX, R_NONE, UL &PgpGoodSign, 0 }, 1826 /* 1827 ** .pp 1828 ** If you assign a text to this variable, then a PGP signature is only 1829 ** considered verified if the output from $$pgp_verify_command contains 1830 ** the text. Use this variable if the exit code from the command is 0 1831 ** even for bad signatures. 1832 ** (PGP only) 1833 */ 1834 { "pgp_ignore_subkeys", DT_BOOL, R_NONE, OPTPGPIGNORESUB, 1}, 1835 /* 1836 ** .pp 1837 ** Setting this variable will cause Mutt to ignore OpenPGP subkeys. Instead, 1838 ** the principal key will inherit the subkeys' capabilities. \fIUnset\fP this 1839 ** if you want to play interesting key selection games. 1840 ** (PGP only) 1841 */ 1842 { "pgp_import_command", DT_STR, R_NONE, UL &PgpImportCommand, 0}, 1843 /* 1844 ** .pp 1845 ** This command is used to import a key from a message into 1846 ** the user's public key ring. 1847 ** .pp 1848 ** This is a format string, see the $$pgp_decode_command command for 1849 ** possible \fCprintf(3)\fP-like sequences. 1850 ** (PGP only) 1851 */ 1852 { "pgp_list_pubring_command", DT_STR, R_NONE, UL &PgpListPubringCommand, 0}, 1853 /* 1854 ** .pp 1855 ** This command is used to list the public key ring's contents. The 1856 ** output format must be analogous to the one used by 1857 ** .ts 1858 ** gpg --list-keys --with-colons. 1859 ** .te 1860 ** .pp 1861 ** This format is also generated by the \fCpgpring\fP utility which comes 1862 ** with mutt. 1863 ** .pp 1864 ** This is a format string, see the $$pgp_decode_command command for 1865 ** possible \fCprintf(3)\fP-like sequences. 1866 ** (PGP only) 1867 */ 1868 { "pgp_list_secring_command", DT_STR, R_NONE, UL &PgpListSecringCommand, 0}, 1869 /* 1870 ** .pp 1871 ** This command is used to list the secret key ring's contents. The 1872 ** output format must be analogous to the one used by: 1873 ** .ts 1874 ** gpg --list-keys --with-colons. 1875 ** .te 1876 ** .pp 1877 ** This format is also generated by the \fCpgpring\fP utility which comes 1878 ** with mutt. 1879 ** .pp 1880 ** This is a format string, see the $$pgp_decode_command command for 1881 ** possible \fCprintf(3)\fP-like sequences. 1882 ** (PGP only) 1883 */ 1884 { "pgp_long_ids", DT_BOOL, R_NONE, OPTPGPLONGIDS, 0 }, 1885 /* 1886 ** .pp 1887 ** If \fIset\fP, use 64 bit PGP key IDs, if \fIunset\fP use the normal 32 bit key IDs. 1888 ** (PGP only) 1889 */ 1890 { "pgp_mime_auto", DT_QUAD, R_NONE, OPT_PGPMIMEAUTO, M_ASKYES }, 1891 /* 1892 ** .pp 1893 ** This option controls whether Mutt will prompt you for 1894 ** automatically sending a (signed/encrypted) message using 1895 ** PGP/MIME when inline (traditional) fails (for any reason). 1896 ** .pp 1897 ** Also note that using the old-style PGP message format is \fBstrongly\fP 1898 ** \fBdeprecated\fP. 1899 ** (PGP only) 1900 */ 1901 { "pgp_auto_traditional", DT_SYN, R_NONE, UL "pgp_replyinline", 0 }, 1902 { "pgp_replyinline", DT_BOOL, R_NONE, OPTPGPREPLYINLINE, 0 }, 1903 /* 1904 ** .pp 1905 ** Setting this variable will cause Mutt to always attempt to 1906 ** create an inline (traditional) message when replying to a 1907 ** message which is PGP encrypted/signed inline. This can be 1908 ** overridden by use of the pgp menu, when inline is not 1909 ** required. This option does not automatically detect if the 1910 ** (replied-to) message is inline; instead it relies on Mutt 1911 ** internals for previously checked/flagged messages. 1912 ** .pp 1913 ** Note that Mutt might automatically use PGP/MIME for messages 1914 ** which consist of more than a single MIME part. Mutt can be 1915 ** configured to ask before sending PGP/MIME messages when inline 1916 ** (traditional) would not work. 1917 ** .pp 1918 ** Also see the $$pgp_mime_auto variable. 1919 ** .pp 1920 ** Also note that using the old-style PGP message format is \fBstrongly\fP 1921 ** \fBdeprecated\fP. 1922 ** (PGP only) 1923 ** 1924 */ 1925 { "pgp_retainable_sigs", DT_BOOL, R_NONE, OPTPGPRETAINABLESIG, 0 }, 1926 /* 1927 ** .pp 1928 ** If \fIset\fP, signed and encrypted messages will consist of nested 1929 ** \fCmultipart/signed\fP and \fCmultipart/encrypted\fP body parts. 1930 ** .pp 1931 ** This is useful for applications like encrypted and signed mailing 1932 ** lists, where the outer layer (\fCmultipart/encrypted\fP) can be easily 1933 ** removed, while the inner \fCmultipart/signed\fP part is retained. 1934 ** (PGP only) 1935 */ 1936 { "pgp_show_unusable", DT_BOOL, R_NONE, OPTPGPSHOWUNUSABLE, 1 }, 1937 /* 1938 ** .pp 1939 ** If \fIset\fP, mutt will display non-usable keys on the PGP key selection 1940 ** menu. This includes keys which have been revoked, have expired, or 1941 ** have been marked as ``disabled'' by the user. 1942 ** (PGP only) 1943 */ 1944 { "pgp_sign_as", DT_STR, R_NONE, UL &PgpSignAs, 0 }, 1945 /* 1946 ** .pp 1947 ** If you have more than one key pair, this option allows you to specify 1948 ** which of your private keys to use. It is recommended that you use the 1949 ** keyid form to specify your key (e.g. \fC0x00112233\fP). 1950 ** (PGP only) 1951 */ 1952 { "pgp_sign_command", DT_STR, R_NONE, UL &PgpSignCommand, 0}, 1953 /* 1954 ** .pp 1955 ** This command is used to create the detached PGP signature for a 1956 ** \fCmultipart/signed\fP PGP/MIME body part. 1957 ** .pp 1958 ** This is a format string, see the $$pgp_decode_command command for 1959 ** possible \fCprintf(3)\fP-like sequences. 1960 ** (PGP only) 1961 */ 1962 { "pgp_sort_keys", DT_SORT|DT_SORT_KEYS, R_NONE, UL &PgpSortKeys, SORT_ADDRESS }, 1963 /* 1964 ** .pp 1965 ** Specifies how the entries in the pgp menu are sorted. The 1966 ** following are legal values: 1967 ** .dl 1968 ** .dt address .dd sort alphabetically by user id 1969 ** .dt keyid .dd sort alphabetically by key id 1970 ** .dt date .dd sort by key creation date 1971 ** .dt trust .dd sort by the trust of the key 1972 ** .de 1973 ** .pp 1974 ** If you prefer reverse order of the above values, prefix it with 1975 ** ``reverse-''. 1976 ** (PGP only) 1977 */ 1978 { "pgp_strict_enc", DT_BOOL, R_NONE, OPTPGPSTRICTENC, 1 }, 1979 /* 1980 ** .pp 1981 ** If \fIset\fP, Mutt will automatically encode PGP/MIME signed messages as 1982 ** quoted-printable. Please note that unsetting this variable may 1983 ** lead to problems with non-verifyable PGP signatures, so only change 1984 ** this if you know what you are doing. 1985 ** (PGP only) 1986 */ 1987 { "pgp_timeout", DT_NUM, R_NONE, UL &PgpTimeout, 300 }, 1988 /* 1989 ** .pp 1990 ** The number of seconds after which a cached passphrase will expire if 1991 ** not used. 1992 ** (PGP only) 1993 */ 1994 { "pgp_use_gpg_agent", DT_BOOL, R_NONE, OPTUSEGPGAGENT, 0}, 1995 /* 1996 ** .pp 1997 ** If \fIset\fP, mutt will use a possibly-running \fCgpg-agent(1)\fP process. 1998 ** (PGP only) 1999 */ 2000 { "pgp_verify_command", DT_STR, R_NONE, UL &PgpVerifyCommand, 0}, 2001 /* 2002 ** .pp 2003 ** This command is used to verify PGP signatures. 2004 ** .pp 2005 ** This is a format string, see the $$pgp_decode_command command for 2006 ** possible \fCprintf(3)\fP-like sequences. 2007 ** (PGP only) 2008 */ 2009 { "pgp_verify_key_command", DT_STR, R_NONE, UL &PgpVerifyKeyCommand, 0}, 2010 /* 2011 ** .pp 2012 ** This command is used to verify key information from the key selection 2013 ** menu. 2014 ** .pp 2015 ** This is a format string, see the $$pgp_decode_command command for 2016 ** possible \fCprintf(3)\fP-like sequences. 2017 ** (PGP only) 2018 */ 2019 { "pipe_decode", DT_BOOL, R_NONE, OPTPIPEDECODE, 0 }, 2020 /* 2021 ** .pp 2022 ** Used in connection with the \fC<pipe-message>\fP command. When \fIunset\fP, 2023 ** Mutt will pipe the messages without any preprocessing. When \fIset\fP, Mutt 2024 ** will weed headers and will attempt to decode the messages 2025 ** first. 2026 */ 2027 { "pipe_sep", DT_STR, R_NONE, UL &PipeSep, UL "\n" }, 2028 /* 2029 ** .pp 2030 ** The separator to add between messages when piping a list of tagged 2031 ** messages to an external Unix command. 2032 */ 2033 { "pipe_split", DT_BOOL, R_NONE, OPTPIPESPLIT, 0 }, 2034 /* 2035 ** .pp 2036 ** Used in connection with the \fC<pipe-message>\fP function following 2037 ** \fC<tag-prefix>\fP. If this variable is \fIunset\fP, when piping a list of 2038 ** tagged messages Mutt will concatenate the messages and will pipe them 2039 ** all concatenated. When \fIset\fP, Mutt will pipe the messages one by one. 2040 ** In both cases the messages are piped in the current sorted order, 2041 ** and the $$pipe_sep separator is added after each message. 2042 */ 2043 #ifdef USE_POP 2044 { "pop_auth_try_all", DT_BOOL, R_NONE, OPTPOPAUTHTRYALL, 1 }, 2045 /* 2046 ** .pp 2047 ** If \fIset\fP, Mutt will try all available authentication methods. 2048 ** When \fIunset\fP, Mutt will only fall back to other authentication 2049 ** methods if the previous methods are unavailable. If a method is 2050 ** available but authentication fails, Mutt will not connect to the POP server. 2051 */ 2052 { "pop_authenticators", DT_STR, R_NONE, UL &PopAuthenticators, UL 0 }, 2053 /* 2054 ** .pp 2055 ** This is a colon-delimited list of authentication methods mutt may 2056 ** attempt to use to log in to an POP server, in the order mutt should 2057 ** try them. Authentication methods are either ``user'', ``apop'' or any 2058 ** SASL mechanism, e.g. ``digest-md5'', ``gssapi'' or ``cram-md5''. 2059 ** This option is case-insensitive. If this option is \fIunset\fP 2060 ** (the default) mutt will try all available methods, in order from 2061 ** most-secure to least-secure. 2062 ** .pp 2063 ** Example: 2064 ** .ts 2065 ** set pop_authenticators="digest-md5:apop:user" 2066 ** .te 2067 */ 2068 { "pop_checkinterval", DT_NUM, R_NONE, UL &PopCheckTimeout, 60 }, 2069 /* 2070 ** .pp 2071 ** This variable configures how often (in seconds) mutt should look for 2072 ** new mail in the currently selected mailbox if it is a POP mailbox. 2073 */ 2074 { "pop_delete", DT_QUAD, R_NONE, OPT_POPDELETE, M_ASKNO }, 2075 /* 2076 ** .pp 2077 ** If \fIset\fP, Mutt will delete successfully downloaded messages from the POP 2078 ** server when using the \fC$<fetch-mail>\fP function. When \fIunset\fP, Mutt will 2079 ** download messages but also leave them on the POP server. 2080 */ 2081 { "pop_host", DT_STR, R_NONE, UL &PopHost, UL "" }, 2082 /* 2083 ** .pp 2084 ** The name of your POP server for the \fC$<fetch-mail>\fP function. You 2085 ** can also specify an alternative port, username and password, i.e.: 2086 ** .ts 2087 ** [pop[s]://][username[:password]@]popserver[:port] 2088 ** .te 2089 ** .pp 2090 ** where ``[...]'' denotes an optional part. 2091 */ 2092 { "pop_last", DT_BOOL, R_NONE, OPTPOPLAST, 0 }, 2093 /* 2094 ** .pp 2095 ** If this variable is \fIset\fP, mutt will try to use the ``\fCLAST\fP'' POP command 2096 ** for retrieving only unread messages from the POP server when using 2097 ** the \fC$<fetch-mail>\fP function. 2098 */ 2099 { "pop_pass", DT_STR, R_NONE, UL &PopPass, UL "" }, 2100 /* 2101 ** .pp 2102 ** Specifies the password for your POP account. If \fIunset\fP, Mutt will 2103 ** prompt you for your password when you open a POP mailbox. 2104 ** .pp 2105 ** \fBWarning\fP: you should only use this option when you are on a 2106 ** fairly secure machine, because the superuser can read your muttrc 2107 ** even if you are the only one who can read the file. 2108 */ 2109 { "pop_reconnect", DT_QUAD, R_NONE, OPT_POPRECONNECT, M_ASKYES }, 2110 /* 2111 ** .pp 2112 ** Controls whether or not Mutt will try to reconnect to the POP server if 2113 ** the connection is lost. 2114 */ 2115 { "pop_user", DT_STR, R_NONE, UL &PopUser, 0 }, 2116 /* 2117 ** .pp 2118 ** Your login name on the POP server. 2119 ** .pp 2120 ** This variable defaults to your user name on the local machine. 2121 */ 2122 #endif /* USE_POP */ 2123 { "post_indent_string",DT_STR, R_NONE, UL &PostIndentString, UL "" }, 2124 /* 2125 ** .pp 2126 ** Similar to the $$attribution variable, Mutt will append this 2127 ** string after the inclusion of a message which is being replied to. 2128 */ 2129 { "post_indent_str", DT_SYN, R_NONE, UL "post_indent_string", 0 }, 2130 /* 2131 */ 2132 { "postpone", DT_QUAD, R_NONE, OPT_POSTPONE, M_ASKYES }, 2133 /* 2134 ** .pp 2135 ** Controls whether or not messages are saved in the $$postponed 2136 ** mailbox when you elect not to send immediately. 2137 ** .pp 2138 ** Also see the $$recall variable. 2139 */ 2140 { "postponed", DT_PATH, R_INDEX, UL &Postponed, UL "~/postponed" }, 2141 /* 2142 ** .pp 2143 ** Mutt allows you to indefinitely ``$postpone sending a message'' which 2144 ** you are editing. When you choose to postpone a message, Mutt saves it 2145 ** in the mailbox specified by this variable. 2146 ** .pp 2147 ** Also see the $$postpone variable. 2148 */ 2149 #ifdef USE_SOCKET 2150 { "preconnect", DT_STR, R_NONE, UL &Preconnect, UL 0}, 2151 /* 2152 ** .pp 2153 ** If \fIset\fP, a shell command to be executed if mutt fails to establish 2154 ** a connection to the server. This is useful for setting up secure 2155 ** connections, e.g. with \fCssh(1)\fP. If the command returns a nonzero 2156 ** status, mutt gives up opening the server. Example: 2157 ** .ts 2158 ** set preconnect="ssh -f -q -L 1234:mailhost.net:143 mailhost.net \(rs 2159 ** sleep 20 < /dev/null > /dev/null" 2160 ** .te 2161 ** .pp 2162 ** Mailbox ``foo'' on ``mailhost.net'' can now be reached 2163 ** as ``{localhost:1234}foo''. 2164 ** .pp 2165 ** Note: For this example to work, you must be able to log in to the 2166 ** remote machine without having to enter a password. 2167 */ 2168 #endif /* USE_SOCKET */ 2169 { "print", DT_QUAD, R_NONE, OPT_PRINT, M_ASKNO }, 2170 /* 2171 ** .pp 2172 ** Controls whether or not Mutt really prints messages. 2173 ** This is set to ``ask-no'' by default, because some people 2174 ** accidentally hit ``p'' often. 2175 */ 2176 { "print_command", DT_PATH, R_NONE, UL &PrintCmd, UL "lpr" }, 2177 /* 2178 ** .pp 2179 ** This specifies the command pipe that should be used to print messages. 2180 */ 2181 { "print_cmd", DT_SYN, R_NONE, UL "print_command", 0 }, 2182 /* 2183 */ 2184 { "print_decode", DT_BOOL, R_NONE, OPTPRINTDECODE, 1 }, 2185 /* 2186 ** .pp 2187 ** Used in connection with the \fC<print-message>\fP command. If this 2188 ** option is \fIset\fP, the message is decoded before it is passed to the 2189 ** external command specified by $$print_command. If this option 2190 ** is \fIunset\fP, no processing will be applied to the message when 2191 ** printing it. The latter setting may be useful if you are using 2192 ** some advanced printer filter which is able to properly format 2193 ** e-mail messages for printing. 2194 */ 2195 { "print_split", DT_BOOL, R_NONE, OPTPRINTSPLIT, 0 }, 2196 /* 2197 ** .pp 2198 ** Used in connection with the \fC<print-message>\fP command. If this option 2199 ** is \fIset\fP, the command specified by $$print_command is executed once for 2200 ** each message which is to be printed. If this option is \fIunset\fP, 2201 ** the command specified by $$print_command is executed only once, and 2202 ** all the messages are concatenated, with a form feed as the message 2203 ** separator. 2204 ** .pp 2205 ** Those who use the \fCenscript\fP(1) program's mail-printing mode will 2206 ** most likely want to \fIset\fP this option. 2207 */ 2208 { "prompt_after", DT_BOOL, R_NONE, OPTPROMPTAFTER, 1 }, 2209 /* 2210 ** .pp 2211 ** If you use an \fIexternal\fP $$pager, setting this variable will 2212 ** cause Mutt to prompt you for a command when the pager exits rather 2213 ** than returning to the index menu. If \fIunset\fP, Mutt will return to the 2214 ** index menu when the external pager exits. 2215 */ 2216 { "query_command", DT_PATH, R_NONE, UL &QueryCmd, UL "" }, 2217 /* 2218 ** .pp 2219 ** This specifies the command Mutt will use to make external address 2220 ** queries. The string may contain a ``%s'', which will be substituted 2221 ** with the query string the user types. Mutt will add quotes around the 2222 ** string substituted for ``%s'' automatically according to shell quoting 2223 ** rules, so you should avoid adding your own. If no ``%s'' is found in 2224 ** the string, Mutt will append the user's query to the end of the string. 2225 ** See ``$query'' for more information. 2226 */ 2227 { "query_format", DT_STR, R_NONE, UL &QueryFormat, UL "%4c %t %-25.25a %-25.25n %?e?(%e)?" }, 2228 /* 2229 ** .pp 2230 ** This variable describes the format of the ``query'' menu. The 2231 ** following \fCprintf(3)\fP-style sequences are understood: 2232 ** .dl 2233 ** .dt %a .dd destination address 2234 ** .dt %c .dd current entry number 2235 ** .dt %e .dd extra information * 2236 ** .dt %n .dd destination name 2237 ** .dt %t .dd ``*'' if current entry is tagged, a space otherwise 2238 ** .dt %>X .dd right justify the rest of the string and pad with ``X'' 2239 ** .dt %|X .dd pad to the end of the line with ``X'' 2240 ** .dt %*X .dd soft-fill with character ``X'' as pad 2241 ** .de 2242 ** .pp 2243 ** For an explanation of ``soft-fill'', see the $$index_format documentation. 2244 ** .pp 2245 ** * = can be optionally printed if nonzero, see the $$status_format documentation. 2246 */ 2247 { "quit", DT_QUAD, R_NONE, OPT_QUIT, M_YES }, 2248 /* 2249 ** .pp 2250 ** This variable controls whether ``quit'' and ``exit'' actually quit 2251 ** from mutt. If this option is \fIset\fP, they do quit, if it is \fIunset\fP, they 2252 ** have no effect, and if it is set to \fIask-yes\fP or \fIask-no\fP, you are 2253 ** prompted for confirmation when you try to quit. 2254 */ 2255 { "quote_regexp", DT_RX, R_PAGER, UL &QuoteRegexp, UL "^([ \t]*[|>:}#])+" }, 2256 /* 2257 ** .pp 2258 ** A regular expression used in the internal pager to determine quoted 2259 ** sections of text in the body of a message. Quoted text may be filtered 2260 ** out using the \fC<toggle-quoted>\fP command, or colored according to the 2261 ** ``color quoted'' family of directives. 2262 ** .pp 2263 ** Higher levels of quoting may be colored differently (``color quoted1'', 2264 ** ``color quoted2'', etc.). The quoting level is determined by removing 2265 ** the last character from the matched text and recursively reapplying 2266 ** the regular expression until it fails to produce a match. 2267 ** .pp 2268 ** Match detection may be overridden by the $$smileys regular expression. 2269 */ 2270 { "read_inc", DT_NUM, R_NONE, UL &ReadInc, 10 }, 2271 /* 2272 ** .pp 2273 ** If set to a value greater than 0, Mutt will display which message it 2274 ** is currently on when reading a mailbox or when performing search actions 2275 ** such as search and limit. The message is printed after 2276 ** this many messages have been read or searched (e.g., if set to 25, Mutt will 2277 ** print a message when it is at message 25, and then again when it gets 2278 ** to message 50). This variable is meant to indicate progress when 2279 ** reading or searching large mailboxes which may take some time. 2280 ** When set to 0, only a single message will appear before the reading 2281 ** the mailbox. 2282 ** .pp 2283 ** Also see the $$write_inc, $$net_inc and $$time_inc variables and the 2284 ** ``$tuning'' section of the manual for performance considerations. 2285 */ 2286 { "read_only", DT_BOOL, R_NONE, OPTREADONLY, 0 }, 2287 /* 2288 ** .pp 2289 ** If \fIset\fP, all folders are opened in read-only mode. 2290 */ 2291 { "realname", DT_STR, R_BOTH, UL &Realname, 0 }, 2292 /* 2293 ** .pp 2294 ** This variable specifies what ``real'' or ``personal'' name should be used 2295 ** when sending messages. 2296 ** .pp 2297 ** By default, this is the GECOS field from \fC/etc/passwd\fP. Note that this 2298 ** variable will \fInot\fP be used when the user has set a real name 2299 ** in the $$from variable. 2300 */ 2301 { "recall", DT_QUAD, R_NONE, OPT_RECALL, M_ASKYES }, 2302 /* 2303 ** .pp 2304 ** Controls whether or not Mutt recalls postponed messages 2305 ** when composing a new message. 2306 ** .pp 2307 ** \fISetting\fP this variable to is not generally useful, and thus not 2308 ** recommended. 2309 ** .pp 2310 ** Also see $$postponed variable. 2311 */ 2312 { "record", DT_PATH, R_NONE, UL &Outbox, UL "~/sent" }, 2313 /* 2314 ** .pp 2315 ** This specifies the file into which your outgoing messages should be 2316 ** appended. (This is meant as the primary method for saving a copy of 2317 ** your messages, but another way to do this is using the ``$my_hdr'' 2318 ** command to create a ``Bcc:'' field with your email address in it.) 2319 ** .pp 2320 ** The value of \fI$$record\fP is overridden by the $$force_name and 2321 ** $$save_name variables, and the ``$fcc-hook'' command. 2322 */ 2323 { "reply_regexp", DT_RX, R_INDEX|R_RESORT, UL &ReplyRegexp, UL "^(re([\\[0-9\\]+])*|aw):[ \t]*" }, 2324 /* 2325 ** .pp 2326 ** A regular expression used to recognize reply messages when threading 2327 ** and replying. The default value corresponds to the English "Re:" and 2328 ** the German "Aw:". 2329 */ 2330 { "reply_self", DT_BOOL, R_NONE, OPTREPLYSELF, 0 }, 2331 /* 2332 ** .pp 2333 ** If \fIunset\fP and you are replying to a message sent by you, Mutt will 2334 ** assume that you want to reply to the recipients of that message rather 2335 ** than to yourself. 2336 ** .pp 2337 ** Also see the ``$alternates'' command. 2338 */ 2339 { "reply_to", DT_QUAD, R_NONE, OPT_REPLYTO, M_ASKYES }, 2340 /* 2341 ** .pp 2342 ** If \fIset\fP, when replying to a message, Mutt will use the address listed 2343 ** in the Reply-to: header as the recipient of the reply. If \fIunset\fP, 2344 ** it will use the address in the From: header field instead. This 2345 ** option is useful for reading a mailing list that sets the Reply-To: 2346 ** header field to the list address and you want to send a private 2347 ** message to the author of a message. 2348 */ 2349 { "resolve", DT_BOOL, R_NONE, OPTRESOLVE, 1 }, 2350 /* 2351 ** .pp 2352 ** When \fIset\fP, the cursor will be automatically advanced to the next 2353 ** (possibly undeleted) message whenever a command that modifies the 2354 ** current message is executed. 2355 */ 2356 { "reverse_alias", DT_BOOL, R_BOTH, OPTREVALIAS, 0 }, 2357 /* 2358 ** .pp 2359 ** This variable controls whether or not Mutt will display the ``personal'' 2360 ** name from your aliases in the index menu if it finds an alias that 2361 ** matches the message's sender. For example, if you have the following 2362 ** alias: 2363 ** .ts 2364 ** alias juser abd30425@somewhere.net (Joe User) 2365 ** .te 2366 ** .pp 2367 ** and then you receive mail which contains the following header: 2368 ** .ts 2369 ** From: abd30425@somewhere.net 2370 ** .te 2371 ** .pp 2372 ** It would be displayed in the index menu as ``Joe User'' instead of 2373 ** ``abd30425@somewhere.net.'' This is useful when the person's e-mail 2374 ** address is not human friendly. 2375 */ 2376 { "reverse_name", DT_BOOL, R_BOTH, OPTREVNAME, 0 }, 2377 /* 2378 ** .pp 2379 ** It may sometimes arrive that you receive mail to a certain machine, 2380 ** move the messages to another machine, and reply to some the messages 2381 ** from there. If this variable is \fIset\fP, the default \fIFrom:\fP line of 2382 ** the reply messages is built using the address where you received the 2383 ** messages you are replying to \fBif\fP that address matches your 2384 ** ``$alternates''. If the variable is \fIunset\fP, or the address that would be 2385 ** used doesn't match your ``$alternates'', the \fIFrom:\fP line will use 2386 ** your address on the current machine. 2387 ** .pp 2388 ** Also see the ``$alternates'' command. 2389 */ 2390 { "reverse_realname", DT_BOOL, R_BOTH, OPTREVREAL, 1 }, 2391 /* 2392 ** .pp 2393 ** This variable fine-tunes the behavior of the $$reverse_name feature. 2394 ** When it is \fIset\fP, mutt will use the address from incoming messages as-is, 2395 ** possibly including eventual real names. When it is \fIunset\fP, mutt will 2396 ** override any such real names with the setting of the $$realname variable. 2397 */ 2398 { "rfc2047_parameters", DT_BOOL, R_NONE, OPTRFC2047PARAMS, 0 }, 2399 /* 2400 ** .pp 2401 ** When this variable is \fIset\fP, Mutt will decode RFC2047-encoded MIME 2402 ** parameters. You want to set this variable when mutt suggests you 2403 ** to save attachments to files named like: 2404 ** .ts 2405 ** =?iso-8859-1?Q?file=5F=E4=5F991116=2Ezip?= 2406 ** .te 2407 ** .pp 2408 ** When this variable is \fIset\fP interactively, the change won't be 2409 ** active until you change folders. 2410 ** .pp 2411 ** Note that this use of RFC2047's encoding is explicitly 2412 ** prohibited by the standard, but nevertheless encountered in the 2413 ** wild. 2414 ** .pp 2415 ** Also note that setting this parameter will \fInot\fP have the effect 2416 ** that mutt \fIgenerates\fP this kind of encoding. Instead, mutt will 2417 ** unconditionally use the encoding specified in RFC2231. 2418 */ 2419 { "sanitize_ja_chars", DT_BOOL, R_NONE, OPTSANITIZEJACHARS, 0 }, 2420 /* 2421 ** .pp 2422 ** When set, Japanese "platform dependent characters" (illegal 2423 ** characters for iso-2022-jp charset; mainly used by MS-Windows 2424 ** mailers) are substituted to special character, GETA mark ('ESC $$ B " . 2425 ** ESC ( B' in iso-2022-jp), and JIS X 0201 kana characters 2426 ** (only for "ESC ) I" cases) are also substituted to "?" to 2427 ** prevent garbage characters. JIS X 0201 kana characters are 2428 ** not substituted if they appear in 8bit form. 2429 ** .pp 2430 ** This fixes another Japanese encoding issue. In case $$charset 2431 ** is set to "EUC-JP", which does not contain JIS X 0201 roman 2432 ** character set, the JIS X 0201 roman part of received messages 2433 ** encoded in iso-2022-jp can not be converted to EUC-JP. 2434 ** On the other hand, the ASCII part can not be converted to 2435 ** Shift_JIS, which does not contain ASCII character set. Thus, 2436 ** the converted characters are garbled in these cases. When this 2437 ** option is set, the JIS X 0201 roman escape sequence and the 2438 ** ASCII escape sequence are replaced appropriately to prevent 2439 ** the output from being garbled. 2440 */ 2441 { "save_address", DT_BOOL, R_NONE, OPTSAVEADDRESS, 0 }, 2442 /* 2443 ** .pp 2444 ** If \fIset\fP, mutt will take the sender's full address when choosing a 2445 ** default folder for saving a mail. If $$save_name or $$force_name 2446 ** is \fIset\fP too, the selection of the Fcc folder will be changed as well. 2447 */ 2448 { "save_empty", DT_BOOL, R_NONE, OPTSAVEEMPTY, 1 }, 2449 /* 2450 ** .pp 2451 ** When \fIunset\fP, mailboxes which contain no saved messages will be removed 2452 ** when closed (the exception is $$spoolfile which is never removed). 2453 ** If \fIset\fP, mailboxes are never removed. 2454 ** .pp 2455 ** \fBNote:\fP This only applies to mbox and MMDF folders, Mutt does not 2456 ** delete MH and Maildir directories. 2457 */ 2458 { "save_history", DT_NUM, R_NONE, UL &SaveHist, 0 }, 2459 /* 2460 ** .pp 2461 ** This variable controls the size of the history (per category) saved in the 2462 ** $$history_file file. 2463 */ 2464 { "save_name", DT_BOOL, R_NONE, OPTSAVENAME, 0 }, 2465 /* 2466 ** .pp 2467 ** This variable controls how copies of outgoing messages are saved. 2468 ** When \fIset\fP, a check is made to see if a mailbox specified by the 2469 ** recipient address exists (this is done by searching for a mailbox in 2470 ** the $$folder directory with the \fIusername\fP part of the 2471 ** recipient address). If the mailbox exists, the outgoing message will 2472 ** be saved to that mailbox, otherwise the message is saved to the 2473 ** $$record mailbox. 2474 ** .pp 2475 ** Also see the $$force_name variable. 2476 */ 2477 { "score", DT_BOOL, R_NONE, OPTSCORE, 1 }, 2478 /* 2479 ** .pp 2480 ** When this variable is \fIunset\fP, scoring is turned off. This can 2481 ** be useful to selectively disable scoring for certain folders when the 2482 ** $$score_threshold_delete variable and related are used. 2483 ** 2484 */ 2485 { "score_threshold_delete", DT_NUM, R_NONE, UL &ScoreThresholdDelete, UL -1 }, 2486 /* 2487 ** .pp 2488 ** Messages which have been assigned a score equal to or lower than the value 2489 ** of this variable are automatically marked for deletion by mutt. Since 2490 ** mutt scores are always greater than or equal to zero, the default setting 2491 ** of this variable will never mark a message for deletion. 2492 */ 2493 { "score_threshold_flag", DT_NUM, R_NONE, UL &ScoreThresholdFlag, 9999 }, 2494 /* 2495 ** .pp 2496 ** Messages which have been assigned a score greater than or equal to this 2497 ** variable's value are automatically marked "flagged". 2498 */ 2499 { "score_threshold_read", DT_NUM, R_NONE, UL &ScoreThresholdRead, UL -1 }, 2500 /* 2501 ** .pp 2502 ** Messages which have been assigned a score equal to or lower than the value 2503 ** of this variable are automatically marked as read by mutt. Since 2504 ** mutt scores are always greater than or equal to zero, the default setting 2505 ** of this variable will never mark a message read. 2506 */ 2507 { "search_context", DT_NUM, R_NONE, UL &SearchContext, UL 0 }, 2508 /* 2509 ** .pp 2510 ** For the pager, this variable specifies the number of lines shown 2511 ** before search results. By default, search results will be top-aligned. 2512 */ 2513 { "send_charset", DT_STR, R_NONE, UL &SendCharset, UL "us-ascii:iso-8859-1:utf-8" }, 2514 /* 2515 ** .pp 2516 ** A colon-delimited list of character sets for outgoing messages. Mutt will use the 2517 ** first character set into which the text can be converted exactly. 2518 ** If your $$charset is not ``iso-8859-1'' and recipients may not 2519 ** understand ``UTF-8'', it is advisable to include in the list an 2520 ** appropriate widely used standard character set (such as 2521 ** ``iso-8859-2'', ``koi8-r'' or ``iso-2022-jp'') either instead of or after 2522 ** ``iso-8859-1''. 2523 ** .pp 2524 ** In case the text cannot be converted into one of these exactly, 2525 ** mutt uses $$charset as a fallback. 2526 */ 2527 { "sendmail", DT_PATH, R_NONE, UL &Sendmail, UL SENDMAIL " -oem -oi" }, 2528 /* 2529 ** .pp 2530 ** Specifies the program and arguments used to deliver mail sent by Mutt. 2531 ** Mutt expects that the specified program interprets additional 2532 ** arguments as recipient addresses. 2533 */ 2534 { "sendmail_wait", DT_NUM, R_NONE, UL &SendmailWait, 0 }, 2535 /* 2536 ** .pp 2537 ** Specifies the number of seconds to wait for the $$sendmail process 2538 ** to finish before giving up and putting delivery in the background. 2539 ** .pp 2540 ** Mutt interprets the value of this variable as follows: 2541 ** .dl 2542 ** .dt >0 .dd number of seconds to wait for sendmail to finish before continuing 2543 ** .dt 0 .dd wait forever for sendmail to finish 2544 ** .dt <0 .dd always put sendmail in the background without waiting 2545 ** .de 2546 ** .pp 2547 ** Note that if you specify a value other than 0, the output of the child 2548 ** process will be put in a temporary file. If there is some error, you 2549 ** will be informed as to where to find the output. 2550 */ 2551 { "shell", DT_PATH, R_NONE, UL &Shell, 0 }, 2552 /* 2553 ** .pp 2554 ** Command to use when spawning a subshell. By default, the user's login 2555 ** shell from \fC/etc/passwd\fP is used. 2556 */ 2557 { "sig_dashes", DT_BOOL, R_NONE, OPTSIGDASHES, 1 }, 2558 /* 2559 ** .pp 2560 ** If \fIset\fP, a line containing ``-- '' (note the trailing space) will be inserted before your 2561 ** $$signature. It is \fBstrongly\fP recommended that you not \fIunset\fP 2562 ** this variable unless your signature contains just your name. The 2563 ** reason for this is because many software packages use ``-- \n'' to 2564 ** detect your signature. For example, Mutt has the ability to highlight 2565 ** the signature in a different color in the built-in pager. 2566 */ 2567 { "sig_on_top", DT_BOOL, R_NONE, OPTSIGONTOP, 0}, 2568 /* 2569 ** .pp 2570 ** If \fIset\fP, the signature will be included before any quoted or forwarded 2571 ** text. It is \fBstrongly\fP recommended that you do not set this variable 2572 ** unless you really know what you are doing, and are prepared to take 2573 ** some heat from netiquette guardians. 2574 */ 2575 { "signature", DT_PATH, R_NONE, UL &Signature, UL "~/.signature" }, 2576 /* 2577 ** .pp 2578 ** Specifies the filename of your signature, which is appended to all 2579 ** outgoing messages. If the filename ends with a pipe (``|''), it is 2580 ** assumed that filename is a shell command and input should be read from 2581 ** its standard output. 2582 */ 2583 { "simple_search", DT_STR, R_NONE, UL &SimpleSearch, UL "~f %s | ~s %s" }, 2584 /* 2585 ** .pp 2586 ** Specifies how Mutt should expand a simple search into a real search 2587 ** pattern. A simple search is one that does not contain any of the ``~'' pattern 2588 ** operators. See ``$patterns'' for more information on search patterns. 2589 ** .pp 2590 ** For example, if you simply type ``joe'' at a search or limit prompt, Mutt 2591 ** will automatically expand it to the value specified by this variable by 2592 ** replacing ``%s'' with the supplied string. 2593 ** For the default value, ``joe'' would be expanded to: ``~f joe | ~s joe''. 2594 */ 2595 { "sleep_time", DT_NUM, R_NONE, UL &SleepTime, 1 }, 2596 /* 2597 ** .pp 2598 ** Specifies time, in seconds, to pause while displaying certain informational 2599 ** messages, while moving from folder to folder and after expunging 2600 ** messages from the current folder. The default is to pause one second, so 2601 ** a value of zero for this option suppresses the pause. 2602 */ 2603 { "smart_wrap", DT_BOOL, R_PAGER, OPTWRAP, 1 }, 2604 /* 2605 ** .pp 2606 ** Controls the display of lines longer than the screen width in the 2607 ** internal pager. If \fIset\fP, long lines are wrapped at a word boundary. If 2608 ** \fIunset\fP, lines are simply wrapped at the screen edge. Also see the 2609 ** $$markers variable. 2610 */ 2611 { "smileys", DT_RX, R_PAGER, UL &Smileys, UL "(>From )|(:[-^]?[][)(><}{|/DP])" }, 2612 /* 2613 ** .pp 2614 ** The \fIpager\fP uses this variable to catch some common false 2615 ** positives of $$quote_regexp, most notably smileys and not consider 2616 ** a line quoted text if it also matches $$smileys. This mostly 2617 ** happens at the beginning of a line. 2618 */ 2619 2620 2621 2622 { "smime_ask_cert_label", DT_BOOL, R_NONE, OPTASKCERTLABEL, 1 }, 2623 /* 2624 ** .pp 2625 ** This flag controls whether you want to be asked to enter a label 2626 ** for a certificate about to be added to the database or not. It is 2627 ** \fIset\fP by default. 2628 ** (S/MIME only) 2629 */ 2630 { "smime_ca_location", DT_PATH, R_NONE, UL &SmimeCALocation, 0 }, 2631 /* 2632 ** .pp 2633 ** This variable contains the name of either a directory, or a file which 2634 ** contains trusted certificates for use with OpenSSL. 2635 ** (S/MIME only) 2636 */ 2637 { "smime_certificates", DT_PATH, R_NONE, UL &SmimeCertificates, 0 }, 2638 /* 2639 ** .pp 2640 ** Since for S/MIME there is no pubring/secring as with PGP, mutt has to handle 2641 ** storage and retrieval of keys by itself. This is very basic right 2642 ** now, and keys and certificates are stored in two different 2643 ** directories, both named as the hash-value retrieved from 2644 ** OpenSSL. There is an index file which contains mailbox-address 2645 ** keyid pairs, and which can be manually edited. This option points to 2646 ** the location of the certificates. 2647 ** (S/MIME only) 2648 */ 2649 { "smime_decrypt_command", DT_STR, R_NONE, UL &SmimeDecryptCommand, 0}, 2650 /* 2651 ** .pp 2652 ** This format string specifies a command which is used to decrypt 2653 ** \fCapplication/x-pkcs7-mime\fP attachments. 2654 ** .pp 2655 ** The OpenSSL command formats have their own set of \fCprintf(3)\fP-like sequences 2656 ** similar to PGP's: 2657 ** .dl 2658 ** .dt %f .dd Expands to the name of a file containing a message. 2659 ** .dt %s .dd Expands to the name of a file containing the signature part 2660 ** . of a \fCmultipart/signed\fP attachment when verifying it. 2661 ** .dt %k .dd The key-pair specified with $$smime_default_key 2662 ** .dt %c .dd One or more certificate IDs. 2663 ** .dt %a .dd The algorithm used for encryption. 2664 ** .dt %C .dd CA location: Depending on whether $$smime_ca_location 2665 ** . points to a directory or file, this expands to 2666 ** . ``-CApath $$smime_ca_location'' or ``-CAfile $$smime_ca_location''. 2667 ** .de 2668 ** .pp 2669 ** For examples on how to configure these formats, see the \fCsmime.rc\fP in 2670 ** the \fCsamples/\fP subdirectory which has been installed on your system 2671 ** alongside the documentation. 2672 ** (S/MIME only) 2673 */ 2674 { "smime_decrypt_use_default_key", DT_BOOL, R_NONE, OPTSDEFAULTDECRYPTKEY, 1 }, 2675 /* 2676 ** .pp 2677 ** If \fIset\fP (default) this tells mutt to use the default key for decryption. Otherwise, 2678 ** if managing multiple certificate-key-pairs, mutt will try to use the mailbox-address 2679 ** to determine the key to use. It will ask you to supply a key, if it can't find one. 2680 ** (S/MIME only) 2681 */ 2682 { "smime_sign_as", DT_SYN, R_NONE, UL "smime_default_key", 0 }, 2683 { "smime_default_key", DT_STR, R_NONE, UL &SmimeDefaultKey, 0 }, 2684 /* 2685 ** .pp 2686 ** This is the default key-pair to use for signing. This must be set to the 2687 ** keyid (the hash-value that OpenSSL generates) to work properly 2688 ** (S/MIME only) 2689 */ 2690 { "smime_encrypt_command", DT_STR, R_NONE, UL &SmimeEncryptCommand, 0}, 2691 /* 2692 ** .pp 2693 ** This command is used to create encrypted S/MIME messages. 2694 ** .pp 2695 ** This is a format string, see the $$smime_decrypt_command command for 2696 ** possible \fCprintf(3)\fP-like sequences. 2697 ** (S/MIME only) 2698 */ 2699 { "smime_encrypt_with", DT_STR, R_NONE, UL &SmimeCryptAlg, 0 }, 2700 /* 2701 ** .pp 2702 ** This sets the algorithm that should be used for encryption. 2703 ** Valid choices are ``des'', ``des3'', ``rc2-40'', ``rc2-64'', ``rc2-128''. 2704 ** If \fIunset\fP, ``3des'' (TripleDES) is used. 2705 ** (S/MIME only) 2706 */ 2707 { "smime_get_cert_command", DT_STR, R_NONE, UL &SmimeGetCertCommand, 0}, 2708 /* 2709 ** .pp 2710 ** This command is used to extract X509 certificates from a PKCS7 structure. 2711 ** .pp 2712 ** This is a format string, see the $$smime_decrypt_command command for 2713 ** possible \fCprintf(3)\fP-like sequences. 2714 ** (S/MIME only) 2715 */ 2716 { "smime_get_cert_email_command", DT_STR, R_NONE, UL &SmimeGetCertEmailCommand, 0}, 2717 /* 2718 ** .pp 2719 ** This command is used to extract the mail address(es) used for storing 2720 ** X509 certificates, and for verification purposes (to check whether the 2721 ** certificate was issued for the sender's mailbox). 2722 ** .pp 2723 ** This is a format string, see the $$smime_decrypt_command command for 2724 ** possible \fCprintf(3)\fP-like sequences. 2725 ** (S/MIME only) 2726 */ 2727 { "smime_get_signer_cert_command", DT_STR, R_NONE, UL &SmimeGetSignerCertCommand, 0}, 2728 /* 2729 ** .pp 2730 ** This command is used to extract only the signers X509 certificate from a S/MIME 2731 ** signature, so that the certificate's owner may get compared to the 2732 ** email's ``From:'' field. 2733 ** .pp 2734 ** This is a format string, see the $$smime_decrypt_command command for 2735 ** possible \fCprintf(3)\fP-like sequences. 2736 ** (S/MIME only) 2737 */ 2738 { "smime_import_cert_command", DT_STR, R_NONE, UL &SmimeImportCertCommand, 0}, 2739 /* 2740 ** .pp 2741 ** This command is used to import a certificate via smime_keys. 2742 ** .pp 2743 ** This is a format string, see the $$smime_decrypt_command command for 2744 ** possible \fCprintf(3)\fP-like sequences. 2745 ** (S/MIME only) 2746 */ 2747 { "smime_is_default", DT_BOOL, R_NONE, OPTSMIMEISDEFAULT, 0}, 2748 /* 2749 ** .pp 2750 ** The default behavior of mutt is to use PGP on all auto-sign/encryption 2751 ** operations. To override and to use OpenSSL instead this must be \fIset\fP. 2752 ** However, this has no effect while replying, since mutt will automatically 2753 ** select the same application that was used to sign/encrypt the original 2754 ** message. (Note that this variable can be overridden by unsetting $$crypt_autosmime.) 2755 ** (S/MIME only) 2756 */ 2757 { "smime_keys", DT_PATH, R_NONE, UL &SmimeKeys, 0 }, 2758 /* 2759 ** .pp 2760 ** Since for S/MIME there is no pubring/secring as with PGP, mutt has to handle 2761 ** storage and retrieval of keys/certs by itself. This is very basic right now, 2762 ** and stores keys and certificates in two different directories, both 2763 ** named as the hash-value retrieved from OpenSSL. There is an index file 2764 ** which contains mailbox-address keyid pair, and which can be manually 2765 ** edited. This option points to the location of the private keys. 2766 ** (S/MIME only) 2767 */ 2768 { "smime_pk7out_command", DT_STR, R_NONE, UL &SmimePk7outCommand, 0}, 2769 /* 2770 ** .pp 2771 ** This command is used to extract PKCS7 structures of S/MIME signatures, 2772 ** in order to extract the public X509 certificate(s). 2773 ** .pp 2774 ** This is a format string, see the $$smime_decrypt_command command for 2775 ** possible \fCprintf(3)\fP-like sequences. 2776 ** (S/MIME only) 2777 */ 2778 { "smime_sign_command", DT_STR, R_NONE, UL &SmimeSignCommand, 0}, 2779 /* 2780 ** .pp 2781 ** This command is used to created S/MIME signatures of type 2782 ** \fCmultipart/signed\fP, which can be read by all mail clients. 2783 ** .pp 2784 ** This is a format string, see the $$smime_decrypt_command command for 2785 ** possible \fCprintf(3)\fP-like sequences. 2786 ** (S/MIME only) 2787 */ 2788 { "smime_sign_opaque_command", DT_STR, R_NONE, UL &SmimeSignOpaqueCommand, 0}, 2789 /* 2790 ** .pp 2791 ** This command is used to created S/MIME signatures of type 2792 ** \fCapplication/x-pkcs7-signature\fP, which can only be handled by mail 2793 ** clients supporting the S/MIME extension. 2794 ** .pp 2795 ** This is a format string, see the $$smime_decrypt_command command for 2796 ** possible \fCprintf(3)\fP-like sequences. 2797 ** (S/MIME only) 2798 */ 2799 { "smime_timeout", DT_NUM, R_NONE, UL &SmimeTimeout, 300 }, 2800 /* 2801 ** .pp 2802 ** The number of seconds after which a cached passphrase will expire if 2803 ** not used. 2804 ** (S/MIME only) 2805 */ 2806 { "smime_verify_command", DT_STR, R_NONE, UL &SmimeVerifyCommand, 0}, 2807 /* 2808 ** .pp 2809 ** This command is used to verify S/MIME signatures of type \fCmultipart/signed\fP. 2810 ** .pp 2811 ** This is a format string, see the $$smime_decrypt_command command for 2812 ** possible \fCprintf(3)\fP-like sequences. 2813 ** (S/MIME only) 2814 */ 2815 { "smime_verify_opaque_command", DT_STR, R_NONE, UL &SmimeVerifyOpaqueCommand, 0}, 2816 /* 2817 ** .pp 2818 ** This command is used to verify S/MIME signatures of type 2819 ** \fCapplication/x-pkcs7-mime\fP. 2820 ** .pp 2821 ** This is a format string, see the $$smime_decrypt_command command for 2822 ** possible \fCprintf(3)\fP-like sequences. 2823 ** (S/MIME only) 2824 */ 2825 #ifdef USE_SMTP 2826 # ifdef USE_SASL 2827 { "smtp_authenticators", DT_STR, R_NONE, UL &SmtpAuthenticators, UL 0 }, 2828 /* 2829 ** .pp 2830 ** This is a colon-delimited list of authentication methods mutt may 2831 ** attempt to use to log in to an SMTP server, in the order mutt should 2832 ** try them. Authentication methods are any SASL mechanism, e.g. 2833 ** ``digest-md5'', ``gssapi'' or ``cram-md5''. 2834 ** This option is case-insensitive. If it is ``unset'' 2835 ** (the default) mutt will try all available methods, in order from 2836 ** most-secure to least-secure. 2837 ** .pp 2838 ** Example: 2839 ** .ts 2840 ** set smtp_authenticators="digest-md5:cram-md5" 2841 ** .te 2842 */ 2843 # endif /* USE_SASL */ 2844 { "smtp_pass", DT_STR, R_NONE, UL &SmtpPass, UL 0 }, 2845 /* 2846 ** .pp 2847 ** Specifies the password for your SMTP account. If \fIunset\fP, Mutt will 2848 ** prompt you for your password when you first send mail via SMTP. 2849 ** See $$smtp_url to configure mutt to send mail via SMTP. 2850 ** .pp 2851 ** \fBWarning\fP: you should only use this option when you are on a 2852 ** fairly secure machine, because the superuser can read your muttrc even 2853 ** if you are the only one who can read the file. 2854 */ 2855 { "smtp_url", DT_STR, R_NONE, UL &SmtpUrl, UL 0 }, 2856 /* 2857 ** .pp 2858 ** Defines the SMTP smarthost where sent messages should relayed for 2859 ** delivery. This should take the form of an SMTP URL, e.g.: 2860 ** .ts 2861 ** smtp[s]://[user[:pass]@]host[:port] 2862 ** .te 2863 ** .pp 2864 ** where ``[...]'' denotes an optional part. 2865 ** Setting this variable overrides the value of the $$sendmail 2866 ** variable. 2867 */ 2868 #endif /* USE_SMTP */ 2869 { "sort", DT_SORT, R_INDEX|R_RESORT, UL &Sort, SORT_DATE }, 2870 /* 2871 ** .pp 2872 ** Specifies how to sort messages in the ``index'' menu. Valid values 2873 ** are: 2874 ** .il 2875 ** .dd date or date-sent 2876 ** .dd date-received 2877 ** .dd from 2878 ** .dd mailbox-order (unsorted) 2879 ** .dd score 2880 ** .dd size 2881 ** .dd spam 2882 ** .dd subject 2883 ** .dd threads 2884 ** .dd to 2885 ** .ie 2886 ** .pp 2887 ** You may optionally use the ``reverse-'' prefix to specify reverse sorting 2888 ** order (example: ``\fCset sort=reverse-date-sent\fP''). 2889 */ 2890 { "sort_alias", DT_SORT|DT_SORT_ALIAS, R_NONE, UL &SortAlias, SORT_ALIAS }, 2891 /* 2892 ** .pp 2893 ** Specifies how the entries in the ``alias'' menu are sorted. The 2894 ** following are legal values: 2895 ** .il 2896 ** .dd address (sort alphabetically by email address) 2897 ** .dd alias (sort alphabetically by alias name) 2898 ** .dd unsorted (leave in order specified in .muttrc) 2899 ** .ie 2900 */ 2901 { "sort_aux", DT_SORT|DT_SORT_AUX, R_INDEX|R_RESORT_BOTH, UL &SortAux, SORT_DATE }, 2902 /* 2903 ** .pp 2904 ** When sorting by threads, this variable controls how threads are sorted 2905 ** in relation to other threads, and how the branches of the thread trees 2906 ** are sorted. This can be set to any value that $$sort can, except 2907 ** ``threads'' (in that case, mutt will just use ``date-sent''). You can also 2908 ** specify the ``last-'' prefix in addition to the ``reverse-'' prefix, but ``last-'' 2909 ** must come after ``reverse-''. The ``last-'' prefix causes messages to be 2910 ** sorted against its siblings by which has the last descendant, using 2911 ** the rest of $$sort_aux as an ordering. For instance, 2912 ** .ts 2913 ** set sort_aux=last-date-received 2914 ** .te 2915 ** .pp 2916 ** would mean that if a new message is received in a 2917 ** thread, that thread becomes the last one displayed (or the first, if 2918 ** you have ``\fCset sort=reverse-threads\fP''.) 2919 ** .pp 2920 ** Note: For reversed $$sort 2921 ** order $$sort_aux is reversed again (which is not the right thing to do, 2922 ** but kept to not break any existing configuration setting). 2923 */ 2924 { "sort_browser", DT_SORT|DT_SORT_BROWSER, R_NONE, UL &BrowserSort, SORT_ALPHA }, 2925 /* 2926 ** .pp 2927 ** Specifies how to sort entries in the file browser. By default, the 2928 ** entries are sorted alphabetically. Valid values: 2929 ** .il 2930 ** .dd alpha (alphabetically) 2931 ** .dd date 2932 ** .dd size 2933 ** .dd unsorted 2934 ** .ie 2935 ** .pp 2936 ** You may optionally use the ``reverse-'' prefix to specify reverse sorting 2937 ** order (example: ``\fCset sort_browser=reverse-date\fP''). 2938 */ 2939 { "sort_re", DT_BOOL, R_INDEX|R_RESORT|R_RESORT_INIT, OPTSORTRE, 1 }, 2940 /* 2941 ** .pp 2942 ** This variable is only useful when sorting by threads with 2943 ** $$strict_threads \fIunset\fP. In that case, it changes the heuristic 2944 ** mutt uses to thread messages by subject. With $$sort_re \fIset\fP, mutt will 2945 ** only attach a message as the child of another message by subject if 2946 ** the subject of the child message starts with a substring matching the 2947 ** setting of $$reply_regexp. With $$sort_re \fIunset\fP, mutt will attach 2948 ** the message whether or not this is the case, as long as the 2949 ** non-$$reply_regexp parts of both messages are identical. 2950 */ 2951 { "spam_separator", DT_STR, R_NONE, UL &SpamSep, UL "," }, 2952 /* 2953 ** .pp 2954 ** This variable controls what happens when multiple spam headers 2955 ** are matched: if \fIunset\fP, each successive header will overwrite any 2956 ** previous matches value for the spam label. If \fIset\fP, each successive 2957 ** match will append to the previous, using this variable's value as a 2958 ** separator. 2959 */ 2960 { "spoolfile", DT_PATH, R_NONE, UL &Spoolfile, 0 }, 2961 /* 2962 ** .pp 2963 ** If your spool mailbox is in a non-default place where Mutt cannot find 2964 ** it, you can specify its location with this variable. Mutt will 2965 ** initially set this variable to the value of the environment 2966 ** variable \fC$$$MAIL\fP or \fC$$$MAILDIR\fP if either is defined. 2967 */ 2968 #if defined(USE_SSL) 2969 #ifdef USE_SSL_GNUTLS 2970 { "ssl_ca_certificates_file", DT_PATH, R_NONE, UL &SslCACertFile, 0 }, 2971 /* 2972 ** .pp 2973 ** This variable specifies a file containing trusted CA certificates. 2974 ** Any server certificate that is signed with one of these CA 2975 ** certificates is also automatically accepted. 2976 ** .pp 2977 ** Example: 2978 ** .ts 2979 ** set ssl_ca_certificates_file=/etc/ssl/certs/ca-certificates.crt 2980 ** .te 2981 */ 2982 #endif /* USE_SSL_GNUTLS */ 2983 { "ssl_client_cert", DT_PATH, R_NONE, UL &SslClientCert, 0 }, 2984 /* 2985 ** .pp 2986 ** The file containing a client certificate and its associated private 2987 ** key. 2988 */ 2989 { "ssl_force_tls", DT_BOOL, R_NONE, OPTSSLFORCETLS, 0 }, 2990 /* 2991 ** .pp 2992 ** If this variable is \fIset\fP, Mutt will require that all connections 2993 ** to remote servers be encrypted. Furthermore it will attempt to 2994 ** negotiate TLS even if the server does not advertise the capability, 2995 ** since it would otherwise have to abort the connection anyway. This 2996 ** option supersedes $$ssl_starttls. 2997 */ 2998 # ifdef USE_SSL_GNUTLS 2999 { "ssl_min_dh_prime_bits", DT_NUM, R_NONE, UL &SslDHPrimeBits, 0 }, 3000 /* 3001 ** .pp 3002 ** This variable specifies the minimum acceptable prime size (in bits) 3003 ** for use in any Diffie-Hellman key exchange. A value of 0 will use 3004 ** the default from the GNUTLS library. 3005 */ 3006 # endif /* USE_SSL_GNUTLS */ 3007 { "ssl_starttls", DT_QUAD, R_NONE, OPT_SSLSTARTTLS, M_YES }, 3008 /* 3009 ** .pp 3010 ** If \fIset\fP (the default), mutt will attempt to use \fCSTARTTLS\fP on servers 3011 ** advertising the capability. When \fIunset\fP, mutt will not attempt to 3012 ** use \fCSTARTTLS\fP regardless of the server's capabilities. 3013 */ 3014 # ifdef USE_SSL_OPENSSL 3015 { "ssl_use_sslv2", DT_BOOL, R_NONE, OPTSSLV2, 0 }, 3016 /* 3017 ** .pp 3018 ** This variable specifies whether to attempt to use SSLv2 in the 3019 ** SSL authentication process. 3020 */ 3021 # endif /* defined USE_SSL_OPENSSL */ 3022 { "ssl_use_sslv3", DT_BOOL, R_NONE, OPTSSLV3, 1 }, 3023 /* 3024 ** .pp 3025 ** This variable specifies whether to attempt to use SSLv3 in the 3026 ** SSL authentication process. 3027 */ 3028 { "ssl_use_tlsv1", DT_BOOL, R_NONE, OPTTLSV1, 1 }, 3029 /* 3030 ** .pp 3031 ** This variable specifies whether to attempt to use TLSv1 in the 3032 ** SSL authentication process. 3033 */ 3034 #ifdef USE_SSL_OPENSSL 3035 { "ssl_usesystemcerts", DT_BOOL, R_NONE, OPTSSLSYSTEMCERTS, 1 }, 3036 /* 3037 ** .pp 3038 ** If set to \fIyes\fP, mutt will use CA certificates in the 3039 ** system-wide certificate store when checking if a server certificate 3040 ** is signed by a trusted CA. 3041 */ 3042 #endif 3043 { "ssl_verify_dates", DT_BOOL, R_NONE, OPTSSLVERIFYDATES, 1 }, 3044 /* 3045 ** .pp 3046 ** If \fIset\fP (the default), mutt will not automatically accept a server 3047 ** certificate that is either not yet valid or already expired. You should 3048 ** only unset this for particular known hosts, using the 3049 ** \fC$<account-hook>\fP function. 3050 */ 3051 { "ssl_verify_host", DT_BOOL, R_NONE, OPTSSLVERIFYHOST, 1 }, 3052 /* 3053 ** .pp 3054 ** If \fIset\fP (the default), mutt will not automatically accept a server 3055 ** certificate whose host name does not match the host used in your folder 3056 ** URL. You should only unset this for particular known hosts, using 3057 ** the \fC$<account-hook>\fP function. 3058 */ 3059 #endif /* defined(USE_SSL) */ 3060 { "status_chars", DT_STR, R_BOTH, UL &StChars, UL "-*%A" }, 3061 /* 3062 ** .pp 3063 ** Controls the characters used by the ``%r'' indicator in 3064 ** $$status_format. The first character is used when the mailbox is 3065 ** unchanged. The second is used when the mailbox has been changed, and 3066 ** it needs to be resynchronized. The third is used if the mailbox is in 3067 ** read-only mode, or if the mailbox will not be written when exiting 3068 ** that mailbox (You can toggle whether to write changes to a mailbox 3069 ** with the \fC<toggle-write>\fP operation, bound by default to ``%''). The fourth 3070 ** is used to indicate that the current folder has been opened in attach- 3071 ** message mode (Certain operations like composing a new mail, replying, 3072 ** forwarding, etc. are not permitted in this mode). 3073 */ 3074 { "status_format", DT_STR, R_BOTH, UL &Status, UL "-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---" }, 3075 /* 3076 ** .pp 3077 ** Controls the format of the status line displayed in the ``index'' 3078 ** menu. This string is similar to $$index_format, but has its own 3079 ** set of \fCprintf(3)\fP-like sequences: 3080 ** .dl 3081 ** .dt %b .dd number of mailboxes with new mail * 3082 ** .dt %d .dd number of deleted messages * 3083 ** .dt %f .dd the full pathname of the current mailbox 3084 ** .dt %F .dd number of flagged messages * 3085 ** .dt %h .dd local hostname 3086 ** .dt %l .dd size (in bytes) of the current mailbox * 3087 ** .dt %L .dd size (in bytes) of the messages shown 3088 ** (i.e., which match the current limit) * 3089 ** .dt %m .dd the number of messages in the mailbox * 3090 ** .dt %M .dd the number of messages shown (i.e., which match the current limit) * 3091 ** .dt %n .dd number of new messages in the mailbox * 3092 ** .dt %o .dd number of old unread messages * 3093 ** .dt %p .dd number of postponed messages * 3094 ** .dt %P .dd percentage of the way through the index 3095 ** .dt %r .dd modified/read-only/won't-write/attach-message indicator, 3096 ** according to $$status_chars 3097 ** .dt %s .dd current sorting mode ($$sort) 3098 ** .dt %S .dd current aux sorting method ($$sort_aux) 3099 ** .dt %t .dd number of tagged messages * 3100 ** .dt %u .dd number of unread messages * 3101 ** .dt %v .dd Mutt version string 3102 ** .dt %V .dd currently active limit pattern, if any * 3103 ** .dt %>X .dd right justify the rest of the string and pad with ``X'' 3104 ** .dt %|X .dd pad to the end of the line with ``X'' 3105 ** .dt %*X .dd soft-fill with character ``X'' as pad 3106 ** .de 3107 ** .pp 3108 ** For an explanation of ``soft-fill'', see the $$index_format documentation. 3109 ** .pp 3110 ** * = can be optionally printed if nonzero 3111 ** .pp 3112 ** Some of the above sequences can be used to optionally print a string 3113 ** if their value is nonzero. For example, you may only want to see the 3114 ** number of flagged messages if such messages exist, since zero is not 3115 ** particularly meaningful. To optionally print a string based upon one 3116 ** of the above sequences, the following construct is used: 3117 ** .pp 3118 ** \fC%?<sequence_char>?<optional_string>?\fP 3119 ** .pp 3120 ** where \fIsequence_char\fP is a character from the table above, and 3121 ** \fIoptional_string\fP is the string you would like printed if 3122 ** \fIsequence_char\fP is nonzero. \fIoptional_string\fP \fBmay\fP contain 3123 ** other sequences as well as normal text, but you may \fBnot\fP nest 3124 ** optional strings. 3125 ** .pp 3126 ** Here is an example illustrating how to optionally print the number of 3127 ** new messages in a mailbox: 3128 ** .pp 3129 ** \fC%?n?%n new messages.?\fP 3130 ** .pp 3131 ** You can also switch between two strings using the following construct: 3132 ** .pp 3133 ** \fC%?<sequence_char>?<if_string>&<else_string>?\fP 3134 ** .pp 3135 ** If the value of \fIsequence_char\fP is non-zero, \fIif_string\fP will 3136 ** be expanded, otherwise \fIelse_string\fP will be expanded. 3137 ** .pp 3138 ** You can force the result of any \fCprintf(3)\fP-like sequence to be lowercase 3139 ** by prefixing the sequence character with an underscore (``_'') sign. 3140 ** For example, if you want to display the local hostname in lowercase, 3141 ** you would use: ``\fC%_h\fP''. 3142 ** .pp 3143 ** If you prefix the sequence character with a colon (``:'') character, mutt 3144 ** will replace any dots in the expansion by underscores. This might be helpful 3145 ** with IMAP folders that don't like dots in folder names. 3146 */ 3147 { "status_on_top", DT_BOOL, R_BOTH, OPTSTATUSONTOP, 0 }, 3148 /* 3149 ** .pp 3150 ** Setting this variable causes the ``status bar'' to be displayed on 3151 ** the first line of the screen rather than near the bottom. If $$help 3152 ** is \fIset\fP, too it'll be placed at the bottom. 3153 */ 3154 { "strict_threads", DT_BOOL, R_RESORT|R_RESORT_INIT|R_INDEX, OPTSTRICTTHREADS, 0 }, 3155 /* 3156 ** .pp 3157 ** If \fIset\fP, threading will only make use of the ``In-Reply-To'' and 3158 ** ``References:'' fields when you $$sort by message threads. By 3159 ** default, messages with the same subject are grouped together in 3160 ** ``pseudo threads.''. This may not always be desirable, such as in a 3161 ** personal mailbox where you might have several unrelated messages with 3162 ** the subjects like ``hi'' which will get grouped together. See also 3163 ** $$sort_re for a less drastic way of controlling this 3164 ** behavior. 3165 */ 3166 { "suspend", DT_BOOL, R_NONE, OPTSUSPEND, 1 }, 3167 /* 3168 ** .pp 3169 ** When \fIunset\fP, mutt won't stop when the user presses the terminal's 3170 ** \fIsusp\fP key, usually ``^Z''. This is useful if you run mutt 3171 ** inside an xterm using a command like ``\fCxterm -e mutt\fP''. 3172 */ 3173 { "text_flowed", DT_BOOL, R_NONE, OPTTEXTFLOWED, 0 }, 3174 /* 3175 ** .pp 3176 ** When \fIset\fP, mutt will generate ``format=flowed'' bodies with a content type 3177 ** of ``\fCtext/plain; format=flowed\fP''. 3178 ** This format is easier to handle for some mailing software, and generally 3179 ** just looks like ordinary text. To actually make use of this format's 3180 ** features, you'll need support in your editor. 3181 ** .pp 3182 ** Note that $$indent_string is ignored when this option is \fIset\fP. 3183 */ 3184 { "thorough_search", DT_BOOL, R_NONE, OPTTHOROUGHSRC, 1 }, 3185 /* 3186 ** .pp 3187 ** Affects the \fC~b\fP and \fC~h\fP search operations described in 3188 ** section ``$patterns''. If \fIset\fP, the headers and body/attachments of 3189 ** messages to be searched are decoded before searching. If \fIunset\fP, 3190 ** messages are searched as they appear in the folder. 3191 ** .pp 3192 ** Users searching attachments or for non-ASCII characters should \fIset\fP 3193 ** this value because decoding also includes MIME parsing/decoding and possible 3194 ** character set conversions. Otherwise mutt will attempt to match against the 3195 ** raw message received (for example quoted-printable encoded or with encoded 3196 ** headers) which may lead to incorrect search results. 3197 */ 3198 { "thread_received", DT_BOOL, R_RESORT|R_RESORT_INIT|R_INDEX, OPTTHREADRECEIVED, 0 }, 3199 /* 3200 ** .pp 3201 ** When \fIset\fP, mutt uses the date received rather than the date sent 3202 ** to thread messages by subject. 3203 */ 3204 { "tilde", DT_BOOL, R_PAGER, OPTTILDE, 0 }, 3205 /* 3206 ** .pp 3207 ** When \fIset\fP, the internal-pager will pad blank lines to the bottom of the 3208 ** screen with a tilde (``~''). 3209 */ 3210 { "time_inc", DT_NUM, R_NONE, UL &TimeInc, 0 }, 3211 /* 3212 ** .pp 3213 ** Along with $$read_inc, $$write_inc, and $$net_inc, this 3214 ** variable controls the frequency with which progress updates are 3215 ** displayed. It suppresses updates less than $$time_inc milliseconds 3216 ** apart. This can improve throughput on systems with slow terminals, 3217 ** or when running mutt on a remote system. 3218 ** .pp 3219 ** Also see the ``$tuning'' section of the manual for performance considerations. 3220 */ 3221 { "timeout", DT_NUM, R_NONE, UL &Timeout, 600 }, 3222 /* 3223 ** .pp 3224 ** When Mutt is waiting for user input either idling in menus or 3225 ** in an interactive prompt, Mutt would block until input is 3226 ** present. Depending on the context, this would prevent certain 3227 ** operations from working, like checking for new mail or keeping 3228 ** an IMAP connection alive. 3229 ** .pp 3230 ** This variable controls how many seconds Mutt will at most wait 3231 ** until it aborts waiting for input, performs these operations and 3232 ** continues to wait for input. 3233 ** .pp 3234 ** A value of zero or less will cause Mutt to never time out. 3235 */ 3236 { "tmpdir", DT_PATH, R_NONE, UL &Tempdir, 0 }, 3237 /* 3238 ** .pp 3239 ** This variable allows you to specify where Mutt will place its 3240 ** temporary files needed for displaying and composing messages. If 3241 ** this variable is not set, the environment variable \fC$$$TMPDIR\fP is 3242 ** used. If \fC$$$TMPDIR\fP is not set then ``\fC/tmp\fP'' is used. 3243 */ 3244 { "to_chars", DT_STR, R_BOTH, UL &Tochars, UL " +TCFL" }, 3245 /* 3246 ** .pp 3247 ** Controls the character used to indicate mail addressed to you. The 3248 ** first character is the one used when the mail is \fInot\fP addressed to your 3249 ** address. The second is used when you are the only 3250 ** recipient of the message. The third is when your address 3251 ** appears in the ``To:'' header field, but you are not the only recipient of 3252 ** the message. The fourth character is used when your 3253 ** address is specified in the ``Cc:'' header field, but you are not the only 3254 ** recipient. The fifth character is used to indicate mail that was sent 3255 ** by \fIyou\fP. The sixth character is used to indicate when a mail 3256 ** was sent to a mailing-list you subscribe to. 3257 */ 3258 #ifdef USE_SOCKET 3259 { "tunnel", DT_STR, R_NONE, UL &Tunnel, UL 0 }, 3260 /* 3261 ** .pp 3262 ** Setting this variable will cause mutt to open a pipe to a command 3263 ** instead of a raw socket. You may be able to use this to set up 3264 ** preauthenticated connections to your IMAP/POP3/SMTP server. Example: 3265 ** .ts 3266 ** set tunnel="ssh -q mailhost.net /usr/local/libexec/imapd" 3267 ** .te 3268 ** .pp 3269 ** Note: For this example to work you must be able to log in to the remote 3270 ** machine without having to enter a password. 3271 ** .pp 3272 ** When set, Mutt uses the tunnel for all remote connections. 3273 ** Please see ``$account-hook'' in the manual for how to use different 3274 ** tunnel commands per connection. 3275 */ 3276 #endif 3277 { "uncollapse_jump", DT_BOOL, R_NONE, OPTUNCOLLAPSEJUMP, 0 }, 3278 /* 3279 ** .pp 3280 ** When \fIset\fP, Mutt will jump to the next unread message, if any, 3281 ** when the current thread is \fIun\fPcollapsed. 3282 */ 3283 { "use_8bitmime", DT_BOOL, R_NONE, OPTUSE8BITMIME, 0 }, 3284 /* 3285 ** .pp 3286 ** \fBWarning:\fP do not set this variable unless you are using a version 3287 ** of sendmail which supports the \fC-B8BITMIME\fP flag (such as sendmail 3288 ** 8.8.x) or you may not be able to send mail. 3289 ** .pp 3290 ** When \fIset\fP, Mutt will invoke $$sendmail with the \fC-B8BITMIME\fP 3291 ** flag when sending 8-bit messages to enable ESMTP negotiation. 3292 */ 3293 { "use_domain", DT_BOOL, R_NONE, OPTUSEDOMAIN, 1 }, 3294 /* 3295 ** .pp 3296 ** When \fIset\fP, Mutt will qualify all local addresses (ones without the 3297 ** ``@host'' portion) with the value of $$hostname. If \fIunset\fP, no 3298 ** addresses will be qualified. 3299 */ 3300 { "use_envelope_from", DT_BOOL, R_NONE, OPTENVFROM, 0 }, 3301 /* 3302 ** .pp 3303 ** When \fIset\fP, mutt will set the \fIenvelope\fP sender of the message. 3304 ** If $$envelope_from_address is \fIset\fP, it will be used as the sender 3305 ** address. If \fIunset\fP, mutt will attempt to derive the sender from the 3306 ** ``From:'' header. 3307 ** .pp 3308 ** Note that this information is passed to sendmail command using the 3309 ** \fC-f\fP command line switch. Therefore setting this option is not useful 3310 ** if the $$sendmail variable already contains \fC-f\fP or if the 3311 ** executable pointed to by $$sendmail doesn't support the \fC-f\fP switch. 3312 */ 3313 { "envelope_from", DT_SYN, R_NONE, UL "use_envelope_from", 0 }, 3314 /* 3315 */ 3316 { "use_from", DT_BOOL, R_NONE, OPTUSEFROM, 1 }, 3317 /* 3318 ** .pp 3319 ** When \fIset\fP, Mutt will generate the ``From:'' header field when 3320 ** sending messages. If \fIunset\fP, no ``From:'' header field will be 3321 ** generated unless the user explicitly sets one using the ``$my_hdr'' 3322 ** command. 3323 */ 3324 #ifdef HAVE_LIBIDN 3325 { "use_idn", DT_BOOL, R_BOTH, OPTUSEIDN, 1}, 3326 /* 3327 ** .pp 3328 ** When \fIset\fP, Mutt will show you international domain names decoded. 3329 ** Note: You can use IDNs for addresses even if this is \fIunset\fP. 3330 ** This variable only affects decoding. 3331 */ 3332 #endif /* HAVE_LIBIDN */ 3333 #ifdef HAVE_GETADDRINFO 3334 { "use_ipv6", DT_BOOL, R_NONE, OPTUSEIPV6, 1}, 3335 /* 3336 ** .pp 3337 ** When \fIset\fP, Mutt will look for IPv6 addresses of hosts it tries to 3338 ** contact. If this option is \fIunset\fP, Mutt will restrict itself to IPv4 addresses. 3339 ** Normally, the default should work. 3340 */ 3341 #endif /* HAVE_GETADDRINFO */ 3342 { "user_agent", DT_BOOL, R_NONE, OPTXMAILER, 1}, 3343 /* 3344 ** .pp 3345 ** When \fIset\fP, mutt will add a ``User-Agent:'' header to outgoing 3346 ** messages, indicating which version of mutt was used for composing 3347 ** them. 3348 */ 3349 { "visual", DT_PATH, R_NONE, UL &Visual, 0 }, 3350 /* 3351 ** .pp 3352 ** Specifies the visual editor to invoke when the ``\fC~v\fP'' command is 3353 ** given in the built-in editor. 3354 */ 3355 { "wait_key", DT_BOOL, R_NONE, OPTWAITKEY, 1 }, 3356 /* 3357 ** .pp 3358 ** Controls whether Mutt will ask you to press a key after an external command 3359 ** has been invoked by these functions: \fC<shell-escape>\fP, 3360 ** \fC<pipe-message>\fP, \fC<pipe-entry>\fP, \fC<print-message>\fP, 3361 ** and \fC<print-entry>\fP commands. 3362 ** .pp 3363 ** It is also used when viewing attachments with ``$auto_view'', provided 3364 ** that the corresponding mailcap entry has a \fIneedsterminal\fP flag, 3365 ** and the external program is interactive. 3366 ** .pp 3367 ** When \fIset\fP, Mutt will always ask for a key. When \fIunset\fP, Mutt will wait 3368 ** for a key only if the external command returned a non-zero status. 3369 */ 3370 { "weed", DT_BOOL, R_NONE, OPTWEED, 1 }, 3371 /* 3372 ** .pp 3373 ** When \fIset\fP, mutt will weed headers when displaying, forwarding, 3374 ** printing, or replying to messages. 3375 */ 3376 { "wrap", DT_NUM, R_PAGER, UL &Wrap, 0 }, 3377 /* 3378 ** .pp 3379 ** When set to a positive value, mutt will wrap text at $$wrap characters. 3380 ** When set to a negative value, mutt will wrap text so that there are $$wrap 3381 ** characters of empty space on the right side of the terminal. Setting it 3382 ** to zero makes mutt wrap at the terminal width. 3383 */ 3384 { "wrap_headers", DT_NUM, R_PAGER, UL &WrapHeaders, 78 }, 3385 /* 3386 ** .pp 3387 ** This option specifies the number of characters to use for wrapping 3388 ** an outgoing message's headers. Allowed values are between 78 and 998 3389 ** inclusive. 3390 ** .pp 3391 ** \fBNote:\fP This option usually shouldn't be changed. RFC5233 3392 ** recommends a line length of 78 (the default), so \fBplease only change 3393 ** this setting when you know what you're doing\fP. 3394 */ 3395 { "wrap_search", DT_BOOL, R_NONE, OPTWRAPSEARCH, 1 }, 3396 /* 3397 ** .pp 3398 ** Controls whether searches wrap around the end. 3399 ** .pp 3400 ** When \fIset\fP, searches will wrap around the first (or last) item. When 3401 ** \fIunset\fP, incremental searches will not wrap. 3402 */ 3403 { "wrapmargin", DT_NUM, R_PAGER, UL &Wrap, 0 }, 3404 /* 3405 ** .pp 3406 ** (DEPRECATED) Equivalent to setting $$wrap with a negative value. 3407 */ 3408 { "write_bcc", DT_BOOL, R_NONE, OPTWRITEBCC, 1}, 3409 /* 3410 ** .pp 3411 ** Controls whether mutt writes out the ``Bcc:'' header when preparing 3412 ** messages to be sent. Exim users may wish to unset this. If mutt 3413 ** is set to deliver directly via SMTP (see $$smtp_url), this 3414 ** option does nothing: mutt will never write out the ``Bcc:'' header 3415 ** in this case. 3416 */ 3417 { "write_inc", DT_NUM, R_NONE, UL &WriteInc, 10 }, 3418 /* 3419 ** .pp 3420 ** When writing a mailbox, a message will be printed every 3421 ** $$write_inc messages to indicate progress. If set to 0, only a 3422 ** single message will be displayed before writing a mailbox. 3423 ** .pp 3424 ** Also see the $$read_inc, $$net_inc and $$time_inc variables and the 3425 ** ``$tuning'' section of the manual for performance considerations. 3426 */ 3427 /*--*/ 3428 { NULL, 0, 0, 0, 0 } 3429 }; 3430 3431 const struct mapping_t SortMethods[] = { 3432 { "date", SORT_DATE }, 3433 { "date-sent", SORT_DATE }, 3434 { "date-received", SORT_RECEIVED }, 3435 { "mailbox-order", SORT_ORDER }, 3436 { "subject", SORT_SUBJECT }, 3437 { "from", SORT_FROM }, 3438 { "size", SORT_SIZE }, 3439 { "threads", SORT_THREADS }, 3440 { "to", SORT_TO }, 3441 { "score", SORT_SCORE }, 3442 { "spam", SORT_SPAM }, 3443 { NULL, 0 } 3444 }; 3445 3446 /* same as SortMethods, but with "threads" replaced by "date" */ 3447 3448 const struct mapping_t SortAuxMethods[] = { 3449 { "date", SORT_DATE }, 3450 { "date-sent", SORT_DATE }, 3451 { "date-received", SORT_RECEIVED }, 3452 { "mailbox-order", SORT_ORDER }, 3453 { "subject", SORT_SUBJECT }, 3454 { "from", SORT_FROM }, 3455 { "size", SORT_SIZE }, 3456 { "threads", SORT_DATE }, /* note: sort_aux == threads 3457 * isn't possible. 3458 */ 3459 { "to", SORT_TO }, 3460 { "score", SORT_SCORE }, 3461 { "spam", SORT_SPAM }, 3462 { NULL, 0 } 3463 }; 3464 3465 3466 const struct mapping_t SortBrowserMethods[] = { 3467 { "alpha", SORT_SUBJECT }, 3468 { "date", SORT_DATE }, 3469 { "size", SORT_SIZE }, 3470 { "unsorted", SORT_ORDER }, 3471 { NULL, 0 } 3472 }; 3473 3474 const struct mapping_t SortAliasMethods[] = { 3475 { "alias", SORT_ALIAS }, 3476 { "address", SORT_ADDRESS }, 3477 { "unsorted", SORT_ORDER }, 3478 { NULL, 0 } 3479 }; 3480 3481 const struct mapping_t SortKeyMethods[] = { 3482 { "address", SORT_ADDRESS }, 3483 { "date", SORT_DATE }, 3484 { "keyid", SORT_KEYID }, 3485 { "trust", SORT_TRUST }, 3486 { NULL, 0 } 3487 }; 3488 3489 3490 /* functions used to parse commands in a rc file */ 3491 3492 static int parse_list (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3493 static int parse_spam_list (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3494 static int parse_unlist (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3495 3496 static int parse_group (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3497 3498 static int parse_lists (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3499 static int parse_unlists (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3500 static int parse_alias (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3501 static int parse_unalias (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3502 static int parse_ignore (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3503 static int parse_unignore (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3504 static int parse_source (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3505 static int parse_set (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3506 static int parse_my_hdr (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3507 static int parse_unmy_hdr (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3508 static int parse_subscribe (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3509 static int parse_unsubscribe (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3510 static int parse_attachments (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3511 static int parse_unattachments (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3512 3513 3514 static int parse_alternates (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3515 static int parse_unalternates (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3516 3517 /* Parse -group arguments */ 3518 static int parse_group_context (group_context_t **ctx, BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err); 3519 3520 3521 struct command_t 3522 { 3523 char *name; 3524 int (*func) (BUFFER *, BUFFER *, unsigned long, BUFFER *); 3525 unsigned long data; 3526 }; 3527 3528 struct command_t Commands[] = { 3529 { "alternates", parse_alternates, 0 }, 3530 { "unalternates", parse_unalternates, 0 }, 3531 #ifdef USE_SOCKET 3532 { "account-hook", mutt_parse_hook, M_ACCOUNTHOOK }, 3533 #endif 3534 { "alias", parse_alias, 0 }, 3535 { "attachments", parse_attachments, 0 }, 3536 { "unattachments",parse_unattachments,0 }, 3537 { "auto_view", parse_list, UL &AutoViewList }, 3538 { "alternative_order", parse_list, UL &AlternativeOrderList}, 3539 { "bind", mutt_parse_bind, 0 }, 3540 { "charset-hook", mutt_parse_hook, M_CHARSETHOOK }, 3541 #ifdef HAVE_COLOR 3542 { "color", mutt_parse_color, 0 }, 3543 { "uncolor", mutt_parse_uncolor, 0 }, 3544 #endif 3545 { "exec", mutt_parse_exec, 0 }, 3546 { "fcc-hook", mutt_parse_hook, M_FCCHOOK }, 3547 { "fcc-save-hook", mutt_parse_hook, M_FCCHOOK | M_SAVEHOOK }, 3548 { "folder-hook", mutt_parse_hook, M_FOLDERHOOK }, 3549 { "group", parse_group, M_GROUP }, 3550 { "ungroup", parse_group, M_UNGROUP }, 3551 { "hdr_order", parse_list, UL &HeaderOrderList }, 3552 #ifdef HAVE_ICONV 3553 { "iconv-hook", mutt_parse_hook, M_ICONVHOOK }, 3554 #endif 3555 { "ignore", parse_ignore, 0 }, 3556 { "lists", parse_lists, 0 }, 3557 { "macro", mutt_parse_macro, 0 }, 3558 { "mailboxes", mutt_parse_mailboxes, M_MAILBOXES }, 3559 { "unmailboxes", mutt_parse_mailboxes, M_UNMAILBOXES }, 3560 { "message-hook", mutt_parse_hook, M_MESSAGEHOOK }, 3561 { "mbox-hook", mutt_parse_hook, M_MBOXHOOK }, 3562 { "mime_lookup", parse_list, UL &MimeLookupList }, 3563 { "unmime_lookup", parse_unlist, UL &MimeLookupList }, 3564 { "mono", mutt_parse_mono, 0 }, 3565 { "my_hdr", parse_my_hdr, 0 }, 3566 { "pgp-hook", mutt_parse_hook, M_CRYPTHOOK }, 3567 { "crypt-hook", mutt_parse_hook, M_CRYPTHOOK }, 3568 { "push", mutt_parse_push, 0 }, 3569 { "reply-hook", mutt_parse_hook, M_REPLYHOOK }, 3570 { "reset", parse_set, M_SET_RESET }, 3571 { "save-hook", mutt_parse_hook, M_SAVEHOOK }, 3572 { "score", mutt_parse_score, 0 }, 3573 { "send-hook", mutt_parse_hook, M_SENDHOOK }, 3574 { "send2-hook", mutt_parse_hook, M_SEND2HOOK }, 3575 { "set", parse_set, 0 }, 3576 { "source", parse_source, 0 }, 3577 { "spam", parse_spam_list, M_SPAM }, 3578 { "nospam", parse_spam_list, M_NOSPAM }, 3579 { "subscribe", parse_subscribe, 0 }, 3580 { "toggle", parse_set, M_SET_INV }, 3581 { "unalias", parse_unalias, 0 }, 3582 { "unalternative_order",parse_unlist, UL &AlternativeOrderList }, 3583 { "unauto_view", parse_unlist, UL &AutoViewList }, 3584 { "unhdr_order", parse_unlist, UL &HeaderOrderList }, 3585 { "unhook", mutt_parse_unhook, 0 }, 3586 { "unignore", parse_unignore, 0 }, 3587 { "unlists", parse_unlists, 0 }, 3588 { "unmono", mutt_parse_unmono, 0 }, 3589 { "unmy_hdr", parse_unmy_hdr, 0 }, 3590 { "unscore", mutt_parse_unscore, 0 }, 3591 { "unset", parse_set, M_SET_UNSET }, 3592 { "unsubscribe", parse_unsubscribe, 0 }, 3593 { NULL, NULL, 0 } 3594 }; 3595