Mailing List Archive

[clamav-users] Which .conf entry controls freshclam frequency?
I'm running clamd in a windows environment to scan incoming email and
am trying to determine what controls the frequency that freshclam is
run (currently every 3 hrs according to its log).

In freshclam.conf the "Number of database checks per day" setting is
at the default of 12.

In clamd.conf I have set the "Perform a database check" to 3600 which
should be hourly (right?) although I don't know whether this has
anything to do with freshclam frequency.

Advice would be appreciated.

TIA

Brian Fluet


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] Which .conf entry controls freshclam frequency? [ In reply to ]
Just an FYI that updates normally appear only once per day.

The places you’ve checked are correct AFAIK, but Windows might somehow be different. Are you using a source version of ClamAV or a pre-compiled installation?

-Al-

ClamXAV user.

On Oct 14, 2019, at 1:43 PM, Brian Fluet via clamav-users <clamav-users@lists.clamav.net> wrote:
>
> I'm running clamd in a windows environment to scan incoming email and
> am trying to determine what controls the frequency that freshclam is
> run (currently every 3 hrs according to its log).
>
> In freshclam.conf the "Number of database checks per day" setting is
> at the default of 12.
>
> In clamd.conf I have set the "Perform a database check" to 3600 which
> should be hourly (right?) although I don't know whether this has
> anything to do with freshclam frequency.
>
> Advice would be appreciated.
>
> TIA
>
> Brian Fluet

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] Which .conf entry controls freshclam frequency? [ In reply to ]
Al,

Thank you for the response. You are correct that updates only appear
once per day. I'm just trying to figure out what tells freshclam to
check for them every three hours.

Would someone please explain what these settings do?

"Perform a database check" in clamd.conf

"Number of database checks per day" in freshclam.conf

FWIW, I'm using the portable version of ClamAV in conjunction with a
Mercury mail server. Mercury has a built-in daemon that uses clamd
to scan every incoming message. I am now wondering if there is a
daemon configuration that is controlling the freshclam frequency. I
will look into that.

Brian Fluet


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] Which .conf entry controls freshclam frequency? [ In reply to ]
Previously posted by me...

> FWIW, I'm using the portable version of ClamAV in conjunction with a
> Mercury mail server. Mercury has a built-in daemon that uses clamd to
> scan every incoming message. I am now wondering if there is a daemon
> configuration that is controlling the freshclam frequency. I will look
> into that.

I have found a configuration setting in the daemon that sets a
frequency for invoking freshclam so I now know that it is being
controlled by the daemon.

I'm still hoping for an explanation of what these .conf settings do,
specifically whether associated with updating databases or more along
the lines of integrity checks.

"Perform a database check" in clamd.conf

"Number of database checks per day" in freshclam.conf


Brian Fluet


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] Which .conf entry controls freshclam frequency? [ In reply to ]
On 15.10.2019 19:00, Brian Fluet via clamav-users wrote:
> I'm still hoping for an explanation of what these .conf settings do,
> specifically whether associated with updating databases or more along
> the lines of integrity checks.
>
> "Perform a database check" in clamd.conf

This one sets the interval at which clamd checks if the actual database
files have changed on disk and reloads them accordingly.

> "Number of database checks per day" in freshclam.conf

This should be the interval at which freshclam tries to download updates.

Good luck,
Reio

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml