MailScanner --lint & MS 4.50-15

Brad Beckenhauer brad at beckenhauer.com
Sat Feb 4 17:48:05 GMT 2006


Hi Julian,
Running MS 4.50-15 using the tarball install and using Postfix
The system is running ok and email is processing normally.

My system is more leading/bleeding edge and I get an interesting perl message when running "MailScanner --lint" that I just wanted to show to you.  Since I'm more of a novice at perl,  I think this is due to the more recent perl version I'm running and so I'm sending this in case it will be useful to you (or not).

Anyway,  here's some output for you.


[root at mail bin]# ./MailScanner --lint
Read 709 hostnames from the phishing whitelist
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 803
Cannot write pid file , No such file or directory at ./MailScanner line 1238
MailScanner setting GID to  (73)
MailScanner setting UID to  (73)
Checking for SpamAssassin errors (if you use it)...
Using SpamAssassin results cache
Connected to SpamAssassin cache database
SpamAssassin reported no errors.

MailScanner.conf says "Virus Scanners = clamav bitdefender mcafee"
Found these virus scanners installed: bitdefender, clamavmodule, mcafee


[root at mail bin]# perl -wc /opt/MailScanner/lib/MailScanner/CustomConfig.pm
Unquoted string "hostname" may clash with future reserved word at /opt/MailScanner/lib/MailScanner/CustomConfig.pm line 300.
Parameterless "use IO" deprecated at /opt/MailScanner/lib/MailScanner/CustomConfig.pm line 749
"my" variable $LimitsH masks earlier declaration in same scope at /opt/MailScanner/lib/MailScanner/CustomConfig.pm line 796.
Use of implicit split to @_ is deprecated at /opt/MailScanner/lib/MailScanner/CustomConfig.pm line 822.
Use of implicit split to @_ is deprecated at /opt/MailScanner/lib/MailScanner/CustomConfig.pm line 838.
/opt/MailScanner/lib/MailScanner/CustomConfig.pm syntax OK


[root at mail bin]# perl --version
This is perl, v5.8.7 built for i686-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)


[root at mail bin]# perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=linux, osvers=2.6.14-arch, archname=i686-linux-thread-multi
    uname='linux earth 2.6.14-arch #1 smp preempt sat dec 17 14:46:38 pst 2005 i686 amd athlon(tm) processor authenticamd gnulinux '
    config_args='-des -Dprefix=/usr -Dinstallprefix=/usr -Dman1dir=/usr/man/man1 -Dman3dir=/usr/man/man3 -Doptimize=-march=i686 -O2 -pipe -Dusethreads'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-march=i686 -O2 -pipe',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='4.0.3 20051006 (prerelease)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.3.5.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
                        PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
  Built under linux
  Compiled at Dec 30 2005 12:13:39
  @INC:
    /usr/lib/perl5/5.8.7/i686-linux-thread-multi
    /usr/lib/perl5/5.8.7
    /usr/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.7
    /usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.6
    /usr/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.5
    /usr/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.4
    /usr/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.3
    /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.2
    /usr/lib/perl5/site_perl/5.8.1/i686-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.1
    /usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
    .
-------------- next part --------------
Skipped content of type multipart/related


More information about the MailScanner mailing list