summaryrefslogtreecommitdiff
path: root/email/.mbsyncrc
blob: 0a8d5d6af143eb5aaa6b02e7946db84f46ac4544 (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
# Account info
IMAPAccount mailbox
Host imap.mailbox.org
User julian@jtle.dk
SSLType IMAPS
#PassCmd "echo ${PASSWORD:-$(pass show mail | head -n 1)}"
PassCmd "pass show mail | head -n 2"
AuthMechs LOGIN

# Remote settings
IMAPStore mailbox-remote
Account mailbox

# Local settings
MaildirStore mailbox-local
Subfolders Verbatim
# The trailing "/" is important
Path ~/.mail/mailbox/
Inbox ~/.mail/mailbox/inbox

# Connection
Channel mailbox-inbox
Master :mailbox-remote:
Slave :mailbox-local:
Patterns INBOX*
Create Both
SyncState *

Channel mailbox-sent
Master :mailbox-remote:"Sent"
Slave :mailbox-local:sent
Create Both

Group mailbox
Channel mailbox-inbox
Channel mailbox-sent