]> Sergey Matveev's repositories - dotfiles.git/blob - mutt/.mutt/muttrc
Initial
[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 signature = ~/.signature
20 set hostname = "stargrave.org"
21 set realname = "Sergey Matveev"
22 set query_command="mu cfind --format=mutt-ab '%s'"
23 set forward_format = "Fwd: %s"
24 set indent_string = ">"
25 set attribution = "*** %n [%(%Y-%m-%d %H:%M)]:"
26 set index_format = "%4C %Z[%1H] %{%m-%d} [%N] %-15.15L (%?l?%4l&%4c?)%?M?[#%02M]?%?Y?[%Y]? %s"
27 set pipe_decode = yes
28 set crypt_protected_headers_write = yes
29
30 macro index <F8> "<shell-escape>mu find --clearlinks --format=links --linksdir=~/mail/search " "mu find"
31 macro index <F9> "<change-folder-readonly>~/mail/search<enter>" "mu find results"
32
33 macro index <F5> ":set mbox_type = mbox\n" "mbox mailbox type"
34
35 macro pager \cu |urlview\n
36 macro index \cn "<next-unread-mailbox><enter>" "Go to new mail"
37 alternative_order text/plain text/enriched text/html
38 auto_view text/html
39 unignore \
40     Mail-Followup-To \
41     List-Id \
42     Reply-To \
43     Mail-Reply-To \
44     Organization \
45     OpenPGP \
46     Return-Path \
47     X-Mailer \
48     User-Agent \
49     Message-Id
50
51 macro index <F2> ":source ~/.mutt/accounts/stargrave.org\n" "Profile: stargrave.org"
52 macro index <F3> ":source ~/.mutt/accounts/stcnet.ru\n" "Profile: stcnet.ru"
53 macro index <F4> ":source ~/.mutt/accounts/riseup.net\n" "Profile: riseup.net"
54
55 alternates stargrave@stargrave.org junk@stargrave.org
56 mailboxes =mbox \
57     =rss \
58     =monitoring \
59     =arbeit \
60     =crypto \
61     =debian \
62     =fsf \
63     =gnunet \
64     =gnupg \
65     =golang \
66     =spam \
67     =stcnet \
68     =suckless \
69     =fbsd \
70     =tortalk \
71     =vim \
72     =zfs \
73     =zsh \
74     =sent-19-07 \
75     =sent-19-08 \
76     =back-19-07 \
77     =back-19-08
78 source ~/.mutt/accounts/stargrave.org
79
80 # set mime_forward = yes
81 # set mime_forward_rest = yes
82
83 fcc-hook .* $record
84
85 folder-hook . "set sort = threads; push <collapse-all>"
86
87 folder-hook =rss "set sort = date"
88 folder-hook =monitoring "set sort = date"
89 folder-hook =sent-19-07 "set sort = date-sent"
90 folder-hook =sent-19-08 "set sort = date-sent"
91
92 set print_command="cat > /tmp/mail-printed"