Cron clean.quarantine missing ?

Report bugs and workarounds
Post Reply
rshellhamer
Posts: 4
Joined: 26 Aug 2014 12:08

Cron clean.quarantine missing ?

Post 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?
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Cron clean.quarantine missing ?

Post 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);
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Cron clean.quarantine missing ?

Post 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.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Cron clean.quarantine missing ?

Post by shawniverson »

Post Reply