From owner-freebsd-ports@FreeBSD.ORG Fri Jan 16 12:07:46 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 1432D1065887 for ; Fri, 16 Jan 2009 12:07:46 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id B3A758FC12 for ; Fri, 16 Jan 2009 12:07:45 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from w2003s01.double-l.local (double-l.xs4all.nl [80.126.205.144]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id n0GC7iHc041346; Fri, 16 Jan 2009 13:07:44 +0100 (CET) (envelope-from Johan@double-l.nl) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 16 Jan 2009 13:07:46 +0100 Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DE441@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Mailscanner and perl update Thread-Index: Acl30vhDPOvqb3mMRh+w7aMMy5TOwwAAFA8g References: <57200BF94E69E54880C9BB1AF714BBCB5DE43E@w2003s01.double-l.local> <49707123.1030105@quip.cz> From: "Johan Hendriks" To: "Miroslav Lachman" <000.fbsd@quip.cz> X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-ports@freebsd.org 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 12:07:49 -0000 >> 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 =96f >> All looked fine but now my mail scanner is not working anymore. >> I get the following error >>=20 >> 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-Funct= ion.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;" >>=20 >> But no files have been changed in that dir=20 >>=20 >> What am I missing! >Did you tried reinstall of MailScanner? It should fix it. (I had = similar=20 >problem with amavisd + spamassassin after Perl upgrade and reinstall=20 >fixed it) >Miroslav Lachman Yes i did a portupgrade -f MailScanner , but it did not work, i now did = a pkg_add -r perl, and it gave me the old 5.8.8 perl did a portupgrade = -f MailScanner and al is working again. So I build a test machine now where I do a clean install of perl 5.8.9 = and MailScanner and see how it goes! Regards, Johan Hendriks=20 No virus found in this outgoing message. Checked by AVG - http://www.avg.com=20 Version: 8.0.176 / Virus Database: 270.10.8/1896 - Release Date: = 15-1-2009 19:10