# LAN SMTP relay configuration issue

**URL:** <https://meta.discourse.org/t/lan-smtp-relay-configuration-issue/97473>\
**Category:** Self-hosting\
**Created:** [September 18, 2018, 5:02pm UTC](https://meta.discourse.org/t/lan-smtp-relay-configuration-issue/97473 "2018-09-18T17:02:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Aleksey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aleksey/32/111367_2.png) [@Aleksey](https://meta.discourse.org/u/Aleksey)\
**Post date:** [September 18, 2018, 5:51pm UTC](https://meta.discourse.org/t/lan-smtp-relay-configuration-issue/97473/2 "2018-09-18T17:51:39Z")

</div>

so far, we’ve given up and reconfigured to O365 and it suddenly worked… we’re at the point of making a few tweaks and not being sure what made it work… nevertheless - Office 365 config works with the following:

```
DISCOURSE_SMTP_ADDRESS: 'smtp.office365.com'
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: 'your.email@domain.com'
DISCOURSE_SMTP_PASSWORD: 'password'
DISCOURSE_SMTP_AUTHENTICATION: login
DISCOURSE_SMTP_ENABLE_START_TLS: true

```

---

_[View the full topic](https://meta.discourse.org/t/lan-smtp-relay-configuration-issue/97473)._
