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)" 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$"
62 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"
63 macro index m ":unmy_hdr X-Priority Importance\n:unset dsn_return dsn_notify\n^a" "Standard compose of a new mail message"
64 # quote 'macro' argument to prevent: macro: too many arguments
65 folder-hook "" "macro index S \":unset wait_key\n|spamassassin --report\n:set wait_key\ns=spamo-mutt\n\""
66 folder-hook "=spam" "macro index S \":unset wait_key\n|spamassassin --report\n:set wait_key\nWN\ct~T\n\""
67 folder-hook "" "macro pager S \":unset wait_key\n|spamassassin --report\n:set wait_key\ns=spamo-mutt\n\""
68 folder-hook "=spam" "macro pager S \":unset wait_key\n|spamassassin --report\n:set wait_key\n\""
69 folder-hook "" "macro index H \":unset wait_key\n|spamassassin --revoke\n:set wait_key\nWN\ct~T\n\""
70 folder-hook "" "macro pager H \":unset wait_key\n|spamassassin --revoke\n:set wait_key\n\""
71 macro editor \ew "^a [^e]^a"
75 source /home/lace/.muttrc-gpg.rc
76 unset pgp_show_unusable
78 set pgp_replysignencrypted
82 ignore received content- mime-version status x-status sender
83 ignore references return-path lines precedence x-authentication-warning
84 ignore list-help list-subscribe list-unsubscribe list-post list-archive
85 ignore x-mimetrack priority x-priority importance x-mime-autoconverted
86 ignore x-accept-language x-sender x-antirelay
87 ignore x-msmail-priority x-mimeole x-pop3-rcpt delivered-to
91 color hdrdefault brightcyan black
92 color quoted cyan black
93 color signature brightred black
94 color indicator brightyellow red
95 color error brightred black
96 color status brightyellow blue
97 color tree brightmagenta black # the thread tree in the index menu
98 color tilde brightmagenta black
99 color message brightcyan black
100 color normal white black
101 color attachment brightmagenta black
102 color search black green # how to hilite search patterns in the pager
103 color header brightyellow black ^(From|Subject):
104 color body brightyellow black "(ftp|http)://[^ ]+" # point out URLs
105 color body brightcyan black [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
106 color underline brightgreen black
107 mono header underline ^(From|Subject):