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