Configuration Parameters

The component uses configuration parameters which can be in the [FileCheck] section of the integrated configuration file of Dr.Web for UNIX Mail Servers.

This section stores the following parameters:

Parameter

Description

LogLevel

{logging level}

Logging level of the component.

If the parameter value is not specified, the DefaultLogLevel parameter value from the [Root] section is used.

Default value: Notice

Log

{log type}

Logging method of the component.

Default value: Auto

ExePath

{path to file}

Executable path to the component.

Default value: <opt_dir>/bin/drweb-filecheck.

For GNU/Linux: /opt/drweb.com/bin/drweb-filecheck.

For FreeBSD: /usr/local/libexec/drweb.com/bin/drweb-filecheck

DebugClientIpc

{Boolean}

Indicates whether detailed IPC messages should be included into the log file on the debug level (i.e. when LogLevel = DEBUG).

Default value: No

DebugScan

{Boolean}

Write detailed messages received during file scanning to the log file on the debug level (i.e. when LogLevel = DEBUG).

Default value: No

DebugFlowScan

{Boolean}

Write detailed messages about file scanning by the “flow” method to the log file on the debug level (i.e. when LogLevel = DEBUG).

Default value: No

DebugProxyScan

{Boolean}

Write detailed messages about file scanning by the “proxy” method to the log file on the debug level (i.e. when LogLevel = DEBUG). Normally this scanning method is used by the Dr.Web ClamD component.

Default value: No

DebugCache

{Boolean}

Write detailed messages about the cached results of scanning should be included to the log file on the debug level (i.e. when LogLevel = DEBUG).

Default value: No

MaxCacheSize

{size}

Maximum allowed size of cache to store data about scanned files.

If 0 is specified, caching is disabled.

Default value: 50mb

RescanInterval

{time interval}

Period of time during which a file will not be rescanned if the results of its previous scan are available in the cache (the period during which the stored information is considered up-to-date).

Acceptable values: from 0 seconds (0s) to 1 minute (1m) inclusive.
If the set interval is less than 1s—there will be no delay, the file will be scanned upon any request.

Default value: 1s

IdleTimeLimit

{time interval}

Maximum idle time for the component. When the specified period of time expires, the component shuts down.

Acceptable values: from 10 seconds (10s) to 30 days (30d) inclusive.
If the None value is set, the component will functionate eternally; the SIGTERM signal will not be sent if the components goes idle.

Default value: 30s