# Google stop delivering our emails to our gmail contacts / Google a arrêté de délivrer nos emails à nos contacts gmails

**URL:** <https://forum.yunohost.org/t/google-stop-delivering-our-emails-to-our-gmail-contacts-google-a-arrete-de-delivrer-nos-emails-a-nos-contacts-gmails/8538>\
**Category:** Support\
**Tags:** smtp, french, english\
**Created:** [July 21, 2019, 9:57am UTC](https://forum.yunohost.org/t/google-stop-delivering-our-emails-to-our-gmail-contacts-google-a-arrete-de-delivrer-nos-emails-a-nos-contacts-gmails/8538 "2019-07-21T09:57:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ppr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/8c91f0/32.png) [@ppr](https://forum.yunohost.org/u/ppr)\
**Post date:** [July 21, 2019, 1:15pm UTC](https://forum.yunohost.org/t/google-stop-delivering-our-emails-to-our-gmail-contacts-google-a-arrete-de-delivrer-nos-emails-a-nos-contacts-gmails/8538/4 "2019-07-21T13:15:29Z")

</div>

Bonjour @Thatoo ,

Si le serveur avec YunoHost est chez toi, tu peux essayer de compléter le `relay` dans `/etc/postfix/main.cf`.

Par défaut la valeur est

> relay =

Peut-être voir pour ajouter le SMTP de ton FAI/ISP

> relay = smtp.fai/isp.tld

J’ai fait ça chez moi car ce n’est pas Google qui bloquait mais a priori mon FAI qui ne faisait pas partir les mails qui ne passait pas par son `smtp`.  
Ensuite, le cran au dessus, c’est de compléter le `relay` en ajoutant ton couple identifiant/mot de passe qui te permet d’envoyer des e-mails via ton adresse mail de ton FAI.  
Un truc du genre comme décrit en partie ici

> [@External SMTP relay server for the domain](https://forum.yunohost.org/t/external-smtp-relay-server-for-the-domain/5731/2):
>
> Edit /etc/postfix/main.cf Add these lines: smtp\_sasl\_auth\_enable = yes smtp\_sasl\_security\_options = noanonymous smtp\_sasl\_password\_maps = hash:/etc/postfix/saslpasswd smtp\_always\_send\_ehlo = yes relayhost = smtp.domain.tld Change the smtp.domain.tld with your providers SMTP and add port if the port SMTP is different. Eg. relayhost = smtp.your\_domain.tld:port Create a file saslpasswd in /etc/postix. Eg. /etc/postfix/saslpasswd Add your username and password in saslpasswd in fo…

ppr

---

_[View the full topic](https://forum.yunohost.org/t/google-stop-delivering-our-emails-to-our-gmail-contacts-google-a-arrete-de-delivrer-nos-emails-a-nos-contacts-gmails/8538)._
