Perl Issues? I think?

Eric Peters eric at linuxsystems.net
Tue Jan 5 22:54:01 GMT 2010


Hello all,

     Thanks for taking the time to read this.

Basically just did a clean install of Ubuntu 9.10 server with
MailScanner w/ Mailwatch but when starting up I see the following in
the mail.log "Could not use Custom Function
code........SQLBlackWhiteList.pm, it could not be "require"d. Make
sure the last line of the file says "1;"" Same error with the
MailWatch.pm

Anybody have any iders?

Ubuntu 9.10
Perl 5.10.0

Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.6.24-23-server,
archname=x86_64-linux-gnu-thread-multi
    uname='linux crested 2.6.24-23-server #1 smp wed apr 1 22:14:30
utc 2009 x86_64 gnulinux '
    config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN
-Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr
-Dprivlib=/usr/share/perl/5.10 -Darchlib=/usr/lib/perl/5.10
-Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5
-Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local
-Dsitelib=/usr/local/share/perl/5.10.0
-Dsitearch=/usr/local/lib/perl/5.10.0 -Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1
-Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio
-Uusenm -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib
-Dlibperl=libperl.so.5.10.0 -Dd_dosuid -des'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef

MailScanner E-Mail Virus Scanner version 4.74.16 starting...

Could not use Custom Function code
/etc/MailScanner/CustomFunctions/SQLBlackWhiteList.pm, it could not be
"require"d. Make sure the last line of the file says "1;"
Could not use Custom Function code
/etc/MailScanner/CustomFunctions/MailWatch.pm, it could not be
"require"d. Make sure the last line of the file says "1;"

Read 848 hostnames from the phishing whitelist
Read 4278 hostnames from the phishing blacklist
Config: calling custom init function SQLBlacklist
Config: calling custom init function MailWatchLogging
Config: calling custom init function SQLWhitelist
Using SpamAssassin results cache
Connected to SpamAssassin cache database
Enabling SpamAssassin auto-whitelist functionality...
Using locktype = flock


Thanks,
Eric


More information about the MailScanner mailing list