# 自动删除超过60天的个人消息？

**URL:** <https://meta.discourse.org/t/auto-delete-personal-messages-older-than-60-days/349925>\
**Category:** Support\
**Tags:** personal-messages\
**Created:** [2025年一月31日 17:34 UTC](https://meta.discourse.org/t/auto-delete-personal-messages-older-than-60-days/349925 "2025-01-31T17:34:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![qingfeng1024](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/qingfeng1024/32/495412_2.png) [@qingfeng1024](https://meta.discourse.org/u/qingfeng1024)\
**Post date:** [2025年一月31日 17:34 UTC](https://meta.discourse.org/t/auto-delete-personal-messages-older-than-60-days/349925/1 "2025-01-31T17:34:29Z")

</div>

大家好，

我正在寻找一种方法，可以在我的 Discourse 论坛上自动删除超过 60 天的私信（PM）。由于用户与 AI 聊天机器人集成互动，导致私信数量巨大，而且大部分消息在一段时间后已无用。

是否有内置的设置或插件，允许在指定时间后（比如 60 天）自动删除私信？理想情况下，我希望能够在管理员设置中全局配置此功能，而不需要逐个用户设置。

我已经在管理员设置和 Meta 中进行了搜索，但还没有找到解决方案。任何帮助或指导，将不胜感激！

---

<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:** [2025年一月31日 22:15 UTC](https://meta.discourse.org/t/auto-delete-personal-messages-older-than-60-days/349925/2 "2025-01-31T22:15:41Z")

</div>

我认为那需要一个自定义插件。

---

<div class="post-metadata">

**Author:** ![iamcapote](https://avatars.discourse-cdn.com/v4/letter/i/46a35a/32.png) [@iamcapote](https://meta.discourse.org/u/iamcapote)\
**Post date:** [2025年五月18日 21:49 UTC](https://meta.discourse.org/t/auto-delete-personal-messages-older-than-60-days/349925/3 "2025-05-18T21:49:26Z")

</div>

我也想知道这一点，因为这也是我们关心的问题。集合所有用户的想法会让你们面临欺诈、社会工程以及各种问题的风险。

我曾将私信设置为自动删除，希望这样能解决，但没有效果。

---

<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:** [2025年五月18日 22:01 UTC](https://meta.discourse.org/t/auto-delete-personal-messages-older-than-60-days/349925/4 "2025-05-18T22:01:54Z")

</div>

> [@iamcapote](#):
>
> 让所有用户集体思考会带来诈骗、社会工程以及各种各样的问题。

只有消息的用户才能看到他们的消息。谁会诈骗他们？

这仍然需要一个插件。

我认为我会做的是直接将用户从私信中移除。私信仍然存在，但只有拥有网址的员工才能看到它们。

然后，你也许可以在某个等待期之后完全删除它们。
