Page 1 of 1

Cron clean.quarantine missing ?

Posted: 13 Sep 2014 13:51
by rshellhamer
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?

Re: Cron clean.quarantine missing ?

Posted: 13 Sep 2014 16:58
by shawniverson
clean.quarantine was redundant and therefore removed per the MailWatch documentation. The script that *should* be cleaning your quarantine is this one:

Code: Select all

/usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_maint.php --clean
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

define('QUARANTINE_DAYS_TO_KEEP', 30);

Re: Cron clean.quarantine missing ?

Posted: 13 Sep 2014 17:01
by shawniverson
I am seeing the following when I execute this script:
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
I am submitting a bug and will fix asap.

Re: Cron clean.quarantine missing ?

Posted: 13 Sep 2014 17:02
by shawniverson