⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 muttrc

📁 mutt-1.5.12 源代码。linux 下邮件接受的工具。
💻
📖 第 1 页 / 共 5 页
字号:
## System configuration file for Mutt## default list of header fields to weed when displaying#ignore "from " received content- mime-version status x-status message-idignore sender references return-path lines# imitate the old search-body functionmacro index \eb "<search>~b " "search in message bodies"# simulate the old url menumacro index,pager \cb "<pipe-message>urlview<Enter>" "call urlview to extract URLs out of a message"# Show documentation when pressing F1macro generic,pager <F1> "<shell-escape>less ${prefix}/doc/mutt/manual.txt<Enter>" "show Mutt documentation"# show the incoming mailboxes list (just like "mutt -y") and back when pressing "y"macro index,pager y "<change-folder>?<toggle-mailboxes>" "show incoming mailboxes list"bind browser y exit# If Mutt is unable to determine your site's domain name correctly, you can# set the default here.## set hostname=cs.hmc.edu# If your sendmail supports the -B8BITMIME flag, enable the following## set use_8bitmime#### *** DEFAULT SETTINGS FOR THE ATTACHMENTS PATCH ***###### Please see the manual (section "attachments")  for detailed## documentation of the "attachments" command.#### Removing a pattern from a list removes that pattern literally. It## does not remove any type matching the pattern.####  attachments   +A */.*##  attachments   +A image/jpeg##  unattachments +A */.*#### This leaves "attached" image/jpeg files on the allowed attachments## list. It does not remove all items, as you might expect, because the## second */.* is not a matching expression at this time.#### Remember: "unattachments" only undoes what "attachments" has done!## It does not trigger any matching on actual messages.## Qualify any MIME part with an "attachment" disposition, EXCEPT for## text/x-vcard and application/pgp parts. (PGP parts are already known## to mutt, and can be searched for with ~g, ~G, and ~k.)#### I've added x-pkcs7 to this, since it functions (for S/MIME)## analogously to PGP signature attachments. S/MIME isn't supported## in a stock mutt build, but we can still treat it specially here.##attachments   +A */.*attachments   -A text/x-vcard application/pgp.*attachments   -A application/x-pkcs7-.*## Discount all MIME parts with an "inline" disposition, unless they're## text/plain. (Why inline a text/plain part unless it's external to the## message flow?)##attachments   +I text/plain  ## These two lines make Mutt qualify MIME containers.  (So, for example,## a message/rfc822 forward will count as an attachment.)  The first## line is unnecessary if you already have "attach-allow */.*", of## course.  These are off by default!  The MIME elements contained## within a message/* or multipart/* are still examined, even if the## containers themseves don't qualify.###attachments  +A message/.* multipart/.*#attachments  +I message/.* multipart/.*## You probably don't really care to know about deleted attachments.attachments   -A message/external-bodyattachments   -I message/external-body#### More settings### set abort_nosubject=ask-yes## Name: abort_nosubject# Type: quadoption# Default: ask-yes# # # If set to yes, when composing messages and no subject is given# at the subject prompt, composition will be aborted.  If set to# no, composing messages with no subject given at the subject# prompt will never be aborted.# # # set abort_unmodified=yes## Name: abort_unmodified# Type: quadoption# Default: yes# # # If set to yes, composition will automatically abort after# editing the message body if no changes are made to the file (this# check only happens after the first edit of the file).  When set# to no, composition will never be aborted.# # # set alias_file="~/.muttrc"## Name: alias_file# Type: path# Default: "~/.muttrc"# # # The default file in which to save aliases created by the # ``create-alias'' function.# # Note: Mutt will not automatically source this file; you must# explicitly use the ``source'' command for it to be executed.# # # set alias_format="%4n %2f %t %-10a   %r"## Name: alias_format# Type: string# Default: "%4n %2f %t %-10a   %r"# # # Specifies the format of the data displayed for the `alias' menu.  The# following printf(3)-style sequences are available:# # %a      alias name# %f      flags - currently, a "d" for an alias marked for deletion# %n      index number# %r      address which alias expands to# %t      character which indicates if the alias is tagged for inclusion# # # set allow_8bit=yes## Name: allow_8bit# Type: boolean# Default: yes# # # Controls whether 8-bit data is converted to 7-bit using either Quoted-# Printable or Base64 encoding when sending mail.# # # set allow_ansi=no## Name: allow_ansi# Type: boolean# Default: no# # # Controls whether ANSI color codes in messages (and color tags in # rich text messages) are to be interpreted.# Messages containing these codes are rare, but if this option is set,# their text will be colored accordingly. Note that this may override# your color choices, and even present a security problem, since a# message could include a line like "[-- PGP output follows ..." and# give it the same color as your attachment color.# # # set arrow_cursor=no## Name: arrow_cursor# Type: boolean# Default: no# # # When set, an arrow (``->'') will be used to indicate the current entry# in menus instead of highlighting the whole line.  On slow network or modem# links this will make response faster because there is less that has to# be redrawn on the screen when moving to the next or previous entries# in the menu.# # # set ascii_chars=no## Name: ascii_chars# Type: boolean# Default: no# # # If set, Mutt will use plain ASCII characters when displaying thread# and attachment trees, instead of the default ACS characters.# # # set askbcc=no## Name: askbcc# Type: boolean# Default: no# # # If set, Mutt will prompt you for blind-carbon-copy (Bcc) recipients# before editing an outgoing message.# # # set askcc=no## Name: askcc# Type: boolean# Default: no# # # If set, Mutt will prompt you for carbon-copy (Cc) recipients before# editing the body of an outgoing message.# # # set attach_format="%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] "## Name: attach_format# Type: string# Default: "%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] "# # # This variable describes the format of the `attachment' menu.  The# following printf-style sequences are understood:# # %C      charset# %c      requires charset conversion (n or c)# %D      deleted flag# %d      description# %e      MIME content-transfer-encoding# %f      filename# %I      disposition (I=inline, A=attachment)# %m      major MIME type# %M      MIME subtype# %n      attachment number# %Q      "Q", if MIME part qualifies for attachment counting# %s      size# %t      tagged flag# %T      graphic tree characters# %u      unlink (=to delete) flag# %X      number of qualifying MIME parts in this part and its children#         (please see the ``attachments'' section for possible speed effects)# %>X     right justify the rest of the string and pad with character "X"# %|X     pad to the end of the line with character "X"# # # set attach_sep="\n"## Name: attach_sep# Type: string# Default: "\n"# # # The separator to add between attachments when operating (saving,# printing, piping, etc) on a list of tagged attachments.# # # set attach_split=yes## Name: attach_split# Type: boolean# Default: yes# # # If this variable is unset, when operating (saving, printing, piping,# etc) on a list of tagged attachments, Mutt will concatenate the# attachments and will operate on them as a single attachment. The# ``$attach_sep'' separator is added after each attachment. When set,# Mutt will operate on the attachments one by one.# # # set attribution="On %d, %n wrote:"## Name: attribution# Type: string# Default: "On %d, %n wrote:"# # # This is the string that will precede a message which has been included# in a reply.  For a full listing of defined printf()-like sequences see# the section on ``$index_format''.# # # set autoedit=no## Name: autoedit# Type: boolean# Default: no# # # When set along with ``$edit_headers'', Mutt will skip the initial# send-menu and allow you to immediately begin editing the body of your# message.  The send-menu may still be accessed once you have finished# editing the body of your message.# # Also see ``$fast_reply''.# # # set auto_tag=no## Name: auto_tag# Type: boolean# Default: no# # # When set, functions in the index menu which affect a message# will be applied to all tagged messages (if there are any).  When# unset, you must first use the tag-prefix function (default: ";") to# make the next function apply to all tagged messages.# # # set beep=yes## Name: beep# Type: boolean# Default: yes# # # When this variable is set, mutt will beep when an error occurs.# # # set beep_new=no## Name: beep_new# Type: boolean# Default: no# # # When this variable is set, mutt will beep whenever it prints a message# notifying you of new mail.  This is independent of the setting of the# ``$beep'' variable.# # # set bounce=ask-yes## Name: bounce# Type: quadoption# Default: ask-yes# # # Controls whether you will be asked to confirm bouncing messages.# If set to yes you don't get asked if you want to bounce a# message. Setting this variable to no is not generally useful,# and thus not recommended, because you are unable to bounce messages.# # # set bounce_delivered=yes## Name: bounce_delivered# Type: boolean# Default: yes# # # When this variable is set, mutt will include Delivered-To headers when# bouncing messages.  Postfix users may wish to unset this variable.# # # set braille_friendly=no## Name: braille_friendly# Type: boolean# Default: no# # # When this variable is set, mutt will place the cursor at the beginning# of the current line in menus, even when the arrow_cursor variable# is unset, making it easier for blind persons using Braille displays to # follow these menus.  The option is disabled by default because many # visual terminals don't permit making the cursor invisible.# # # set charset=""## Name: charset# Type: string# Default: ""# # # Character set your terminal uses to display and enter textual data.# # # set check_new=yes## Name: check_new# Type: boolean# Default: yes# # # Note: this option only affects maildir and MH style# mailboxes.# # When set, Mutt will check for new mail delivered while the# mailbox is open.  Especially with MH mailboxes, this operation can# take quite some time since it involves scanning the directory and# checking each file to see if it has already been looked at.  If# check_new is unset, no check for new mail is performed# while the mailbox is open.# # # set collapse_unread=yes## Name: collapse_unread# Type: boolean# Default: yes# # # When unset, Mutt will not collapse a thread if it contains any# unread messages.# # # set uncollapse_jump=no## Name: uncollapse_jump# Type: boolean# Default: no# # # When set, Mutt will jump to the next unread message, if any,# when the current thread is uncollapsed.# # # set compose_format="-- Mutt: Compose  [Approx. msg size: %l   Atts: %a]%>-"## Name: compose_format# Type: string# Default: "-- Mutt: Compose  [Approx. msg size: %l   Atts: %a]%>-"# # # Controls the format of the status line displayed in the Compose# menu.  This string is similar to ``$status_format'', but has its own# set of printf()-like sequences:# # %a      total number of attachments # %h      local hostname# %l      approximate size (in bytes) of the current message# %v      Mutt version string# # # See the text describing the ``$status_format'' option for more # information on how to set ``$compose_format''.# # # set config_charset=""## Name: config_charset# Type: string# Default: ""# # # When defined, Mutt will recode commands in rc files from this# encoding.# # # set confirmappend=yes## Name: confirmappend# Type: boolean# Default: yes# # # When set, Mutt will prompt for confirmation when appending messages to# an existing mailbox.# # # set confirmcreate=yes## Name: confirmcreate# Type: boolean# Default: yes# # # When set, Mutt will prompt for confirmation when saving messages to a# mailbox which does not yet exist before creating it.# # # set connect_timeout=30## Name: connect_timeout# Type: number# Default: 30# # # Causes Mutt to timeout a network connection (for IMAP or POP) after this# many seconds if the connection is not able to be established.  A negative# value causes Mutt to wait indefinitely for the connection to succeed.# # # set content_type="text/plain"## Name: content_type# Type: string# Default: "text/plain"# # # Sets the default Content-Type for the body of newly composed messages.# # # set copy=yes## Name: copy# Type: quadoption# Default: yes# # # This variable controls whether or not copies of your outgoing messages

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -