-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.mbsyncrc
More file actions
28 lines (25 loc) · 797 Bytes
/
.mbsyncrc
File metadata and controls
28 lines (25 loc) · 797 Bytes
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
IMAPAccount gmail
Host imap.gmail.com
User your_mail
Pass PassCmd "gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.password-store/mbsynccred.gpg"
#UseIMAPS yes
CertificateFile ~/gmail-backup/gmail.crt
CertificateFile ~/gmail-backup/google.crt
#CertificateFile /usr/share/ca-certificates/mozilla/Equifax_Secure_CA.crt
SSLType IMAPS
SSLVersion TLSv1.2
IMAPStore gmail-remote
Account gmail
MaildirStore gmail-backup
Path ~/gmail-backup/
Inbox ~/gmail-backup/Inbox
Channel gmail
Master :gmail-remote:
Slave :gmail-backup:
Create Slave
Expunge Slave
SyncState *
Sync All
#Sync Pull
# Exclude everything under the internal [Gmail] folder, except archived mails
Patterns * ![Gmail]* INBOX ARCHIVED