База знаний


Портал > База знаний > Hosting FAQ's > How to auto delete Emails on cPanel 11

How to auto delete Emails on cPanel 11

How to auto delete Emails on cPanel :

You need to set the cron by using cpanel >> cronjob and add the following command to run in cron.

/usr/bin/archivemail –quiet –delete –days 20 /home/{USER}/mail/inbox
By using above command you can delete the 20 days old emails . Make sure you

replace {USER}with your actual cPanel Hosting account username.


Также читают