# Can discourse delete archived posts automatically and accept registration without email?

**URL:** https://meta.discourse.org/t/can-discourse-delete-archived-posts-automatically-and-accept-registration-without-email/203038
**Category:** Support
**Created:** [September 9, 2021, 4:01am UTC](https://meta.discourse.org/t/can-discourse-delete-archived-posts-automatically-and-accept-registration-without-email/203038 "2021-09-09T04:01:53Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![oxygen-cat](https://avatars.discourse-cdn.com/v4/letter/o/977dab/32.png) [@oxygen-cat](https://meta.discourse.org/u/oxygen-cat)
#### Post date: [September 9, 2021, 4:01am UTC](https://meta.discourse.org/t/can-discourse-delete-archived-posts-automatically-and-accept-registration-without-email/203038/1 "2021-09-09T04:01:53Z")

</div>

- I want to have discourse delete archived posts automatically in certain categories or all categories. Is it possible? Can I configure the amount of time it takes to archive a post in a certain category or all categories?
- Can I make email optional during registration?

---

<div class="post-metadata">

### Author: ![cocococosti](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cocococosti/32/231474_2.png) [@cocococosti](https://meta.discourse.org/u/cocococosti)
#### Post date: [September 9, 2021, 5:42pm UTC](https://meta.discourse.org/t/can-discourse-delete-archived-posts-automatically-and-accept-registration-without-email/203038/2 "2021-09-09T17:42:32Z")

</div>

> [@oxygen-cat](#):
>
> I want to have discourse delete archived posts automatically in certain categories or all categories

You can auto delete and auto close topics with [topic timers](https://meta.discourse.org/t/how-to-create-a-timed-topic/60731).

You could also configure a category to auto close its topics:

 ![Screen Shot 2021-09-09 at 13.37.31](https://global.discourse-cdn.com/meta/original/3X/5/4/546c49676d1be6a19c518c71241b8b5cf0900f18.png)

> [@oxygen-cat](#):
>
> Can I make email optional during registration?

I don’t think that’s possible without modifying the code or writing a custom plugin. You could use SSO instead and find a platform that doesn’t do email validation, then set `require_activation=true` (we don’t recommend you do this unless you have any other way to check your users are valid), check [Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/discourseconnect-official-single-sign-on-for-discourse-sso/13045)

---

<div class="post-metadata">

### Author: ![oxygen-cat](https://avatars.discourse-cdn.com/v4/letter/o/977dab/32.png) [@oxygen-cat](https://meta.discourse.org/u/oxygen-cat)
#### Post date: [September 10, 2021, 2:16am UTC](https://meta.discourse.org/t/can-discourse-delete-archived-posts-automatically-and-accept-registration-without-email/203038/3 "2021-09-10T02:16:38Z")

</div>

> [@cocococosti](#):
>
> we don’t recommend you do this unless you have any other way to check your users are valid

I will approve each registration accompanied by short self introduction. As far as I know, I can add a text field to registration or manually add users who write introduction about themsleves to a group that can view and post to categories.

I will look into SSO softwares like authentik and authelia.

By the way, email is optional in a nodebb account. email is verified only if I add email to a nodebb account.

---

<div class="post-metadata">

### Author: ![oxygen-cat](https://avatars.discourse-cdn.com/v4/letter/o/977dab/32.png) [@oxygen-cat](https://meta.discourse.org/u/oxygen-cat)
#### Post date: [September 10, 2021, 2:20am UTC](https://meta.discourse.org/t/can-discourse-delete-archived-posts-automatically-and-accept-registration-without-email/203038/4 "2021-09-10T02:20:54Z")

</div>

> [@cocococosti](#):
>
> You could also configure a category to auto close its topics:

Can I configure a category to delete topics automatically after a while?

---

<div class="post-metadata">

### Author: ![cocococosti](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cocococosti/32/231474_2.png) [@cocococosti](https://meta.discourse.org/u/cocococosti)
#### Post date: [September 10, 2021, 4:01pm UTC](https://meta.discourse.org/t/can-discourse-delete-archived-posts-automatically-and-accept-registration-without-email/203038/5 "2021-09-10T16:01:44Z")

</div>

> [@oxygen-cat](#):
>
> Can I configure a category to delete topics automatically after a while?

I don’t think this feature exists [yet](https://meta.discourse.org/t/auto-delete-topics-the-same-as-auto-close-feature/138361).

You could use [Discourse Automation](https://meta.discourse.org/t/discourse-automation/195773) and create a script to [delete all topics in a category](https://meta.discourse.org/t/the-proper-way-to-completely-delete-hundred-of-topics-via-rails/90323/2). I’ve never done this, so I’m not sure if it’ll work though 😅
