# Discourse SMTP stuurt "EHLO localhost" in plaats van domein, waardoor Google smtp-relay kapot gaat

**URL:** <https://meta.discourse.org/t/discourse-smtp-sends-ehlo-localhost-instead-of-domain-breaking-google-smtp-relay/176755>\
**Category:** Bug\
**Created:** [20 januari 2021 om 23:49 UTC](https://meta.discourse.org/t/discourse-smtp-sends-ehlo-localhost-instead-of-domain-breaking-google-smtp-relay/176755 "2021-01-20T23:49:13Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [23 februari 2021 om 17:25 UTC](https://meta.discourse.org/t/discourse-smtp-sends-ehlo-localhost-instead-of-domain-breaking-google-smtp-relay/176755/26 "2021-02-23T17:25:47Z")

</div>

This is now:

- Added as an example env config in all sample files

- Asked during Discourse new install setup

- Fixed in the discourse doctor and rake task

Thanks everyone 🎉

---

_[View the full topic](https://meta.discourse.org/t/discourse-smtp-sends-ehlo-localhost-instead-of-domain-breaking-google-smtp-relay/176755)._
