In next release of iRedAdmin-Pro, it won't try to remove old records anymore, so it should be quicker.
Sorry if I resume this old post, but the problem on quarantine messages it's happening again.
I don't see the old post on how to make a cron job to delete old messages from mysql, can you describe how to do that or maybe you have an example?
Plus: I have iRedAdminPro 1.5.0 this release don't remove old records?
I try to remove manually in Mysql with this 2 commands:
DELETE FROM msgs WHERE content IN ('S', 's', 'V', 'Y') AND quar_type = 'Q' AND time_num < UNIX_TIMESTAMP(DATE_SUB(NOW(), INTERVAL 7 DAY))
DELETE msgrcpt.* FROM msgrcpt INNER JOIN msgs ON msgrcpt.mail_id=msgs.mail_id WHERE msgs.content IN ('U', 'M', 'H', 'O', 'C') AND msgs.time_num < UNIX_TIMESTAMP(DATE_SUB(NOW(), INTERVAL 7 DAY))
Only this second command delete some records, but not so much...
Thanks in advance...