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 # `spamassassin {--report|--revoke}' calls `sa-learn {--spam|--ham}' automatically.
67 folder-hook "" "macro index S \":unset wait_key\n|spamassassin --report\n:set wait_key\ns=spamo-mutt\n\""
68 folder-hook "=spam" "macro index S \":unset wait_key\n|spamassassin --report\n:set wait_key\nWN\ct~T\n\""
69 folder-hook "" "macro pager S \":unset wait_key\n|spamassassin --report\n:set wait_key\ns=spamo-mutt\n\""
70 folder-hook "=spam" "macro pager S \":unset wait_key\n|spamassassin --report\n:set wait_key\n\""
71 folder-hook "" "macro index H \":unset wait_key\n|spamassassin --revoke\n:set wait_key\nWN\ct~T\n\""
72 folder-hook "" "macro pager H \":unset wait_key\n|spamassassin --revoke\n:set wait_key\n\""
73 macro editor \ew "^a [^e]^a"
77 source ~/.muttrc-gpg.rc
78 unset pgp_show_unusable
80 set pgp_replysignencrypted
85 ignore received: content-transfer-encoding: content-length: Content-Disposition:
86 ignore mime-version: status: x-status: sender:
87 ignore references: lines: x-authentication-warning:
88 ignore list-help: list-subscribe: list-unsubscribe: list-post:
89 ignore x-loop: errors-to: x-beenthere: X-Mailman-Version: X-Sieve:
90 ignore x-mimetrack: priority: x-priority: importance: precedence: x-mime-autoconverted:
91 ignore x-accept-language: x-sender: x-antirelay:
92 ignore x-msmail-priority: x-mimeole: x-pop3-rcpt: delivered-to:
93 ignore face: organization:
94 ignore DKIM-Signature: DomainKey-Signature: X-RedHat-Spam-Score:
95 color header brightyellow black ^(From|Subject|To|Cc|Bcc|Message-ID):
99 color hdrdefault brightcyan black
100 color quoted cyan black
101 color signature brightred black
102 color indicator brightyellow red
103 color error brightred black
104 color status brightyellow blue
105 color tree brightmagenta black # the thread tree in the index menu
106 color tilde brightmagenta black
107 color message brightcyan black
108 color normal white black
109 color attachment brightmagenta black
110 color search black green # how to hilite search patterns in the pager
111 color body brightyellow black "(ftp|http)://[^ ]+" # point out URLs
112 color body brightcyan black [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
113 color underline brightgreen black
114 mono header underline ^(From|Subject):
116 macro index V ":color index black white ''\n:color header black white ^(From|Subject|To|Cc|Bcc|Message-ID):\n:color hdrdefault black white\n:color quoted cyan white\n:color signature brightred white\n:color indicator brightyellow red\n:color error brightred white\n:color status brightyellow blue\n:color tree brightmagenta white # the thread tree in the index menu\n:color tilde brightmagenta white\n:color message brightcyan white\n:color normal black white\n:color attachment brightmagenta white\n:color search black green # how to hilite search patterns in the pager\n:color body brightyellow white '(ftp|http)://[^ ]+' # point out URLs\n:color body black white [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses\n:color underline brightgreen white\n\cl"