You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wondering if anybody was able to make this work on o365?
Always getting back: msmtp: authentication failed (method XOAUTH2) msmtp: server message: 535 5.7.3 Authentication unsuccessful [ABCD.CHEP278.PROD.OUTLOOK.COM 2024-12-11T14:50:51.327Z 08DD10054FA14D] msmtp: could not send mail (account default from /etc/msmtprc)
my config:
defaults
account default
logfile /var/log/msmtp.log
syslog on
host smtp.office365.com
port 25
tls on
tls_starttls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
auth xoauth2
user [email protected]
passwordeval "cat /run/secrets/oauth_token"
from [email protected]$
I added the aad-application to my tenant and was able to get the auth-token.
But still getting the error.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am wondering if anybody was able to make this work on o365?
Always getting back:
msmtp: authentication failed (method XOAUTH2)
msmtp: server message: 535 5.7.3 Authentication unsuccessful [ABCD.CHEP278.PROD.OUTLOOK.COM 2024-12-11T14:50:51.327Z 08DD10054FA14D]
msmtp: could not send mail (account default from /etc/msmtprc)
my config:
I added the aad-application to my tenant and was able to get the auth-token.
But still getting the error.
appreciating any help
Beta Was this translation helpful? Give feedback.
All reactions