Bug 2134516

Summary: [RFE] Add cyrus-sasl-xoauth2 as a package
Product: [Fedora] Fedora Reporter: Juan Manuel Santos <jsantos>
Component: cyrus-saslAssignee: Jakub Jelen <jjelen>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: anon.amish, cllang, crypto-team, jjelen, rmetrich, ssorce, vanmeeuwen+fedora
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2134519 (view as bug list) Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2134519    

Description Juan Manuel Santos 2022-10-13 14:11:07 UTC
Description of problem:

Microsoft has announced that Office365 will deprecate basic authentication in favor of OAUTH:

https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online

This makes it impossible in its current state for users to use Office365 as an email relay, as cyrus-sasl has no method of supporting OAUTH2 authentication mechanism.

There is a third-party plugin that does though but it's not currently packaged in Fedora: https://github.com/moriyoshi/cyrus-sasl-xoauth2

Comment 1 Jakub Jelen 2022-10-14 09:03:42 UTC
I made a copr repo with this package for now:

https://copr.fedorainfracloud.org/coprs/jjelen/cyrus-sasl-xoauth2/

If it will work for you, we can move on to submit it as an official Fedora package or to epel