Steve,
> 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);
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.
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
------------------------------------------------------------------------------
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
[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/