# Recover a user who was deleted as a spammer

**URL:** https://meta.discourse.org/t/recover-a-user-who-was-deleted-as-a-spammer/33372
**Category:** Site Management
**Tags:** how-to, users
**Created:** [9월 16, 2015, 8:44오후 UTC](https://meta.discourse.org/t/recover-a-user-who-was-deleted-as-a-spammer/33372 "2015-09-16T20:44:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Discourse](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/discourse/32/148734_2.png) [@Discourse](https://meta.discourse.org/u/Discourse)
#### Post date: [9월 16, 2015, 8:44오후 UTC](https://meta.discourse.org/t/recover-a-user-who-was-deleted-as-a-spammer/33372/1 "2015-09-16T20:44:27Z")

</div>

> 🔖 This guide explains how to recover users and their content after they were mistakenly deleted as spammers.
> 
> 🙋 Required user level: Administrator

When a user is mistakenly flagged as a spammer and deleted, they are automatically blocked from signing up again based on their email address and IP address. Here’s how to restore access and recover their content.

## Finding the deleted user’s information

1. Go to Admin \> Logs \> Staff Action Logs
2. Search for `delete user` as the action type
3. Review the time and date the user was deleted

 ![Staff action logs showing spam deletion](https://global.discourse-cdn.com/meta/original/4X/7/2/c/72cca53e0197ef5e3591bc3d19cad1978e4d81f4.png)

## Removing signup blocks

### Unblock the email address

1. Go to Admin \> Logs \> Screened Emails
2. Locate the blocked email address using the deletion date noted earlier
3. Click “Allow” to remove the email block

 ![Screened emails list with allow button](https://global.discourse-cdn.com/meta/original/4X/7/0/b/70bd8c52c1a6766f000748914dbbac7d01a612df.jpeg)

### IP address block

1. Go to Admin \> Logs \> Screened IPs
2. Find the matching IP address from the screened emails list
3. Click the trash can icon to delete the IP block  
⚠ Do not click “Allow” for IP addresses, only delete the record

 ![Screened IP addresses list](https://global.discourse-cdn.com/meta/original/4X/1/b/1/1b196638d7517bcc2426d4533bcbd71fb6e67199.jpeg)

## Restoring access

After removing the blocks, the user can register a new account using:

- Their previous email address
- Their previous username

> ℹ The original account cannot be recovered, but a new account can be created with the same details.

## Reassigning and recovering posts

When a user is deleted as a spammer, their posts are:

- Marked as deleted
- Left without an author

To restore these posts:

1. Click on the topic or post hyperlink shown in the staff action logs
2. Look for posts marked as deleted (admins can see these)
3. Scroll to the bottom of the topic or post and click on the counter-clockwise arrow

 ![Restore and change topic ownership](https://global.discourse-cdn.com/meta/original/4X/b/d/b/bdb9b9e2f343f80e0a65ba85692046899d62f2f5.png)

1. Click the wrench icon
2. Change the ownership to the user’s new account
3. Recover the posts to make them visible again

> Last edited by @MarkDoerr 2025-02-19T22:12:45Z
> 
> > **Check document**
> >
> > Perform check on document:
