New SA and Clam and MS 4.59.4-2

Julian Field MailScanner at ecs.soton.ac.uk
Mon May 7 17:40:33 IST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thom Paine wrote:
> I am trying to update a server to all the latest patches, and I'm
> having trouble getting some stuff working.
>
> I have debug enabled in my mailscanner.conf file and when I try the
> clamavmodule I get libclamav warning, virus definitions are older than
> 7 days.
> I just successfully ran freshclam and I have defined my freshclam.conf
> and my clamd.conf to both point to /var/lib/clamav. The definitions
> downloaded no problem and are in that directory now.
>
> I tried testing the wrapper script for it but it is giving me an error 
> as well.
>
> [root at mail MailScanner]# /usr/lib/MailScanner/clamav-wrapper /tmp
> /usr/lib/MailScanner/clamav-wrapper: line 162: /usr/bin/clamscan: No
> such file or directory
The first command-line argument to all the -wrapper and -autoupdate 
scripts is the installation path for that scanner. MailScanner itself 
reads this from virus.scanners.conf. So if you want to run the wrapper 
by hand, then you need

/usr/lib/MailScanner/clamav-wrapper /usr/local /tmp

in order to scan /tmp, with ClamAV installed under /usr/local (which is 
where my ClamAV+SA package puts it, as that is the default installation 
location built into the ClamAV source code).

Jules

- -- 
Julian Field MEng CITP
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
For all your IT requirements visit www.transtec.co.uk



-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.1 (Build 1012)
Charset: ISO-8859-1

wj8DBQFGP1buEfZZRxQVtlQRArAlAKD8mEIJckSh7dGN09kXjbE+JsRyEACePad5
2xizdcIZAkPTcybj7L3gvCo=
=YiUI
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list