Configuration Parameters

The component uses the configuration parameters specified in the [FileCheck] section of the unified 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}

Component executable path.

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

{logical}

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

Default value: No

DebugScan

{logical}

Log detailed messages received during file scanning at the debug level (i.e. when LogLevel = DEBUG).

Default value: No

DebugFlowScan

{logical}

Log detailed messages about file scanning by the “flow” method at the debug level (i.e. when LogLevel = DEBUG).

Default value: No

DebugProxyScan

{logical}

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

Default value: No

DebugCache

{logical}

Log detailed messages about the scan cach status at 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 days (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 function indefinitely; the SIGTERM signal will not be sent if the component goes idle.

Default value: 10m