Microsoft Deprecation Of Basic Authentication CentOS 7
Hi All
I have a server out there running CentOS 7. I installed fetchmail to monitor an email inbox – has worked for years. Microsoft deprecated basic authentication so fetchmail is not working any more.
Anyone else run into this ?
fetchmail 6 does not support oauth.
Any thoughts on how to update – get this working again ?
its nearly impossible to change the OS – as the box is not local to me.
Thanks!
Jerry
5 thoughts on - Microsoft Deprecation Of Basic Authentication CentOS 7
Try the open source CalDav/WebDav…….it will run as a local gateway software that will do the dirty work of connecting to exchange/outlook servers.
Trust me, I loathe anything microsoft, ugh.
But, it works.
—–Original Message—
–OAuth is an open standard. MS (along with several other tech giants) is using it instead of a proprietary solution.
<https://en.wikipedia.org/wiki/OAuth>
Am 14.10.2022 um 18:31 schrieb Jerry Geis:
[ … ]
Use getmail instead.
A quick search brought up
https://www3.isi.edu/~johnh/OTHER/LINUX/OAUTH2/index.html
Alexander
Microsoft is accepting short-term enforcement delays (until Dec 31 if I recall) if your company will submit the request.
Consider looking at a generic proxy like https://github.com/simonrob/email-oauth2-proxy
I tried it on EL8, but had troubles getting the GUI to appear in the systray unless until in my python virtenv I added:
pip install PyGObject # also installs pycairo
Worked for me with Thunderbird — we can’t use built-in OAUTH2 due to https://bugzilla.mozilla.org/show_bug.cgi?id=1685414
Good luck!
https://github.com/simonrob/email-oauth2-proxy
this is very interesting… I did the following:
yum install python3
downloaded teh above yum install python3-pip pip-3 install –upgrade pip ran the requirements – it install crypto and stuff. change the config file to be for my office 365 account
run python3 emailproxy.py -no-gui (also tried –debug –debug)
And nothing really happens – prints a couple lines – about starting IMAP
POP SMTP but nothing about trying to connect – no errors – no nothing.
My config has:
[IMAP-1993]
local_address = localhost server_address = outlook.office365.com server_port = 993
[POP-1995]
server_address = outlook.office365.com server_port = 995
[SMTP-1587]
server_address = SMTP.office365.com server_port = 587
starttls = True
[xyz@abc]
permission_url https://login.microsoftonline.com/common/oauth2/v2.0/authorize token_url = https://login.microsoftonline.com/common/oauth2/v2.0/token oauth2_scope = https://outlook.office365.com/IMAP.AccessAsUser.All https://outlook.office365.com/POP.AccessAsUser.All https://outlook.office365.com/SMTP.Send offline_access redirect_uri = http://localhost client_id = xyz@abc client_secret = old_secret
The @abc is not office365.com its the email address hosted by office365.
What did I miss?
jerry