MailsCanner stopped cleaning old mails from the database.

Discuss the ConfigServer MailScanner Front-End script
Post Reply
hilario
Junior Member
Posts: 88
Joined: 16 Mar 2008, 23:32
Location: Sao Paulo - SP - Brasil

MailsCanner stopped cleaning old mails from the database.

Post 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
sawbuck
Junior Member
Posts: 366
Joined: 10 Dec 2006, 16:20

Re: MailsCanner stopped cleaning old mails from the database

Post 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.
hilario
Junior Member
Posts: 88
Joined: 16 Mar 2008, 23:32
Location: Sao Paulo - SP - Brasil

Re: MailsCanner stopped cleaning old mails from the database

Post by hilario »

You went direct to the point. The cron file did not have the "execute" permission.

Thanks

Hilário Fochi Silveira
sawbuck
Junior Member
Posts: 366
Joined: 10 Dec 2006, 16:20

Re: MailsCanner stopped cleaning old mails from the database

Post by sawbuck »

Good to know. Thanks for posting back.
Post Reply