Registration and Activation

In this section

Purchasing and Registering License

Obtaining Demo License

Key File Installation

Repeated Registration

Purchasing and Registering License

After a license is purchased, updates to product components and virus databases are regularly downloaded from Doctor Web update servers. Moreover, if the customer encountered any issue when installing or using the purchased product, they can take advantage of technical support service provided by Doctor Web or its partners.

You can purchase any Dr.Web product as well as obtain a product serial number either from our partners or our online store. For details on license options, visit the Doctor Web official website at

License registration is required to prove that you are a legal user of Dr.Web for UNIX Mail Servers and to activate the functions of the anti-virus, including the regular updates of virus databases. It is recommended that you register the product and activate the license once the installation completes. A purchased license can be activated on the Doctor Web official website at

During the activation, it is required to enter the serial number of the purchased license. The serial number is supplied with Dr.Web for UNIX Mail Servers or via email when purchasing or renewing the license online.

Obtaining Demo License

A demo period for your copy of Dr.Web for UNIX Mail Servers can be obtained on the Doctor Web official website at After you select the product and fill the registration form, you will receive an email with a serial number or key file for Dr.Web for UNIX Mail Servers activation.

Another demo period for the same computer can be obtained after a certain time period.

You can use the license command of the Dr.Web Ctl (drweb-ctl) command-line tool, which allows to get a demo key file or a licensed key file for a serial number of a registered license automatically.

Key File Installation

The key file is a special file stored on the local computer. It corresponds to the purchased license or activated demo period for Dr.Web for UNIX Mail Servers. The file contains information on the provided license or demo period and regulates usage rights in accordance with it.

During Dr.Web for UNIX Mail Servers operation, the key file must be located in the default <etc_dir> directory (/etc/opt/ for GNU/Linux) under the name drweb32.key.

Components of Dr.Web for UNIX Mail Servers regularly check whether the key file is available and valid. The key file is digitally signed to prevent its editing. So, the edited key file becomes invalid. It is not recommended to open your key file in text editors in order to avoid its accidental invalidation.

If no valid key file (license or demo) is found, or if the license is expired, operation of the anti-virus components is blocked until a valid key file is installed.

It is recommended that you keep the license key file until it expires, and use it to reinstall Dr.Web for UNIX Mail Servers or install it on a different computer. In this case, you must use the same product serial number and customer data that you provided during the registration.

In email messages, Dr.Web key files are usually transferred packed in zip archives. The archive containing the key file for Dr.Web for UNIX Mail Servers activation usually named If the message contains several archives, then it is necessary to use the archive.

Before the key file installation, you must unpack the archive in any convenient way and extract the key file from it, saving it to any available directory (for example, to your home directory or to the USB flash drive).

If you have a key file corresponding to the valid license for the product (for example, if you obtained the key file by email or if you want to use Dr.Web for UNIX Mail Servers on another server), you can activate Dr.Web for UNIX Mail Servers by specifying the path to the key file. For that, do the following:

1.Unpack the key file if archived.

2.Do one of the following:

Copy the key file to the <etc_dir> directory and rename the file to drweb32.key if necessary.

In the Dr.Web for UNIX Mail Servers configuration file specify the key file path as the KeyPath parameter value.

3.Reload the setting of Dr.Web for UNIX Mail Servers by entering the following command:

# drweb-ctl reload

to apply all changes.

You can also use the command:

# drweb-ctl cfset Root.KeyPath <path to the key file>

In this case, restart of Dr.Web for UNIX Mail Servers is not required. The key file will not be copied to the <etc_dir> directory and will remain in its original location.

For details on conventions for <opt_dir>, <etc_dir>, and <var_dir>, refer to the Introduction.


If the key file is not copied to the <etc_dir> directory, the user becomes responsible for ensuring that the file is protected from corruption or deletion. This installation method is not recommended as the key file can be accidentally deleted from the system (for example, if the directory, where the key file resides, is periodically cleaned up). Remember that if a key file is lost, you can request the support for a new one, but the number of such requests is limited.

Repeated Registration

If a key file is lost but the existing license is not expired, you must register again by providing the personal data you specified during the previous registration. You can use a different email address. In this case, the license key file will be sent to the newly specified address.

A license key file can be obtained through the license management command a limited number of times. If that amount has been exceeded, you can confirm the registration of your serial number at to receive the key file. The key file is sent to the email that was specified during the first registration.

After the key file is sent to you by email, you need to install it manually.