# Incoming mail server has certificate error

**URL:** <https://meta.discourse.org/t/incoming-mail-server-has-certificate-error/241178>\
**Category:** Self-hosting\
**Created:** [October 5, 2022, 8:17pm UTC](https://meta.discourse.org/t/incoming-mail-server-has-certificate-error/241178 "2022-10-05T20:17:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Simon\_Manning](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon_manning/32/198596_2.png) [@Simon\_Manning](https://meta.discourse.org/u/Simon_Manning)\
**Post date:** [October 5, 2022, 8:36pm UTC](https://meta.discourse.org/t/incoming-mail-server-has-certificate-error/241178/2 "2022-10-05T20:36:35Z")

</div>

You won’t need the variations above but you will still need the TLS config found in `samples/mail-receiver.yml`, modified for your domain name, in order to support TLS encryption.

Assuming you’re using the Let’s Encrypt template for https, the lines from the sample just need to be uncommented with the domain name replaced.

---

_[View the full topic](https://meta.discourse.org/t/incoming-mail-server-has-certificate-error/241178)._
