use mfauth and better sending server selection

This commit is contained in:
Felix Van der Jeugt 2022-07-12 11:30:30 +02:00
parent 9c87ab7cb9
commit 071387457f
No known key found for this signature in database
GPG key ID: 58B209295023754D
4 changed files with 19 additions and 17 deletions

View file

@ -1,10 +1,12 @@
# Accounts {{{
IMAPAccount ugent
Host "owa.ugent.be"
Host "outlook.office365.com"
Port 993
User "felix.vanderjeugt@ugent.be"
PassCmd "pass show ugent/_ | head -1"
AuthMechs "PLAIN"
SSLTYPE "IMAPS"
PassCmd "mfauth access microsoft"
AuthMechs "XOAUTH2"
SSLType "IMAPS"
SSLVersions "TLSv1"
CertificateFile "/etc/ssl/certs/ca-certificates.crt"
IMAPAccount posteo