# Can't use 'none' DISCOURSE\_SMTP\_AUTHENTICATION

**URL:** <https://meta.discourse.org/t/cant-use-none-discourse-smtp-authentication/55833>\
**Category:** Product Support\
**Created:** [January 16, 2017, 12:46pm UTC](https://meta.discourse.org/t/cant-use-none-discourse-smtp-authentication/55833 "2017-01-16T12:46:07Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![anthony-o](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@anthony-o](https://meta.discourse.org/u/anthony-o)\
**Post date:** [January 16, 2017, 12:46pm UTC](https://meta.discourse.org/t/cant-use-none-discourse-smtp-authentication/55833/1 "2017-01-16T12:46:07Z")

</div>

According to [GitHub - discourse/discourse: A platform for community discussion. Free, open, simple. · GitHub](https://github.com/discourse/discourse/wiki/Global-configuration-options), I should be able to set `DISCOURSE_SMTP_AUTHENTICATION: 'none'` in the `env:` section of my `app.yml` configuration file in order to “completely disable authentication”.

I’m trying to deploy Discourse inside an organization with a private email server which allows to send email from specific IPs internally but requires the applications to disable authentication when talking to it.

When I set `DISCOURSE_SMTP_AUTHENTICATION: 'none'` or `DISCOURSE_SMTP_AUTHENTICATION: none` in my `app.yml`, I obtain those errors in `shared/standalone/log/rails/production.log`:

```plaintext
Sent mail to me@myserver.tld (3.7ms)
Job exception: wrong authentication type none

```

It seems that [I’m not the only one to have this bug](https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326/217).

---

_[View the full topic](https://meta.discourse.org/t/cant-use-none-discourse-smtp-authentication/55833)._
