From owner-freebsd-ports@FreeBSD.ORG Tue May 12 11:53:39 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA7601065670 for ; Tue, 12 May 2009 11:53:39 +0000 (UTC) (envelope-from hummel@parmesan.sis.pasteur.fr) Received: from munster3.sis.pasteur.fr (munster3.sis.pasteur.fr [157.99.64.214]) by mx1.freebsd.org (Postfix) with ESMTP id 7AA768FC2F for ; Tue, 12 May 2009 11:53:38 +0000 (UTC) (envelope-from hummel@parmesan.sis.pasteur.fr) Received: from localhost (localhost [127.0.0.1]) by munster3.sis.pasteur.fr (Postfix) with ESMTP id D1C11119CBD; Tue, 12 May 2009 13:53:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at pasteur.fr Received: from parmesan.sis.pasteur.fr (parmesan.sis.pasteur.fr [157.99.64.42]) by munster3.sis.pasteur.fr (Postfix) with ESMTP id B019A119CAD; Tue, 12 May 2009 13:53:37 +0200 (CEST) Received: by parmesan.sis.pasteur.fr (Postfix, from userid 1931) id 2BF5D1704D; Tue, 12 May 2009 13:53:35 +0200 (CEST) Date: Tue, 12 May 2009 13:53:35 +0200 From: Thomas Hummel To: ports@freebsd.org Message-ID: <20090512115334.GD26360@parmesan.sis.pasteur.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Cc: gabor@FreeBSD.org Subject: 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: Tue, 12 May 2009 11:53:41 -0000 Hello, I portupgraded a lot of things on a mail server running 7.1-PRERELEASE amd64, including perl, postfix, amavisd-new and clamav. At the moment here are the versions which I run : perl-5.8.9_2 postfix-2.5.6,1 amavisd-new-2.6.3,1 clamav-0.95.1_ Compile and install succeeded but trying to start amavid-new gave the following error : # /usr/local/etc/rc.d/amavisd start Starting amavisd. Can't locate object method "new" via package "Amavis::SpamControl" at /usr/local/sbin/amavisd line 13878. On this particular server, I don't want spam check at all, so /usr/local/etc/amavisd.conf states : @bypass_spam_checks_maps = (1); # controls running of anti-spam code which doesn't seem to be overriden anwhere else. Line 13878 of /usr/local/sbin/amavisd states : $spamcontrol_obj = Amavis::SpamControl->new if $extra_code_antispam; Considering I don't need spam check at all, I tried commenting this line and amavisd-new started and seemed to work. Do you have any clue on what's wrong ? -- Thomas Hummel