Introduction
In cPanel version 104, the option to automatically delete Spam from the Spam Box was added.
Procedure
- Log into WHM as the 'root' user.
- Navigate to "Home / Service Configuration / Mailserver Configuration."
- Scroll down to "Auto Expunge Trash."
- Enable the "Auto Expunge Spam" option.
- In the "Spam Expire Time" textbox, enter the number of days to keep messages in the Spam folder.
- Click the "Save Changes" button.