[Feature request] Add Modern Auth for O365 email checking/sending
microSCOPED opened this issue · 1 comments
microSCOPED commented
With Microsoft dropping support for Legacy Authentication in October 2022, it would be great to have the ability to use modern auth to the app for checking for new emails to analyze as well as sending emails to the end users.
majo053 commented
Hello, you can configure 'davmail' which supports modern authentification.
For example:
yum instal davmial or apt install davmail
nano /etc/davmail/davmail.properties
add:
davmail.oauth.clientId=xxxxxxxxxxxxx
davmail.oauth.redirectUri=https://login.microsoftonline.com/common/oauth2/nativeclient
davmail.oauth.tenantId=xxxxxxxxxxxxxx
configuration.json:
"imap" : {
"host" : "127.0.0.1",
"port" : "1143",
"user" : "xxx@xxx.xxx",
"password" : "xxxxxxxxxxxxx",
"folder" : "ThePhish"
},