# 使用 Emailit 的无经常性费用的 SMTP – 值得考虑吗？

**URL:** <https://meta.discourse.org/t/smtp-with-no-recurring-fees-using-emailit-worth-considering/337898>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [2024年十一月23日 09:14 UTC](https://meta.discourse.org/t/smtp-with-no-recurring-fees-using-emailit-worth-considering/337898 "2024-11-23T09:14:18Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [2025年十一月3日 11:57 UTC](https://meta.discourse.org/t/smtp-with-no-recurring-fees-using-emailit-worth-considering/337898/19 "2025-11-03T11:57:19Z")

</div>

您好 👋

在收到 Mailgun 关于即将涨价的电子邮件——将 Flex 套餐费率从 **每 1000 封电子邮件 1.00 美元提高到 2.00 美元** ——后，我决定今天改用 **Emailit** 。

### 关于设置的简短说明

总的来说，设置非常顺利。我遇到的唯一问题是[这个主题](https://meta.discourse.org/t/email-sender-does-not-match-notification-email-and-i-cant-figure-out-why/350667?=don)中讨论的问题：

> **530 From header does not match MAIL FROM address**

修复很简单： “回复电子邮件地址”不得包含前缀，例如  
`replies+%{reply_key}@mydomain.com`。

该模式导致了上述错误。我删除了 `replies+` 前缀，一切都开始正常工作。

### 我的工作配置

在 Emailit 中添加 DNS 记录并创建 API 密钥后：

**app.yml**

```yaml
DISCOURSE_SMTP_ADDRESS: smtp.emailit.com
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: emailit
DISCOURSE_SMTP_PASSWORD: "api-key" # (从 Emailit 获取)
#DISCOURSE_SMTP_ENABLE_START_TLS: true # (可选，默认为 true)
DISCOURSE_SMTP_DOMAIN: mydomain.com
DISCOURSE_NOTIFICATION_EMAIL: notifications@mydomain.com

```

**站点设置：**

回复电子邮件地址：`%{reply_key}@mydomain.com`

---

_[View the full topic](https://meta.discourse.org/t/smtp-with-no-recurring-fees-using-emailit-worth-considering/337898)._
