# LETSENCRYPT\_ACCOUNT\_EMAIL 不再需要

**URL:** https://meta.discourse.org/t/letsencrypt-account-email-no-longer-needed/393831
**Category:** Bug
**Tags:** letsencrypt
**Created:** [2026年一月19日 21:31 UTC](https://meta.discourse.org/t/letsencrypt-account-email-no-longer-needed/393831 "2026-01-19T21:31:26Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2026年一月19日 21:31 UTC](https://meta.discourse.org/t/letsencrypt-account-email-no-longer-needed/393831/1 "2026-01-19T21:31:26Z")

</div>

截至 6 月 4 日，Let’s Encrypt 停止发送关于续订失败的电子邮件通知，这是设置该环境变量的唯一原因。

> **[Ending Support for Expiration Notification Emails](https://letsencrypt.org/2025/01/22/ending-expiration-emails)**
>
> Since its inception, Let’s Encrypt has been sending expiration notification emails to subscribers that have provided an email address to us. We will be ending this service on June 4, 2025. The decision to end this service is the result of the...

我刚刚运行了 `discourse-setup-ruby`，但没有为 `LETSENCRYPT_ACCOUNT_EMAIL` 提供电子邮件地址，现在 Discourse 将无法工作，因为智能逻辑拒绝在没有电子邮件地址的情况下请求证书。将电子邮件地址包含在该变量中已经快一年没有起到任何作用了。

因此，需要删除这个 `if` 语句：

> <https://github.com/discourse/discourse_docker/blob/main/templates/web.letsencrypt.ssl.template.yml#L128-L144>

---

_[View the full topic](https://meta.discourse.org/t/letsencrypt-account-email-no-longer-needed/393831)._
