Page 1 of 1

i'm unable to use Mail::ClamAV

Posted: 01 Feb 2014, 12:13
by Linuxlover
hi,

It seems my server is unable to use Mail::ClamAV everytime i set "clamavmodule" as the virusscanner and do

Code: Select all

Service MailScanner restart && tail /var/log/maillog
i get a message like
MailScanner: ClamAV Perl module not found, did you install it?
Yes i did ...

Re: i'm unable to use Mail::ClamAV

Posted: 20 Feb 2014, 16:51
by Linuxlover
I found something interesting
/usr/mailscanner/bin/MailScanner -v

Running on
Linux $servername 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
This is CentOS release 6.5 (Final)
This is Perl version 5.014003 (5.14.3)

This is MailScanner version 4.84.5
Module versions are:
1.00 AnyDBM_File
1.31 Archive::Zip
0.29 bignum
1.20 Carp
2.052 Compress::Zlib
1.119 Convert::BinHex
0.18 Convert::TNEF
2.131 Data::Dumper
2.30 Date::Parse
1.04 DirHandle
1.11 Fcntl
2.82 File::Basename
2.21 File::Copy
2.02 FileHandle
2.08 File::Path
0.22 File::Temp
0.92 Filesys::Df
3.69 HTML::Entities
3.69 HTML::Parser
3.69 HTML::TokeParser
1.25 IO
1.14 IO::File
1.13 IO::Pipe
2.09 Mail::Header
1.997 Math::BigInt
0.2602 Math::BigRat
3.13 MIME::Base64
5.503 MIME::Decoder
5.503 MIME::Decoder::UU
5.503 MIME::Head
5.503 MIME::Parser
3.13 MIME::QuotedPrint
5.503 MIME::Tools
0.15 Net::CIDR
1.25 Net::IP
0.19 OLE::Storage_Lite
1.04 Pod::Escapes
3.22 Pod::Simple
1.24 POSIX
1.25 Scalar::Util
1.94 Socket
2.39 Storable
1.4 Sys::Hostname::Long
0.29 Sys::Syslog
1.45 Test::Pod
0.98 Test::Simple
1.9725 Time::HiRes
1.02 Time::localtime

Optional module versions are:
1.88 Archive::Tar
0.29 bignum
2.05 Business::ISBN
20120719.001 Business::ISBN::Data
1.21 Data::Dump
1.826 DB_File
1.37 DBD::SQLite
1.622 DBI
1.17 Digest
1.03 Digest::HMAC
2.52 Digest::MD5
2.13 Digest::SHA1
1.01 Encode::Detect
0.17018 Error
0.280205 ExtUtils::CBuilder
3.15 ExtUtils::ParseXS
2.38 Getopt::Long
missing Inline
1.08 IO::String
1.10 IO::Zlib
2.27 IP::Country
missing Mail::ClamAV
3.003002 Mail::SpamAssassin
2.008 Mail::SPF
missing Mail::SPF::Query
0.4002 Module::Build
missing Net::CIDR::Lite
0.68 Net::DNS
missing Net::DNS::Resolver::Programmable
0.44 Net::LDAP
4.062 NetAddr::IP
1.967009 Parse::RecDescent
missing SAVI
3.25 Test::Harness
1.23 Test::Manifest
2.02 Text::Balanced
1.60 URI
0.99 version
0.84 YAML
I tryed upgrading mailscanner and while mail is deliverd fine it seems to break the logging to /var/log/maillog no idea why.When i run /scripts/perlinstaller Mail::ClamAV it says the module is up2date.