File: Muttrc

package info (click to toggle)
mutt 0.91.2-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 2,056 kB
  • ctags: 2,189
  • sloc: ansic: 34,582; sh: 203; makefile: 197; perl: 21; awk: 2
file content (125 lines) | stat: -rw-r--r-- 3,862 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#
# System configuration file for Mutt
#

# default list of header fields to weed when displaying
#
ignore "from " received content- mime-version status x-status message-id
ignore sender references return-path lines

# imitate the old search-body function
macro index \eb '/~b '

# simulate the old url menu
macro index \cb |urlview\n
macro pager \cb |urlview\n

# If Mutt is unable to determine your sites domain name correctly, you can
# set the default here.
#
# set hostname=cs.hmc.edu

set hostname=`cat /etc/mailname || /bin/dnsdomainname`
            # What appears after the '@' in outgoing mail.
set nouse_domain # Don't qualify local addresses with $hostname

# If your sendmail supports the -B8BITMIME flag, enable the following
#
# set use_8bitmime

set quote_regexp="^[ \t]*[a-zA-Z\.]*>"  # Default: "^([ \t]*[>|#:}])+"

#
# More header weeding
#
ignore Resent- Precedence In-Reply-To Return-Receipt-To Mailer X400
ignore Originator X-Loop X-Mailing-List X-Listprocessor X-Face
ignore X-Received X-Mailer X-Envelope-To X-Sender X-Attribution
# Usenet headers can occur for Cc-ed messages; they can still be
# recognized by the Newsgroups header.
ignore Path Lines NNTP-Posting-Host X-Newsreader X-Submitted-Via

#
# Key bindings
#

bind editor     delete  delete-char

#
# Color / video attribute definitions. Not too flashy.
#

color	hdrdefault	green		black
color	header		brightyellow	black	"^from:"
mono	header		bold			"^from:"
color	header		brightyellow	black	"^subject:"
mono	header		bold			"^subject:"
color	quoted		green		black
color	signature	brightred	black
color	indicator	brightyellow	red
color	error		brightred	black
mono	error		bold
color	status		brightwhite	blue
color	tree		brightmagenta	black
color	tilde		brightmagenta	black
# URL highlighting with the same regexp as urlview.
color	body		brightyellow	black	((((ht|f)tps?)|mailto):(//)?[^\ >"\t]*|www\.[-a-z0-9.]+)[^\ .,;\t>">]
mono	body		bold			((((ht|f)tps?)|mailto):(//)?[^\ >"\t]*|www\.[-a-z0-9.]+)[^\ .,;\t>">]
color	body		brightmagenta	black	"[-a-z_0-9.]+@[-a-z_0-9.]+"
mono	body		bold			"[-a-z_0-9.]+@[-a-z_0-9.]+"
color	body		brightyellow	black	"^Good signature"
mono	body		bold			"^Good signature"
color	body		brightwhite	red	"^Bad signature from.*"
mono	body		bold			"^Bad signature from.*"

#######################################################################
#
# The rest of this file consists of suggestions only.
#

#       set hdr_format="%4C %Z %{%b %d} %-19.19L %s"
#       set status_format="---Mutt: %f [%M/%m msgs, %n new, %?t tagged, ?%?p
#       postponed, ?%l bytes]---(%s)%|-"
#       set pgp_replypgp
#       set auto_tag
#
#       #
#       # The autoview features allows you to specify for which MIME types
#       # file mutt should start a viewer by itself.
#       #
#       auto_view text/html application/x-gunzip application/postscript
#       auto_view image/gif application/x-tar-g application/mac-binhex40
#
#       #
#       # Header weeding (radical version): ignore all, except...
#       #
#
#       ignore *
#       # and select what we do want to see
#       unignore From: To Subject CC BCC Date
#
#
#       #
#       # pager
#       #
#       # The builtin pager supports colour, which is nice. However, some of
#       # its default behaviour can be confusing if one is used to the use
#       of
#       # less(1) as external pager.
#       #
#
#       bind pager      b       previous-page   # Instead of bounce
#       bind pager      G       bottom          # Previously unbound
#
#       bind pager      j       next-line       # Instead of next-message
#       bind pager      k       previous-line   # Instead of
#       previous-message
#       set pager_stop
#
#
#       #
#       # Other keybindings
#       #
#
#       bind index      <       previous-page   # like strn's overview
#       bind index      >       next-page