Skip to content

Instantly share code, notes, and snippets.

@dgoodlad
Created September 22, 2014 23:42
Show Gist options
  • Save dgoodlad/e0fddcc25a3c6d170f36 to your computer and use it in GitHub Desktop.
Save dgoodlad/e0fddcc25a3c6d170f36 to your computer and use it in GitHub Desktop.
mbsyncrc
UseIMAPS yes
UseTLSv1.2 yes
CertificateFile ~/.mutt/gmail.crt
IMAPStore GitHub-remote
Account GitHub
MaildirStore GitHub-local
Path ~/.mail/github/
Inbox ~/.mail/github/INBOX
# Trash ~/.mail/github/[Gmail].Bin
Channel GitHub-default
Master :GitHub-remote:
Slave :GitHub-local:
Patterns "INBOX"
Create Slave
Expunge Both
SyncState *
Channel GitHub-sent
Master :GitHub-remote:"[Gmail]/Sent Mail"
Slave :GitHub-local:sent
Create Slave
Channel GitHub-sent
Master :GitHub-remote:"[Gmail]/Trash"
Slave :GitHub-local:trash
Create Slave
Channel GitHub-drafts
Master :GitHub-remote:"[Gmail]/Drafts"
Slave :GitHub-local:drafts
Create Slave
Channel GitHub-archive
Master :GitHub-remote:"[Gmail]/All Mail"
Slave :GitHub-local:archive
Create Slave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment