User Guide

Chapter 6 109
–c <configuration_file> redefines the path to the filter.conf configuration
file. If filter.conf is located in a directory other than the default, specify a
complete path to the filter.conf file as a value for the configuration_file
parameter;
–k <<kas-conf_script> – redefines the path to the kas-conf script, which
reads Kaspersky Anti-Spam configuration. If kas-conf is located in a
directory other than the default, specify a complete path to the kas-conf
file as a value for the kas-conf_script parameter.
–h – outputs to the console information about the utility.
A.4.5. kas-restart
The kas-restart utility is used to restart Kaspersky Anti-Spam and its separate
components.
Startup line
:
# /usr/local/ap-mailfilter3/bin/kas-restart [-f] [-p] [-s]
[-m] [-w] [–W] [-q] [-d] [–v] [-l]
[-V <details_level>] [-L <details_level>]
[-c <configuration_file>] [-k <kas-conf_script>] [-h]
Command line options:
–f – restarts the ap-mailfilter filtering processes. The processes handle
messages and finish their work, depending on the specified delay for
finishing processes by time and number of messages (for additional
information, see section 4.5.3 on page 59);
–p – restarts the master filtering process ap-process-server. This option
also restarts filtering processes ap-mailfilter. Using this option, filtering
processes are restarted immediately after the filtering process stops
checking the current message. This option is also used in modification of
settings related to starting filtering processes.
–s – restarts the licensing module kas-licеnse.
–m – restarts the kas-milter module.
–w – restarts the web server kas-thttpd.
–W – rotates log files of the kas-thttpd web server (creates a new log file).
–q – enables “silent” mode, when only error messages and warning are
output to the screen.
–d – displays a detailed report about the operations performed by the utility.
–v – instruction to provide more verbose information in the messages output
to the console in comparison with the default level.