# E-mail sending stopped working after upgrade

**URL:** <https://meta.discourse.org/t/e-mail-sending-stopped-working-after-upgrade/228293>\
**Category:** Self-hosting\
**Created:** [May 28, 2022, 2:13am UTC](https://meta.discourse.org/t/e-mail-sending-stopped-working-after-upgrade/228293 "2022-05-28T02:13:57Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Mychel](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Mychel](https://meta.discourse.org/u/Mychel)\
**Post date:** [May 28, 2022, 2:13am UTC](https://meta.discourse.org/t/e-mail-sending-stopped-working-after-upgrade/228293/1 "2022-05-28T02:13:57Z")

</div>

Hi,

I had updated my Discourse two days ago and sending mails does not work anymore. I’m unfortunately not sure exactly which version I had before the update, but as the new version is 2.9.0.beta4 and I do updates regularily on notification mails the previous version should have been already some 2.9.0.betaX.

The displayed errors in Sidekiq have this error text:

`Jobs::HandledExceptionWrapper: Wrapped OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate)`

My SMTP configuration in the app.yml is as follows:

```plaintext
  DISCOURSE_SMTP_ADDRESS: 172.17.0.1 # this is the IP Address of the host server on the docker0 interface
  DISCOURSE_SMTP_PORT: 25
  DISCOURSE_SMTP_AUTHENTICATION: none
  DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: none
  DISCOURSE_SMTP_ENABLE_START_TLS: false
  DISCOURSE_SMTP_DOMAIN: my.server.domain
  DISCOURSE_NOTIFICATION_EMAIL: noreply@my.server.domain

```

So my Discourse is configured to utilize the “outer” Postfix installation. This had been working since my installation in September 2021 and TLS is still set to false and OPENSSL\_VERIFY\_MODE to none.

Does someone got an idea what in the updates might have changed to cause the now occuring problem with sending mails? Could this be a bug?

Thanks, Mychel

---

_[View the full topic](https://meta.discourse.org/t/e-mail-sending-stopped-working-after-upgrade/228293)._
