# E-mail ontvangen in mail-receiver maar NIET in Discourse?

**URL:** https://meta.discourse.org/t/able-to-receive-e-mail-in-mail-receiver-but-not-in-discourse/171235
**Category:** Self-hosting
**Created:** [25 november 2020 om 01:46 UTC](https://meta.discourse.org/t/able-to-receive-e-mail-in-mail-receiver-but-not-in-discourse/171235 "2020-11-25T01:46:48Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [25 november 2020 om 19:45 UTC](https://meta.discourse.org/t/able-to-receive-e-mail-in-mail-receiver-but-not-in-discourse/171235/7 "2020-11-25T19:45:26Z")

</div>

> [@Ryan\_N](#):
>
> \<19\>Nov 25 19:11:29 receive-mail[160]: Failed to POST the e-mail to [https://inbound.thesite.org/admin/email/handle\_mail:](https://inbound.thesite.org/admin/email/handle_mail:) hostname “[inbound.thesite.org](http://inbound.thesite.org)” does not match the server certificate (OpenSSL::SSL::SSLError)

Did you rebuild both the mail and app containers? I think the easy solution is to remove the stuff that tries to give the mail receiver a certificate. Does the cert work for the site?

If the Discourse site is not at `inbound.thesite.org` that’s the problem. The idea is that the hostname of both the Discourse site and the mail receiver will be the same. You’ll need to find [Setting up Let’s Encrypt with Multiple Domains](https://meta.discourse.org/t/setting-up-let-s-encrypt-with-multiple-domains/56685) to fix that.

This is rather beyond the intended scope of the mail-receiver howto. If this isn’t enough to get you on track and you have a budget, feel free to contact me.

---

_[View the full topic](https://meta.discourse.org/t/able-to-receive-e-mail-in-mail-receiver-but-not-in-discourse/171235)._
