Penguin
Annotated edit history of .muttrc version 11, including all changes. View license author blame.
Rev Author # Line
10 JohnMcPherson 1 See http://muttrcbuilder.org/ for a nifty web-based configuration tool.
2 ----
5 JohnMcPherson 3 This is my (JohnMcPherson's) mutt rc file.
9 JohnMcPherson 4
5 JohnMcPherson 5
6 AristotlePagaltzis 6 <verbatim>
7 #### GENERAL SETTINGS ####
8 set editor="emacs -nw"
9 set visual="emacs -nw"
10 # use internal pager - get colours!
11 # but use less, we can get proper charset stuff
12 set pager="less"
13 # my terminal's default charset
14 set charset="utf-8"
15 set sort=reverse-date
16 # path to sendmail for outgoing mail
17 set sendmail="/usr/sbin/sendmail -oem -oi"
18 # Save sent mail
19 #set record="~/Mail/mutt_Sent"
20 my_hdr Bcc: my@email.address
21 # don't show Bcc field to recipients!
22 set write_bcc="no"
23 set from="\"My Name\" <my@email.address>"
24 #save-hook .*From:.* =sent
25 # run a script to choose a random sig
26 set signature="~/bin/scripts/getsig.pl|"
5 JohnMcPherson 27
6 AristotlePagaltzis 28 #### IMAP SETTINGS ####
29 # for imap rechecking
30 set timeout=60
31 set imap_user="myusername"
32 set mail_check=30
33 # versions at uni don't have ssl support compiled in...
34 #set spoolfile={imap.cs.waikato.ac.nz/ssl}
35 #set folder={imap.cs.waikato.ac.nz/ssl}
36 #mailboxes {imap.cs.waikato.ac.nz/ssl}
37 # make mutt use my imap account as default
38 set spoolfile={imap.cs.waikato.ac.nz}
39 set folder={imap.cs.waikato.ac.nz}
40 mailboxes {imap.cs.waikato.ac.nz}
41 ####
42 #### COLOUR SETTINGS ####
43 # - default, and color<n> are special
7 JohnMcPherson 44 # color <obj> [bright]<foreground> <background>
6 AristotlePagaltzis 45 ### I've never actually managed to get these to work - John
46 #color "body" green black e
47 #color header yellow yellow e
48 #color "signature" green color2
49 #color bold green green
50 #color quoted green default
51 #color signature red default
5 JohnMcPherson 52
6 AristotlePagaltzis 53 ## Indicator is the currently selected message ##
54 #color indicator brightyellow red
55 color indicator red white
5 JohnMcPherson 56
6 AristotlePagaltzis 57 #
58 #color error brightred default
59 ###color error brightred white
5 JohnMcPherson 60
61
6 AristotlePagaltzis 62 #### GPG SETTINGS ####
63 # %p Expands to PGPPASSFD=0 when a pass phrase is needed, to an empty
64 # string otherwise. Note: This may be used with a %? construct.
65 # %f Expands to the name of a file containing a message.
66 # %s Expands to the name of a file containing the signature part
67 # of a multipart/signed attachment when verifying it.
68 # %a The value of $pgp_sign_as.
69 # %r One or more key IDs.
5 JohnMcPherson 70
6 AristotlePagaltzis 71 # automatically sign all outgoing messages
72 set pgp_autosign=yes
5 JohnMcPherson 73
6 AristotlePagaltzis 74 # which key to use
75 set pgp_sign_as="0x1EAA5AC1"
5 JohnMcPherson 76
6 AristotlePagaltzis 77 # automatically check messages
78 set pgp_verify_sig=yes
5 JohnMcPherson 79
6 AristotlePagaltzis 80 # for checking pgp/mime signatures
81 set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
5 JohnMcPherson 82
6 AristotlePagaltzis 83 set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - --decrypt %f"
5 JohnMcPherson 84
6 AristotlePagaltzis 85 set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - --decrypt %f"
5 JohnMcPherson 86
6 AristotlePagaltzis 87 # for creating detached pgp sig (mime/pgp)
88 set pgp_sign_command="gpg --passphrase-fd 0 -o - --detach-sign --textmode --armor --always-trust %f"
5 JohnMcPherson 89
6 AristotlePagaltzis 90 # for signing and encrypting
7 JohnMcPherson 91 </verbatim>
8 AristotlePagaltzis 92 <pre>
93 set pgp_encrypt_sign_command="[pgpewrap] gpg --passphrase-fd 0 --batch -o - --sign %?a?-u %a? --encrypt --textmode --armor --always-trust -- -r %r -- %f"
5 JohnMcPherson 94
8 AristotlePagaltzis 95 set pgp_encrypt_only_command="[pgpewrap] gpg -v --batch -o - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
96 </pre>
7 JohnMcPherson 97 <verbatim>
6 AristotlePagaltzis 98 # doesn't work - mutt turns %r into email address instead of key...
99 #set pgp_getkeys_command="gpg --keyserver the.earth.li --recv-key %r"
5 JohnMcPherson 100
6 AristotlePagaltzis 101 # read in the public key ring
102 set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
103 # export a key from the public key ring
104 set pgp_export_command="gpg --no-verbose --export --armor %r"
105 </verbatim>
5 JohnMcPherson 106
11 AdamSpiers 107 ----
108
109 Note that there is an alternative way to pgp_getkeys_command for automatically retrieving public keys to verify signatures:
110
111 http://www.webservertalk.com/archive204-2004-10-432208.html
112
113 -- AdamSpiers
5 JohnMcPherson 114 ----
115
116 This is AristotlePagaltzis' [.muttrc]:
117
6 AristotlePagaltzis 118 <verbatim>
119 ##################
120 ## ENVIRONMENT
5 JohnMcPherson 121
6 AristotlePagaltzis 122 set realname="A. Pagaltzis"
123 set from="pagaltzis@gmx.de"
5 JohnMcPherson 124
6 AristotlePagaltzis 125 set folder=~/Mail/
126 set spoolfile=~/Mail/Inbox
127 set mbox=~/Mail/Inbox
128 set record=~/Mail/Inbox
129 set postponed=~/Mail/Postponed
130 set alias_file=~/Mail/aliases
5 JohnMcPherson 131
6 AristotlePagaltzis 132 source ~/Mail/aliases
5 JohnMcPherson 133
6 AristotlePagaltzis 134 mailboxes \
135 =/Inbox \
136 =/Responses \
137 =/community/computers \
138 =/community/compression \
139 =/community/corewar \
140 =/community/perl \
141 =/community/personal \
142 =/community/work \
143 =/lists/cologne-pm \
144 =/lists/corewar \
145 =/lists/crux \
146 =/lists/fsb \
147 =/lists/fwp \
148 =/lists/gtk2-perl \
149 =/lists/linux-users \
150 =/lists/misc \
151 =/lists/modules \
152 =/lists/netgamers \
153 =/lists/p6l \
154 =/lists/pekwm \
155 =/lists/templates \
5 JohnMcPherson 156
6 AristotlePagaltzis 157 subscribe \
158 cologne-pm@mail.pm.org \
159 corewar-l@koth.org \
160 crux@fukt.bth.se \
161 fwp@perl.org \
162 gamers@netgamers.de \
163 gtk-perl-list@gnome.org \
164 linux-users-discussion@rrz.uni-koeln.de \
165 linux-users-discussion@rrzk.uni-koeln.de \
166 linux-users-discussion@uni-koeln.de \
167 linux-users@rrz.uni-koeln.de \
168 linux-users@rrzk.uni-koeln.de \
169 linux-users@uni-koeln.de \
170 module-authors@perl.org \
171 pekwm-devel@pekwm.org \
172 pekwm-users@pekwm.org \
173 perl6-language@perl.org \
174 templates@template-toolkit.org \
5 JohnMcPherson 175
176
6 AristotlePagaltzis 177 ##################
178 ## MISC PREFERENCES
5 JohnMcPherson 179
6 AristotlePagaltzis 180 set charset=iso-8859-15
181 charset-hook iso-8859-1 iso-8859-15
5 JohnMcPherson 182
6 AristotlePagaltzis 183 set copy
184 set fcc_attach
185 set delete
186 unset beep
187 unset beep_new
188 unset mark_old
5 JohnMcPherson 189
6 AristotlePagaltzis 190 ##################
191 ## MESSAGE CREATION/EDITING
5 JohnMcPherson 192
6 AristotlePagaltzis 193 # use vim, tell it to set cursor on first line of body
194 set editor="vim -c 'set expandtab textwidth=65 | normal }j'"
195 set use_from
196 set envelope_from
197 set user_agent
198 set attribution="* %n <%a> [%(%Y-%m-%d %H:%M)]:"
199 set forward_format="Fwd: <%a> %s"
200 set forward_quote
201 set fast_reply
202 set reply_self
203 set include
204 set reply_to
205 set ignore_list_reply_to
206 set edit_headers
207 set noabort_nosubject
208 set abort_unmodified
209 unset confirmappend
5 JohnMcPherson 210
211
6 AristotlePagaltzis 212 ##################
213 ## BINDS
5 JohnMcPherson 214
6 AristotlePagaltzis 215 bind pager <up> previous-line
216 bind pager <down> next-line
217 macro pager c '<change-folder>?<toggle-mailboxes>'
218 macro index c '<change-folder>?<toggle-mailboxes>'
219 macro pager ^s '<pipe-message> sa-learn --spam --no-rebuild --mbox - <enter><delete-message>'
220 macro index ^s '<pipe-message> sa-learn --spam --no-rebuild --mbox - <enter><delete-message>'
5 JohnMcPherson 221
222
6 AristotlePagaltzis 223 ##################
224 ## INDEX/MESSAGE VIEWING
5 JohnMcPherson 225
6 AristotlePagaltzis 226 set sort=threads
227 set index_format="%4C %Z %{%b %d} %-15.15F %s"
228 set folder_format="%N %3C %9s bytes %N %f"
229 set menu_scroll
5 JohnMcPherson 230
6 AristotlePagaltzis 231 set pager_stop
232 set implicit_autoview
5 JohnMcPherson 233
6 AristotlePagaltzis 234 alternative_order text/plain text/html
5 JohnMcPherson 235
6 AristotlePagaltzis 236 ignore * # display none of the headers by default
237 unignore \
238 Sender \
239 From \
240 Organization \
241 Reply-To \
242 Date \
243 To \
244 Cc \
245 Subject \
246 User-Agent \
247 X-Editor \
248 X-Mailer \
249 X-Newsreader \
250 X-Posting-Agent \
251 Newsgroups \
252 X-Resent \
253 Followup-To \
254 Mail-Followup-To \
255 Message-Id \
5 JohnMcPherson 256
6 AristotlePagaltzis 257 hdr_order \
258 Sender \
259 From \
260 Organization \
261 Reply-To \
262 Date \
263 To \
264 Cc \
265 Subject \
266 User-Agent \
267 X-Editor \
268 X-Mailer \
269 X-Newsreader \
270 X-Posting-Agent \
271 Newsgroups \
272 X-Resent \
273 Followup-To \
274 Mail-Followup-To \
275 Message-Id \
5 JohnMcPherson 276
277
6 AristotlePagaltzis 278 ##################
279 ## COLORS
5 JohnMcPherson 280
6 AristotlePagaltzis 281 # used in all screens
282 color indicator black white
283 color search black white
284 color status brightcyan blue
5 JohnMcPherson 285
6 AristotlePagaltzis 286 # index
287 color index brightwhite default "~N" # new messages
288 color index brightwhite default "~O" # new messages
289 color index brightred default "~D" # deleted messages
5 JohnMcPherson 290
6 AristotlePagaltzis 291 # pager
292 color bold brightwhite default
293 color underline brightwhite default
294 color quoted cyan default
295 color quoted1 yellow default
296 color quoted2 cyan default
297 color quoted3 yellow default
298 color quoted4 cyan default
299 color quoted5 yellow default
300 color signature brightblue default
301 color markers brightred default
302 color tilde brightblue default
303 color attachment brightgreen default
5 JohnMcPherson 304
6 AristotlePagaltzis 305 # pager: message headers
306 color hdrdefault white default
307 color header brightwhite default "^Subject:"
308 color header brightcyan default "^Date:"
309 color header brightgreen default "^From[: ]"
310 color header brightyellow default "^To:|^Cc:|^Bcc:"
311 color header brightred default "^(Reply|Mail-Followup)-To:"
312 color header brightblue default "^[^:]*-Agent:|^[^:]*-Mailer:"
313 color header yellow default "^X-[^:]*:"
314
315 # URLs
316 color body brightcyan default "(finger|ftp|https?|news|telnet):[^ >)\"\t]+"
317 color body brightcyan default "www\\.[-.a-z0-9]+\\.[a-z][a-z][a-z]?([-_./~a-z0-9]+)?"
318 color body brightcyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+"
319
320 # *bold* _underlined_ /italic/ text (imperfect)
321 color body brightwhite default "(^|[^[:alnum:]])[*_/][-_&!.,[:alnum:]]+[*_/]($|[^[:alnum:]])"
322
323 # smileys (imperfect)
324 color body brightyellow default "(^| )[;:8]-?[][)(PDp/|\]+($| )"
325 color body brightyellow default "<[Bb]?[Gg]>"
326 </verbatim>

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 3 times)