Quantcast
Viewing all articles
Browse latest Browse all 405

Cronjob to delete all mails older than one month from server.

Image may be NSFW.
Clik here to view.

Before starting with the cronjob script we will know the locations where the emails stored in server. Exactly there have three folders for managing received mails on a cPanel based server. That are cur, new, tmp. The main differences between these three are new : This is the folder where all emails are first received. cur : Is the folder having emails that are opened/read by mail client. tmp : Is the folder contains processed emails for delivery purpose.

Image may be NSFW.
Clik here to view.


Viewing all articles
Browse latest Browse all 405

Trending Articles