-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mbsyncrc
35 lines (32 loc) · 1.26 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
IMAPAccount qqmail
# Address to connect to
Host imap.exmail.qq.com
User [email protected]
PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine qqmail port imap login [email protected] password/ {print $NF}'"
# To store the password in an encrypted file use PassCmd instead of Pass
# PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.mailpass.gpg"
#
# 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 qqmail-remote
Account qqmail
MaildirStore qqmail-local
Subfolders Verbatim
# The trailing "/" is important
Path ~/.mail/qqmail/
Inbox ~/.mail/qqmail/Inbox
Channel qqmail
Master :qqmail-remote:
Slave :qqmail-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 *