Announcement

Collapse
No announcement yet.

How to delete the emails older than x days using cPanel?

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to delete the emails older than x days using cPanel?

    How to delete the emails older than x days using cPanel?

  • #2
    Best Dedicated Servers
    You have to set the cron using cPanel

    Open cron jobs in cPanel and add the following command:
    /usr/bin/archivemail –quiet –delete –days 20 /home/{USER}/mail/inbox

    Using this command, the emails that are older than 20 days will be auto-deleted.

    Comment

    Working...
    X

    Sign up for a News Letter Click here to sign up