mbsync - add to dotfiles

This commit is contained in:
Felix Van der Jeugt 2015-01-07 10:06:19 +01:00
parent bbbb4b4cc5
commit 14b52791ec
1 changed files with 112 additions and 0 deletions

112
mbsyncrc Normal file
View File

@ -0,0 +1,112 @@
# Accounts {{{
IMAPAccount gmail
Host "imap.gmail.com"
User "felix.vanderjeugt@gmail.com"
PassCmd "gpg -u Noctua -q --for-your-eyes-only --no-tty -d ~/.config/passwords.gpg | sed -n 's/gmail=//p'"
SSLType "IMAPS"
CertificateFile "/etc/ssl/certs/ca-certificates.crt"
IMAPAccount ugent
Host "mail.ugent.be"
User "felix.vanderjeugt@ugent.be"
PassCmd "gpg -u Noctua -q --for-your-eyes-only --no-tty -d ~/.config/passwords.gpg | sed -n 's/ugent=//p'"
SSLTYPE "STARTTLS"
CertificateFile "/etc/ssl/certs/ca-certificates.crt"
IMAPAccount 12ul
Host "imap.gmail.com"
User "felix.vanderjeugt@12urenloop.be"
PassCmd "gpg -u Noctua -q --for-your-eyes-only --no-tty -d ~/.config/passwords.gpg | sed -n 's/12ul=//p'"
SSLType "IMAPS"
CertificateFile "/etc/ssl/certs/ca-certificates.crt"
# }}} Accounts
# Remote Stores {{{
IMAPStore gmail-remote
Account "gmail"
IMAPStore ugent-remote
Account "ugent"
IMAPStore 12ul-remote
Account "12ul"
# }}}
# Local Stores {{{
MaildirStore gmail-local
Path "~/Mail/gmail/"
Inbox "~/Mail/gmail/Inbox"
MaildirStore ugent-local
Path "~/Mail/ugent/"
Inbox "~/Mail/ugent/Inbox"
Trash "~/Mail/ugent/Trash"
MaildirStore 12ul-local
Path "~/Mail/12ul/"
Inbox "~/Mail/12ul/Inbox"
# }}}
# Channels {{{
Channel gmail-inbox
Master ":gmail-remote:"
Slave ":gmail-local:"
Create "Slave"
Pattern "INBOX"
#Expunge "Slave"
SyncState "*"
Channel gmail-sent
Master ":gmail-remote:[Google Mail]/Sent Mail"
Slave ":gmail-local:Sent"
Create "Slave"
#Expunge "Slave"
SyncState "*"
Channel gmail-trash
Master ":gmail-remote:[Google Mail]/Bin"
Slave ":gmail-local:Trash"
Create "Slave"
SyncState "*"
Channel ugent
Master ":ugent-remote:"
Slave ":ugent-local:"
Create "Slave"
Patterns "*"
SyncState "*"
Channel 12ul-inbox
Master ":12ul-remote:"
Slave ":12ul-local:"
Create "Slave"
Pattern "INBOX"
SyncState "*"
Channel 12ul-sent
Master ":12ul-remote:[Gmail]/Verzonden berichten"
Slave ":12ul-local:Sent"
Create "Slave"
SyncState "*"
Channel 12ul-trash
Master ":12ul-remote:[Gmail]/Prullenbak"
Slave ":12ul-local:Trash"
Create "Slave"
SyncState "*"
# }}}
# Groups {{{
Group gmail
Channel "gmail-inbox"
Channel "gmail-sent"
Channel "gmail-trash"
Group 12ul
Channel "inbox-inbox"
Channel "12ul-sent"
Channel "12ul-trash"
# }}}
# vim: foldmethod=marker