-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mbsyncrc
50 lines (41 loc) · 985 Bytes
/
.mbsyncrc
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
IMAPAccount gmail
Host imap.gmail.com
User [email protected]
PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.mailpass.gpg"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
Timeout 30
#Timeout 0 <-- use on first sync
# Remote store
IMAPStore gmail-remote
Account gmail
# Local store
MaildirStore gmail-local
Subfolders Verbatim
# The trailing "/" is important
Path ~/mbsync/
Inbox ~/mbsync/inbox
Channel gmail-default
Master :gmail-remote:
Slave :gmail-local:
Patterns INBOX
Channel gmail-sent
Master :gmail-remote:"[Gmail]/Sent Mail"
Slave :gmail-local:sent
Channel gmail-starred
Master :gmail-remote:"[Gmail]/Starred"
Slave :gmail-local:starred
Channel gmail-drafts
Master :gmail-remote:"[Gmail]/Drafts"
Slave :gmail-local:drafts
Channel gmail-trash
Master :gmail-remote:"[Gmail]/Trash"
Slave :gmail-local:trash
Create slave
SyncState *
Group gmail
Channel gmail-default
Channel gmail-sent
Channel gmail-starred
Channel gmail-drafts
Channel gmail-trash