On Thu, February 11, 2010 3:35 am, Mark Martinec wrote: >> but I don't know what would be the best way to resolve it properly. > > Actually the following might be a more universal solution, > relying on amavisd to decide whether it is a SQL or file-based quarantine, > based on its SQL settings: > > > --- amavisd-release~ 2008-08-05 18:49:30.000000000 +0200 > +++ amavisd-release 2010-02-10 17:32:43.000000000 +0100 > @@ -157,13 +157,11 @@ > } > my($quar_type) = - $fn_suffix eq '.gz' ? 'Z' > - : $fn_path eq '' && $mail_id eq $mail_file ? 'Q' : 'F'; > + $fn_suffix eq '.gz' ? 'Z' : $fn_path ne '' ? 'F' : '';
Mark, thanks dumb Q: how do I put that into amavisd-release, (other than pasting by hand, line by line....) (I guess above is a diff-thing that I have seen, but never used before...) -- Voytek ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-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/