summaryrefslogtreecommitdiff
path: root/.config/neomutt/listout
blob: 176fb5565cd47809a5eed9ef446631c3c32042e4 (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
unmailboxes *

# Unset to properly repopulate the variables
unset record
unset spoolfile
unset postponed
unset smtp_pass
unset smtp_url
unset smtp_user
unset from
unset hostname
unset realname
unset implicit_autoview

set edit_headers=yes

set realname = "Brahmajit Das"
set from = listout@listout.xyz
set signature="$HOME/.config/neomutt/signature"

set header_cache = "$XDG_CACHE_HOME/neomutt/headers/"
set message_cachedir = "$XDG_CACHE_HOME/neomutt/bodies/"
#set certificate_file = "$XDG_CACHE_HOME/neomutt/certificates/"
set header_cache_compress_method = "lz4"
set header_cache_compress_level = 3

set folder=~/.local/share/email/mailbox_org
set mbox_type=Maildir
set spoolfile=+INBOX
set record=~/.local/share/email/mailbox_org/Sent
set postponed=+Drafts

# Run
# find ~/.local/share/email/mailbox_org -type d -name cur \
# | xargs dirname \
# | sed 's/^/mailboxes "/;s/$/"/' | sort \
# > ~/.cache/neomutt-mailboxes-mailbox
# for generating the mailboxes
source ~/.cache/neomutt-mailboxes-mailbox

set sendmail = "msmtp -a mailbox"

# synchronization settings ['s' to sync]
macro index S "<shell-escape>mbsync -V mailbox<enter>" "sync email"

## Hook
#account-hook $folder "set imap_user=listout@listout.xyz imap_pass=`pass show mailbox.org/pass`"

# vim: set ft=muttrc: