Date: Fri, 16 Jan 2009 12:36:03 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> To: freebsd-ports@freebsd.org Cc: Johan Hendriks <Johan@double-l.nl> Subject: Re: Mailscanner and perl update Message-ID: <49707123.1030105@quip.cz> In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB5DE43E@w2003s01.double-l.local> References: <57200BF94E69E54880C9BB1AF714BBCB5DE43E@w2003s01.double-l.local>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49707123.1030105>