aboutsummaryrefslogtreecommitdiffstats
path: root/doom-emacs/.config/mbsyncrc-example
blob: 0dd98a3348b804bbb9e1e11e908c08c292208394 (plain) (blame)
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
IMAPAccount acct-1
Host imap.example.com
User acct-1@example.com
PassCmd "gpg --quiet --decrypt ~/.password-store/acct-1.gpg"
SSLType STARTTLS

IMAPStore acct-1-remote
Account acct-1

MaildirStore acct-1-local
Path ~/Documents/mail/acct-1/
Inbox ~/Documents/mail/acct-1/INBOX
SubFolders Verbatim

Channel acct-1
Far :acct-1-remote:
Near :acct-1-local:
Patterns * !Archives
Create Both
Expunge Both
SyncState *

# ============================

IMAPAccount acct-2
Host imap.gmail.com
User acct-2@gmail.com
PassCmd "gpg --quiet --decrypt ~/.password-store/self/acct-2.gpg"
SSLType IMAPS

IMAPStore acct-2-remote
Account acct-2

MaildirStore acct-2-local
Path ~/Documents/mail/acct-2/
Inbox ~/Documents/mail/acct-2/INBOX

Channel acct-2-inbox
Far :acct-2-remote:
Near :acct-2-local:
Patterns "INBOX"
Create Both
Expunge Both
SyncState *

Channel acct-2-trash
Far :acct-2-remote:"[Gmail]/Bin"
Near :acct-2-local:"[Gmail].Bin"
Create Both
Expunge Both
SyncState *

Channel acct-2-sent
Far :acct-2-remote:"[Gmail]/Sent Mail"
Near :acct-2-local:"[Gmail].Sent Mail"
Create Both
Expunge Both
SyncState *

Channel acct-2-starred
Far :acct-2-remote:"[Gmail]/Starred"
Near :acct-2-local:"[Gmail].Starred"
Create Both
Expunge Both
SyncState *

Group acct-2
Channel acct-2-inbox
Channel acct-2-sent
Channel acct-2-trash
Channel acct-2-all
Channel acct-2-starred