Mailscanner and perl update

Johan Hendriks Johan at double-l.nl
Fri Jan 16 04:07:49 PST 2009


>> 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


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 

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.8/1896 - Release Date: 15-1-2009 19:10


More information about the freebsd-ports mailing list