Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4501

Beginners • msmtp with Outlook.com emial provider config stopped working...

$
0
0
Hi All,

I had configured msmtp with Outlook.com email provider for years. Today it stopped working. It the free account which you can open with Microsoft, not business Office 365. I have red that in September Microsoft will depreciate basic auth which may be my problem i think. From now on supported auth methods are "OAuth2/Modern Auth". Here is my current config:

Code:

account defaulthost smtp.office365.comport 587logfile /var/log/msmtp.logtls ontls_starttls ontls_trust_file /etc/ssl/certs/ca-certificates.crtauth loginuser me@outlook.compassword my_passwordfrom me@outlook.com
The error i get:

Code:

msmtp: authentication failed (method LOGIN)msmtp: server message: 535 5.7.139 Authentication unsuccessful, basic authentication is disabled. [WA2P291CA0033.POLP291.PROD.OUTLOOK.COM 2024-09-29T19:02:23.042Z 08DCE05FAC770519]msmtp: could not send mail (account default from /etc/msmtprc)
Does anyone know what to put in config file to get it back to work?

Much appreciate any help.

Statistics: Posted by 4k3or3et — Sun Sep 29, 2024 7:05 pm — Replies 1 — Views 37



Viewing all articles
Browse latest Browse all 4501

Trending Articles