# Postfix re problème sur une nouvelle tentative

**URL:** <https://www.debian-fr.org/t/postfix-re-probleme-sur-une-nouvelle-tentative/11600>\
**Category:** Support Debian\
**Created:** [Février 20, 2016, 5:00 UTC](https://www.debian-fr.org/t/postfix-re-probleme-sur-une-nouvelle-tentative/11600 "2016-02-20T17:00:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adminlinux](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/e56c9b/32.png) [@adminlinux](https://www.debian-fr.org/u/adminlinux)\
**Post date:** [Février 20, 2016, 5:00 UTC](https://www.debian-fr.org/t/postfix-re-probleme-sur-une-nouvelle-tentative/11600/1 "2016-02-20T17:00:08Z")

</div>

J’ai configuré un serveur de test en suivant un wiki, j’ai une question à laquelle je n’ai pas trouvé de réponse via google.

J’ai tout qui fonctionne correctement, niveau réception.

Par contre coté envoie ça marche pas trop, explication :

serveur smtp : [smtp.mydomaina.com](http://smtp.mydomaina.com) principale

envoi via [info@mydomaina.com](mailto:info@mydomaina.com) ver une adresse gmail ok  
envoi via [info@mydomainb.org](mailto:info@mydomainb.org) ver une adresse gmail, sa arrive en spam

dans les sources des mails, je constate pour mydomaina :

Received-SPF: pass ([google.com](http://google.com): best guess record for domain of [info@mydomaina.com](mailto:info@mydomaina.com) designates 88.88.88.88 as permitted sender) [smtp.mail=info@mydomaina.com](mailto:smtp.mail=info@mydomaina.com)

Par contre pour mydomainb :

Received-SPF: neutral ([google.com](http://google.com): 88.88.88.88 is neither permitted nor denied by best guess record for domain of [info@mydomainb.org](mailto:info@mydomainb.org)) [smtp.mail=info@mydomainb.org](mailto:smtp.mail=info@mydomainb.org)

chaque domaines a sa propre ip.

Dans ce que je comprend, il faudrais que postfix change de smtp en fonction du domaine qui envoi…

Auriez-vous une idée de ce problème ?

Je vous remercie d’avance de l’attention que vous porterez à ce mail.

Cordialement.

---

<div class="post-metadata">

**Author:** ![adminlinux](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/e56c9b/32.png) [@adminlinux](https://www.debian-fr.org/u/adminlinux)\
**Post date:** [Février 20, 2016, 5:00 UTC](https://www.debian-fr.org/t/postfix-re-probleme-sur-une-nouvelle-tentative/11600/2 "2016-02-20T17:00:16Z")

</div>

Merci, j’ai trouvé…

Au plaisir 🙂
