Introduction
When you enable the Auto Expunge Trash option in Home » Service Configuration » Mailserver Configuration in WHM, the system automatically removes messages in the Trash folder during the nightly upcp run based on the value set in the Trash Expire Time field. However, you may want to clear out messages before then for all email accounts.
Procedure
First set the value of Trash Expire Time to the desired value on the Mailserver Configuration page in WHM; the minimum value is 1, for messages that were moved into the Trash at least one day ago. Then connect to your server via SSH and run this command as the root user:
/scripts/dovecot_maintenance
Comments
0 comments
Article is closed for comments.