# How to set no user/pass for smtp in discourse setup?

**URL:** <https://meta.discourse.org/t/how-to-set-no-user-pass-for-smtp-in-discourse-setup/58900>\
**Category:** Support\
**Created:** [March 11, 2017, 9:55pm UTC](https://meta.discourse.org/t/how-to-set-no-user-pass-for-smtp-in-discourse-setup/58900 "2017-03-11T21:55:27Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)\
**Post date:** [March 11, 2017, 9:55pm UTC](https://meta.discourse.org/t/how-to-set-no-user-pass-for-smtp-in-discourse-setup/58900/1 "2017-03-11T21:55:27Z")

</div>

Continuing the discussion from [Setting up DISCOURSE\_SMTP\_ADDRESS: 'localhost'?](https://meta.discourse.org/t/setting-up-discourse-smtp-address-localhost/16027):

I’m moving a forum, and wanted to try out the `./discourse-setup` script.

SMTP is allowed via whitelisting an IP address, so no user/pass is needed.

I can’t guess what to enter to skip these settings.

I tried `""` but that left me with

```plaintext
  DISCOURSE_SMTP_USER_NAME: ""
  DISCOURSE_SMTP_PASSWORD: """"
  # DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)

```

What I need is:

```plaintext
  #DISCOURSE_SMTP_USER_NAME: user@example.com # (optional)
  #DISCOURSE_SMTP_PASSWORD: pa$$word # (optional)
  DISCOURSE_SMTP_ENABLE_START_TLS: false # (optional, default true)

```

Do we want to add support for disabling user/pass in the quick setup?

---

_[View the full topic](https://meta.discourse.org/t/how-to-set-no-user-pass-for-smtp-in-discourse-setup/58900)._
