Author Topic: How to set Clamd option for database "SelfCheck"  (Read 1949 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to set Clamd option for database "SelfCheck"
« on: May 06, 2022, 05:52:18 AM »
I have clamd service running.
But tried all config files to change option:

Code: [Select]
# Perform a database check.
# Default: 600 (10 min)
# SelfCheck 600
SelfCheck 3600

Config files I tried:
Code: [Select]
/etc/clamd.d/clamd.conf
/etc/clamd.d/amavisd.conf
/etc/clamd.d/scan.conf
/etc/clamd.conf

Then restarted clamd.service. But always stays on 10 minute check.

What config file is used?
Thanks








Offline
*****
Re: How to set Clamd option for database "SelfCheck"
« Reply #1 on: May 23, 2022, 09:16:27 AM »
Hi, try config in /etc/clamd.d/amavisd.conf
Also, you can check the required config in /usr/lib/systemd/system/clamd.service
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: How to set Clamd option for database "SelfCheck"
« Reply #2 on: May 27, 2022, 05:33:02 AM »
@Igor, many thanks, it was indeed /etc/clamd.d/amavisd.conf, now Selfcheck is set to 3600.