# Question about Automatic Folder Clearing and subfolders

**URL:** <https://forum.virtualmin.com/t/question-about-automatic-folder-clearing-and-subfolders/122218>\
**Category:** Usermin\
**Created:** [August 18, 2023, 9:48pm UTC](https://forum.virtualmin.com/t/question-about-automatic-folder-clearing-and-subfolders/122218 "2023-08-18T21:48:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ksihota](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/ksihota/32/1634_2.png) [@ksihota](https://forum.virtualmin.com/u/ksihota)\
**Post date:** [August 18, 2023, 9:48pm UTC](https://forum.virtualmin.com/t/question-about-automatic-folder-clearing-and-subfolders/122218/1 "2023-08-18T21:48:07Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | CentOS Linux 7.9.2009 |
| Webmin version | 2.101 |
| Usermin version | 2.001 |
| Virtualmin version | 7.7 |
| Theme version | 21.04 |
| Package updates | All installed packages are up to date |

I would like to know how automatic Folder Clearing deals with subfolders.

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/2X/0/026123d1316e46a1e5abae483371dc4688e315bf.png)

I assume that since subfolders are designated as mainfolder.subfolder in the folder list that this means they are really independent entities when it comes to Automatic Folder Clearing?

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/2X/5/5aac64adad2819ab7461093b1ed36a4ddd55ec46.png)

If not, then there would need to be some kind of precedence for subfolder rules.  
I would therefore expect that only the main folder messages would be cleared and not any subfolders?  
Or, am I completely wrong, does the Auto Clearing follow the folder path and acts on messages inside all subfolders?  
If it does, maybe the Automatic Folder Clearing dialog needs to have a checkbox to stop the function from impacting subfolders if it is checked?

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [October 17, 2023, 9:48pm UTC](https://forum.virtualmin.com/t/question-about-automatic-folder-clearing-and-subfolders/122218/2 "2023-10-17T21:48:37Z")

</div>

Closed on October 17, 2023, 9:48pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
