> Sorry for the incompatibility (there was a compatibility measure
> in 2.7.0 up till pre7, but I dropped it in pre8 - I guess I should
> put it back).

The following patch to 2.7.0-pre14 puts that compatibility measure back,
so the first $conn parameter is optional (is discarded if it exists):

--- amavisd.orig        2011-02-02 22:11:30.000000000 +0100
+++ amavisd     2011-02-11 01:13:12.995666153 +0100
@@ -14143,4 +14143,5 @@
 
 sub do_quarantine($$$$;@) {
+  shift(@_)  if $_[0]->isa('Amavis::In::Connection');  # for compatibility
   my($msginfo, $hdr_edits_inherited, $recips_ref,
      $quarantine_method, @snmp_id) = @_;



Mark

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org

Reply via email to