# Discourse SMTP 发送“EHLO localhost”而非域名，导致 Google smtp-relay 故障

**URL:** <https://meta.discourse.org/t/discourse-smtp-sends-ehlo-localhost-instead-of-domain-breaking-google-smtp-relay/176755>\
**Category:** Bug\
**Created:** [2021年一月20日 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:** 6

<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:** [2021年一月21日 00:36 UTC](https://meta.discourse.org/t/discourse-smtp-sends-ehlo-localhost-instead-of-domain-breaking-google-smtp-relay/176755/6 "2021-01-21T00:36:13Z")

</div>

能否请您尝试添加一行：

```plaintext
DISCOURSE_SMTP_DOMAIN: conversation.sevarg.net

```

然后再次尝试？

---

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