Amavis::SpamControl->new not found

NAKAJI Hiroyuki nakaji at jp.freebsd.org
Sun May 31 04:03:58 UTC 2009


I had same trouble. And I found a solution/workaround.

According to
http://marc.info/?l=amavis-user&m=124299851715437&w=2

o no need to set @bypass_spam_check_maps, just comment out
o set @spam_scanners properly, for example @spam_scanners='undef' if you
  do not want amavisd-new to check spam

The RELEASE_NOTES of amavisd-new also mentions about @spam_scanners.

Some workaround patches are available like Debian's package, but I
think this is better.

Thanks.

>>>>> In <20090515125835.GC39318 at parmesan.sis.pasteur.fr> 
>>>>>	hummel at pasteur.fr (Thomas Hummel) wrote:

> Conclusion : 
> ------------

> it seems to me that :

>   . amavisd miss somewhere the "import" of the Amavis::SpamControl package (I
>     don't see such import anywhere)

>   . @bypass_spam_checks_maps  = (1); doesn't bypass everything since 

>      $spamcontrol_obj = Amavis::SpamControl->new  if $extra_code_antispam;

>    is still executed.

>   .  $sa_mail_body_size_limit = 1; isn't enough to fully bypass spam engine since some
>      messages where marked UBE.

> Thanks
-- 
NAKAJI Hiroyuki


More information about the freebsd-ports mailing list