MailScanner-4.67.6_3 and perl-5.8.9 not working

Johan Hendriks Johan at double-l.nl
Mon Feb 9 03:27:24 PST 2009


Hello all.

I have updated my perl from 5.8.8 to 5.8.9 on some mailscanner machines, and now mailscanner is not working anymore.

I did run the perl-after-upgrade script.

 

I also did a clean install on a spare machine of Mailscanner with a recent ports tree which sucked in perl 5.8.9 so it is not in the upgrade itself.

 

The errors I get are the following, and are on all the systems.(amd64 and i386)

I also tried mailscanner 4.74.16-1 (from my own created port) and it has the same error on perl 5.8.9 and it works on 5.8.8 

 

MailScanner[1420]: 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;"

Feb  9 13:14:26 mailrelay2 MailScanner[1420]: 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;"

Feb  9 13:14:26 mailrelay2 MailScanner[1420]: 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;"

Feb  9 13:14:26 mailrelay2 MailScanner[1420]: 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;"

Feb  9 13:14:26 mailrelay2 MailScanner[1420]: 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;"

Feb  9 13:14:26 mailrelay2 MailScanner[1420]: 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;"

Feb  9 13:14:26 mailrelay2 MailScanner[1420]: 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;"

Feb  9 13:14:26 mailrelay2 MailScanner[1420]: 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;"

 

 

My knowledge of perl is none what so ever.

What can I do ?

 

Regards,

Johan

 



More information about the freebsd-ports mailing list