![moskit's picture moskit's picture](https://archive.virtualmin.com/system/files/styles/thumbnail/private/pictures/picture-10864-1543762523.jpg?itok=o2nKI0Jj)
I would like to delete emails older than 60 days in particular folder. Reproduction Path: 1. Go to Virtualmin 2. Go to DOMAIN 3. Go to Edit Users 4. Select the user and "Login to Usermin" 5. Go to "Manage Folders" 6. Create new Folder 7. Select Auto-Clearing button
- Setup autoclearing (attachment: autoclearing.png)
Folder to clear FOLDER_NAME
Automatically delete messages? Yes
Deletion criteria:- Messages older than 60 days
- [x] Delete messages with invalid date Action when messages to delete are found: Delete matching messages
When I want to enable "Scheduled folder clearing options" for Mailbox folder in Usermin settings I get error:
"An error was detected in the new Cron configuration : 57 * * * * /home/DOMAIN/homes/USER/.usermin/mailbox/auto.pl"
But what worries me is after that "Manage Folders" web looks like in attachment (ManageFolders.png)
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Sat, 02/24/2018 - 13:30 Comment #1
This is a Webmin / Usermin bug related to the format of the crontab file - we'll fix it in the next release, which is being prepared for rollout now.
Submitted by IssueBot on Thu, 10/11/2018 - 20:07 Comment #2
Automatically closed - issue fixed for 2 weeks with no activity.