*) Delay of receiving emails is caused by greylisting, enabled in Policyd or Cluebringer.
*) If you configure Amavisd to store basic info of in/out emails in SQL server, Amavisd will insert records into SQL database "amavisd". You should use script provided by iRedAdmin-Pro (iRedAdmin-Pro-x.y.z/tools/cleanup_amavisd_db.py) to remove old records this database. Please open this file, read comments on top of this file, you will know how to use it. You can execute it manually, but please setup a daily cron job to execute it.
Hi Zhang,
I didn't configure amavisd to store x,y, or z, this was a product of the iRedMail install and configuration. I'm struggling for an explanation of the relationship of these files in the db and in the mail queue. Do I understand that 1) mail in queue can be delivered, but fail to get removed from mysql tables?, 2) removing the messages via the script does no harm with respect to msgs in the mail queue? I have read and ran the script, but again, nowhere do I find a clear explanation of how these tables do or do not relate to the mail queue leaving room for confusion.
Thank you