aboutsummaryrefslogtreecommitdiff
path: root/.config/neomutt/neomuttrc
blob: 2fd4e95b3b1b096a39b2a5cbfa8bc64581496a8d (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
# name
set realname = "Loek Le Blansch"
set from = "loek@pipeframe.xyz"

# e-mail server
set folder = ~/docs/mail/pipeframe/
set spoolfile = "+Inbox"
set record = "+Sent"
set trash = "+Trash"
set postponed = "+Drafts"

# imap credentials
set imap_user = "loek@mail.pipeframe.xyz"
set imap_pass = "`keyctl request user bw_session | xargs keyctl pipe | xargs bw get password efc4ddc3-cd2d-4090-b570-abea0113217a --session`"

# smtp credentials
set smtp_pass = $imap_pass
set smtp_url=smtp://$imap_user@mail.pipeframe.xyz:587
set ssl_force_tls = yes

# mail check timeout
set mail_check = 60

# mailboxes
mailboxes +Inbox +Drafts +Junk +Sent +Trash +Archive

# keybinds
macro index,pager A "<save-message>=Archive<enter>" "Archive Message"

# contacts
set alias_file = "~/.config/neomutt/aliases"
set sort_alias = alias
set reverse_alias = yes
source $alias_file

# miscellaneous options
set fast_reply = yes
set confirmappend = no
set delete = yes
set include = yes
set sort = threads
set header_cache = "~/.neomutt/hcache"
set edit_headers
set editor = "nvim"
set mime_type_query_command = "xdg-mime query filetype"
set sendmail = "/usr/bin/msmtp"
set query_command = "/usr/bin/lbdbq"

# colors
color hdrdefault blue black
color quoted blue black
color signature blue black
color attachment red black
color prompt brightmagenta black
color message brightred black
color error brightred black
color indicator black red
color status white black
color tree white black
color normal white black
color markers red black
color search white black
color tilde brightmagenta black
color index blue black ~F
color index red black "~N|~O"

# switch folders
macro index i "<change-folder> =Inbox"<enter>
macro index h "<change-folder> =Archive"<enter>