After installation of the software, two configuration files need to be edited. The first file, /etc/clamd.conf
, is for the actual virus scanning software. Most of the important configuration options for this file are discussed in the following sections. The second configuration file, /etc/freshclam.conf
, is covered later in this chapter. This is where we add the configuration options for the automatic virus database updates.
You have to edit the configuration file in order to use the daemon, otherwise clamd
won't run.
$ clamd
ERROR: Please edit the example config file /etc/clamd.conf.
This shows the location of the default configuration file. The format and options of this file are fully described in the clamd.conf(5)
manual. The config
file is well commented and configuration should be straightforward.