I had postfix setup to relay all the mail from my desktop to the stoopid office365 server we are forced to use at work. It worked fine on fedora 27.
Now, with everything configured identically on fedora 28, postfix can't seem to send out any mail.
I don't suppose anyone else has this combo working?
I get errors like this when I enable extra debug output for talking to the office365 smtp server:
May 6 14:29:05 tomh postfix/smtp[406521]: starting new SASL client May 6 14:29:05 tomh postfix/smtp[406521]: name_mask: noanonymous May 6 14:29:05 tomh postfix/smtp[406521]: smtp_sasl_authenticate: smtp.office365.com[40.97.24.18]:587: SASL mechanisms LOGIN XOAUTH2 May 6 14:29:05 tomh postfix/smtp[406521]: xsasl_cyrus_client_get_user: Tom.Horsley@concurrent-rt.com May 6 14:29:05 tomh postfix/qmgr[406467]: warning: private/smtp socket: malformed response
Strike a familiar note with anyone?
On Sun, 6 May 2018 15:05:55 -0400 Tom Horsley wrote:
SASL mechanisms LOGIN XOAUTH2
Hey! I just found the problem. The XOAUTH2 is what doesn't work.
I finally discovered the smtp_sasl_mechanism_filter parameter and set it to just login, and the mail is flowing again.
Since oauth2 was invented by google for google, and microsoft loves to screw up "standards", I'd guess the problem is with microsoft's implementation of oauth2 (but that's just my natural tendency to assume microsoft is the problem when it is involved with anything).