Command-Line Arguments

To run Dr.Web MailD, type the following command in the command line:

$ <opt_dir>/bin/drweb-maild [<parameters>]

Dr.Web MailD can process the following options:

Parameter

Description

--help

Function: Output short help information about command-line parameters to the console or to the terminal emulator and to exit upon completion.

Short form: -h

Arguments: None.

--version

Function: Output information about the version of this component to the console or to the terminal emulator and to exit after completion.

Short form: -v

Arguments: None.

Example:

$ /opt/drweb.com/bin/drweb-maild --help

This command outputs short help information on Dr.Web MailD.

Startup Notes

The component cannot be launched directly from line of the operating system in an autonomous mode (autonomously from other components). It is launched automatically by the Dr.Web ConfigD configuration daemon when receiving requests on mail objects scanning from other components of Dr.Web for UNIX Mail Servers. To manage the operation of the component, as well as to scan mail objects when needed, you can use the Dr.Web Ctl command-line management tool for Dr.Web for UNIX Mail Servers (it is launched by using the drweb-ctl command).

To scan the processing of an arbitrary email message by the Dr.Web MailD component, you can use the checkmail command of Dr.Web Ctl tool. To do that, save the scanned email message on a drive (for example, in the .eml format) and use the command:

$ drweb-ctl checkmail <path to file .eml>

To get documentation on this component from the command line, run the following command: man 1 drweb-maild.