Configuration Parameters

The component uses configuration parameters specified in the [MailQuarantine] 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-mail-quarantine.

For GNU/Linux: /opt/drweb.com/bin/drweb-mail-quarantine.

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

RunAsUser

{UID | user name}

The name of the user as whom the component runs. The user name can be specified either as the user numerical UID or as the user login. If the user name consists of numbers (i.e. similar to numerical UID), it is specified with the “name:” prefix, for example: RunAsUser = name:123456.

When a user name is not specified, the component terminates with an error at startup.

Default value: drweb

IdleTimeLimit

{time interval}

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

Allowed 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

SpoolDir

{path to directory}

Local file system directory used to store email messages and metadata.

Default value: <var_dir>/drweb.com/lib/mail-quarantine.

For GNU/Linux: /var/opt/drweb.com/lib/mail-quarantine.

For FreeBSD: /var/drweb.com/lib/drweb-mail-quarantine.