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
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----- From: Jerry Geis jerry.geis@gmail.com Reply-To: CentOS mailing list centos@centos.org To: CentOS mailing list centos@centos.org Subject: [CentOS] Microsoft deprecation of basic authentication centos 7 Date: Fri, 14 Oct 2022 12:31:23 -0400
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 anymore. 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_______________________________________________CentOS mailing listCentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
--On Friday, October 14, 2022 1:33 PM -0400 mario juliano grande-balletta mario.balletta@gmail.com wrote:
Trust me, I loathe anything microsoft, ugh.
OAuth is an open standard. MS (along with several other tech giants) is using it instead of a proprietary solution.
Am 14.10.2022 um 18:31 schrieb Jerry Geis:
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.
[ ... ]
Thanks!
Jerry
Use getmail instead.
A quick search brought up
https://www3.isi.edu/~johnh/OTHER/LINUX/OAUTH2/index.html
Alexander
On 10/14/22 12:31 PM, Jerry Geis wrote:
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.
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!
Consider looking at a generic proxy like
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