I invite everyone to update clamAV to latest version . To
upgrade clamAV
simply upgrade cPanel to version WHM 11.15.0 cPanel 11.18.3-C23567
or above.
# /scripts/upcp --force
After the upgrade execute
# clamd --v
and
# /etc/init.d/exim restart
if you will receive some clamd error you should fix the errors
on /etc/clamd.conf then restart exim and ASSP.
This is a typical clamd.conf
LocalSocket /var/clamd
FixStaleSocket yes
Another possible problem reported with clamAV 0.93
:
If restarting exim from console ....
# /etc/init.d/exim restart
you receive this error...
Starting clamd: LibClamAV Error:
cli_loaddb(): No supported database files found in
/usr/share/clamav
ERROR: Not supported data format
[FAILED]
...first execute this from console
# rm -f /usr/local/lib/libz.a
now open WHM , go to Cpanel menu , WHM manage plugin , uninstall
and install clamavconnector
Now execute this
# /usr/bin/freshclam
Now restart exim
# /etc/init.d/exim restart
(clamd should work fine without errors)
How to test if clamAV 0.93 is working fine with ASSP ?
execute this from console
# tail -f /usr/local/assp/maillog.txt
Now open ASSP WHM , STOP and
START ASSP .
If on your console you will see..
Apr-3-08 02:53:14 ASSP version 1.3.5(5.0) (Perl 5.008007)
initializing
Apr-3-08 02:53:14 File::Scan::ClamAV
module version 1.8 installed and available
....
....
it means that clamAV 0.93 is working correctly with ASSP .