Explanation of Amavisd SQL database


Check out the lightweight on-premises email archiving software developed by iRedMail team: Spider Email Archiver.


Amavisd has two settings to use its SQL tables:



TODO: @storage_sql_dsn

Since Amavisd will store basic info of every inbound/outbound email, the SQL database will grow bigger and bigger, iRedMail setups a daily cron job to clean up old records with script shipped in iRedAdmin (available in both iRedAdmin open source edition and iRedAdmin-Pro): tools/cleanup_amavisd_db.py.