Configure UGent email account with XOAUTH2
This commit is contained in:
parent
7becec8017
commit
20ca9f947c
|
@ -7,6 +7,7 @@
|
||||||
},
|
},
|
||||||
"username": "amin.kasrouaouam@ugent.be",
|
"username": "amin.kasrouaouam@ugent.be",
|
||||||
"passwordCmd": "pass mail/ugent",
|
"passwordCmd": "pass mail/ugent",
|
||||||
|
"xoauth2": true,
|
||||||
"onNewMail": "mbsync ugent",
|
"onNewMail": "mbsync ugent",
|
||||||
"onNewMailPost": "notmuch new",
|
"onNewMailPost": "notmuch new",
|
||||||
"boxes": [
|
"boxes": [
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
IMAPAccount gmail
|
IMAPAccount gmail
|
||||||
Host imap.gmail.com
|
Host imap.gmail.com
|
||||||
User akasroua@gmail.com
|
User akasroua@gmail.com
|
||||||
|
AuthMechs LOGIN
|
||||||
PassCmd "pass mail/gmail"
|
PassCmd "pass mail/gmail"
|
||||||
SSLType IMAPS
|
SSLType IMAPS
|
||||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||||
|
@ -56,6 +57,7 @@ Channel sync-gmail-junk
|
||||||
IMAPAccount ugent
|
IMAPAccount ugent
|
||||||
Host outlook.office365.com
|
Host outlook.office365.com
|
||||||
User amin.kasrouaouam@ugent.be
|
User amin.kasrouaouam@ugent.be
|
||||||
|
AuthMechs XOAUTH2
|
||||||
PassCmd "pass mail/ugent"
|
PassCmd "pass mail/ugent"
|
||||||
SSLType IMAPS
|
SSLType IMAPS
|
||||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||||
|
|
|
@ -4,6 +4,7 @@ auth on
|
||||||
tls on
|
tls on
|
||||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||||
logfile /tmp/msmtp.log
|
logfile /tmp/msmtp.log
|
||||||
|
|
||||||
# Accounts
|
# Accounts
|
||||||
account gmail
|
account gmail
|
||||||
host smtp.gmail.com
|
host smtp.gmail.com
|
||||||
|
@ -13,6 +14,7 @@ user akasroua@gmail.com
|
||||||
passwordeval "pass mail/gmail"
|
passwordeval "pass mail/gmail"
|
||||||
|
|
||||||
account ugent
|
account ugent
|
||||||
|
auth xoauth2
|
||||||
host smtp.office365.com
|
host smtp.office365.com
|
||||||
port 587
|
port 587
|
||||||
from amin.kasrouaouam@ugent.be
|
from amin.kasrouaouam@ugent.be
|
||||||
|
|
Loading…
Reference in New Issue