blob: f45694b03644b0ee41617d5858c1759b38b1b10a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
# Debian packages: neomutt notmuch-mutt msmtp
# The basics
set folder="~/mail"
set header_cache = "~/.cache/mutt/headers"
set mbox_type=Maildir
set message_cachedir = "~/.cache/mutt/messages"
set postponed="=drafts"
set record="sent"
set sort="threads"
set forward_format = "Fwd: %s" # Format of subject when forwarding
# Tweaks
unset help # Remove annoying messages
set beep_new
set charset="utf-8"
set fast_reply
set fast_reply=yes # Skip prompt for subject and recipients when replying
set hidden_host=yes
set include # Include message in replies
set mailcap_path = $HOME/.mailcap
set mark_old=no
set markers=no
set mask="!^\\.[^.]"
set pager_context=5 # Retain 5 lines of previous page when scrolling.
set send_charset="utf-8"
set sleep_time = 0
set smart_wrap # Do not wrap mid word
set wait_key=no
# Pager
set pager_index_lines = 10 # Number of index lines to show
set pager_context = 3 # Number of context lines to show
set pager_stop # Don't go to next message automatically
# Crypt
set crypt_autosign="yes"
set crypt_replyencrypt="yes"
set crypt_replysign="yes"
set crypt_replysignencrypted="yes"
set crypt_verify_sig="yes"
# PGP
set pgp_auto_decode=yes
set pgp_getkeys_command="gpg --recv-keys %r 2>/dev/null"
# SMIME
set smime_certificates="~/.smime/certificates"
set smime_keys="~/.smime/keys"
set smime_self_encrypt="yes"
# Sanitize messages with t-prot
set display_filter='t-prot -cmekatlS --max-lines=250 --bigq --pgp-short --pgp-move --pgp-move-vrf -Mmutt -L/etc/t-prot/footers -A/etc/t-prot/ads'
# Date format
set date_format="!%a, %b %d, %Y at %I:%M:%S%p %Z"
# Conditional time
set index_format='%4C %Z %<[y?%<[m?%<[d?%[%H:%M ]&%[%a %d]>&%[%b %d]>&%[%m/%y ]> %-15.15L (%?l?%4l&%4c?) %s'
# Status Bar
set status_chars = " *%A"
set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"
# HTML
auto_view text/html image/* application/x-gunzip application/x-tar-gz
alternative_order text/plain text/enriched text/html
# Extra configs
source "$HOME/.mutt/muttrc.aliases"
source "$HOME/.mutt/muttrc.binds"
source "$HOME/.mutt/muttrc.colors"
source "$HOME/.mutt/muttrc.hooks"
source "$HOME/.mutt/muttrc.macros"
source "$HOME/.mutt/muttrc.sidebar"
source "$HOME/.mutt/muttrc.mailboxes.env|"
source "$HOME/.mutt/muttrc.send.env|"
|