# Email Hostname Certificate Mismatch Causing sidekiq Queue Overload, Severe Site Instability

**URL:** https://meta.discourse.org/t/email-hostname-certificate-mismatch-causing-sidekiq-queue-overload-severe-site-instability/225778
**Category:** Self-hosting
**Created:** [April 30, 2022, 11:02pm UTC](https://meta.discourse.org/t/email-hostname-certificate-mismatch-causing-sidekiq-queue-overload-severe-site-instability/225778 "2022-04-30T23:02:36Z")
**Posts on this page:** 1
**Showing post:** 65

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [May 26, 2022, 6:56pm UTC](https://meta.discourse.org/t/email-hostname-certificate-mismatch-causing-sidekiq-queue-overload-severe-site-instability/225778/65 "2022-05-26T18:56:34Z")

</div>

I don’t think anyone is suggesting that. This only relates to how the issue came about, and took time to find a root cause.

The reason we’re only seeing a handful of cases here is because of the relatively small number of installs with the updated gem that also aren’t relaying mail over some form of secured transport.

Richard has already started a topic on the bug:

> [@Disabling starttls or certificate verification does not work any more](https://meta.discourse.org/t/disabling-starttls-or-certificate-verification-does-not-work-any-more/228148/):
>
> There are a lot of posts about this in #Support so now we seem to have found the cause I thought it might be good to create a #Bug topic about this containing only the actual issue described here [Email Hostname Certificate Mismatch Causing sidekiq Queue Overload, Severe Site Instability - #47 by RGJ](https://meta.discourse.org/t/email-hostname-certificate-mismatch-causing-sidekiq-queue-overload-severe-site-instability/225778/47) Long story short: Since 2.9.0 beta 4 the settings DISCOURSE\_SMTP\_OPENSSL\_VERIFY\_MODE and DISCOURSE\_SMTP\_ENABLE\_START\_TLS do not work correctly any longer. This seems to be related to the move to Ra…

For anyone who needs this working sooner they can also either enable TLS on their mail server, or temporarily switch to a mail provider which offers a secure transport.

---

_[View the full topic](https://meta.discourse.org/t/email-hostname-certificate-mismatch-causing-sidekiq-queue-overload-severe-site-instability/225778)._
