E-mail retention policies
E-mail retention policies
Is there a schedule to the e-mail retention we can modify? A couple of weeks ago we had one particular client get blasted and processed 85,000 messages in one day, now our /var partition is down to 7%, was wondering if we can purge those messages to free up before actually adding anymore hdd space. Thanks!
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: E-mail retention policies
Yep
Head over to /var/www/html/mailscanner/conf.php
Reduce this setting, then to immediately purge, execute the following
Head over to /var/www/html/mailscanner/conf.php
Code: Select all
define('QUARANTINE_DAYS_TO_KEEP', 30);
Code: Select all
sudo /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_maint.php --clean