# Connecting to a SMTP server on localhost:25 without auth?

**URL:** <https://meta.discourse.org/t/connecting-to-a-smtp-server-on-localhost-25-without-auth/156849>\
**Category:** Self-hosting\
**Tags:** email\
**Created:** [November 7, 2019, 1:32pm UTC](https://meta.discourse.org/t/connecting-to-a-smtp-server-on-localhost-25-without-auth/156849 "2019-11-07T13:32:21Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Jeremiah\_van\_Oosten](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeremiah_van_oosten/32/249403_2.png) [@Jeremiah\_van\_Oosten](https://meta.discourse.org/u/Jeremiah_van_Oosten)\
**Post date:** [February 14, 2022, 2:58pm UTC](https://meta.discourse.org/t/connecting-to-a-smtp-server-on-localhost-25-without-auth/156849/15 "2022-02-14T14:58:52Z")

</div>

> [@Troubleshoot email on a new Discourse install](https://meta.discourse.org/t/troubleshoot-email-on-a-new-discourse-install/16326/1):
>
> > [@Troubleshoot email on a new Discourse install](https://meta.discourse.org/t/troubleshoot-email-on-a-new-discourse-install/16326/1):
> >
> > `DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: none`

This is what I was missing. It is working now with TLS.

I also got DKIM working so mails should not be spammed anymore.

---

_[View the full topic](https://meta.discourse.org/t/connecting-to-a-smtp-server-on-localhost-25-without-auth/156849)._
