Noticed the VAR part filling with quarantine items. In the past this script was available "/etc/cron.daily/clean.quarantine" but i am finding it is now missing.
Do we know why this is gone? Also is there a work around to clear quarantine items from the command line?
Cron clean.quarantine missing ?
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Cron clean.quarantine missing ?
clean.quarantine was redundant and therefore removed per the MailWatch documentation. The script that *should* be cleaning your quarantine is this one:
This script is called daily from /etc/cron.daily/mailwatch
The following setting in /var/www/html/mailscanner/conf.php controls the cutoff date for cleaning the quarantine:
Code: Select all
/usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_maint.php --clean
The following setting in /var/www/html/mailscanner/conf.php controls the cutoff date for cleaning the quarantine:
Code: Select all
define('QUARANTINE_DAYS_TO_KEEP', 30);
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Cron clean.quarantine missing ?
I am seeing the following when I execute this script:
I am submitting a bug and will fix asap.PHP Notice: Undefined index: %orgname% in /var/www/html/mailscanner/functions.php on line 1217
PHP Notice: Undefined index: %orgname% in /var/www/html/mailscanner/functions.php on line 1261
Notice: Undefined index: %orgname% in /var/www/html/mailscanner/functions.php on line 1217
Notice: Undefined index: %orgname% in /var/www/html/mailscanner/functions.php on line 1261
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact: