# Installing Discourse with digest\_md5 mail authentication

**URL:** <https://meta.discourse.org/t/installing-discourse-with-digest-md5-mail-authentication/60974>\
**Category:** Self-hosting\
**Tags:** email\
**Created:** [14. April 2017 um 08:05 UTC](https://meta.discourse.org/t/installing-discourse-with-digest-md5-mail-authentication/60974 "2017-04-14T08:05:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![kevinwaro](https://avatars.discourse-cdn.com/v4/letter/k/ea666f/32.png) [@kevinwaro](https://meta.discourse.org/u/kevinwaro)\
**Post date:** [14. April 2017 um 10:08 UTC](https://meta.discourse.org/t/installing-discourse-with-digest-md5-mail-authentication/60974/3 "2017-04-14T10:08:40Z")

</div>

Yes we have tried this authentication method. We first got the following

```
Apr 14 11:43:29 xxxxxxx postfix/smtpd[17754]: lost connection after STARTTLS from discourse.xxxx[XX.XXX.XX.XX]
Apr 14 11:43:29 xxxxxxx postfix/smtpd[17754]: disconnect from discourse.xxxx[XX.XXX.XX.XX]
Apr 14 11:43:29 xxxxxxx postfix/smtpd[17756]: lost connection after STARTTLS from discourse.xxxx[XX.XXX.XX.XX]

```

So I have changed the value of **DISCOURSE\_SMTP\_ENABLE\_START\_TLS** to false in the discourse app.yml file and I rebuiled it. Then, we got the following in our postfix server logs:

```
Apr 14 12:02:30 xxxxxxx postfix/smtpd[17754]: connect from discourse.xxxx[XX.XXX.XX.XX]
Apr 14 12:02:30 xxxxxxx postfix/smtpd[17754]: warning: discourse.xxxx[XX.XXX.XX.XX]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 14 12:02:30 xxxxxxx postfix/smtpd[17754]: lost connection after AUTH from discourse.xxxx[XX.XXX.XX.XX]
Apr 14 12:02:30 xxxxxxx postfix/smtpd[17754]: disconnect from discourse.xxxx[XX.XXX.XX.XX]

```

---

_[View the full topic](https://meta.discourse.org/t/installing-discourse-with-digest-md5-mail-authentication/60974)._
