ClamAV is an open source email scanning program that has an antivirus engine for detecting trojans, viruses, malware & other malicious threats in emails. ClamAV databases are updated with the ‘freshclam’ tool and in certain cases of its ailure or if ClamAV database update is restricted in the server, a waring is generated as follows:
WARNING: update of clamav database is disabled; please see
‘/etc/sysconfig/freshclam’
for information how to enable the periodic update resp.
The resolve this issue, edit the freshclam configuration file (/etc/sysconfig/freshclam) and remove the last line (REMOVE ME)
# vi /etc/sysconfig/freshclam
## ‘disabled-warn’ … disables the automatic freshclam update and
## gives out a warning
## ‘disabled’ … disables the automatic freshclam silently
# FRESHCLAM_DELAY=
### !!!!! REMOVE ME !!!!!!
### REMOVE ME: By default, the freshclam update is disabled to avoid
### REMOVE ME: network access without prior activation
FRESHCLAM_DELAY=disabled-warn
# REMOVE ME
Once it is done, performing a manual update will fix the issue once and for all.