Seems "amavisd-release" doesn't read setting in Amavisd config file to understand where the quarantined mails are stored. In this case, you need to write a simple script to release email with command like 'telnet or other tools.
Check its doc below, you need "quar_type=Q" to tell Amavisd to release email from SQL db, not from local file system:
https://amavis.org/README.protocol.txtBTW, with iRedAdmin-Pro, just few clicks. Besides, you can view mail headers and mail body of quarantined emails.
The reason is there is an error in amavisd-release. There is no "quar_type='Q'" in the script.
I created a new file "amavisd-release-sql" and changed the line following line:
my $quar_type = $fn_suffix eq '.gz' ? 'Z' : $fn_path ne '' ? 'F' : ' ';
The new line is
my $quar_type = $fn_suffix eq '.gz' ? 'Z' : $fn_path ne '' ? 'F' : 'Q';
Now it's working fine.