Hello all,

I'm having some difficulties while trying to release an virus-mail from the 
quarantine.

Probably I only doing the command wrong, but this is what I do:
# cd /var/amavis/quarantine/virus
# amavisd-release virus-20070725T112345-21754-01 
450 4.5.0 Failure: SQL quarantine code not enabled /// at (eval 64) line 320, 
<GEN12> line 4.

(I added the /// to the message, as it occours 3 times in amavisd)

the weird thing is, I'm not using SQL.

amavisd.conf:
$virus_quarantine_method = 'local:virus/virus-%i-%n';

so I checked amavisd source, the error occours at line 13027. The release 
switch at 13022 only goes to the error in 13027, when $quar_type is Q. Now why 
is it Q?

$quar_type is being set on line 10290. There I read:
$quar_type = /^smtp:/  ? 'M' : /^lmtp:/ ? 'L' :
             /^bsmtp:/ ? 'B' : /^sql:/  ? 'Q' :
             /^local:/ ? ($mbxname=~/\@/ ? 'M' : $mbxname=~/\.gz\z/ ? 'Z' : 'F')
            : '?'  for (lc($quarantine_method));

so I should get F for local, so it can release the mail from local file. 

Bug, trick? What to do?

I'm using amavisd-new-2.5.2 from FreeBSD ports collection with perl-5.8.8.


regards,
Philon



-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to