Configuration Parameters

Top  Previous  Next

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

This section stores the following parameters:

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

ExePath

{path to file}

Path to the executable file of the component.

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

For Linux, Solaris: /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}

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

Default value: No

DebugFlowScan

{Boolean}

Indicates whether detailed messages about file scanning by the “flow” method should be included into the log file on the debug level (i.e. when LogLevel = DEBUG).

Default value: No

DebugProxyScan

{Boolean}

Indicates whether detailed messages about file scanning by the “proxy” method should be included into 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}

Indicates whether detailed messages about the cached results of scanning should be included into 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).

The parameter can have a value from 0s to 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 time that the component can remain idle. If the specified value is exceeded, the component shuts down.

The parameter can have a value from 10s to 30d (inclusive).

Default value: 30s