# Accounts {{{
IMAPAccount     gmail
Host            "imap.gmail.com"
User            "felix.vanderjeugt@gmail.com"
PassCmd         "pass show other/gmail"
SSLType         "IMAPS"
CertificateFile "/etc/ssl/certs/ca-certificates.crt"

IMAPAccount     ugent
Host            "owa.ugent.be"
User            "felix.vanderjeugt@ugent.be"
PassCmd         "pass show ugent/_ | head -1"
AuthMechs       "PLAIN"
SSLTYPE         "IMAPS"
CertificateFile "/etc/ssl/certs/ca-certificates.crt"

IMAPAccount     posteo
Host            "posteo.de"
User            "felix.vanderjeugt@posteo.net"
PassCmd         "pass show other/posteo-mbsync"
SSLTYPE         "IMAPS"
# }}} Accounts

# Remote Stores {{{
IMAPStore gmail-remote
Account   "gmail"

IMAPStore ugent-remote
Account   "ugent"

IMAPStore posteo-remote
Account   "posteo"
# }}}

# Local Stores {{{
MaildirStore gmail-local
Path         "/data/mail/gmail/"
Inbox        "/data/mail/gmail/Inbox"

MaildirStore ugent-local
Path         "/data/mail/ugent/"
Inbox        "/data/mail/ugent/Inbox"
Trash        "/data/mail/ugent/Trash"
SubFolders   "Verbatim"

MaildirStore posteo-local
Path         "/data/mail/posteo/"
Inbox        "/data/mail/posteo/Inbox"
# }}}

# Channels {{{
Channel   gmail-inbox
Master    ":gmail-remote:"
Slave     ":gmail-local:"
Create    "Slave"
Pattern   "INBOX"
SyncState "*"

Channel   gmail-sent
Master    ":gmail-remote:[Google Mail]/Sent Mail"
Slave     ":gmail-local:Sent"
Create    "Slave"
SyncState "*"

Channel   gmail-trash
Master    ":gmail-remote:[Google Mail]/Bin"
Slave     ":gmail-local:Trash"
Create    "Slave"
SyncState "*"

Channel   ugent-inbox
Master    ":ugent-remote:Inbox"
Slave     ":ugent-local:"
Create    "Slave"
SyncState "*"

Channel   ugent-sent
Master    ":ugent-remote:Verzonden Items"
Slave     ":ugent-local:Sent"
Create    "Slave"
SyncState "*"

Channel   ugent-trash
Master    ":ugent-remote:Verwijderde Items"
Slave     ":ugent-local:Trash"
Create    "Slave"
SyncState "*"

Channel   posteo-inbox
Master    ":posteo-remote:Inbox"
Slave     ":posteo-local:"
Create    "Slave"
SyncState "*"

Channel   posteo-sent
Master    ":posteo-remote:Sent"
Slave     ":posteo-local:Sent"
Create    "Slave"
SyncState "*"

Channel   posteo-trash
Master    ":posteo-remote:Trash"
Slave     ":posteo-local:Trash"
Create    "Slave"
SyncState "*"

Channel   posteo-draft
Master    ":posteo-remote:Drafts"
Slave     ":posteo-local:Drafts"
Create    "Slave"
SyncState "*"
# }}}

# Groups {{{
Group   gmail
Channel "gmail-inbox"
Channel "gmail-sent"
Channel "gmail-trash"

Group   ugent
Channel "ugent-inbox"
Channel "ugent-sent"
Channel "ugent-trash"

Group   posteo
Channel "posteo-inbox"
Channel "posteo-sent"
Channel "posteo-trash"
Channel "posteo-draft"
# }}}

# vim: foldmethod=marker