clamav clamd and freshclam


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


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 ?


At this point, it might be best to open a ticket, and we can poke around to see what the problem might be.

That would be no problem, but first,

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


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.

clamd.conf.txt (8.98 KB)

freshclam.conf.txt (3.53 KB)

Ok. That’s what I needed!