]> Sergey Matveev's repositories - dotfiles.git/blob - mutt/.mutt/muttrc
X-Original-To is useful
[dotfiles.git] / mutt / .mutt / muttrc
1 set folder = "~/mail"
2 set mbox_type = maildir
3 # set mbox_type = mbox
4 set spoolfile = =mbox
5 set record = =sent-`date "+%y-%m"`
6 set postponed = =postponed
7 set certificate_file = ~/.mutt/certificates
8 set net_inc = 1
9 set edit_headers = yes
10 set charset = "utf-8"
11 set pager_stop = yes
12 set sort = "threads"
13 set sort_aux = "last-date-received"
14 set pager_index_lines = 6
15 set timeout = 60
16 set rfc2047_parameters
17 set reply_to = yes
18 set fcc_clear = yes
19 set ssl_force_tls = no
20 set user_agent = yes
21 set signature = ~/.signature
22 set hostname = "stargrave.org"
23 set realname = "Sergey Matveev"
24 set query_command = "mu cfind --format=mutt-ab '%s'"
25 set forward_format = "Fwd: %s"
26 set date_format = "%Y-%m-%d %H:%M"
27 set index_format = "%4C %Z[%1H] %D [%N] %-15.15L (%?l?%4l&%4c?)%?M?[#%02M]?%?Y?[%Y]? %s"
28 set pipe_decode = yes
29 set crypt_protected_headers_write = yes
30 set print_command = "cat > /tmp/mail-printed"
31 set attribution = "*** %n [%{%Y-%m-%d %H:%M}]:"
32 set forward_attribution_intro = "----- BEGIN %i -----"
33 set forward_attribution_trailer = "----- END %i -----"
34 set mail_check_stats
35 set folder_format="%3C %t %N [%3n|%3m] %D %f"
36
37 source ~/.mutt/useragent.rc
38
39 macro index,pager,browser <F1> "<next-unread-mailbox><enter>"
40 macro index <F5> ":set mbox_type = mbox\n" "mbox mailbox type"
41
42 macro index <F8> "<shell-escape>mu find --clearlinks --format=links --linksdir=~/mail/search " "mu find"
43 macro index <F9> "<change-folder-readonly>~/mail/search<enter>" "mu find results"
44
45 macro pager \cu |urlview\n
46
47 macro index \cb <decrypt-copy>
48 macro pager \cb <decrypt-copy>
49
50 macro index \ce <next-entry>
51 macro index \cy <previous-entry>
52 macro pager \ce <next-line>
53 macro pager \cy <previous-line>
54
55 alternative_order text/plain text/enriched text/html
56 auto_view text/html
57 unignore \
58     List-Id \
59     Mail-Followup-To \
60     Mail-Reply-To \
61     Message-Id \
62     OpenPGP \
63     Organization \
64     Reply-To \
65     Return-Path \
66     User-Agent \
67     X-Bogosity \
68     X-Label \
69     X-Mailer \
70     X-Original-To
71
72 fcc-hook .* $record
73 folder-hook . "set sort = threads; push <collapse-all>"
74
75 source ~/.mutt/mailboxes.rc
76 source ~/.mutt/accounts/rc
77
78 # set mime_forward = yes
79 # set mime_forward_rest = yes