# 授予管理员/版主权限时，如何阻止除管理员确认邮件之外的其他邮件？

**URL:** https://meta.discourse.org/t/how-to-prevent-emails-other-than-admin-confirmation-when-granting-admin-moderator-access/404452
**Category:** Support
**Created:** [2026 年6 月 3 日 17:41 UTC](https://meta.discourse.org/t/how-to-prevent-emails-other-than-admin-confirmation-when-granting-admin-moderator-access/404452 "2026-06-03T17:41:51Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![nitinkg](https://avatars.discourse-cdn.com/v4/letter/n/eb8c5e/32.png) [@nitinkg](https://meta.discourse.org/u/nitinkg)
#### Post date: [2026 年6 月 18 日 06:40 UTC](https://meta.discourse.org/t/how-to-prevent-emails-other-than-admin-confirmation-when-granting-admin-moderator-access/404452/3 "2026-06-18T06:40:42Z")

</div>

> 成功了！现在只有 `admin_confirmation_message` 会发送邮件。不过，我还需要包含“忘记密码”邮件，以便管理员在需要时能够重置密码。
> 
> 因为我使用的是 Discourse 的 Docker 版本，无法直接修改您提到的源代码文件。
> 
> 是否有其他方法可以让“忘记密码”邮件或其他类型的邮件绕过此限制？目前我需要允许 `admin_confirmation_message`、`forgot_password` 和 `test_message`。如果有办法添加这些，我将来也可以用同样的方法添加其他类型。

---

_[View the full topic](https://meta.discourse.org/t/how-to-prevent-emails-other-than-admin-confirmation-when-granting-admin-moderator-access/404452)._
