Configuration Parameters

The component uses configuration parameters which are specified in the [Antispam] 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-ase.

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

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

RunAsUser

{UID | user name}

The parameter determines as which user the component runs. Either the numerical UID of the user or the user name (login) can be specified. If the user name consists of numbers (i.e. similar to a numerical UID), it must be 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

FixedSocket

{path to file}

Path to the socket file of the fixed component instance.

If this parameter is specified, the Dr.Web ConfigD configuration daemon checks that there is always a running component copy that is available to the clients via this socket.

Default value: (not specified)

IdleTimeLimit

{time interval}

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

If the FixedSocket value is set, this setting is ignored (the component does not finish its operation after the time interval expires).

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

FullCheck

{logical}

Perform or do not perform a full scan of the message for signs of spam. If No, the scanning will be stopped as soon as the spam scores exceeds the value specified in the FastCheckStopThreshold parameter.

Default value: Yes

FastCheckStopThreshold

{integer}

The spam score limit that, when reached, stops the message scan, if the value of the FullCheck parameter is set to No.

Default value: 300

AllowCyrillicText

{logical}

Increase or do not increase a spam score if the message has text in Cyrillic. If the parameter is set to No, then such message will have an increased spam score.

Default value: Yes

AllowCjkText

{logical}

Increase or do not increase a spam score if the message has text in Chinese, Korean, or Japanese languages. If the parameter is set to No, then such message will have an increased spam score.

Default value: Yes

CheckCommercialEmails

{logical}

Exclude commercial messages (promotional emails, notifications of promotions and sales, and so on) from scanning. If No, such messages are classified as spam.

Default value: No

CheckSuspiciousEmails

{logical}

Exclude suspicious messages (for instance, those offering cash rewards) from scanning. If No, such messages are classified as spam.

Default value: No

CheckCommunityEmails

{logical}

Exclude social media messages from scanning. If No, such messages are classified as spam.

Default value: No

CheckTransactionalEmails

{logical}

Exclude transaction notifications (registration, purchase of services, goods, and so on) from scanning. If No, such messages are classified as spam.

Default value: No

DetectSpamType

{logical}

Disable checking for spam type (fraud, scamming). If No, such messages are classified as spam.

Default value: No