Command-Line Arguments

To launch Dr.Web Anti-Spam from the command line of the operating system, use the following command:

$ <opt_dir>/bin/drweb-ase [<arguments>]

Dr.Web Anti-Spam allows using 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-ase --help

This command outputs short help information on Dr.Web Anti-Spam.

Startup Notes

The option of launching the component directly from command line in standalone mode is not provided. It is run automatically by Dr.Web Anti-Spam component during spam scans of emails. Besides, if in component configuration the FixedSocket parameter values is defined, then one component copy will be constantly run by Dr.Web ConfigD configuration daemon and will be available for user through this UNIX-socket. To manage component parameters as well as mail objects checks, use Dr.Web Ctl utility, designed for managing Dr.Web for UNIX Mail Servers from command line (is run by the command drweb-ctl).

To scan the arbitrary email message by the Dr.Web Anti-Spam component on spam (through the Dr.Web MailD component call), you can use the command checkmail of the tool Dr.Web Ctl. 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 request manual about this component from the command line, use the man 1 drweb-ase command.