Hi,<br><br>First thing ... you are using a 1 year old version of MailScanner ... update would be the first thing Julian says.<br><br>I think ... Debian/Ubuntu package are old ... and its been here many times before. They are ( as I know ) not being maintained.<br>
<br>Install from the source ...:<br><a href="http://mailscanner.info/downloads.html">http://mailscanner.info/downloads.html</a><br><br>I&#39;m running a FreeBSD here ... and we have had the same issue I think .. and many other because of Perl/MailScanner ... so I&#39;m always aware of any issue before installing on my production server.<br>
This could probably be resolved by downgrading Perl or as above ... update to newest MailScanner.<br><br>mvh<br>Mikael Syska<br><br><div class="gmail_quote">On Tue, Jan 5, 2010 at 11:54 PM, Eric Peters <span dir="ltr">&lt;<a href="mailto:eric@linuxsystems.net">eric@linuxsystems.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello all,<br>
<br>
     Thanks for taking the time to read this.<br>
<br>
Basically just did a clean install of Ubuntu 9.10 server with<br>
MailScanner w/ Mailwatch but when starting up I see the following in<br>
the mail.log &quot;Could not use Custom Function<br>
code........SQLBlackWhiteList.pm, it could not be &quot;require&quot;d. Make<br>
sure the last line of the file says &quot;1;&quot;&quot; Same error with the<br>
MailWatch.pm<br>
<br>
Anybody have any iders?<br>
<br>
Ubuntu 9.10<br>
Perl 5.10.0<br>
<br>
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:<br>
  Platform:<br>
    osname=linux, osvers=2.6.24-23-server,<br>
archname=x86_64-linux-gnu-thread-multi<br>
    uname=&#39;linux crested 2.6.24-23-server #1 smp wed apr 1 22:14:30<br>
utc 2009 x86_64 gnulinux &#39;<br>
    config_args=&#39;-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN<br>
-Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr<br>
-Dprivlib=/usr/share/perl/5.10 -Darchlib=/usr/lib/perl/5.10<br>
-Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5<br>
-Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local<br>
-Dsitelib=/usr/local/share/perl/5.10.0<br>
-Dsitearch=/usr/local/lib/perl/5.10.0 -Dman1dir=/usr/share/man/man1<br>
-Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1<br>
-Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl<br>
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio<br>
-Uusenm -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib<br>
-Dlibperl=libperl.so.5.10.0 -Dd_dosuid -des&#39;<br>
    hint=recommended, useposix=true, d_sigaction=define<br>
    useithreads=define, usemultiplicity=define<br>
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef<br>
    use64bitint=define, use64bitall=define, uselongdouble=undef<br>
    usemymalloc=n, bincompat5005=undef<br>
<br>
MailScanner E-Mail Virus Scanner version 4.74.16 starting...<br>
<br>
Could not use Custom Function code<br>
/etc/MailScanner/CustomFunctions/SQLBlackWhiteList.pm, it could not be<br>
&quot;require&quot;d. Make sure the last line of the file says &quot;1;&quot;<br>
Could not use Custom Function code<br>
/etc/MailScanner/CustomFunctions/MailWatch.pm, it could not be<br>
&quot;require&quot;d. Make sure the last line of the file says &quot;1;&quot;<br>
<br>
Read 848 hostnames from the phishing whitelist<br>
Read 4278 hostnames from the phishing blacklist<br>
Config: calling custom init function SQLBlacklist<br>
Config: calling custom init function MailWatchLogging<br>
Config: calling custom init function SQLWhitelist<br>
Using SpamAssassin results cache<br>
Connected to SpamAssassin cache database<br>
Enabling SpamAssassin auto-whitelist functionality...<br>
Using locktype = flock<br>
<br>
<br>
Thanks,<br>
Eric<br>
<font color="#888888">--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
</font></blockquote></div><br>