# Custom docker network configuration - container to container comms

**URL:** <https://meta.discourse.org/t/custom-docker-network-configuration-container-to-container-comms/84654>\
**Category:** Self-hosting\
**Created:** [05.Апрель.2018 15:52:23 UTC](https://meta.discourse.org/t/custom-docker-network-configuration-container-to-container-comms/84654 "2018-04-05T15:52:23Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![gaiterjones](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gaiterjones/32/120146_2.png) [@gaiterjones](https://meta.discourse.org/u/gaiterjones)\
**Post date:** [07.Апрель.2018 08:16:06 UTC](https://meta.discourse.org/t/custom-docker-network-configuration-container-to-container-comms/84654/13 "2018-04-07T08:16:06Z")

</div>

After returning to the mail logs I noticed that the email host lookup failure generated a WARNING not an error. Looking at the discourse production logs I saw that discourse was complaining about the mail server certificate

_Job exception: hostname “xxx” does not match the server certificate_

Setting DISCOURSE\_SMTP\_ENABLE\_START\_TLS to false resolved the problem and mail is being delivered.

---

_[View the full topic](https://meta.discourse.org/t/custom-docker-network-configuration-container-to-container-comms/84654)._
