Perl Issues? I think?

Eric Peters eric at linuxsystems.net
Tue Jan 5 23:33:23 GMT 2010


Don't know yet. Can't seem to find the issue? Have you seen this
before? I searched the list here at most of the problems that people
been experiencing with the
/etc/MailScanner/CustomFunctions/SQLBlackWhiteList.pm, it could not be
"require"d. Make sure the last line of the file says "1; error are
mostly on the FreeBSD side...

Permissions on the the SQLBlackWhiteList .pm are the following
-rw-r--r-- 1 root root  I'll change it to postfix:postfix same as
mailscanner let ya know if that worked.

Cheers,
Eric



On Tue, Jan 5, 2010 at 3:03 PM, Alex Broens <ms-list at alexb.ch> wrote:
> seen that... what was it?
> permissions?
>
> On 01/05/10 11:54, Eric Peters 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
>> 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
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>


More information about the MailScanner mailing list