Perl Issues? I think?

Garrod M. Alwood Garrod.Alwood at
Wed Jan 6 02:03:17 GMT 2010

Since you are using ubuntu 9.10 you need MailScanner 4.79.1

Garrod Alwood
Open Source Consultant
Garrod.alwood at<mailto:Garrod.alwood at>
Sent from my iPod

On Jan 5, 2010, at 7:14 PM, "Mikael Syska" <mikael at<mailto:mikael at>> wrote:


First thing ... you are using a 1 year old version of MailScanner ... update would be the first thing Julian says.

I think ... Debian/Ubuntu package are old ... and its been here many times before. They are ( as I know ) not being maintained.

Install from the source ...:

I'm running a FreeBSD here ... and we have had the same issue I think .. and many other because of Perl/MailScanner ... so I'm always aware of any issue before installing on my production server.
This could probably be resolved by downgrading Perl or as above ... update to newest MailScanner.

Mikael Syska

On Tue, Jan 5, 2010 at 11:54 PM, Eric Peters <<mailto:eric at>eric at<mailto:eric at>> wrote:
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, it could not be "require"d. Make
sure the last line of the file says "1;"" Same error with the

Anybody have any iders?

Ubuntu 9.10
Perl 5.10.0

Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
   osname=linux, osvers=2.6.24-23-server,
   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
-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 -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/, 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/, 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

MailScanner mailing list
<mailto:mailscanner at>mailscanner at<mailto:mailscanner at>

Before posting, read <>

Support MailScanner development - buy the book off the website!

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list