Brief Instructions |
•Working with Email Servers: ▫How to Connect Dr.Web for UNIX Mail Servers to an MTA as a Filter via Milter, Spamd, or Rspamd ▫How to Connect Dr.Web for UNIX Mail Servers to an MTA as a Clamd Anti-Virus Filter ▫How to Configure Dr.Web for UNIX Mail Servers in the SMTP Proxy Mode ▫How to Configure the Transparent Proxy Mode for an MTA • •General Operation of Dr.Web for UNIX Mail Servers: ▫How to Restart Dr.Web for UNIX Mail Servers ▫How to Connect to a Centralized Protection Server ▫How to Disconnect From a Centralized Protection Server ▫How to Activate Dr.Web for UNIX Mail Servers ▫How to Upgrade Dr.Web for UNIX Mail Servers ▫How to Add or Remove a Component of Dr.Web for UNIX Mail Servers ▫How to Manage Dr.Web for UNIX Mail Servers Component Operation ▫How to View the Log of Dr.Web for UNIX Mail Servers
How to Connect Dr.Web for UNIX Mail Servers to an MTA as a Filter via Milter, Spamd, or Rspamd Follow the instructions provided in the Integration with MTA as a filter section. How to Connect Dr.Web for UNIX Mail Servers to an MTA as a Clamd Anti-Virus Filter Follow the instructions provided in the Integration with External Applications section.
How to Configure Dr.Web for UNIX Mail Servers in the SMTP Proxy Mode Follow the instructions provided in the Using Dr.Web for UNIX Mail Servers in SMTP Proxy Mode section. How to Configure the Transparent Proxy Mode for an MTA Follow the instructions provided in the Using Dr.Web for UNIX Mail Servers in Transparent Proxy Mode section. How to Restart Dr.Web for UNIX Mail Servers To restart already running Dr.Web for UNIX Mail Servers, you can use the script that controls the Dr.Web ConfigD configuration management daemon. Starting, stopping, or restarting the daemon will respectively start, stop or restart Dr.Web for UNIX Mail Servers. The script that controls the operation of Dr.Web ConfigD is stored in the standard OS directory (/etc/init.d/ for GNU/Linux and /usr/local/etc/rc.d/ for FreeBSD) and is named drweb-configd. The script has the following parameters:
For example, to restart Dr.Web for UNIX Mail Servers (or start it, if it is not running) on an OS of the GNU/Linux family, use the following command:
How to Connect to a Centralized Protection Server 1.Obtain a centralized protection server address and certificate file from your anti-virus network administrator. You may also need additional parameters such as an identifier and a password for your station or identifiers of the main group and the tariff group. 2.Use the esconnect command of the Dr.Web Ctl command-line tool bundled with Dr.Web for UNIX Mail Servers. To establish a connection, you must use the --Certificate parameter by specifying a path to the certificate file of the server. You can additionally enter an identifier of your host (“station” in the terms of the centralized protection server) and a password for authentication on the server, if you know them, by using the --Login and --Password parameters. If these parameters are specified, connection to the server will be established only if you specify a correct identifier-password pair. If the parameters are not specified, connection to the server will be established only if it is approved for the server (automatically or by the administrator of the anti-virus network, depending on the server settings). Moreover, you can use the --Newbie parameter (connect as a new user). If this mode is allowed on the server, after this connection is approved, the server automatically generates a unique identifier-password pair for this host, which will be further used to connect it to the server.
A standard example of the command to connect Dr.Web for UNIX Mail Servers to the centralized protection server:
After establishing a connection to the centralized protection server, Dr.Web for UNIX Mail Servers will operate in the centralized protection mode or in the mobile mode, depending on permissions set on the server and the value of the MobileMode configuration parameter of the Dr.Web ES Agent component. To force the mobile mode, set this parameter to On. For operation in the centralized protection mode, set the parameter to Off. A standard example of the command to switch Dr.Web for UNIX Mail Servers, which is connected to the centralized protection server, to the mobile mode is as follows:
How to Disconnect From a Centralized Protection Server To disconnect Dr.Web for UNIX Mail Servers from the centralized protection server and switch to the standalone mode, use the esdisconnect command of the Dr.Web Ctl tool designed to manage Dr.Web for UNIX Mail Servers from the command line:
To use Dr.Web for UNIX Mail Servers in standalone mode, a valid license key file is required. Otherwise, anti-virus functions of Dr.Web for UNIX Mail Servers will be blocked after switching to the standalone mode. How to Activate Dr.Web for UNIX Mail Servers 1.Register on the website of the Doctor Web company at https://products.drweb.com/register/v4. 2.You will receive an archive containing a valid license key file at the email address that you specified during the registration (you can also download this archive directly from the website after you have finished the registration). 3.Install the key file. How to Upgrade Dr.Web for UNIX Mail Servers Update component versions or upgrade to a new version.
How to Add or Remove a Component of Dr.Web for UNIX Mail Servers Follow the Custom Component Installation and Uninstallation procedure.
How to Manage Dr.Web for UNIX Mail Servers Component Operation To view the status of Dr.Web for UNIX Mail Servers components and to manage their operation, use: •The Dr.Web Ctl command-line management tool. Use the drweb-ctl appinfo, drweb-ctl cfshow and drweb-ctl cfset commands. To view the list of available management commands, use the drweb-ctl --help command. •Dr.Web for UNIX Mail Servers management web interface. By default, you can access it via a web browser at https://127.0.0.1:4443. How to View the Log of Dr.Web for UNIX Mail Servers By default, the unified log of all Dr.Web for UNIX Mail Servers components is output to syslog (a file used by the system component syslog to log messages; the file depends on the system and is located in the /var/log directory). Unified log settings are defined in the configuration file in the [Root] section (Log and DefaultLogLevel parameters). Log and LogLevel parameters are provided for each component in its settings section. They set the log storage location and the logging level of messages output by the component to the log. You can also use the drweb-ctl log command. To change the logging settings, use the Dr.Web Ctl command-line management tool or the Dr.Web for UNIX Mail Servers management web interface. To identify errors, configure the output of the unified log of all components to be stored in a separate file and enable the output of detailed debug information. For that, run the commands:
To reset the unified log settings for all components, run the commands:
|