# Issues with unauthenticated SMTP server on new install

**URL:** <https://meta.discourse.org/t/issues-with-unauthenticated-smtp-server-on-new-install/33323>\
**Category:** Self-hosting\
**Created:** [15 سبتمبر 2015، 9:55م UTC](https://meta.discourse.org/t/issues-with-unauthenticated-smtp-server-on-new-install/33323 "2015-09-15T21:55:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![NULLpointer](https://avatars.discourse-cdn.com/v4/letter/n/b38774/32.png) [@NULLpointer](https://meta.discourse.org/u/NULLpointer)\
**Post date:** [13 أكتوبر 2015، 5:04ص UTC](https://meta.discourse.org/t/issues-with-unauthenticated-smtp-server-on-new-install/33323/3 "2015-10-13T05:04:31Z")

</div>

My ISP offers the same SMTP relay service - let’s call their smtp server mail.isp.tld. I used the following lines in app.yml and my email was sent. It was marked as SPAM by my gmail-provided email client, but it was still there.

```
DISCOURSE_SMTP_ADDRESS: mail.isp.tld
DISCOURSE_SMTP_AUTHENTICATION: none
DISCOURSE_SMTP_PORT: 25

```

The biggest confusion I had setting this up was whether or not to use single inverted commas around the values. I came to the conclusion: don’t use them.

I also found including DISCOURSE\_SMTP\_ENABLE\_START\_TLS: false  
to be unnecessary, but also unharmful.

The email came from noreply@domain where domain was the DISCOURSE\_HOSTNAME. I had not set up the sending IP to be in any spf records, which I thnk contributed to the email being marked as spam.

---

_[View the full topic](https://meta.discourse.org/t/issues-with-unauthenticated-smtp-server-on-new-install/33323)._
