Clamav Update at Zimbra

Clamav update is required if one day support for certain versions of clamav terminated. This has already happened to Clamav 0.94 version that is used by Zimbra ZCS 5.0.16 and earlier, where support for Clamav 0.94 version discontinued as of April 15, 2010.

To be able to update Clamav in the Mail Server Zimbra actually not too difficult of origin according to the procedure, the following steps:

Download Clamav version on it or the most recent

The latest version now is Clamav 0.96, but here I will use the Clamav Clamav 0.95 instead of 0.94.

root@mail:~# wget http://files2.zimbra.com/downloads/clamav/ubuntu8/clamav-0.95.1.tgz
root@mail:~# tar -xf clamav-0.95.1.tgz
root@mail:~# mv clamav-0.95.1 /opt/zimbra

Then go to the folder where zimbra is:

root@mail:~# cd /opt/zimbra
root@mail:/opt/zimbra#

Before performing the update Clamav in Mail Server Zimbra, mail server zimbra we must stop system:

root@mail:/opt/zimbra# su – zimbra
zimbra@mail:~$ zmcontrol stop
zimbra@mail:~$ exit
root@mail:/opt/zimbra#

The next step is that we remove clamav Clamav existing to be replaced with a new version :

root@mail:/opt/zimbra# rm clamav
root@mail:/opt/zimbra# ln -s clamav-0.95.1 clamav

Then to check if Clamav has been replaced with the latest Clamav, please do the following:

root@mail:/opt/zimbra# ls -l clamav

And outputs are as follows :

lrwxrwxrwx 1 root root 13 2010-04-21 15:53 clamav -> clamav-0.95.1

Then we start again Zimbra functions :

root@mail:/opt/zimbra# su – zimbra
zimbra@mail:~$ zmcontrol start
zimbra@mail:~$ exit
root@mail:/opt/zimbra#

In order for Clamav to work with the normal new mail should we restart the zimbra server :

root@mail:/opt/zimbra# reboot

Refference :

Article Source : http://wiki.zimbra.com
Inspirasi Pages : http://vavai.com

Publish on February 4th, 2012 under Ubuntu by udiniq | No Comments »

Berikan Komentar Anda

= 3+5 (Wajib dijumlahkan)