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;set pager_index_lines=10
8 folder-hook "!$" set sort=mailbox-order;push "*<Tab>";set pager_index_lines=0
9 folder-hook "=(=|err|rhbug)" set sort=mailbox-order;push "*<Tab>";set pager_index_lines=0
10 folder-hook "=(sent|spam|input)" set sort=mailbox-order;push "*";set pager_index_lines=0
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 # tw=78 is for gq and RFC 2822 section 2.1.1.
21 set editor="vim -c 'set noai' -c 'set ts=8' -c 'set tw=78'"
22 set send_charset="us-ascii:iso-2022-jp:utf-8"
30 set forward_format="Fwd: [%a] %s"
37 set status_format="---%h:%f [%M %nN %tT %dD %lB]%>-%v---"
38 #set web_browser="lynx %s"
39 set pager_format="-%S- [%l lines, %c] %C/%T: %-20.20n %s"
42 set rfc2047_parameters
50 set abort_unmodified=no
51 set date_format="!%a, %d %b %Y %H:%M:%S %z" # RFC 2822: 3.3.
52 # FIXME: %D not needed: RFC 2822: 3.3: "converted" can IMO incl. timezone
53 # but %d will place +0000 for %z and thus brokes the timestamp
54 set attribution="On %D, %n wrote:"
56 # Mailman; FIXME: Patch Mutt to extend it multiline.
57 color body brightred default "^_______________________________________________\r?\n$"
58 macro index <Esc>m "l~N|~O\n"
59 macro pager <Esc>f ":set pager_index_lines=0\n
60 macro pager <Esc>g ":set pager_index_lines=10\n"
66 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"
67 macro index m ":unmy_hdr X-Priority Importance\n:unset dsn_return dsn_notify\n^a" "Standard compose of a new mail message"
68 # quote 'macro' argument to prevent: macro: too many arguments
69 # `spamassassin {--report|--revoke}' calls `sa-learn {--spam|--ham}' automatically.
70 folder-hook "" "macro index S \":unset wait_key\n|spamassassin --report\n:set wait_key\ns=spamo-mutt\n\""
71 folder-hook "=spam" "macro index S \":unset wait_key\n|spamassassin --report\n:set wait_key\nWN\ct~T\n\""
72 folder-hook "" "macro pager S \":unset wait_key\n|spamassassin --report\n:set wait_key\ns=spamo-mutt\n\""
73 folder-hook "=spam" "macro pager S \":unset wait_key\n|spamassassin --report\n:set wait_key\n\""
74 folder-hook "" "macro index H \":unset wait_key\n|spamassassin --revoke\n:set wait_key\nWN\ct~T\n\""
75 folder-hook "" "macro pager H \":unset wait_key\n|spamassassin --revoke\n:set wait_key\n\""
76 macro editor \ew "^a [^e]^a"
80 source ~/.muttrc-gpg.rc
81 unset pgp_show_unusable
83 set pgp_replysignencrypted
88 ignore received: content-transfer-encoding: content-length: Content-Disposition:
89 ignore mime-version: status: x-status: sender:
90 ignore references: lines: x-authentication-warning:
91 ignore list-help: list-subscribe: list-unsubscribe: list-post:
92 ignore x-loop: errors-to: x-beenthere: X-Mailman-Version: X-Sieve:
93 ignore x-mimetrack: priority: x-priority: importance: precedence: x-mime-autoconverted:
94 ignore x-accept-language: x-sender: x-antirelay:
95 ignore x-msmail-priority: x-mimeole: x-pop3-rcpt: delivered-to:
96 ignore face: organization: x-scanned-by: x-bugzilla-
97 ignore DKIM-Signature: DomainKey-Signature: X-RedHat-Spam-Score:
98 color header brightyellow black ^(From|Subject|To|Cc|Bcc|Message-ID):
102 color hdrdefault brightcyan black
103 color quoted cyan black
104 color signature brightred black
105 color indicator brightyellow red
106 color error brightred black
107 color status brightyellow blue
108 color tree brightmagenta black # the thread tree in the index menu
109 color tilde brightmagenta black
110 color message brightcyan black
111 color normal white black
112 color attachment brightmagenta black
113 color search black green # how to hilite search patterns in the pager
114 color body brightyellow black "(ftp|http)://[^ ]+" # point out URLs
115 color body brightcyan black [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
116 color underline brightgreen black
117 mono header underline ^(From|Subject):
119 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"