-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmbsyncrc
70 lines (59 loc) · 1.96 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
IMAPAccount web
# Address to connect to
Host imap.web.de
User dario.klingenberg@web.de
# PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.password-store/web.gpg"
PassCmd "pass web"
#
# Use SSL
SSLType IMAPS
# The following line should work. If get certificate errors, uncomment the two following lines and read the "Troubleshooting" section.
CertificateFile /etc/ssl/certs/ca-certificates.crt
#CertificateFile ~/.cert/imap.gmail.com.pem
#CertificateFile ~/.cert/Equifax_Secure_CA.pem
IMAPStore web-remote
Account web
MaildirStore web-local
Subfolders Verbatim
# The trailing "/" is important
Path ~/.mail/web/
Inbox ~/.mail/web/Inbox
Channel web
Far :web-remote:
Near :web-local:
# Automatically create missing mailboxes, both locally and on the server
Create Both
# Save the synchronization state files in the relevant directory
SyncState *
IMAPAccount gmail
# Address to connect to
Host imap.gmail.com
User dario.klingenberg@gmail.com
# To store the password in an encrypted file use PassCmd instead of Pass
# PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.password-store/gmail.gpg"
PassCmd "pass gmail-mbsync"
#
# Use SSL
SSLType IMAPS
# The following line should work. If get certificate errors, uncomment the two following lines and read the "Troubleshooting" section.
CertificateFile /etc/ssl/certs/ca-certificates.crt
#CertificateFile ~/.cert/imap.gmail.com.pem
#CertificateFile ~/.cert/Equifax_Secure_CA.pem
IMAPStore gmail-remote
Account gmail
MaildirStore gmail-local
Subfolders Verbatim
# The trailing "/" is important
Path ~/.mail/gmail/
Inbox ~/.mail/gmail/Inbox
Channel gmail
Far :gmail-remote:
Near :gmail-local:
# Exclude everything under the internal [Gmail] folder, except the interesting folders
Patterns * ![Gmail]* "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail"
# Or include everything
#Patterns *
# Automatically create missing mailboxes, both locally and on the server
# Create Both
# Save the synchronization state files in the relevant directory
SyncState *