Skip to content

Commit

Permalink
add mbsyncrc
Browse files Browse the repository at this point in the history
  • 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.
38 changes: 38 additions & 0 deletions .mbsyncrc
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

0 comments on commit 42e83cc

Please sign in to comment.