Submitted by sgrayban on Mon, 11/05/2012 - 22:18
I would like to see some usermin cli features added such as auto-clear settings which is really needed because i have a few clients that have clients that do not empty trash/sent/spam/junk folders.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Mon, 11/05/2012 - 23:22 Comment #1
Are you looking for a way to setup auto-clearing of all users spam and trash folders from a single location?
Submitted by sgrayban on Mon, 11/05/2012 - 23:30 Comment #2
correct and also Junk folder since thats the folder TB uses and creates for imap connections
Submitted by JamieCameron on Tue, 11/06/2012 - 15:02 Comment #3
There is an option at Server Configuration -> Spam and Virus Delivery to auto-delete spam for all users in a domain after some number of days.
Also, users can setup auto-clearing themselves in Usermin, at Manage Folders -> Auto-clearing.
Submitted by sgrayban on Tue, 11/06/2012 - 15:08 Comment #4
I know about the spam setting its the users that dont want to use the auto-clearing.
They use thunderbird or squirrelmail to read there emails and don't both to delete anything that's why I was asking for a cli to do this.
Submitted by JamieCameron on Tue, 11/06/2012 - 16:17 Comment #5
If I was to add an option to auto-clear trash folders as well, would that solve this problem for you?
There is no CLI API in Usermin currently to do this..
Submitted by sgrayban on Tue, 11/06/2012 - 23:35 Comment #6
I would be happy to see that for trash / sent and both spam folders spam/Junk
Submitted by JamieCameron on Wed, 11/07/2012 - 13:16 Comment #7
Ok, I will look into adding this in the next release.
Submitted by sgrayban on Wed, 11/07/2012 - 19:16 Comment #8
thanks
Submitted by JamieCameron on Tue, 11/13/2012 - 01:10 Comment #9
This has been implemented for inclusion in Virtualmin 3.96
Submitted by Issues on Tue, 11/27/2012 - 02:08 Comment #10
Automatically closed -- issue fixed for 2 weeks with no activity.
Submitted by sgrayban on Tue, 12/11/2012 - 05:42 Comment #11
OK I see this in the Spam and Virus Delivery section under the domain menu however you missed adding it to the command line... you have a modify-spam switch but its missing the modify-trash switch so can you add that so I can do global changes ?
Submitted by JamieCameron on Tue, 12/11/2012 - 13:01 Comment #12
Sorry about that - I completely forgot to add this to the API.
I have just implemented it though, for inclusion in the next release. Let me know if you'd like a patch to get it sooner.
Submitted by sgrayban on Tue, 12/11/2012 - 15:10 Comment #13
Could you attach the patch please ?
Submitted by JamieCameron on Tue, 12/11/2012 - 15:27 Comment #14
Sure .. just save the attached file as /usr/share/webmin/virtual-server/modify-spam.pl
Submitted by sgrayban on Tue, 12/11/2012 - 15:42 Comment #15
Thanks
Submitted by Issues on Tue, 12/25/2012 - 15:46 Comment #16
Automatically closed -- issue fixed for 2 weeks with no activity.