Use OAUTH2 for UGent mail account

This commit is contained in:
2022-02-03 03:20:15 +01:00
parent a21ae8963b
commit 49e3f368eb
4 changed files with 422 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ IMAPAccount ugent
Host outlook.office365.com
User amin.kasrouaouam@ugent.be
AuthMechs XOAUTH2
PassCmd "pass mail/ugent"
PassCmd "/home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt