I just wanted to let people know of a tool that can handle Microsoft xoauth2 for msmtp:
https://github.com/jrollins/ms-xoauth2
It's based off of the sasl-xoauth2-tool script included with sasl-xoauth2, and it's now to the point that it integrates quite nicely with mstmp. Just specify it as the passwordeval script, and it can handle various auth flows seamlessly in the background.
I just wanted to let people know of a tool that can handle Microsoft xoauth2 for msmtp:
https://github.com/jrollins/ms-xoauth2
It's based off of the
sasl-xoauth2-toolscript included with sasl-xoauth2, and it's now to the point that it integrates quite nicely with mstmp. Just specify it as thepasswordevalscript, and it can handle various auth flows seamlessly in the background.