CyberPanel Community

Cronjob to delete old emails

da
dan0009 #1

Is there a way to delete old emails using a cronjob?

Have you setup a cronjob to delete old emails (say older than 7 days) to keep your server from filling up? If so how did you do it?

3 replies
sh
shoaibkk #2

You mean from the rainloop.

da
dan0009 #3

somehow, i am looking to delete all 7 days old emails regularly (from rainloop or otherwise)

ma
martingray #4

Rainloop Webmail Client Plugin for Vesta Web Interface

Installation Instructions:

  1. Upload the ‘rainloop’ folder to the ‘plugins’ folder of your VWI installation.
  2. Edit the VWI settings and add “rainloop” to the plugins section.
  3. Create a Cron Job to autoupdate the domain settings and new domains

Sign in to reply