Appendix D. Configuration File

Top  Previous  Next

Configuration parameters of all Dr.Web for UNIX Mail Servers components are managed by a special coordinating daemon Dr.Web ConfigD. These parameters are stored in the drweb.ini file, which default directory is etc_dir (for GNU/Linux /etc/opt/drweb.com).

The text configuration file stores only those parameters which values differ from the defaults. If a parameter is absent in the configuration file, its default value is used.

 

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

You can view the list of all available parameters, including those that are absent in the configuration file and have default values, by using the following command:

$ drweb-ctl cfshow

You can change any parameter value in one of the two following ways:

1.Specify the parameter in the configuration file (by editing the file in any text editor) and send SIGHUP signal to the configuration daemon (the drweb-configd component) in order to apply the changes (to do that, you can issue the drweb-ctl reload command).

2.Type this command in the command line

# drweb-ctl cfset <section>.<parameter> <new value>

Note, that this command can be executed only if the management tool Dr.Web Ctl is run with superuser privileges. To gain superuser privileges, use su or sudo command.

For further information about the cfshow and cfsetcommand syntax of the command-line management tool Dr.Web Ctl (the drweb-ctl module), refer to the section Dr.Web Ctl.

 

Details:

File Structure

Parameter Types

Rules for Traffic Monitoring (if the components for monitoring network connections are included in the used product)