Luc,

> since last update on my system, the amavisd-release doesn't work any more.
> Before, a amavis-release qid worked very well.
> 
> Today, I have the error : 
> 450 4.5.0 Failure: SQL quarantine code not enabled at (eval 94) line
> 343, <GEN48> line 4.
> 
> But, I use AM.PDP (Unix socket) protocol not SQL.
> So, what can be the problem ?

What is your setting for $spam_quarantine_method (and
other $*_quarantine_method settings) ?

Are you supplying as an argument to amavisd-release the exact
and full quarantine specification as logged by amavisd?
E.g.:
  Blocked SPAM, ..., quarantine: W50/spam/m/mUfhFi14iDke.gz
requires the:
  amavisd-release W50/spam/m/mUfhFi14iDke.gz

If a $*_quarantine_method is a plain 'local:%m' instead of something
more complex like 'local:W%P/spam/%m.gz', then amavisd-release may
guess incorrectly the type of a quarantine used, and may choose
to supply 'quar_type=Q' in the request. If this is the case,
the culprit is a simpleminded logic in amavisd-release:

  my($quar_type) =
    $fn_suffix eq '.gz' ? 'Z'
    : $fn_path eq '' && $mail_id eq $mail_file ? 'Q' : 'F';

which calls for improvement or a hack in your case.

  Mark

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
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