Accessing amavisd quarantine db

Alex mysqlstudent at
Sat May 14 02:00:32 CEST 2011


On Thu, May 12, 2011 at 1:51 PM, Mark Martinec
<Mark.Martinec+amavis at> wrote:
> Alex,
>> I've read the docs regarding amavisd-release, but wondered if the
>> quarantine is also stored in a database that can be queried to search
>> for a message that may be in the quarantine?
> Quarantined messages may be stored as an SQL quarantine.
> Except for releasing from such quarantine (which is provided by amavisd),
> the rest of the quarantine management and searching is not provide
> by amavisd. Either use some existing third-party tools, or coin up
> the SQL queries as needed.
>> I've been unable to locate documentation on the files in
>> /var/spool/amavisd/db. Do the contents of those db files include
>> information on files in the quarantine?
> The db files there are not for quarantine. These Berkeley db files keep
> evidence of amavisd child process states (as displayed by amavisd-nanny),
> and amavisd statistics counters, as displayed by amavisd-agent or
> exported into SNMP by amavisd-snmp-subagent.

Thanks for the explanation. I will investigate third-party
applications and SQL possibilities. I'm assuming any third-party
applications would have the ability to store info in an SQL db and
provide the ability to query to determine which quarantined file has
the info based on a query.

Thanks again,

More information about the amavis-users mailing list