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 # automatically display html mails as plain text:
21 # but ensure plain mail is used if it exists:
22 alternative_order text/plain
24 # assume iso-8859-1 for unspecified charsets in emails as it's the most used,
25 # not a perfect solution, but it works most of the time well:
26 set assumed_charset=iso-8859-1
29 # sort threads with new messages in old threads like new threads:
30 set sort_aux=last-date-received
32 # mark missing messages in threads with a '?' in the thread display:
34 set hide_top_missing=no
37 # use a wider index format (35 instead of 15 characters):
38 # also display the number of attachments:
39 set index_format="%4C %Z %{%b %d} %-35.35L (%?l?%4l&%4c?)%?X?(%X)& ? %s"
41 # display a small email index while reading email contents:
42 set pager_index_lines=5
44 # when scrolling mails repeat the three last lines on the next screen:
48 # only update the read/write counter every 2000 mails, this increases speed:
53 # wrap email content to 78 characters, this increases readability (for me):
55 # don't display any '+' markers when a line is wrapped:
57 # display ~s at the end of each message so it's clear where the message ends:
60 # order the headers in mail display by this order:
61 hdr_order Date: From: To: Cc: Bcc: Subject:
66 # I ignore only certain headers so I can see custom headers; the first ignore
67 # rule in each section ignores standard, the second non standard headers
69 # thanks to [1] for a very helpful list of mail headers
70 # [1]: http://people.dsv.su.se/~jpalme/ietf/mail-headers/mail-headers.html
72 # reset all ignores so I can see all headers I don't ignore in the following
76 # ignore mbox from header:
79 # ignore trace information headers:
80 ignore received return-path
82 # ignore format and control information headers:
83 ignore content-disposition mime-version
85 # ignore sender and recipient indication headers:
87 ignore apparently-to x-face x-sender envelope-to
89 # ignore response control headers:
91 ignore errors-to followup-to mail-followup-to
93 # ignore message identification headers:
94 ignore in-reply-to references
97 # ignore headers containing dates and times:
100 # ignore quality information headers:
103 # ignore size information headers:
105 ignore content-length lines
107 # ignore encoding information headers:
108 ignore content-transfer-encoding content-type encoding
110 # ignore mailing list control headers:
111 ignore list-archive list-help list-id list-post list-subscribe \
114 # ignore miscellaneous headers (non standard):
115 ignore status x-status # mail status, used by mail clients
120 # thanks to http://www.therandymon.com/woodnotes/mutt/node46.html for the
121 # settings to allow transparency (default)
123 # thanks to Debian Lenny mutt default files for the color settings
126 color normal white default
128 color hdrdefault cyan default
130 color attachment brightyellow default
131 # marker for the currently selected mail in the index:
132 color indicator default cyan
133 # signature (if correctly delimited with "-- "):
134 color signature cyan default
135 # status bar (at top and bottom):
136 color status brightgreen blue
137 # tildes at the bottom if there is no more content:
138 color tilde blue default
139 # thread tree markers:
140 color tree red default
143 color quoted magenta default
144 color quoted1 cyan default
145 # mark the writer of the quote the same color as the quote:
146 color body magenta default ".+ <.+> writes:"
147 color body magenta default "On .+ wrote:"
148 color body cyan default "> .+ <.+> writes:"
149 color body cyan default "> On .+ wrote:"
152 color header brightgreen default ^Subject:
154 # mark important messages red:
155 color index white red "~F"
157 # mark valid gpg signatures:
158 color body green default "gpg: Good signature from .+"
159 # mark invalid gpg signatures:
160 color body red default "gpg: BAD signature from .+"
161 # mark encrypted mails:
162 color body green default "gpg: encrypted with .+"
163 # mark missing gpg public keys:
164 color body yellow default "gpg: Can't check signature: public key not found"