configuration/mbsyncrc
2022-07-12 11:30:30 +02:00

97 lines
1.9 KiB
Plaintext

# Accounts {{{
IMAPAccount ugent
Host "outlook.office365.com"
Port 993
User "felix.vanderjeugt@ugent.be"
PassCmd "mfauth access microsoft"
AuthMechs "XOAUTH2"
SSLType "IMAPS"
SSLVersions "TLSv1"
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 ugent-remote
Account "ugent"
IMAPStore posteo-remote
Account "posteo"
# }}}
# Local Stores {{{
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 ugent-inbox
Far ":ugent-remote:INBOX"
Near ":ugent-local:"
Create "Near"
SyncState "*"
Channel ugent-sent
Far ":ugent-remote:Verzonden Items"
Near ":ugent-local:Sent"
Create "Near"
SyncState "*"
Channel ugent-trash
Far ":ugent-remote:Verwijderde Items"
Near ":ugent-local:Trash"
Create "Near"
SyncState "*"
Channel posteo-inbox
Far ":posteo-remote:INBOX"
Near ":posteo-local:"
Create "Near"
SyncState "*"
Channel posteo-sent
Far ":posteo-remote:Sent"
Near ":posteo-local:Sent"
Create "Near"
SyncState "*"
Channel posteo-trash
Far ":posteo-remote:Trash"
Near ":posteo-local:Trash"
Create "Near"
SyncState "*"
Channel posteo-draft
Far ":posteo-remote:Drafts"
Near ":posteo-local:Drafts"
Create "Near"
SyncState "*"
# }}}
# Groups {{{
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