Comment 2 for bug 700288

Revision history for this message
Cyril Jaquier (cyril-jaquier) wrote :

1. Yes, this is reproducible

2.

* Install amavisd-new using your favorite package manager
* Be sure to have $quarantine_subdir_levels = 1 (or higher). This should be the default
* Wait for an e-mail to land into the quarantine
* Try to release it with amavisd-release

=> File not found because of wrong path. The subdirectory from directory hashing is missing.

On a default installation, you can find e-mail in the quarantine using:

# find /var/lib/amavis/virusmails/ -type f

I looked a bit at amavisd-release but my Perl knowledge is not that good. Either amavisd is not returning the right path or amavisd-release should handle $quarantine_subdir_levels.