LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

clamconf

ClamAV configuration display and generation tool

TLDR

Display all ClamAV configuration settings
$ clamconf
copy
Show configuration from a specific directory
$ clamconf -c [/etc/clamav]
copy
Generate an example clamd.conf file
$ clamconf -g clamd.conf
copy
Generate an example freshclam.conf file
$ clamconf -g freshclam.conf
copy
Display only non-default settings
$ clamconf -n
copy

SYNOPSIS

clamconf [options]

DESCRIPTION

clamconf is a utility for displaying ClamAV configuration settings, compilation-time values, OS details, and virus database information. It reads the clamd and freshclam configuration files and presents their current values, making it useful for verifying settings and debugging configuration issues.The tool shows both explicitly set values and default settings, highlighting which options differ from defaults. It also displays information about loaded virus signature databases, including database version, signature count, and build time. The design is inspired by Postfix's postconf utility.System administrators use clamconf to verify ClamAV installations are correctly configured, generate example configuration files for new deployments, and troubleshoot scanning or update issues by examining the active settings.

PARAMETERS

-c DIR, --config-dir=DIR

Search for clamd.conf and freshclam.conf in the specified directory.
-g NAME, --generate-config=NAME
Generate example configuration file (clamd.conf or freshclam.conf).
-n, --non-default
Only display non-default settings.
-h, --help
Display help information.
-V, --version
Display version information.

CONFIGURATION

/etc/clamav/clamd.conf

ClamAV daemon configuration file.
/etc/clamav/freshclam.conf
Virus database update configuration file.

INSTALL

sudo apt install clamav-daemon
copy
sudo apk add clamav-daemon
copy

CAVEATS

clamconf reads configuration files but does not validate whether clamd or freshclam services are actually running with those settings. Changes to configuration files require restarting the respective services to take effect.

HISTORY

clamconf was introduced as part of the ClamAV suite to simplify configuration management. ClamAV originated in 2001 and clamconf was added later to help administrators manage the increasingly complex configuration options as the antivirus engine evolved.

SEE ALSO

clamscan(1), clamd(8), freshclam(1), clamav(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid