📄 muttrc
字号:
# # # If set, mutt will use a possibly-running gpg-agent process.# (PGP only)# # # set crypt_verify_sig=yes## Name: crypt_verify_sig# Type: quadoption# Default: yes# # # If ``yes'', always attempt to verify PGP or S/MIME signatures.# If ``ask'', ask whether or not to verify the signature. # If ``no'', never attempt to verify cryptographic signatures.# (Crypto only)# # # set smime_is_default=no## Name: smime_is_default# Type: boolean# Default: no# # # The default behaviour of mutt is to use PGP on all auto-sign/encryption# operations. To override and to use OpenSSL instead this must be set.# However, this has no effect while replying, since mutt will automatically # select the same application that was used to sign/encrypt the original# message. (Note that this variable can be overridden by unsetting $crypt_autosmime.)# (S/MIME only)# # # set smime_ask_cert_label=yes## Name: smime_ask_cert_label# Type: boolean# Default: yes# # # This flag controls whether you want to be asked to enter a label# for a certificate about to be added to the database or not. It is# set by default.# (S/MIME only)# # # set smime_decrypt_use_default_key=yes## Name: smime_decrypt_use_default_key# Type: boolean# Default: yes# # # If set (default) this tells mutt to use the default key for decryption. Otherwise,# if manage multiple certificate-key-pairs, mutt will try to use the mailbox-address# to determine the key to use. It will ask you to supply a key, if it can't find one.# (S/MIME only)# # # set pgp_entry_format="%4n %t%f %4l/0x%k %-4a %2c %u"## Name: pgp_entry_format# Type: string# Default: "%4n %t%f %4l/0x%k %-4a %2c %u"# # # This variable allows you to customize the PGP key selection menu to# your personal taste. This string is similar to ``$index_format'', but# has its own set of printf()-like sequences:# # %n number# %k key id# %u user id# %a algorithm# %l key length# %f flags# %c capabilities# %t trust/validity of the key-uid association# %[<s>] date of the key where <s> is an strftime(3) expression# # # (PGP only)# # # set pgp_good_sign=""## Name: pgp_good_sign# Type: regular expression# Default: ""# # # If you assign a text to this variable, then a PGP signature is only# considered verified if the output from $pgp_verify_command contains# the text. Use this variable if the exit code from the command is 0# even for bad signatures.# (PGP only)# # # set pgp_check_exit=yes## Name: pgp_check_exit# Type: boolean# Default: yes# # # If set, mutt will check the exit code of the PGP subprocess when# signing or encrypting. A non-zero exit code means that the# subprocess failed.# (PGP only)# # # set pgp_long_ids=no## Name: pgp_long_ids# Type: boolean# Default: no# # # If set, use 64 bit PGP key IDs. Unset uses the normal 32 bit Key IDs.# (PGP only)# # # set pgp_retainable_sigs=no## Name: pgp_retainable_sigs# Type: boolean# Default: no# # # If set, signed and encrypted messages will consist of nested# multipart/signed and multipart/encrypted body parts.# # This is useful for applications like encrypted and signed mailing# lists, where the outer layer (multipart/encrypted) can be easily# removed, while the inner multipart/signed part is retained.# (PGP only)# # # set pgp_autoinline=no## Name: pgp_autoinline# Type: boolean# Default: no# # # This option controls whether Mutt generates old-style inline# (traditional) PGP encrypted or signed messages under certain# circumstances. This can be overridden by use of the pgp-menu,# when inline is not required.# # Note that Mutt might automatically use PGP/MIME for messages# which consist of more than a single MIME part. Mutt can be# configured to ask before sending PGP/MIME messages when inline# (traditional) would not work.# See also: ``$pgp_mime_auto''.# # Also note that using the old-style PGP message format is strongly# deprecated.# (PGP only)# # # set pgp_replyinline=no## Name: pgp_replyinline# Type: boolean# Default: no# # # Setting this variable will cause Mutt to always attempt to# create an inline (traditional) message when replying to a# message which is PGP encrypted/signed inline. This can be# overridden by use of the pgp-menu, when inline is not# required. This option does not automatically detect if the# (replied-to) message is inline; instead it relies on Mutt# internals for previously checked/flagged messages.# # Note that Mutt might automatically use PGP/MIME for messages# which consist of more than a single MIME part. Mutt can be# configured to ask before sending PGP/MIME messages when inline# (traditional) would not work.# See also: ``$pgp_mime_auto''.# # Also note that using the old-style PGP message format is strongly# deprecated.# (PGP only)# # # set pgp_show_unusable=yes## Name: pgp_show_unusable# Type: boolean# Default: yes# # # If set, mutt will display non-usable keys on the PGP key selection# menu. This includes keys which have been revoked, have expired, or# have been marked as ``disabled'' by the user.# (PGP only)# # # set pgp_sign_as=""## Name: pgp_sign_as# Type: string# Default: ""# # # If you have more than one key pair, this option allows you to specify# which of your private keys to use. It is recommended that you use the# keyid form to specify your key (e.g., ``0x00112233'').# (PGP only)# # # set pgp_strict_enc=yes## Name: pgp_strict_enc# Type: boolean# Default: yes# # # If set, Mutt will automatically encode PGP/MIME signed messages as# quoted-printable. Please note that unsetting this variable may# lead to problems with non-verifyable PGP signatures, so only change# this if you know what you are doing.# (PGP only)# # # set pgp_timeout=300## Name: pgp_timeout# Type: number# Default: 300# # # The number of seconds after which a cached passphrase will expire if# not used.# (PGP only)# # # set pgp_sort_keys=address## Name: pgp_sort_keys# Type: sort order# Default: address# # # Specifies how the entries in the `pgp keys' menu are sorted. The# following are legal values:# # address sort alphabetically by user id# keyid sort alphabetically by key id# date sort by key creation date# trust sort by the trust of the key# # # If you prefer reverse order of the above values, prefix it with# `reverse-'.# (PGP only)# # # set pgp_mime_auto=ask-yes## Name: pgp_mime_auto# Type: quadoption# Default: ask-yes# # # This option controls whether Mutt will prompt you for# automatically sending a (signed/encrypted) message using# PGP/MIME when inline (traditional) fails (for any reason).# # Also note that using the old-style PGP message format is strongly# deprecated.# (PGP only)# # # set pgp_auto_decode=no## Name: pgp_auto_decode# Type: boolean# Default: no# # # If set, mutt will automatically attempt to decrypt traditional PGP# messages whenever the user performs an operation which ordinarily would# result in the contents of the message being operated on. For example,# if the user displays a pgp-traditional message which has not been manually# checked with the check-traditional-pgp function, mutt will automatically# check the message for traditional pgp.# # # set pgp_decode_command=""## Name: pgp_decode_command# Type: string# Default: ""# # # This format strings specifies a command which is used to decode # application/pgp attachments.# # The PGP command formats have their own set of printf-like sequences:# # %p Expands to PGPPASSFD=0 when a pass phrase is needed, to an empty# string otherwise. Note: This may be used with a %? construct.# %f Expands to the name of a file containing a message.# %s Expands to the name of a file containing the signature part# of a multipart/signed attachment when verifying it.# %a The value of $pgp_sign_as.# %r One or more key IDs.# # # For examples on how to configure these formats for the various versions# of PGP which are floating around, see the pgp*.rc and gpg.rc files in# the samples/ subdirectory which has been installed on your system# alongside the documentation.# (PGP only)# # # set pgp_getkeys_command=""## Name: pgp_getkeys_command# Type: string# Default: ""# # # This command is invoked whenever mutt will need public key information.# %r is the only printf-like sequence used with this format.# (PGP only)# # # set pgp_verify_command=""## Name: pgp_verify_command# Type: string# Default: ""# # # This command is used to verify PGP signatures.# (PGP only)# # # set pgp_decrypt_command=""## Name: pgp_decrypt_command# Type: string# Default: ""# # # This command is used to decrypt a PGP encrypted message.# (PGP only)# # # set pgp_clearsign_command=""## Name: pgp_clearsign_command# Type: string# Default: ""# # # This format is used to create a old-style "clearsigned" PGP# message. Note that the use of this format is strongly# deprecated.# (PGP only)# # # set pgp_sign_command=""## Name: pgp_sign_command# Type: string# Default: ""# # # This command is used to create the detached PGP signature for a # multipart/signed PGP/MIME body part.# (PGP only)# # # set pgp_encrypt_sign_command=""## Name: pgp_encrypt_sign_command# Type: string# Default: ""# # # This command is used to both sign and encrypt a body part.# (PGP only)# # # set pgp_encrypt_only_command=""## Name: pgp_encrypt_only_command# Type: string# Default: ""# # # This command is used to encrypt a body part without signing it.# (PGP only)# # # set pgp_import_command=""## Name: pgp_import_command# Type: string# Default: ""# # # This command is used to import a key from a message into # the user's public key ring.# (PGP only)# # # set pgp_export_command=""## Name: pgp_export_command# Type: string# Default: ""# # # This command is used to export a public key from the user's# key ring.# (PGP only)# # # set pgp_verify_key_command=""## Name: pgp_verify_key_command# Type: string# Default: ""# # # This command is used to verify key information from the key selection# menu.# (PGP only)# # # set pgp_list_secring_command=""## Name: pgp_list_secring_command# Type: string# Default: ""# # # This command is used to list the secret key ring's contents. The# output format must be analogous to the one used by # gpg --list-keys --with-colons.# # This format is also generated by the pgpring utility which comes # with mutt.# (PGP only)# # # set pgp_list_pubring_command=""## Name: pgp_list_pubring_command# Type: string# Default: ""# # # This command is used to list the public key ring's contents. The# output format must be analogous to the one used by # gpg --list-keys --with-colons.# # This format is also generated by the pgpring utility which comes # with mutt.# (PGP only)# # # set forward_decrypt=yes## Name: forward_decrypt# Type: boolean# Default: yes# # # Controls the handling of encrypted messages when forwarding a message.# When set, the outer layer of encryption is stripped off. This# variable is only used if ``$mime_forward'' is set and# ``$mime_forward_decode'' is unset.# (PGP only)# # # set smime_timeout=300## Name: smime_timeout# Type: number# Default: 300# # # The number of seconds after which a cached passphrase will expire if# not used.# (S/MIME only)# # # set smime_encrypt_with=""## Name: smime_encrypt_with# Type: string# Default: ""# # # This sets the algorithm that should be used for encryption.# Valid choices are "des", "des3", "rc2-40", "rc2-64", "rc2-128".# If unset "3des" (TripleDES) is used.# (S/MIME only)# # # set smime_k
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -