> Steve,
> 
Hallo Mark

> > I can not start 2.6.3. The error I get is:
> > Can't locate object method "new" via package "Amavis::SpamControl" at
> > /usr/sbin/amavisd line 13878.
> >
> > I want Amavis to just do anti-virus checking and no spam checking. For
> that
> > I have set the following option in amavisd.conf:
> @bypass_spam_checks_maps 
> > = (1);
> >
> > But somehow Amavis does not honor that. What do I need to do, in order
> to
> > get Amavis running without spam checking?
> 
> 
> > @bypass_spam_checks_maps = (1);
> 
> The syntax is correct. You've found a bug, thanks!
> 
:)


> As a workaround, please use:
> 
>   @spam_scanners = (undef);
> 
Ahh! I saw yesterday that option mentioned in the change log for 2.6.3 and used 
it but the 'undef' and leaving @bypass_spam_check_maps untouched is the 
solution. Thanks!


> and leave @bypass_spam_checks_maps at its default.
> It would still load the small anti-spam baseline code,
> but not SpamAssassin or its interface code.
> 
Right. Now it is working :) Finally! Thanks.


> Here is a patch:
> 
> --- amavisd.orig      2009-04-22 02:24:12.000000000 +0200
> +++ amavisd   2009-05-22 14:50:37.000000000 +0200
> @@ -13650,5 +13650,7 @@
>  my($bpscm) = ca('bypass_spam_checks_maps');
>  if (!...@{ca('spam_scanners')}) {
> +  undef $extra_code_antispam;
>  } elsif (@$bpscm && !ref($bpscm->[0]) && $bpscm->[0]) {  # simple-minded
> +  undef $extra_code_antispam;
>  } else {
>    eval $extra_code_antispam or die "Problem in antispam code: $@";
> 
> 
> Mark
> 
Steve

-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss 
für nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
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