Mailscanner and perl update
Miroslav Lachman
000.fbsd at quip.cz
Fri Jan 16 03:35:12 PST 2009
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
More information about the freebsd-ports
mailing list