#################################
######## Account mailbox ########
#################################

IMAPAccount mailbox
Host imap.mailbox.org
User s.rademacker@mailbox.org
PassCmd "security find-internet-password -s 'imap.mailbox.org' -a 's.rademacker@mailbox.org' -w"
SSLType IMAPS
SSLVersions TLSv1.2
CertificateFile ~/dotfiles/office/certificates.crt

# Remote storage
IMAPStore mailbox-remote
Account mailbox

# Local storage
MaildirStore mailbox-local
Path ~/Mail/mailbox/
Inbox ~/Mail/mailbox/INBOX

Channel mailbox-inbox
Far :mailbox-remote:"INBOX"
Near :mailbox-local:INBOX
Create Both
Expunge Both

Channel mailbox-archive
Far :mailbox-remote:"Archiv"
Near :mailbox-local:archive
Create Both
Expunge Both

Channel mailbox-drafts
Far :mailbox-remote:"Entw&APw-rfe"
Near :mailbox-local:drafts
Create Both
Expunge Both

Channel mailbox-sent
Far :mailbox-remote:"Gesendete Objekte"
Near :mailbox-local:sent
Create Both
Expunge Both

Channel mailbox-trash
Far :mailbox-remote:"Papierkorb"
Near :mailbox-local:trash
Create Both
Expunge Both

Channel mailbox-junk
Far :mailbox-remote:"Spam"
Near :mailbox-local:junk
Create Both
Expunge Both

Group mailbox
Channel mailbox-inbox
Channel mailbox-archive
Channel mailbox-drafts
Channel mailbox-sent
Channel mailbox-trash
Channel mailbox-junk

#################################
######## Account viu ############
#################################

IMAPAccount viu
Host outlook.office365.com
User steffen.rademacker@viu.ch
PassCmd "security find-internet-password -s 'outlook.office365.com' -a 'steffen.rademacker@viu.ch' -w"
SSLType IMAPS
SSLVersions TLSv1.2
CertificateFile ~/dotfiles/office/certificates.crt

# Remote storage
IMAPStore viu-remote
Account viu

# Local storage
MaildirStore viu-local
Path ~/Mail/viu/
Inbox ~/Mail/viu/INBOX

Channel viu-inbox
Far :viu-remote:"INBOX"
Near :viu-local:INBOX
Create Both
Expunge Both

Channel viu-archive
Far :viu-remote:"Archive"
Near :viu-local:archive
Create Both
Expunge Both

Channel viu-drafts
Far :viu-remote:"Entw&APw-rfe"
Near :viu-local:drafts
Create Both
Expunge Both

Channel viu-sent
Far :viu-remote:"Gesendete Elemente"
Near :viu-local:sent
Create Both
Expunge Both

Channel viu-trash
Far :viu-remote:"Gel&APY-schte Elemente"
Near :viu-local:trash
Create Both
Expunge Both

Channel viu-junk
Far :viu-remote:"Junk-E-Mail"
Near :viu-local:junk
Create Both
Expunge Both

Group viu
Channel viu-inbox
Channel viu-archive
Channel viu-drafts
Channel viu-sent
Channel viu-trash
Channel viu-junk

