Editing the config files

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.

clamd

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) ...

Get Linux E-mail now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.