complaint from 4.68.4 (now 4.68.5)
Julian Field
MailScanner at ecs.soton.ac.uk
Tue Mar 18 14:06:45 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jeff A. Earickson wrote:
> Julian,
>
> I just installed and tested 4.68.5-1. Slightly different result, but
> more or less the same complaint:
>
> (65)> ./MailScanner --lint
> Trying to setlogsock(native)
> Read 814 hostnames from the phishing whitelist
> Read 4587 hostnames from the phishing blacklist
> Config: calling custom init function IPBlock
> Could not use Custom Function code
> MailScanner::CustomConfig::InitIPBlock, it could not be "eval"ed. Make
> sure the module is correct with perl -wc at
> /opt/MailScanner/lib/MailScanner/Config.pm line 873
You need to take a look at InitIPBlock in CustomConfig.pm, you have
something wrong there.
> Checking version numbers...
> Version number in MailScanner.conf (4.68.5) is correct.
>
> Your envelope_sender_header in spam.assassin.prefs.conf is correct.
>
> Checking for SpamAssassin errors (if you use it)...
> SpamAssassin temporary working directory is /tmp
> SpamAssassin temp dir = /tmp
> Using SpamAssassin results cache
> Connected to SpamAssassin cache database
> SpamAssassin reported no errors.
> Using locktype = posix
> MailScanner.conf says "Virus Scanners = clamd sophos"
> ERROR:: COULD NOT CONNECT TO FPSCAND, RECOMMEND RESTARTING DAEMON at
> /opt/MailScanner/lib/MailScanner/SweepViruses.pm line 3681
I hadn't been getting that one. I'll try again.
> Found these virus scanners installed: clamd, sophossavi
> ===========================================================================
>
> Virus and Content Scanning: Starting
> ClamAVModule::INFECTED:: Eicar-Test-Signature FOUND :: ./1/eicar.com
> ClamAVModule::INFECTED:: Eicar-Test-Signature FOUND :: ./1/
> Virus Scanning: Clamd found 2 infections
>>>> Virus 'EICAR-AV-Test' found in file ./1/eicar.com
> Virus Scanning: Sophos found 2 infections
> Infected message 1 came from 10.1.1.1
> Virus Scanning: Found 2 viruses
> Filename Checks: (1 eicar.com)
> Other Checks: Found 1 problems
> ===========================================================================
>
> Virus Scanner test reports:
> Clamd said "eicar.com was infected: Eicar-Test-Signature FOUND"
> Sophos said ">>> Virus 'EICAR-AV-Test' found in file ./1/eicar.com"
>
> If any of your virus scanners (clamd,sophossavi)
> are not listed there, you should check that they are installed correctly
> and that MailScanner is finding them correctly via its
> virus.scanners.conf.
> Config: calling custom end function IPBlock
> Closing down IP blocking
> (66)> ./MailScanner --lintlite
> Could not use Custom Function code
> MailScanner::CustomConfig::InitIPBlock, it could not be "eval"ed. Make
> sure the module is correct with perl -wc at
> /opt/MailScanner/lib/MailScanner/Config.pm line 873
Again, you need to look at CustomConfig.pm
> (67)> perl -wc /opt/MailScanner/lib/MailScanner/Config.pm
No, not that one :-)
> Useless use of hash element in void context at
> /opt/MailScanner/lib/MailScanner/Config.pm line 892.
> Use of implicit split to @_ is deprecated at
> /opt/MailScanner/lib/MailScanner/Config.pm line 2066.
> /opt/MailScanner/lib/MailScanner/Config.pm syntax OK
> (68)> perl -V
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
> Platform:
> osname=solaris, osvers=2.10, archname=sun4-solaris
> uname='sunos coal 5.10 generic_118822-27 sun4u sparc
> sunw,sun-fire-v490 '
> config_args='-Ui_gdbm -Dprefix=/opt/perl5 -Dcc=cc -Doptimize=-O
> -Dlocincpth=/opt/openssl/include /opt/BerkeleyDB/include
> /usr/local/include -Dloclibpth=/opt/openssl/lib /opt/BerkeleyDB/lib
> /usr/local/lib -Dcf_email=jaearick at colby.edu
> -Dperladmin=jaearick at colby.edu -Drunnm=false -Dldlibpthname=none
> -Duseshrplib=true -Dinstallusrbinperl -ders'
> hint=recommended, useposix=true, d_sigaction=define
> usethreads=undef use5005threads=undef useithreads=undef
> usemultiplicity=undef
> useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
> use64bitint=undef use64bitall=undef uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
> Compiler:
> cc='cc', ccflags ='-I/opt/openssl/include
> -I/opt/BerkeleyDB/include -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
> optimize='-O',
> cppflags='-I/opt/openssl/include -I/opt/BerkeleyDB/include
> -I/usr/local/include'
> ccversion='Sun C 5.7 Patch 117836-05 2005/10/05', gccversion='',
> gccosandvers=''
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8
> alignbytes=8, prototype=define
> Linker and Libraries:
> ld='cc', ldflags =' -L/usr/lib -L/usr/ccs/lib
> -L/opt/SUNWspro/prod/lib/v8plus -L/opt/SUNWspro/prod/lib -L/lib
> -L/opt/openssl/lib -L/opt/BerkeleyDB/lib -L/usr/local/lib '
> libpth=/usr/lib /usr/ccs/lib /opt/SUNWspro/prod/lib/v8plus
> /opt/SUNWspro/prod/lib /lib /opt/openssl/lib /opt/BerkeleyDB/lib
> /usr/local/lib
> libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc
> perllibs=-lsocket -lnsl -ldl -lm -lc
> libc=, so=so, useshrplib=true, libperl=libperl.so
> gnulibc_version=''
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R
> /opt/perl5/lib/5.8.8/sun4-solaris/CORE'
> cccdlflags='-KPIC', lddlflags='-G -L/usr/lib -L/usr/ccs/lib
> -L/opt/SUNWspro/prod/lib/v8plus -L/opt/SUNWspro/prod/lib -L/lib
> -L/opt/openssl/lib -L/opt/BerkeleyDB/lib -L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: PERL_MALLOC_WRAP PERL_USE_SAFE_PUTENV
> USE_LARGE_FILES USE_PERLIO
> Built under solaris
> Compiled at Jul 7 2006 08:44:57
> @INC:
> /opt/perl5/lib/5.8.8/sun4-solaris
> /opt/perl5/lib/5.8.8
> /opt/perl5/lib/site_perl/5.8.8/sun4-solaris
> /opt/perl5/lib/site_perl/5.8.8
> /opt/perl5/lib/site_perl
> .
>
> Hmmmmm, I wonder if rebuilding and reinstalling perl 5.8.8 would help?
Wouldn't have thought so.
>
> Jeff Earickson
> Colby College
>
> On Mon, 17 Mar 2008, Julian Field wrote:
>
>> Date: Mon, 17 Mar 2008 20:57:22 +0000
>> From: Julian Field <MailScanner at ecs.soton.ac.uk>
>> Reply-To: MailScanner Beta-testers
>> <mailscanner-beta at lists.mailscanner.info>
>> To: MailScanner Beta-testers <mailscanner-beta at lists.mailscanner.info>
>> Subject: Re: complaint from 4.68.4
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> All fixed.
>> I will publish a new beta (4.68.5) in a minute, probably by the time you
>> get this message.
>>
>> Then I'm having dinner :-)
>>
>> Jules.
>>
>> Jeff A. Earickson wrote:
>>> On Mon, 17 Mar 2008, Julian Field wrote:
>>>
>>>> Date: Mon, 17 Mar 2008 16:13:18 +0000
>>>> From: Julian Field <MailScanner at ecs.soton.ac.uk>
>>>> Reply-To: MailScanner Beta-testers
>>>> <mailscanner-beta at lists.mailscanner.info>
>>>> To: MailScanner Beta-testers <mailscanner-beta at lists.mailscanner.info>
>>>> Subject: Re: complaint from 4.68.4
>>>>
>>>> Run these two please:
>>>> MailScanner --lint
>>>
>>> (78)> ./MailScanner --lint
>>> Trying to setlogsock(native)
>>> Checking version numbers...
>>> Version number in MailScanner.conf (4.68.4) is correct.
>>>
>>> Your envelope_sender_header in spam.assassin.prefs.conf is correct.
>>>
>>> Checking for SpamAssassin errors (if you use it)...
>>> SpamAssassin temp dir = /tmp
>>> SpamAssassin reported no errors.
>>> MailScanner.conf says "Virus Scanners = clamd sophos"
>>> Found these virus scanners installed: clamd, sophossavi
>>> ===========================================================================
>>>
>>>
>>> ===========================================================================
>>>
>>>
>>> Virus Scanner test reports:
>>> Clamd said "eicar.com was infected: Eicar-Test-Signature FOUND"
>>> Sophos said ">>> Virus 'EICAR-AV-Test' found in file ./1/eicar.com"
>>>
>>> If any of your virus scanners (clamd,sophossavi)
>>> are not listed there, you should check that they are installed
>>> correctly
>>> and that MailScanner is finding them correctly via its
>>> virus.scanners.conf.
>>>
>>>> MailScanner --lintlite
>>>
>>> (79)> ./MailScanner --lintlite
>>> Could not use Custom Function code
>>> MailScanner::CustomConfig::InitIPBlock, it could not be "eval"ed. Make
>>> sure the module is correct with perl -wc at
>>> /opt/MailScanner/lib/MailScanner/Config.pm line 873
>>>
>>>> and let's see what they think of your Custom Functions.
>>>>
>>>> Also, try doing a "perl -wc" of the file as it says.
>>>
>>> (81)> cd /opt/MailScanner/lib/MailScanner
>>> (82)> perl -wc Config.pm
>>> Useless use of hash element in void context at Config.pm line 892.
>>> Use of implicit split to @_ is deprecated at Config.pm line 2066.
>>> Name "MailScanner::Config::ConfFile" used only once: possible typo at
>>> Config.pm line 806.
>>> Config.pm syntax OK
>>>
>>> Does this help any?
>>>
>>> Jeff Earickson
>>> Colby College
>>
>> Jules
>>
>> - --
>> Julian Field MEng CITP CEng
>> www.MailScanner.info
>> Buy the MailScanner book at www.MailScanner.info/store
>>
>> MailScanner customisation, or any advanced system administration help?
>> Contact me at Jules at Jules.FM
>>
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>> PGP public key: http://www.jules.fm/julesfm.asc
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: PGP Desktop 9.8.1 (Build 2523)
>> Comment: Use Thunderbird Enigmail to verify this message
>> Charset: ISO-8859-1
>>
>> wj8DBQFH3ts0EfZZRxQVtlQRAg9zAJkBpiApIfX/aZwqARLJm+dxAthA1ACgo0/j
>> dCdL0xoYlDSXQl3rgUeGJhs=
>> =DqtZ
>> -----END PGP SIGNATURE-----
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>> --
>> MailScanner-Beta mailing list
>> mailscanner-beta at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner-beta
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>>
Jules
- --
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.8.1 (Build 2523)
Comment: (pgp-secured)
Charset: ISO-8859-1
wj8DBQFH38x2EfZZRxQVtlQRApAnAJ40SuEuzHyt3UnvaTIIcCTK5aWwvwCcCHU2
HKjxAh2wdolP5TwNuVmluEI=
=Y0ty
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner-Beta
mailing list