1 # muttrc file for the mail display
3 # Copyright (C) 2007-2012 Simon Ruderich
5 # This file 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 3 of the License, or
8 # (at your option) any later version.
10 # This file 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.
15 # You should have received a copy of the GNU General Public License
16 # along with this file. If not, see <http://www.gnu.org/licenses/>.
19 # Don't display help bar at the top of the screen.
22 # automatically display html mails as plain text:
24 # but ensure plain mail is used if it exists:
25 alternative_order text/plain
27 # assume iso-8859-1 for unspecified charsets in emails as it's the most used,
28 # not a perfect solution, but it works most of the time well:
29 set assumed_charset=iso-8859-1
32 # sort threads with new messages in old threads like new threads:
33 set sort_aux=last-date-received
35 # mark missing messages in threads with a '?' in the thread display:
37 set hide_top_missing=no
40 # use a wider index format (35 instead of 15 characters):
41 # also display the number of attachments:
42 set index_format="%4C %Z %{%b %d} %-35.35L (%?l?%4l&%4c?)%?X?(%X)& ? %s"
44 # display a small email index while reading email contents:
45 set pager_index_lines=5
47 # when scrolling mails repeat the three last lines on the next screen:
51 # only update the read/write counter every 2000 mails, this increases speed:
56 # wrap email content to 78 characters, this increases readability (for me):
58 # don't display any '+' markers when a line is wrapped:
60 # display ~s at the end of each message so it's clear where the message ends:
63 # order the headers in mail display by this order:
64 hdr_order Date: From: To: Cc: Bcc: Subject:
69 # I ignore only certain headers so I can see custom headers; the first ignore
70 # rule in each section ignores standard, the second non standard headers
72 # thanks to [1] for a very helpful list of mail headers
73 # [1]: http://people.dsv.su.se/~jpalme/ietf/mail-headers/mail-headers.html
75 # reset all ignores so I can see all headers I don't ignore in the following
79 # ignore mbox from header:
82 # ignore trace information headers:
83 ignore received return-path
85 # ignore format and control information headers:
86 ignore content-disposition mime-version
88 # ignore sender and recipient indication headers:
90 ignore apparently-to x-face x-sender envelope-to
92 # ignore response control headers:
94 ignore errors-to followup-to mail-followup-to
96 # ignore message identification headers:
97 ignore in-reply-to references
100 # ignore headers containing dates and times:
103 # ignore quality information headers:
106 # ignore size information headers:
108 ignore content-length lines
110 # ignore encoding information headers:
111 ignore content-transfer-encoding content-type encoding
113 # ignore mailing list control headers:
114 ignore list-archive list-help list-id list-post list-subscribe \
117 # ignore miscellaneous headers (non standard):
118 ignore status x-status # mail status, used by mail clients
123 # thanks to http://www.therandymon.com/woodnotes/mutt/node46.html for the
124 # settings to allow transparency (default)
126 # thanks to Debian Lenny mutt default files for the color settings
129 color normal white default
131 color hdrdefault cyan default
133 color attachment brightyellow default
134 # marker for the currently selected mail in the index:
135 color indicator default cyan
136 # signature (if correctly delimited with "-- "):
137 color signature cyan default
138 # status bar (at top and bottom):
139 color status brightgreen blue
140 # tildes at the bottom if there is no more content:
141 color tilde blue default
142 # thread tree markers:
143 color tree red default
146 color quoted magenta default
147 color quoted1 cyan default
148 # mark the writer of the quote the same color as the quote:
149 color body magenta default ".+ <.+> writes:"
150 color body magenta default "On .+ wrote:"
151 color body cyan default "> .+ <.+> writes:"
152 color body cyan default "> On .+ wrote:"
155 color header brightgreen default ^Subject:
157 # mark important messages red:
158 color index white red "~F"
160 # mark valid gpg signatures:
161 color body green default "gpg: Good signature from .+"
162 # mark invalid gpg signatures:
163 color body red default "gpg: BAD signature from .+"
164 # mark encrypted mails:
165 color body green default "gpg: encrypted with .+"
166 # mark missing gpg public keys:
167 color body yellow default "gpg: Can't check signature: public key not found"