-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
YYY
authored and
YYY
committed
Jul 28, 2019
1 parent
52a3a71
commit 42e83cc
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
IMAPAccount gmail | ||
Host imap.gmail.com | ||
User [email protected] | ||
PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.mailpass.gpg" | ||
SSLType IMAPS | ||
CertificateFile /etc/ssl/certs/ca-certificates.crt | ||
|
||
# Remote store | ||
IMAPStore gmail-remote | ||
Account gmail | ||
|
||
# Local store | ||
MaildirStore gmail-local | ||
Subfolders Verbatim | ||
# The trailing "/" is important | ||
Path ~/mbsync/ | ||
Inbox ~/mbsync/inbox | ||
|
||
Channel gmail-default | ||
Master :gmail-remote: | ||
Slave :gmail-local:inbox | ||
Patterns INBOX | ||
|
||
Channel gmail-sent | ||
Master :gmail-remote:"[Gmail]/Sent Mail" | ||
Slave :gmail-local:sent | ||
|
||
Channel gmail-starred | ||
Master :gmail-remote:"[Gmail]/Starred" | ||
Slave :gmail-local:starred | ||
|
||
Create slave | ||
SyncState * | ||
|
||
Group gmail | ||
Channel gmail-default | ||
Channel gmail-sent | ||
Channel gmail-starred |