[gull] Envoi de courriels depuis Debian 12 via MS365 et OAuth2

Daniel Cordey dc at pxcluster.com
Fri Feb 28 13:46:06 CET 2025


On 2/28/25 09:12, Samuel Chenal via gull wrote:
>
> Il semble qu'on ne peut plus ou on ne va plus pouvoir utiliser SMTP 
> AUTH de base via MS et qu'il va falloir passer par OAuth2.

Je confirme avoir vu passé une info au sujet de la désactivation de SMTP 
AUTH pour des raisons de manque de sécurité. Il semblerait que pas mal 
de serveur de mail ont décidé de cesser d'utiliser SMTP AUTH et de 
passer à OAuth2 (MS & gmail entre autre). Il semblerait donc que cela 
n'affecte que ceux qui utilisent un serveur de mail externe comme relay.

> Quelqu'un a-t-il une expérience dans la configuration d'exim4 dans ce 
> contexte ?
>
En effet, pas grand chose sur le net concernant exim4

Pour info :

The biggest problem with all of this is that I’ve got no available SMTP 
server to use, and I suspect that’s the case for many others as well. As 
I’m sure most of you know by now, Google requires|OAuth2|authentication 
to use gmail now, which I very much doubt is available for exim4. Google 
requires the developers of the software to enter some agreement with 
them, which reportedly costs quite a lot of money, to receive “Google 
approved” OAuth2 tokens (or something like that). The end result is 
that, for all intents and purposes, gmail no longer work for 
applications not “approved” by Google. Using so called “app passwords” 
isn’t available unless you enable two factor authentication, which 
leaves you at risk of being “locked out” of your account the next time 
you lose your phone, it’s stolen, it breaks etc, which makes this an 
obvious no-go.

I know that it’s possible to rent SMTP server access from other 
providers, but is it really necessary to make this a requirement for 
backing up openhabian? I also think the documentation should describe 
this whole situation, it seems like more and more providers come up with 
ridiculous schemes like OAuth2 to prevent people from using “alternative 
software” for handling e-mail.

Ca commence à devenir compliqué !

dc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum.linux-gull.ch/pipermail/gull/attachments/20250228/cbc3028e/attachment.html>


More information about the gull mailing list