MailScanner version 4.65.3 and perl-MailTools-2.02-1.el4.rf HOWTO

Erick Perez eaperezh at gmail.com
Wed Dec 5 18:35:06 GMT 2007


Just a quick help to the comunity, we started to see many errors in
our systems after a perl upgrade.
So here's how to spot it and fix it (temporary fix of course)

These instructions are for Centos 4.x / 5.x only, modify according to
your system

MailScanner version 4.65.3
perl-MailTools-2.02-1.el4.rf

equals the following errors:

# MailScanner -v | head -20
Variable "$FIELD_NAME" is not imported at
/usr/lib/MailScanner/MailScanner/Message.pm line 6907.
Variable "$FIELD_NAME" is not imported at
/usr/lib/MailScanner/MailScanner/Message.pm line 6910.
Global symbol "$FIELD_NAME" requires explicit package name at
/usr/lib/MailScanner/MailScanner/Message.pm line 6907.
Global symbol "$FIELD_NAME" requires explicit package name at
/usr/lib/MailScanner/MailScanner/Message.pm line 6910.
Compilation failed in require at /usr/sbin/MailScanner line 79.
BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 79.


Fix :

#rpm -e perl-MailTools-2.02-1.el4.rf –nodeps
#wget http://dag.wieers.com/rpm/packages/perl-MailTools/perl-MailTools-1.77-1.el4.rf.noarch.rpm
#rpm -ivh perl-MailTools-1.77-1.el4.rf.noarch.rpm

Now check your system with
#MailScanner -v | head -20
Running on
Linux xxxxxxxxxxxxxxx 2.6.9-55.0.12.ELsmp #1 SMP Fri Nov 2 11:19:08
EDT 2007 i686 i686 i386 GNU/Linux
This is CentOS release 4.5 (Final)
This is Perl version 5.008005 (5.8.5)

This is MailScanner version 4.65.3
Module versions are:
1.00    AnyDBM_File
1.23    Archive::Zip
1.03    Carp
1.119   Convert::BinHex
2.27    Date::Parse
1.00    DirHandle
1.05    Fcntl
2.73    File::Basename
2.08    File::Copy
2.01    FileHandle
1.06    File::Path
0.14    File::Temp
0.92    Filesys::Df


Cheers,

-- 
------------------------------------------------------------
Erick Perez
------------------------------------------------------------


More information about the MailScanner mailing list