# 创建自托管的干净不完全清理

**URL:** <https://meta.discourse.org/t/create-self-hosting-clean-incomplete-cleaning/389461>\
**Category:** Self-hosting\
**Created:** [2025年十一月24日 13:18 UTC](https://meta.discourse.org/t/create-self-hosting-clean-incomplete-cleaning/389461 "2025-11-24T13:18:43Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![wszgrcy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wszgrcy/32/463600_2.png) [@wszgrcy](https://meta.discourse.org/u/wszgrcy)\
**Post date:** [2025年十一月24日 13:18 UTC](https://meta.discourse.org/t/create-self-hosting-clean-incomplete-cleaning/389461/1 "2025-11-24T13:18:43Z")

</div>

我首先使用 `DISCOURSE_HOSTNAME=bbs2.abc.com` 进行构建

然后我更改为 `DISCOURSE_HOSTNAME=bbs1.abc.com`

但我发现发送电子邮件时出现错误消息，发件人是 `bbs2`

但是我的网站上的所有链接都已替换为“bbs1”，只有电子邮件仍然来自“bbs2”

我尝试销毁并检查了卷和容器，确认它们不再可用，但下次重建时仍然会显示“bbs2”

请问如何排查此问题？

---

_[View the full topic](https://meta.discourse.org/t/create-self-hosting-clean-incomplete-cleaning/389461)._
