# 还有其他 SMTP 587 端口的电子邮件出现各种错误

**URL:** https://meta.discourse.org/t/yet-other-smtp-587-port-email-various-errors/264267
**Category:** Self-hosting
**Tags:** email
**Created:** [2023年五月8日 14:07 UTC](https://meta.discourse.org/t/yet-other-smtp-587-port-email-various-errors/264267 "2023-05-08T14:07:40Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![savionlee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savionlee/32/323468_2.png) [@savionlee](https://meta.discourse.org/u/savionlee)
#### Post date: [2023年八月30日 14:59 UTC](https://meta.discourse.org/t/yet-other-smtp-587-port-email-various-errors/264267/2 "2023-08-30T14:59:49Z")

</div>

对于 Mailgun，在全新安装时，我必须执行以下操作：

```plaintext
DISCOURSE_SMTP_FORCE_TLS: true
DISCOURSE_SMTP_ENABLE_START_TLS: false

```

`./discourse-doctor` 报告：

```plaintext
======================================== ERROR ========================================
                                    UNEXPECTED ERROR

Net::ReadTimeout

```

整个故障排除文档 [Troubleshoot email on a new Discourse install - documentation / sysadmin - Discourse Meta](https://meta.discourse.org/t/troubleshoot-email-on-a-new-discourse-install/16326) 并没有解决我的问题。

我发现了这个关于修改它的帖子，它本可以帮到我：[Cannot send email - problem with port 465 - installation - Discourse Meta](https://meta.discourse.org/t/cannot-send-email-problem-with-port-465/246004/9)

然后，我发现了您发布的另一个帖子，其中显示了一些我需要进行的调整。

---

_[View the full topic](https://meta.discourse.org/t/yet-other-smtp-587-port-email-various-errors/264267)._
