Clamav hanging email and version issues

Hi all,

I'm a new admin for an old system. The current admin went away unexpectedly and I have the privilege of maintaining the system. Our email keeps going down and I have found that clamav seems to be the culprit. Here's what I know.

Debian 4.0 system according to cat /etc/issue. Do I really have Etch? How can I tell for sure?
Linux 2.4.22 according to uname -a.

Clamav version from email message

WARNING: Local version: 0.90.1 Recommended version: 0.92.1

When the email breaks I have to stop postfix, amavis and clamav and watch top for about 15 minutes to see when clamd lets go of the cpu. Then I restart everything. Sometimes I have to do this several times to get the mail flowing.

I have tried doing an apt-get install clamav, but it responds that I have the current version. I read on the web that there is a newer version in the debian volatile, but I don't understand how to get it and install it.

How do I determine which version of clamav I need and the proper debian volatile to use. How do I install that version. I don't want to break the email, so I'm asking first.

Thank you,

Tom

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Clamav hanging email and version issues

I use aptitude for maintaining my systems. I too use ClamAV and postfix, but with clamsmtp as the connecting software (you use amavisd). For spamfighting I use spamassassin and spampd. This way I have separate deamons (which I can en- and disable separately) which I can test and debug separately too!

However, your question:

In /etc/apt/sources.lst is the list of your software repositories.

Mine is (I am in the Netherlands):

deb http://ftp.nl.debian.org/debian stable main contrib non-free
deb http://ftp.nl.debian.org/debian-volatile stable/volatile main contrib non-free
deb http://ftp.nl.debian.org/debian-security stable/updates main contrib non-free

The first line is the main repository, I use the stable branch, which is etch. If another branche becomes 'stable', my system will upgrade. If you don't want that behavior, use 'etch' instead of 'stable'

'main' 'contrib' and 'non-free' are sections within the stable distribution

The second line is for the volatile branch, which has software that quickly changes (like ClamAV)
The third line has the most recent security patches.

If those (or similar lines) are present, just do:

aptitude update

To update your repository list (list of available software). The first time after adding a new repository you will get a warning, because there is no existing old version.

You can then do a

aptitude upgrade

to upgrade your current packages to the latest version.

Please note more needs to be done when you do a major upgrade (Debian 3.x -> 4.x)

I always use aptitude interactively (just type: aptitude) to add and remove packages.

To upgrade your clamav, just add a volatile line like the above to your sources.lst, do an aptitude update and aptitude upgrade, and you're done!

Good luck,

Marcel

Syndicate content