Description of problem:
With the new amavisd-new stable version (2.9.1) it is not possibile to release emails from SQL quarantine using the amavisd-release program. When trying to do that, amavis complain about a non-existent mail_id. Analyzing the log file it appear that the mail_id is correctly passed by amavisd-release but then the amavisd perl daemon overwrite the correct value with random data.
Version-Release number of selected component (if applicable):
When using an SQL quarantine: always
On other quarantine types: I don't know (I use SQL quarantine exclusively)
Steps to Reproduce:
1. set up and SQL quarantine
2. let a spam email enter the SQL quarantine
3. try to release the blocked email via the amavisd-release program (eg: /usr/bin/amavisd-release 0-vFmNRKpWLO5K)
450 4.5.0 Failure: Can't open sql obj for reading: No such file or directory at (eval 109) line 375, <GEN21> line 4.
The email shoud be released and queued for delivery
1. Change line 20177 in /usr/sbin/amavisd as below:
2. Apply a slight more extensive path as by link n.2 above
3. Revert to amavisd-new ver. 2.8.1
Sorry for introducing this bug. I'm going to submit an update with the patch of the second link.
I don't have any sql deployment to test it, so I'll need your feedback on the update.
amavisd-new-2.9.1-2.el6 has been submitted as an update for Fedora EPEL 6.
I can confirm that, with the new amavisd-new-2.9.1-2.el6, the problem is fixed.
Running amavisd-release I see:
[root@spambox ~]# amavisd-release 0-rQEL05XC_c-7
250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as A9BD2404
So the packet seems to work correctly. I'm waiting to see it into EPEL stable repository :)
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing amavisd-new-2.9.1-2.el6'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
I tried the new epel-testing package on two different servers and I confirm that it works. So the bug seems solved.
I'm waiting to see the new package pushed to stable repository. Thanks.
amavisd-new-2.9.1-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.