Closed khers closed 1 year ago
Also, sending mail via this relay fails as well with the following in my journal:
Nov 18 11:33:59 lappy-486 postfix/smtp[1998383]: 514F427C0149: SASL authentication failed; cannot authenticate to server smtp.office365.com[52.96.69.50]: bad protocol / cancel
Nov 18 11:33:59 lappy-486 sasl-xoauth2[1998383]: auth failed: 2022-11-18 11:33:59: TokenStore::Refresh: request failed
Nov 18 11:33:59 lappy-486 sasl-xoauth2[1998383]: set log_full_trace_on_failure to see full 14 line(s) of tracing.
NVM, PEBKAC
If I set the token endpoint appropriately in the config file it works
I followed your instructions and got most everything setup. I had to pass --tenant=organizations to obtain my initial token. Now when I try and run the test tool it fails on the token:
The token end point should be (for this token) https://login.microsoftonline.com/organizations/oauth2/v2.0/token but I don't see where I can configure this.