-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_mbsyncrc
38 lines (33 loc) · 1.18 KB
/
dot_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
###############################################################################
# mbsync configuration for proton mail #
###############################################################################
# Primary mail account ########################################################
IMAPAccount proton
Host 127.0.0.1
Port 1143
User [email protected]
PassCmd "gpg -q -d ~/.authinfo.gpg | awk 'FNR == 1 {print $8}'"
SSLType NONE
AuthMechs LOGIN
CertificateFile /etc/ssl/certs/ca-certificates.crt
# Bind a remote storage to a configured account ###############################
IMAPStore proton-remote
Account proton
# Bind a local storage to a folder ############################################
MaildirStore proton-local
Subfolders Verbatim
Path ~/Maildir/ProtonMail/
Inbox ~/Maildir/ProtonMail/inbox
# Channels (group local ↔ remote (aka. far ↔ near) configs) ###################
Channel proton
Far :proton-remote:
Near :proton-local:
Patterns *
Create Both
Expunge Both
SyncState *
# Remove Near
# Patterns * !"All Mail" !"Gmail"
# Groups (group channels) #####################################################
# Group proton
# Channel proton-inbox