User Guide

106 Kaspersky Anti-Spam 3.0
A.3.2. Configuration file kas-thttpd.conf
The kas-thttpd.conf configuration file located at /usr/local/ap-mailfilter3/etc/
contains settings of the HTTP server that provides a web interface of the main
Kaspersky Anti-Spam configuration tool – the Management Center.
This file has the following options:
user – the rights of this user are used to run Management Center scripts. It
is better not to change the default value of mailflt3, because this might
result in incorrect system behavior.
host – IP address of the interface on which the web server listens and waits
for requests to connect to the Management Center interface. The value
of 0.0.0.0 means that the server listens on all network interfaces.
port – port used to connect to the Management Center interface.
pidfile – name of the HTTP server pid-file. The default value is /usr/local/ap-
mailfilter3/run/kas-thttpd.pid
logfile – name of the HTTP server log file. The default value is /usr/local/ap-
mailfilter3/log/kas-thttpd.log
dir – path to the directory that stores the cgi scripts of the Management
Center. The default value is /usr/local/ap-mailfilter3/control/www.
cgipat – template of the names of cgi scripts. The value of this option should
be set to **.cgi.
A.4. Kaspersky Anti-Spam utilities
This section provides a description of main Kaspersky Anti-Spam utilities, their
functional characteristics, and command line options used to configure each
component. The root user privileges are required to start the utilities.
A.4.1. kas-htpasswd
The kas-htpasswd utility is used to manage files that store password for
accessing the Management Center interface.
Startup line:
# /usr/local/ap-mailfilter3/bin/kas-htpasswd [-c]
<password_file> <username> [-h]
Command line options:
password_file – path to the file that store access passwords. The default
file is .htpasswd. The utility either adds a new user to the file with
password or changes the password of an existing user.