I note the cron.daily clean.quarantine script has now gone after the latest updated.
How do I reduce the days to keep in quarantine rather than increasing disk space?
How do you change the number of days to keep in quarantine?
-
- Posts: 33
- Joined: 03 Jan 2014 21:57
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: How do you change the number of days to keep in quaranti
In /var/www/html/mailscanner/conf.php
clean.quarantine is superceded with quarantine_maint.php
/usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_maint.php
This script is referenced in
/etc/cron.daily/mailwatch
Code: Select all
define('QUARANTINE_DAYS_TO_KEEP', 30);
/usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_maint.php
This script is referenced in
/etc/cron.daily/mailwatch
-
- Posts: 33
- Joined: 03 Jan 2014 21:57
Re: How do you change the number of days to keep in quaranti
Perfect thanks
I've dropped to 15 days for space reasons until I can extend /var
I've dropped to 15 days for space reasons until I can extend /var
-
- Posts: 33
- Joined: 29 Aug 2014 11:27
Re: How do you change the number of days to keep in quaranti
I am trying to find this same section so that I can cut down the number of days to keep but cannot find it in the php file listed above - has this been moved in an update?
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: How do you change the number of days to keep in quaranti
It should be, but if not, you can add it...
Re: How do you change the number of days to keep in quarantine?
Also you must change in file /etc/MailScanner/defaults to q_days= value.