PDA

View Full Version : clamav clamd and freshclam


jrochate
03-21-2007, 11:15 AM
Greets,

after the last update of clamav (11-March), I received this mail from cron, and logwatch stoped showing virus updates:

/etc/cron.daily/freshclam:

ERROR: Please edit the example config file /etc/freshclam.conf.
ERROR: Can't parse the config file /etc/clamd.conf

The panel also showed problems in "Virus Filtering" tab, where ClamAV Status was stoped.

Ok. What have I done to solve it:
- Install clamd rpm

Ok. Now it runs, but freshclam service doesn't starts nor exists (no problem, since it runs everynight)

My questions are:
- Have I done the best task?
- How can I be sure that clamd is working with qmail?
- What are the original and correct (IWORX) configs com /etc/clamd.conf and /etc/freshclam.conf ?

thanks

IWorx-Socheat
03-21-2007, 11:35 AM
At this point, it might be best to open a ticket, and we can poke around to see what the problem might be.

jrochate
03-21-2007, 12:12 PM
Ok.
That would be no problem, but first,

how can I just be sure that mail is being scaned by clamav?


thx

IWorx-Socheat
03-21-2007, 12:31 PM
You could try the following changes in the clamd.conf:

- Set "LogClean yes", to log scans even if the files are clean
- Set "LogVerbose yes", to increasing logging

Then restart clamd and watch the log files.

I've attached the standard clamd.conf and freshclam.conf file as well.

jrochate
03-27-2007, 09:40 AM
Ok. That's what I needed!

Thx