-
Notifications
You must be signed in to change notification settings - Fork 0
/
.muttrc
114 lines (94 loc) · 3.33 KB
/
.muttrc
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# Default shared configuration
# Email accounts configuration
source ~/.mutt/accounts
# Authenticators for macOS
set smtp_authenticators = 'gssapi:login'
# Configuration for email formats (HTML, etc)
#if there is only html dump that
auto_view text/html
# this helps with multipart messages
alternative_order text/plain text/enriched text/html
set mailcap_path = ~/.mutt/mailcap
# Caching setup
set header_cache = "~/.mutt/cache/headers"
set message_cachedir = "~/.mutt/cache/bodies"
set certificate_file = "~/.mutt/certificates"
# Content setup (needs vim to be on board)
set text_flowed
set editor=vim
# Charset configuration
set assumed_charset="utf-8:iso-8859-1:us-ascii"
set charset="utf-8"
set config_charset="utf-8"
set send_charset="utf-8:iso-8859-1:us-ascii"
set ascii_chars
# Message sorting options
# set sort = threads
set mark_old = no
set sort=reverse-threads
set sort_aux=date-received
# User interface configuration
set sidebar_visible = yes
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
set sidebar_sort_method = alpha
set mail_check_stats
# Show message list after opening message
set pager_index_lines=10
# Navigate sidebar with control + P, N, O
bind index,pager \CP sidebar-prev
bind index,pager \CN sidebar-next
bind index,pager \CO sidebar-open
# Toggle sidebar visibiity
bind index,pager \CB sidebar-toggle-visible
# activate TLS if available on the server
set ssl_starttls=yes
# always use SSL when connecting to a server
set ssl_force_tls=yes
# Don't wait to enter mailbox manually
unset imap_passive
# List subscribed mailboxes
#set imap_list_subscribed
# Automatically poll subscribed mailboxes for new mail (new in 1.5.11)
set imap_check_subscribed
# Reduce polling frequency to a sane level
set mail_check=60
# And poll the current mailbox more often (not needed with IDLE in post 1.5.11)
set timeout=10
# Colors
color normal white default
color attachment brightyellow default
color hdrdefault cyan default
color indicator black cyan
color markers brightred default
color quoted brightcyan default
color signature cyan default
color status brightgreen blue
color tilde blue default
color tree red default
color index red default ~P
color index brightred default ~D
color index magenta default ~T
color header brightgreen default ^From:
color header brightcyan default ^To:
color header brightcyan default ^Reply-To:
color header brightcyan default ^Cc:
color header brightblue default ^Subject:
# identifies email addresses
color body brightgreen default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
# identifies URLs
color body brightblue default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+
# GnuPG
color body black red "BAD signature .*$"
# Tag a good signature
color body brightgreen default "Good signature .*$"
# Inform the signature can't be verified
color body brightred default "Can't check signature: public key not found"
color body brightred default "WARNING: .*!"
color body brightred default "some signal caught ... exiting"
# Prevent backspace from aborting prompt
set abort_backspace = no
# https://dev.mutt.org/trac/wiki/UseCases/Gmail
# https://www.neomutt.org/feature/sidebar-intro
# https://unix.stackexchange.com/questions/50476/sorting-threads-in-mutt
# http://www.mdlerch.com/emailing-mutt-and-vim-advanced-config.html
# https://superuser.com/questions/273826/why-my-mutt-black-background-looks-gray