1 # System-wide personalization for Mutt
2 ######################################
4 # '!' an '=' are expand only as the very first characters.
5 # regexes are processed.
6 # '$' must follow alpha or '{' to get interpreted as a variable.
7 folder-hook "" set sort=threads
8 folder-hook "!$" set sort=mailbox-order;push "*<Tab>"
9 folder-hook "=(=|err|rhbug)" set sort=mailbox-order;push "*<Tab>"
10 folder-hook "=(sent|spam|input)" set sort=mailbox-order;push "*"
11 bind index <Tab> next-new
12 bind pager <Tab> next-new
13 bind index <Esc><Tab> previous-new
14 bind pager <Esc><Tab> previous-new
15 bind index \` next-unread
16 bind pager \` next-unread
17 bind index <Esc>\` previous-unread
18 bind pager <Esc>\` previous-unread
20 set editor="vim -c 'set noai' -c 'set ts=8'"
21 set send_charset="us-ascii:iso-2022-jp:utf-8"
29 set forward_format="Fwd: [%a] %s"
36 set status_format="---%h:%f [%M %nN %tT %dD %lB]%>-%v---"
37 #set web_browser="lynx %s"
38 set pager_format="-%S- [%l lines, %c] %C/%T: %-20.20n %s"
41 set rfc2047_parameters
49 set abort_unmodified=no
50 set date_format="!%a, %d %b %Y %H:%M:%S %z" # RFC 2822: 3.3.
51 # FIXME: %D not needed: RFC 2822: 3.3: "converted" can IMO incl. timezone
52 # but %d will place +0000 for %z and thus brokes the timestamp
53 set attribution="On %D, %n wrote:"
55 # Mailman; FIXME: Patch Mutt to extend it multiline.
56 color body brightred default "^_______________________________________________\r?\n$"
57 macro index <Esc>m "l~N|~O\n"
63 macro index M ":my_hdr X-Priority: 1\n:my_hdr Importance: high\n:set dsn_return=hdrs\n:set dsn_notify=failure,delay,success\n^a" "DSN and Priority-1 classed compose of a new mail message"
64 macro index m ":unmy_hdr X-Priority Importance\n:unset dsn_return dsn_notify\n^a" "Standard compose of a new mail message"
65 # quote 'macro' argument to prevent: macro: too many arguments
66 folder-hook "" "macro index S \":unset wait_key\n|spamassassin --report\n:set wait_key\ns=spamo-mutt\n\""
67 folder-hook "=spam" "macro index S \":unset wait_key\n|spamassassin --report\n:set wait_key\nWN\ct~T\n\""
68 folder-hook "" "macro pager S \":unset wait_key\n|spamassassin --report\n:set wait_key\ns=spamo-mutt\n\""
69 folder-hook "=spam" "macro pager S \":unset wait_key\n|spamassassin --report\n:set wait_key\n\""
70 folder-hook "" "macro index H \":unset wait_key\n|spamassassin --revoke\n:set wait_key\nWN\ct~T\n\""
71 folder-hook "" "macro pager H \":unset wait_key\n|spamassassin --revoke\n:set wait_key\n\""
72 macro editor \ew "^a [^e]^a"
76 source /home/lace/.muttrc-gpg.rc
77 unset pgp_show_unusable
79 set pgp_replysignencrypted
83 ignore received content- mime-version status x-status sender
84 ignore references return-path lines precedence x-authentication-warning
85 ignore list-help list-subscribe list-unsubscribe list-post list-archive
86 ignore x-mimetrack priority x-priority importance x-mime-autoconverted
87 ignore x-accept-language x-sender x-antirelay
88 ignore x-msmail-priority x-mimeole x-pop3-rcpt delivered-to
92 color hdrdefault brightcyan black
93 color quoted cyan black
94 color signature brightred black
95 color indicator brightyellow red
96 color error brightred black
97 color status brightyellow blue
98 color tree brightmagenta black # the thread tree in the index menu
99 color tilde brightmagenta black
100 color message brightcyan black
101 color normal white black
102 color attachment brightmagenta black
103 color search black green # how to hilite search patterns in the pager
104 color header brightyellow black ^(From|Subject):
105 color body brightyellow black "(ftp|http)://[^ ]+" # point out URLs
106 color body brightcyan black [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
107 color underline brightgreen black
108 mono header underline ^(From|Subject):