Page 1 of 2

maiscanner and clamav

Posted: 10 Jun 2011, 07:42
by k-planethost
i use the free mailscanner version with clamav
clamav now
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.97 Recommended version: 0.97.1 are there any suggestions how to upgrate the version?

Re: mailscanner and clamav

Posted: 10 Jun 2011, 14:32
by sawbuck
These may not be the most current instructions, use at your own risk.

If you are running a cPanel server then the MS Front-End is a big plus and a definite bargain.
http://www.configserver.com/cp/msfe_license.html

* Download the latest stable ClamAV distribution from http://www.clamav.net
* Expand the distribution and cd into the resultant directory and build ClamAV using:
tar -xzf clamav-*
cd clamav*
./configure --disable-zlib-vcheck
make
make install
replace "Example" "#Example" -- /usr/local/etc/freshclam.conf
replace "Example" "#Example" -- /usr/local/etc/clamd.conf
* Run freshclam to download the latest definitions:
freshclam
* If you're using the clamavmodule, check you have the latest version installed:
/scripts/perlinstaller Mail::ClamAV
* Then restart MailScanner with:
service MailScanner restart

Re: maiscanner and clamav

Posted: 13 Jun 2011, 08:51
by k-planethost
i did the update as you say

on logwatch i observe this.
--------------------- clam-update Begin ------------------------

The ClamAV update process was started 4 time(s)

Last ClamAV update process started at Sun Jun 12 10:23:42 2011

Last Status:
main.cvd is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven)
daily.cld is up to date (version: 13181, sigs: 127007, f-level: 60, builder: guitar)
bytecode.cld is up to date (version: 143, sigs: 40, f-level: 60, builder: edwin)

The following ERRORS and/or WARNINGS were detected when
running the ClamAV update process. If these ERRORS and/or
WARNINGS do not show up in the "Last Status" section above,
then their underlying cause has probably been corrected.

WARNINGS:
Local version: 0.97 Recommended version: 0.97.1: 2 Time(s)
Your ClamAV installation is OUTDATED!: 2 Time(s)
any suggestions?

Re: maiscanner and clamav

Posted: 13 Jun 2011, 14:58
by sawbuck
"If these ERRORS and/or
WARNINGS do not show up in the "Last Status" section above,
then their underlying cause has probably been corrected."


What does clamd -V from the command line show?

Re: maiscanner and clamav

Posted: 08 Jul 2011, 12:22
by k-planethost
i had removed old version and reinstall issues had been sorted
is there any way when the mailscanner received infected emails to guarantee them on a specific folder?

Re: mailscanner and clamav

Posted: 08 Jul 2011, 15:49
by sawbuck
k-planethost wrote:is there any way when the mailscanner received infected emails to guarantee them on a specific folder?
Not sure but it might be possible using a ruleset in MS. Don't see anything in the clam conf files that suggest filtering to a specific directory.

Best bet might be asking on the MailScanner mailing list. http://lists.mailscanner.info/mailman/l ... ailscanner

Re: maiscanner and clamav

Posted: 12 Aug 2011, 07:46
by k-planethost
i sort it out this
something last
on one of the boxes i observe this
LibClamAV Warning: cli_scanbzip: bzip2 support not compiled in
LibClamAV Warning: cli_scanbzip: bzip2 support not compiled in

----------- SCAN SUMMARY -----------
Known viruses: 1018514
Engine version: 0.97.1
Scanned directories: 1388
Scanned files: 25191
Infected files: 0
Data scanned: 464.98 MB
Data read: 396.11 MB (ratio 1.17:1)
Time: 41.639 sec (0 m 41 s)

how can i sort it out this?

Re: maiscanner and clamav

Posted: 04 Sep 2011, 14:33
by Sarah
k-planethost wrote:i sort it out this
something last
on one of the boxes i observe this
LibClamAV Warning: cli_scanbzip: bzip2 support not compiled in
LibClamAV Warning: cli_scanbzip: bzip2 support not compiled in

how can i sort it out this?
You might have better luck asking your question or searching on the clamav mailing list:

http://www.gossamer-threads.com/lists/clamav/users/

Regards,
Sarah

Re: maiscanner and clamav

Posted: 21 Nov 2011, 13:31
by k-planethost
let me ask something normally if i want to update clamav from source which is the correct procedure?
remove old sourse first?
download the new version and recompile it according to the configserver.com site?
this is enough to remove it and reinstall after
killall clamd

rpm -e clamav-db clamd clamav clamav-devel

/bin/rm -Rfv /usr/bin/clam*
/bin/rm -Rfv /usr/sbin/clam*
/bin/rm -Rfv /usr/lib/libclam*
/bin/rm -Rfv /usr/share/clam*
/bin/rm -Rfv /usr/include/clam*
/bin/rm -Rfv /usr/bin/freshclam*
/bin/rm -Rfv /usr/etc/clamav*

/bin/rm -Rfv /usr/local/bin/clam*
/bin/rm -Rfv /usr/local/sbin/clam*
/bin/rm -Rfv /usr/local/lib/libclam*
/bin/rm -Rfv /usr/local/share/clam*
/bin/rm -Rfv /usr/local/include/clam*
/bin/rm -Rfv /usr/local/bin/freshclam*
/bin/rm -Rfv /usr/local/etc/clamav*
/bin/rm -fv /etc/cron.daily/freshclam
/bin/rm -fv /etc/cron.hourly/freshclam
/bin/rm -fv /etc/cron.d/freshclam

?
or
cd clamav0.97.3
./configure
make uninstall

Re: maiscanner and clamav

Posted: 22 Nov 2011, 15:26
by Sarah
We would recommend uninstalling clamav using the first method rather than the second method, and then reeinstalling per the instructions on our site.

Regards,
Sarah