Page 1 of 1

MailsCanner stopped cleaning old mails from the database.

Posted: 04 Nov 2010, 20:08
by hilario
Hi,

In the page "ConfigServer MailScanner Front-End" I set "Keep x days of MailWatch MySQL database entries (0 = disable)" to 35 (I use this default for about 2 years)
Since September, 15 my "Total Messages by Date" keeps growing and it stopped deleting old mails from the SQL database.

I already started/stopped Mailscanner a few times, had also changed from 35 days to 25 days and nothing happens.

Would you please inform if there is another parameter to limit the maximum dates it keeps in the database or fix this issue?

Thanks

Hilário

Re: MailsCanner stopped cleaning old mails from the database

Posted: 17 Nov 2010, 16:52
by sawbuck
Sounds like the clean.quarantine.cron in /etc/cron.daily isn't functioning which is a symlink to /usr/mailscanner/bin/cron/clean.quarantine.cron. Are other cron jobs running properly?

I'd check that those files are in place with the proper owner/perms.

Quickest solution might be to force a MS update in WHM/MS FE and see if that brings it around.

Re: MailsCanner stopped cleaning old mails from the database

Posted: 19 Nov 2010, 21:50
by hilario
You went direct to the point. The cron file did not have the "execute" permission.

Thanks

Hilário Fochi Silveira

Re: MailsCanner stopped cleaning old mails from the database

Posted: 19 Nov 2010, 22:16
by sawbuck
Good to know. Thanks for posting back.