From owner-freebsd-ports@FreeBSD.ORG Sun May 31 04:03:58 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A595106564A for ; Sun, 31 May 2009 04:03:58 +0000 (UTC) (envelope-from nakaji@kankyo-u.ac.jp) Received: from www.heimat.gr.jp (unknown [IPv6:2001:3e0:a84::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9C0CE8FC16 for ; Sun, 31 May 2009 04:03:57 +0000 (UTC) (envelope-from nakaji@kankyo-u.ac.jp) X-Virus-Scanned: amavisd-new at heimat.gr.jp Received: from ra333.heimat.gr.jp.kankyo-u.ac.jp (ra333.heimat.gr.jp [IPv6:2001:3e0:a84:0:200:4cff:fe17:573c]) by www.heimat.gr.jp (8.14.3/8.14.3) with ESMTP id n4V43Und010503; Sun, 31 May 2009 13:03:30 +0900 (JST) (envelope-from nakaji@kankyo-u.ac.jp) From: NAKAJI Hiroyuki To: hummel@pasteur.fr (Thomas Hummel) References: <20090512115334.GD26360@parmesan.sis.pasteur.fr> <20090515125835.GC39318@parmesan.sis.pasteur.fr> Date: Sun, 31 May 2009 13:03:29 +0900 In-Reply-To: <20090515125835.GC39318@parmesan.sis.pasteur.fr> (Thomas Hummel's message of "Fri, 15 May 2009 14:58:35 +0200") Message-ID: <86tz31vrzi.fsf@ra333.heimat.gr.jp> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.94 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, score=-5.9 required=13.0 tests=BAYES_00, CONTENT_TYPE_PRESENT,NO_RELAYS,QENCPTR1 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on www.heimat.gr.jp Cc: freebsd-ports@freebsd.org Subject: Re: Amavis::SpamControl->new not found X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 04:03:58 -0000 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@parmesan.sis.pasteur.fr> >>>>> hummel@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