Centos 5.2, MS, perl ClamAV module

Martin Hepworth maxsec at gmail.com
Thu Nov 27 17:15:16 GMT 2008


2008/11/27 NIKOLAOS PAVLIDIS <NIKOLAOS.PAVLIDIS at beds.ac.uk>:
> Hello David,
>
> The development of the perl clamav module is quite slow and as discussed
> previously, the clamd solution is the optimal one. From my experience
> clamd is fully implementable on centos systems, all you need is the
> clamd script in /etc/init.d.
>
> Sample scripts are available under contrib/init just make sure that you
> configure your clamd.conf to your specs since MS will not be providing
> the configuration options for it since it will be invoked separately as
> a daemon.
>
> Regards,
>
> Nik
>
> On Thu, 2008-11-27 at 16:39 +0000, David Lee wrote:
>> I'm aware that the topic of the perl ClamAV module is a frequent one
>> (because of the unfortunate habit of the clamav software to change its
>
>> interface on each minor release, requiring the perl module maintainer
> to
>> do work).
>>
>> I've just tried a fresh install (64 bit Intel) of Centos 5.2,
> MS-4.72.5-1
>> and install-Clam-SA-latest.tar.gz (install-Clam-0.94.1-SA-3.2.5).
>>
>> "install-Clam-0.94.1-SA-3.2.5" successfully builds the clamav software
>
>> itself (installing it into "/usr/local/{bin,lib64,etc,include}" (etc.)
>>
>> It then tries to build the perl ClamAV module, which fails:
>>     ClamAV.xs:308: error: 'CL_EFSYNC' undeclared (first use in this
> function)
>>     ClamAV.xs:321: error: 'CL_ELOCKDB' undeclared (first use in this
> function)
>>
>> Looking in the (just previously installed)
> "/usr/local/include/clamav.h"
>> shows that "CL_EFSYNC" is commented out, and that "CL_ELOCKDB" doesn't
>
>> seem to exist at all.
>>
>> So the two clam-related bits of "install-Clam-0.94.1-SA-3.2.5" would
> seem
>> to be inconsistent.
>>
>> Is the recommendation is that we no longer use the perl ClamAV module
> and
>> instead use "clamd"?
>>
>> If so, then are all the pieces in place to ensure that the "clamd"
> module
>> is automatically invoked?  (The "chkconfig ..." and "service ...
> start"
>> or equivalents?)
>>
>>
>> --
>>
>> :  David Lee                                I.T. Service          :
>> :  Senior Systems Programmer                Computer Centre       :
>> :  UNIX Team Leader                         Durham University     :
>> :                                           South Road            :
>> :  http://www.dur.ac.uk/t.d.lee/            Durham DH1 3LE        :
>> :  Phone: +44 191 334 2752                  U.K.                  :
> --
> 
> Nikolaos Pavlidis BSc (Hons) MBCS NCLP
> System Administrator
> University Of Bedfordshire
> Park Square LU1 3JU
> Luton, Beds, UK
> Tel: +441582489277
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>


Another vote for clamd, I've been running clamd at my old work since
the beta's came out with clam support and never had any issues.

-- 
Martin Hepworth
Oxford, UK


More information about the MailScanner mailing list