From 14b52791ec413f6797583da313b0671670fed16a Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Wed, 7 Jan 2015 10:06:19 +0100 Subject: [PATCH] mbsync - add to dotfiles --- mbsyncrc | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 mbsyncrc diff --git a/mbsyncrc b/mbsyncrc new file mode 100644 index 0000000..92204ef --- /dev/null +++ b/mbsyncrc @@ -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