Re: Microsoft deprecation of basic authentication centos 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux