# User Spam - automatic account deletions and domain blacklist

**URL:** https://meta.discourse.org/t/user-spam-automatic-account-deletions-and-domain-blacklist/408074
**Category:** Support
**Tags:** spam, signup
**Created:** [20 juli 2026 om 18:25 UTC](https://meta.discourse.org/t/user-spam-automatic-account-deletions-and-domain-blacklist/408074 "2026-07-20T18:25:07Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [21 juli 2026 om 06:28 UTC](https://meta.discourse.org/t/user-spam-automatic-account-deletions-and-domain-blacklist/408074/2 "2026-07-21T06:28:57Z")

</div>

Hello @LotusJeff

Did you have a look at these settings, as I think they will get you some part of the way there:

Configure these settings in **`/admin/settings/`**

| **Setting** | **Suggested Value** | **Effect** |
| --- | --- | --- |
| `purge_unactivated_users_grace_period_days` | **1** | Deletes unactivated accounts in 1 day instead of 14. It is’t instant like asked in #2, but it’s the same effect with a smaller delay. |
| `blocked_email_domains` | Add known spam TLDs/domains manually | Blocks registration from known offenders |

For anything fully automated like you ask, I think a plugin would need to be built (or none exists afaik), or you can take a look at the [new workflow feature](https://meta.discourse.org/t/discourse-workflows/407100). I don’t know if what you want is possible yet, but it’s updating almost daily so who knows 🙂

For the plugin route, there is an event you could hook in `DiscourseEvent.on(:email_bounce)`

Also worth looking at [Configure VERP to handle bouncing e-mails](https://meta.discourse.org/t/configure-verp-to-handle-bouncing-e-mails/45343) maybe

---

_[View the full topic](https://meta.discourse.org/t/user-spam-automatic-account-deletions-and-domain-blacklist/408074)._
