# Dealing with unwanted (and probably spam) accounts via SSO?

**URL:** <https://meta.discourse.org/t/dealing-with-unwanted-and-probably-spam-accounts-via-sso/24050>\
**Category:** Feature\
**Tags:** sso, wordpress, discourseconnect\
**Created:** [2015年一月15日 19:47 UTC](https://meta.discourse.org/t/dealing-with-unwanted-and-probably-spam-accounts-via-sso/24050 "2015-01-15T19:47:52Z")\
**Posts on this page:** 1\
**Showing post:** 37

<div class="post-metadata">

**Author:** ![adrelanos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adrelanos/32/121409_2.png) [@adrelanos](https://meta.discourse.org/u/adrelanos)\
**Post date:** [2022年十月16日 14:52 UTC](https://meta.discourse.org/t/dealing-with-unwanted-and-probably-spam-accounts-via-sso/24050/37 "2022-10-16T14:52:58Z")

</div>

_功能请求：用户查询参数 + 轻松删除_

我想在管理界面中进行查询。例如：

- 最后邮件发送时间：`>1 年前`
- 最后查看时间：`>1 年前`
- 查看的话题数：`0`
- 阅读的帖子数：`0`
- 阅读时间：`<1 分钟`
- 创建时间：`>1 年前`
- 收到邮件退信：`是`
- 邮件域名：`gmail.com`

（有些是可选的。其他人肯定有不同的查询参数。）

然后查询完成后，我希望有一个简单的按钮 `全选`，然后是 `全部删除`？ `您确定要删除 5000 个用户吗？ 是 | 否`

为什么？  
我的论坛里有很多（数千个）失败的垃圾邮件机器人账户。为什么垃圾邮件失败了？因为个人资料垃圾邮件是不可能的。相关的必填字段已被删除。此外，由于其他保护措施，发布垃圾邮件也很困难。结果，有很多僵尸账户。

> 我不想自动删除任何用户，永远不想。

提前检查将删除什么并手动确认似乎要好得多。这些查询将更加灵活。

类似的用户请求：

> [@Automatic deletion of "inactive" users](https://meta.discourse.org/t/automatic-deletion-of-inactive-users/120625):
>
> Are there any settings that affect automatic deletion of “inactive” users other than: clean up inactive users after days which I have set to 0 in an attempt to disable ALL automatic deletions of users under any circumstances (regardless of activity, membership level, etc.) On my forum many users are lurking read-only via email, and others might only have a need to visit once every few years or so! I don’t want automatic deletion of any users, ever. Thanks.

---

_[View the full topic](https://meta.discourse.org/t/dealing-with-unwanted-and-probably-spam-accounts-via-sso/24050)._
