Hello Zhang,
Both tables msgs and msgrcpt of our amavis DB have over 1 million records now and we want to apply the above patch to remove old records older than 30 days but we don't know how to do this.
Could you please explain in details how to make use of the patch such as what file name we should save it to and how to patch it to the original file "cleanup_amavisd_db.py"? Thank you!