# 邮件无法使用，550-Bad HELO

**URL:** <https://meta.discourse.org/t/email-stopped-working-550-bad-helo/129592>\
**Category:** Product Support\
**Created:** [2019 年9 月 26 日 16:53 UTC](https://meta.discourse.org/t/email-stopped-working-550-bad-helo/129592 "2019-09-26T16:53:43Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

作者： ![willemb2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/willemb2/32/91608_2.png) [@willemb2](https://meta.discourse.org/u/willemb2)\
发布日期： [2019 年9 月 30 日 14:25 UTC](https://meta.discourse.org/t/email-stopped-working-550-bad-helo/129592/6 "2019-09-30T14:25:10Z")

</div>

我做了更多研究，因为我们的生产论坛无法使用 Mailgun。

在通过 Mailgun 收到的电子邮件头部，我仍然看到：

> Received: from localhost.localdomain

HELO 是 SMTP 对话中的第一条命令（[来源](https://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol#SMTP_transport_example)）

它应该是类似这样的：

> HELO discourse.mydomain.tld

某些 SMTP 服务器（如 Postfix）有一个选项，可以将此信息与客户端的 IP 地址进行核对。localhost.localdomain 解析为 SMTP 服务器的 IP 地址，该名称可能存在于其 hosts 文件中。看起来各大 ISP 正在启用此功能以对抗垃圾邮件。

使用 Mailgun 时没有问题，因为 Mailgun 不执行此检查。但这仍然是一个“错误的 HELO”。

作为对比，我在同一系统上使用电子邮件客户端（Sylpheed）发送了邮件。这可以正常工作，即使是通过我的 ISP 的邮箱发送，而且它似乎使用了：

> HELO HL80L

HL80L 是我的本地网络名称。这仍然不是完全限定域名（FQDN），但至少在我的 ISP 服务器看来，它不像明显的伪造信息。

所以，这或许是需要改进的地方。但免责声明：我不是 SMTP 专家。

---

_[View the full topic](https://meta.discourse.org/t/email-stopped-working-550-bad-helo/129592)._
