From owner-freebsd-ports@FreeBSD.ORG Fri Jan 16 11:35:12 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 124001065675 for ; Fri, 16 Jan 2009 11:35:12 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 90CDD8FC08 for ; Fri, 16 Jan 2009 11:35:11 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 5C04719E054; Fri, 16 Jan 2009 12:35:10 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id D790719E019; Fri, 16 Jan 2009 12:35:07 +0100 (CET) Message-ID: <49707123.1030105@quip.cz> Date: Fri, 16 Jan 2009 12:36:03 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <57200BF94E69E54880C9BB1AF714BBCB5DE43E@w2003s01.double-l.local> In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB5DE43E@w2003s01.double-l.local> Content-Type: text/plain; charset=windows-1250; format=flowed Content-Transfer-Encoding: 8bit Cc: Johan Hendriks Subject: Re: Mailscanner and perl update 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: Fri, 16 Jan 2009 11:35:12 -0000 Johan Hendriks wrote: > I have updated my Mailscanner server to the new perl > I did a perl-after-upgrade and it shows no errors then did the same with –f > All looked fine but now my mail scanner is not working anymore. > I get the following error > > Jan 16 11:46:03 mailscanner MailScanner[37117]: MailScanner E-Mail Virus Scanner version 4.67.6 starting... > Jan 16 11:46:03 mailscanner MailScanner[37117]: Could not use Custom Function code /usr/local/lib/MailScanner/MailScanner/CustomFunctions/DavidHooton.pm, it could not be "require"d. Make sure the last line of the file says "1;" > Jan 16 11:46:03 mailscanner MailScanner[37117]: Could not use Custom Function code /usr/local/lib/MailScanner/MailScanner/CustomFunctions/SpamWhitelist.pm, it could not be "require"d. Make sure the last line of the file says "1;" > Jan 16 11:46:03 mailscanner MailScanner[37117]: Could not use Custom Function code /usr/local/lib/MailScanner/MailScanner/CustomFunctions/ZMRouterDirHash.pm, it could not be "require"d. Make sure the last line of the file says "1;" > Jan 16 11:46:03 mailscanner MailScanner[37117]: Could not use Custom Function code /usr/local/lib/MailScanner/MailScanner/CustomFunctions/CustomAction.pm, it could not be "require"d. Make sure the last line of the file says "1;" > Jan 16 11:46:03 mailscanner MailScanner[37117]: Could not use Custom Function code /usr/local/lib/MailScanner/MailScanner/CustomFunctions/LastSpam.pm, it could not be "require"d. Make sure the last line of the file says "1;" > Jan 16 11:46:03 mailscanner MailScanner[37117]: Could not use Custom Function code /usr/local/lib/MailScanner/MailScanner/CustomFunctions/Ruleset-from-Function.pm, it could not be "require"d. Make sure the last line of the file says "1;" > Jan 16 11:46:03 mailscanner MailScanner[37117]: Could not use Custom Function code /usr/local/lib/MailScanner/MailScanner/CustomFunctions/GenericSpamScanner.pm, it could not be "require"d. Make sure the last line of the file says "1;" > Jan 16 11:46:03 mailscanner MailScanner[37117]: Could not use Custom Function code /usr/local/lib/MailScanner/MailScanner/CustomFunctions/MailWatch.pm, it could not be "require"d. Make sure the last line of the file says "1;" > Jan 16 11:46:03 mailscanner MailScanner[37117]: Could not use Custom Function code /usr/local/lib/MailScanner/MailScanner/CustomFunctions/SQLBlackWhiteList.pm, it could not be "require"d. Make sure the last line of the file says "1;" > Jan 16 11:46:03 mailscanner MailScanner[37117]: Could not use Custom Function code /usr/local/lib/MailScanner/MailScanner/CustomFunctions/SQLSpamSettings.pm, it could not be "require"d. Make sure the last line of the file says "1;" > Jan 16 11:46:03 mailscanner MailScanner[37117]: Could not use Custom Function code /usr/local/lib/MailScanner/MailScanner/CustomFunctions/MyExample.pm, it could not be "require"d. Make sure the last line of the file says "1;" > > But no files have been changed in that dir > > What am I missing! Did you tried reinstall of MailScanner? It should fix it. (I had similar problem with amavisd + spamassassin after Perl upgrade and reinstall fixed it) Miroslav Lachman