I've configured postfix as decumented and was able to accuire a valid token that was written to users token file, but postfix itself seems just to ignore xoauth2 sasl mechanism settings
I'm also rewriting system mails to be sent via configured email - that's why I have some additional settings, but even w/o them it's still ignored and I get:
Jun 3 17:44:33 multi postfix/qmgr[1302735]: CE3CA4144D: from=<service-reports@euromobil.de>, size=390, nrcpt=1 (queue active) Jun 3 17:44:39 multi postfix/smtp[1302749]: CE3CA4144D: to=<s.stelmasik@itws3.de>, relay=smtp.office365.com[40.101.121.2]:587, delay=5.4, delays=0.02/0.02/0.3/5, dsn=5.7.57, status=bounced (host smtp.office365.com[40.101.121.2] said: 530 5.7.57 Client not authenticated to send mail. [AM4PR05CA0020.eurprd05.prod.outlook.com 2024-06-03T15:44:39.179Z 08DC7AC9EAD8397E] (in reply to MAIL FROM command))
I don't see it even trying to do XAUTH.
I tryied to set up DEBUG logging but it also doesn't work:
I've configured postfix as decumented and was able to accuire a valid token that was written to users token file, but postfix itself seems just to ignore xoauth2 sasl mechanism settings
_
_
I'm also rewriting system mails to be sent via configured email - that's why I have some additional settings, but even w/o them it's still ignored and I get:
Jun 3 17:44:33 multi postfix/qmgr[1302735]: CE3CA4144D: from=<service-reports@euromobil.de>, size=390, nrcpt=1 (queue active) Jun 3 17:44:39 multi postfix/smtp[1302749]: CE3CA4144D: to=<s.stelmasik@itws3.de>, relay=smtp.office365.com[40.101.121.2]:587, delay=5.4, delays=0.02/0.02/0.3/5, dsn=5.7.57, status=bounced (host smtp.office365.com[40.101.121.2] said: 530 5.7.57 Client not authenticated to send mail. [AM4PR05CA0020.eurprd05.prod.outlook.com 2024-06-03T15:44:39.179Z 08DC7AC9EAD8397E] (in reply to MAIL FROM command))
I don't see it even trying to do XAUTH.
I tryied to set up DEBUG logging but it also doesn't work:
{ "client_id": "some id", "client_secret": "some secret", "token_endpoint": "https://login.microsoftonline.com/our tenant/oauth2/v2.0/token", "log_full_trace_on_failure": "yes" }
rising debug logging in postfix itself also doesn't change anything:
smtp inet n - y - - smtpd -D
our postfix version:
mail_version = 3.4.13
Any ideas what I'm missing here?