Koozali.org: home of the SME Server

Updating ClamAV on SME 5.6

Offline jonroberts

  • ****
  • 111
  • +0/-0
    • http://www.westcountrybusiness.com
Updating ClamAV on SME 5.6
« on: September 03, 2004, 03:25:28 PM »
Guys,

I'm sure the answer must be on the forum here somewhere, but I've been looking for a while now ...

I have a couple of clients with SME5.6 server that we're set up using the Clam / Amavis link at that time.  So they're still on ClamAV 6.0 which as of 1/9/2004 ceased updates.

So I need to update it.  I've found lots of great links for installing it on SME6 & could upgrade the servers, but I would like to be able to fix the problem by updating the existing ClamAV to current version - or at least an updateable version - until I can schedule in a Server upgrade.

Can anyone point me in the right direction, please?
......

loveless

Clam Upgrade on SME v5.X
« Reply #1 on: September 08, 2004, 10:57:41 PM »
Well, I just successfully upgraded my servers' clamav installation from clamav-0.60 to clamav-es-0.75.1.  Here are the directions:


Upgrading your Clam AV (SME v5.X ONLY):

1. Determine your Clam version
    rpm -q clamav
    rpm -q clamav-es
    rpm -q clamav-es-libs

If you have 'clamav-es' and 'clamav-es-libs', skip ahead to step 6
If you have 'clamav', continue at step 2.

2. Download the current 'clamav-es' and 'clamav-es-libs' rpms to your workstation. http://www.pagefault.org/code/e-smith/antivirus/6.0.1/i386/

3. Make a directory on your server, and move these rpms to the server. Either using WinSCP, ftp, or your favorite method.

4. Change to that directory on the console (or PuTTY window).

5. Remove the 'clamav' rpm from the system
    rpm -e clamav

6. Install/Upgrade the new clamav rpms
    rpm -Uvh clamav-es*.i386.rpm

7. Run 'freshclam' to update the virus signatures

[root@Server clam]# freshclam
ClamAV update process started at Wed Sep  8 14:29:25 2004
Reading CVD header (main.cvd): OK
Downloading main.cvd

main.cvd updated (version: 26, sigs: 22925, f-level: 2, builder: tomek)
Reading CVD header (daily.cvd): OK
Downloading daily.cvd

daily.cvd updated (version: 483, sigs: 1113, f-level: 2, builder: ccordes)
Database updated (24038 signatures) from database.clamav.net (24.73.112.74).
[root@Server clam]#


8. ClamAv is installed/upgraded correctly.  Now, we need to verify the configuration and make sure that it is scanning mail correctly.
   - For SME v5.x, follow this howto:
    http://www.pagefault.org/howto/amavis_clam.shtml
    (Start with the section titled "Clam Daemon Configuration")

I really didn't have to change much.  But, I ran each command just for the heck of it.  And, make sure you double-check your Amavis-ng config, and your Mailfront Configuration as specified in the howto.


Hope this helps.

Offline jonroberts

  • ****
  • 111
  • +0/-0
    • http://www.westcountrybusiness.com
Updating ClamAV on SME 5.6
« Reply #2 on: September 09, 2004, 10:11:36 AM »
Abe,

Thanks for the instructions.  Much appreciated.

I'll give them a try later.

Jon
......