I‘m looking for a solution to delete mails older than 30 days in the wastebasket by a cron job because we are all working with iPhone and iPad via imap. These devices don‘t delete a mail when it is moving to the wastebasket. So these mails stay there for ever maybe.
I found a script on the kopano side
https://stash.kopano.io/projects/KSC/repos/core-tools/browse/kopano-cleanup
but i don‘t know how to install and to use it in the special UCS version of kopano. I’m afraid to destroy my well-functioning server when i use this script.
Is this script the only solution and if so, how do I use it? Or does anyone know another one?
Heiko