My activities New request

contact atmail support

PH: +61 (7) 5357-6605

support@atmail.com

Follow

Updating ClamAV to Latest Stable Release

Stewart -

PROBLEM
State the problem in the customers words.

ENVIRONMENT

  • On-Premise Server + WebMail Installations: Version 6.0 > Current Version

CAUSE
State the cause of the problem, if known.

RESOLUTION

Requirements

  • A backup of your /usr/local/atmail/av/etc/clamd.conf file.
  • A backup of your /usr/local/atmail/av/etc/freshclam.conf file.
  • zlib-devel, or libz-devel libraries
  • A post-3.2 version of GCC

Instructions

Download the newest clam software from clamav.net. See the "Stable Releases" page for info.
If you have concerns in relation to security, and feel that you need to verify the integrity of your download, read on. Otherwise, skip to instruction number 6.

Download the clamav GPG key into the same directory as your download.

% wget http://www.clamav.net/gpg/tkojm.gpg

Import the key into your local public keyring.

% gpg --import tkojm.gpg

Verify that the stable release download is signed with Tomasz Kojm's (ClamAV lead developer) key.

% gpg --verify clamav-X.XX.tar.gz.sig

Note: The resulting output MUST contain the following.
Good signature from Tomasz Kojm (tk at lodz.tpnet.pl)


Extract ClamAV package.

% tar -zxvf clamav-0.97.8.tar.gz

(change filename for the correct version)

Install ClamAV.

% cd clamav-x.xx
% ./configure --with-user=atmail --with-group=atmail --prefix=/usr/local/atmail/av/ --disable-zlib-vchecks
% make
% make install


Open up the ClamAV configuration file, /usr/local/atmail/av/etc/clamd.conf, and delete the following line.

For example find this line in the file:

FixStaleSocket

Change to:

FixStaleSocket 1

Save all changes then restart Atmail.

% /etc/init.d/atmailserver restart


Update ClamAV signatures

% /usr/local/atmail/av/bin/freshclam –stdout
Have more questions? Submit a request

Comments