-
Notifications
You must be signed in to change notification settings - Fork 0
/
muttrc.in
198 lines (163 loc) · 6.04 KB
/
muttrc.in
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
set spoolfile=imaps://ca01dc.na.aarp.int/INBOX
set folder=imaps://ca01dc.na.aarp.int
#set spoolfile=imaps://ca01lw.na.aarp.int/INBOX
#set folder=imaps://ca01lw.na.aarp.int
#set imap_authenticators="digest-md5:cram-md5:login"
set imap_authenticators="login"
set header_cache=~/.mutt/hcache
set message_cachedir=~/.mutt/cache
# 90s mail check
set mail_check=90
# .muttrc file - Suresh Ramasubramanian
# Don't display certain headers
ignore *
unignore From To Cc Subject Date Reply-To Organization X-Mailer User-Agent
# Order to display the headers in
hdr_order From: Date: To: Cc: Subject:
# Default From: line for when mailing in batch mode
my_hdr From: [email protected] (Peter Burkholder)
# set ssl_starttls=no
# Automatically begin editing messages
set autoedit=yes
set edit_headers
# Append messages to other mailboxes automatically
unset confirmappend
# Automatically delete messages
set delete=yes
# View html mails using lynx
#set implicit_autoview
#auto_view text/html application/x-pgp-message
#set mailcap_path="~/.mailcap"
#set mailcap_sanitize=yes
# envelope sender must match
set envelope_from
# Reply FASTER!
#set fast_reply
# Don't save outgoing attachments
unset fcc_attach
# Dont include self in reply
unset reply_self
# Include full headers in replies
# set header
# Automatically quote message
set include=yes
# Set quotemark to 1 byte
set indent_str="> "
set index_format = "%4C %Z %{%H:%M %b %d} %-15.15F (%4l) %s"
#set index_format = "%4C %Z %{%b %d} %-15.15F (%4l) %s"
set forward_format="Fw: %s" # subject in forwarded messages
set date_format="%d/%m/%y %H:%M %Z"
set quote_regexp="^([A-Za-z ]+>|[]%>:|}-][]>:|}-]*)"
#set reply_regexp="^(re([\\[0-9\\]+])*|aw):[ \t]*"
set reply_regexp='^((re(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*'
set mime_forward=ask-yes
# Use mutt.view as my pager
# set pager=mutt.view
# Use vim as the editor - this line will wrap
# Set wordwrap on in vim to automatically wrap lines -
# no :gq all the time
set visual=vim # editor invoked by ~v in the builtin editor
# set format=flowed
set text_flowed
# dont mark messages old
set nomark_old
# Location for postponed messages
set postponed="=postponed"
# I don't want to resume postponed messages
#set recall=no
# Save copies of outgoing e-mail
set record="=Sent Items"
# Don't confirm using Reply-To: headers
set reply_to=yes
# Delete empty mailboxes
unset save_empty
# Use as from the address mail was sent to
# You'd have to define $alternates for this
# set reverse_name
# Set my web browser
#set web_browser="lynx %s"
# Apply operations to tagged messages automatically
set auto_tag
# Tell mutt which mails to recognize as mailing lists
subscribe linux
subscribe freebsd
subscribe puppet-users
## folder-hook . set sort=threads
## folder-hook . set signature="~/sig.suresh|"
## folder-hook . 'set attribution="+++ %n [%d]:"'
## folder-hook . my_hdr From: [email protected] (Foo Bar)
## folder-hook . my_hdr Organization: Eh? What's that?
## folder-hook . my_hdr X-OS: `uname -mnrs`
## # Ignore annoying MAIL SYSTEM INTERNAL DATA message
## # generated by c-client (pine / uw-imapd)
## folder-hook . "push \"l!(~s 'FOLDER INTERNAL DATA')\n*\""
##
## #folder-hook linux unmy_hdr reply-to
## folder-hook linux 'set attribution="+++ %n [linux] [%d]:"'
## folder-hook linux my_hdr From: [email protected] (Foo Linux)
## folder-hook linux my_hdr Organization: -ENOENT
## folder-hook linux set signature="~/sig.unix|"
##
## folder-hook freebsd set signature="~/sig.unix|"
## folder-hook freebsd 'set attribution="+++ %n [freebsd] [%d]:"'
## folder-hook freebsd my_hdr From: [email protected] (Foo FreeBSD)
## folder-hook freebsd my_hdr Organization: Hmmm... I dunno
# color patterns for mutt
color normal white black # normal text
color indicator yellow default # actual message
color tree brightmagenta default # thread arrows
color status yellow default # status line
color error brightred default # errors
color message magenta default # info messages
color signature magenta default # signature
color attachment brightyellow red # MIME attachments
color search brightyellow red # search matches
color tilde brightmagenta default # ~ at bottom of msg
color markers red default # + at beginning of wrapped lines
color hdrdefault cyan default # default header lines
color bold red default # hiliting bold patterns in body
color underline green default # hiliting underlined patterns in body
color quoted cyan default # quoted text
color quoted1 magenta default
color quoted2 red default
color quoted3 green default
color quoted4 magenta default
color quoted5 cyan default
color quoted6 magenta default
color quoted7 red default
color quoted8 green default
color quoted9 cyan default
color body cyan default "((ftp|http|https)://|news:)[^ >)\"\t]+"
color body cyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+"
color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]"
color body green default "(^| )_[-a-z0-9_]+_[,.?]?[\n]"
color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]"
color body green default "(^| )_[-a-z0-9_]+_[,.?]?[ \n]"
color index cyan default ~F # Flagged
color index red default ~N # New
color index magenta default ~T # Tagged
color index cyan default ~D # Deleted
# Don't ask to move read messages to mbox on exit
set move=no
###
# Bindings - change key bindings
###
# Customize the pager
bind pager [ previous-line
bind pager < previous-line
bind pager ] next-line
bind pager > next-line
bind pager down next-page
bind pager up previous-page
bind pager + imap-fetch-mail
bind pager d delete-message
# dual window view in mutt
# set pager_index_lines=10
# Similar settings for the index
bind index [ previous-line
bind index ] next-line
bind index + imap-fetch-mail
# Set and source our alias file
set alias_file=~/.mutt-aliases
source ~/.mutt-aliases
auto_view text/html