There is a way to have deleted messages expunged automatically, without needing to do anything in the shell, only if you use Courier-IMAP. This is not available with Dovecot.There is no way to delete the older than 30 days mails through cPanel
The option is available in:Dovecot upgraded to 2.2
Dovecot has been upgraded to version 2.2 in cPanel & WHM 11.40. This will allow the Trash and Deleted Messages to be auto-expunged, providing improved performance and better disk space management.
Hello,We're running WHM 11.48.3 and I can only see the option to Auto Expunge Trash. What about Junk?