Configuration Parameters

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

The section contains 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-esagent.

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

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

DebugIpc

{logical}

Log or do not log IPC messages at the debug level (with LogLevel = DEBUG) (interaction of Dr.Web ES Agent with the Dr.Web ConfigD configuration daemon).

Default value: No

MobileMode

{On | Off | Auto}

Enable/disable the mobile mode of Dr.Web for UNIX Mail Servers when connected to a centralized protection server.

Allowed values:

On—use the mobile mode if it is allowed by the centralized protection server (install updates from update servers of Doctor Web using Dr.Web Updater);

Off—do not use the mobile mode and continue operation in the centralized protection mode (always receive updates from the centralized protection server);

Auto—use the mobile mode, if allowed by the centralized protection server, and install updates both from update servers of Doctor Web using Dr.Web Updater and from the centralized protection server, depending on which connection is available and which connection quality is higher.

Note that behavior of this parameter depends on server permissions: if the mobile mode is not allowed on the server in use, this parameter has no effect.

Default value: Auto

Discovery

{On | Off}

Enable/disable for the agent receiving discovery requests from the network inspector built in the centralized protection server (discovery requests are used by the inspector to check the structure and state of the anti-virus network).

Allowed values:

On—enable receiving and processing discovery requests;

Off—disable receiving and processing discovery requests.

Note that this parameter has higher priority than settings of the centralized protection server: if the parameter value is set to Off, the agent does not receive discovery requests even if this option is enabled on the server.

Default value: On

UpdatePlatform

{platform name}

Instructs the agent to receive updates for the scan engine from the centralized protection server. The scan engine is designed for the specified platform, where the platform name is a string containing the platform name.

Allowed values:

for GNU/Linux: unix-linux-32, unix-linux-64-engine64, unix-linux-aarch64, unix-linux-e2k, unix-linux-e2k-engine64, unix-linux-mips, unix-linux-ppc64le;

for FreeBSD: unix-freebsd-32, unix-freebsd-64-engine64;

for Darwin: unix-darwin-32, unix-darwin-64-engine64, unix-darwin-aarch64.

It is strongly recommended to change the parameter value only if you are sure that this is necessary.

Default value: Depends on the platform in use

SrvMsgAutoremove

{integer}

The storage period after which the messages from the centralized protection server are removed automatically.

Allowed values: from 1 week (1w) to 365 days (365d).
The storage period is specified as an integer with a suffix (s, m, h, d, w).

Default value: 1w