1

Topic: Database amavis quarantine larger storage

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.84
- Linux/BSD distribution name and version: debian 8 jessie
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====

I have about 5 million rows and 100 GB.
How to clean it properly.

Thank you

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Database amavis quarantine larger storage

You're running iRedMail-0.8.4?

*) Please download the latest iRedAdmin open source edition (or iRedAdmin-Pro - if you own a license): http://www.iredmail.org/yum/misc/
*) uncompress it
*) copy existing iRedAdmin config file to new iRedAdmin directory
*) run script 'tools/cleanup_amavisd_db.py' to clean up old Amavisd sql records

Notes:

*) you don't need to upgrade iRedAdmin, just uncompress it and run the 'cleanup_amavisd_db.py' script there.
*) Please download the latest iRedAdmin release. Script 'cleanup_amavisd_db.py' shipped by old iRedAdmin release has performance issue.

3

Re: Database amavis quarantine larger storage

Thank you T T