# רופא השיח מנתח אישורי SMTP לא עובד (+ אימייל רישום מנהל לא עובד)

**URL:** <https://meta.discourse.org/t/discourse-doctor-parsing-smtp-credentials-not-working-admin-registration-email-not-working/174461>\
**Category:** Product Support\
**Created:** [28 בדצמבר,‏ 2020,‏ 11:38pm UTC](https://meta.discourse.org/t/discourse-doctor-parsing-smtp-credentials-not-working-admin-registration-email-not-working/174461 "2020-12-28T23:38:47Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [29 בדצמבר,‏ 2020,‏ 5:16pm UTC](https://meta.discourse.org/t/discourse-doctor-parsing-smtp-credentials-not-working-admin-registration-email-not-working/174461/12 "2020-12-29T17:16:24Z")

</div>

> [@simbleau](#):
>
> DISCOURSE\_SMTP\_ENABLE\_START\_TLS: false # (optional, default true)

That will disable TLS encryption, while the “only” issue is that you are using an incorrect hostname, i.e. the mail server is presenting a certificate which says something else than `mail.redacted.com`. Many email servers tend to be known by multiple different hostnames, you only need to find out which one it is using for its certificate.

You could try to find out which hostname it says it is and adjust your configuration accordingly.

`echo | openssl s_client -connect mail.redacted.com:587 -starttls smtp -servername mail.redacted.com 2>/dev/null |openssl x509 -noout -subject`

If that does not work, you can leave TLS encryption enabled and ONLY disable certificate verification:

```
DISCOURSE_SMTP_ENABLE_START_TLS: true
DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: false

```

---

_[View the full topic](https://meta.discourse.org/t/discourse-doctor-parsing-smtp-credentials-not-working-admin-registration-email-not-working/174461)._
