1

Topic: Amavais database size

==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP (AD)
- Linux/BSD distribution name and version: RH 6.4
- Related log if you're reporting an issue:
====
Hello,
Currently my amavis database has 29G, a I can see it stores a lot of historical information.
I am wondering can i Trim this database somehow do decrease its' size

----

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

2

Re: Amavais database size

1) You can drop this database directly, then drop it again.
2) Setup cron job to delete old records. iRedAdmin-Pro ships script 'tools/cleanup_amavisd_db.py' to help you remove old records. And upcoming iRedAdmin open source edition ships this script too.