-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mbsyncrc
78 lines (63 loc) · 1.66 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
69
70
71
72
73
74
75
76
77
78
# Configuration based on : https://pragmaticemacs.wordpress.com/2016/03/22/migrating-from-offlineimap-to-mbsync-for-mu4e/
# See also : https://isync.sourceforge.io/mbsync.html
# https://stackoverflow.com/questions/57746821/getting-a-self-signed-certificate-error-with-protonbridge-and-mbsync
#########################################
# emileturcotte.com
#########################################
IMAPAccount protonmail
Host 127.0.0.1
Port 1143
User [email protected]
PassCmd "pass protonbridge/imap | head -n1"
AuthMechs LOGIN
SSLType STARTTLS
SSLVersions TLSv1.3
CertificateFile ~/.config/protonmail/bridge-v3/cert.pem
# Remote
IMAPStore protonmail-remote
Account protonmail
# Local
MaildirStore protonmail-local
Path ~/.cache/mbsync/protonmail/
Inbox ~/.cache/mbsync/protonmail/INBOX
SubFolders Verbatim
## Connections
Channel protonmail-all
Far :protonmail-remote:
Near :protonmail-local:
Patterns *
Create Near
Expunge Both
SyncState *
## Groups
Group protonmail
Channel protonmail-all
#########################################
#########################################
IMAPAccount baseline
Host imap.gmail.com
User [email protected]
PassCmd "pass baseline/google | head -n1"
AuthMechs LOGIN
SSLType IMAPS
SSLVersions TLSv1.3
CertificateFile /etc/ssl/certs/ca-certificates.crt
# Remote
IMAPStore baseline-remote
Account baseline
# Local
MaildirStore baseline-local
Path ~/.cache/mbsync/baseline/
Inbox ~/.cache/mbsync/baseline/INBOX
SubFolders Verbatim
# Connections
Channel baseline-inbox
Far :baseline-remote:
Near :baseline-local:
Patterns "INBOX"
Create Both
Expunge Both
SyncState *
Group baseline
Channel baseline-inbox