User Guide
Appendix A 113
A.4. Configuration files
Configuration xml-files are text files containing data description in the XML
markup language. Configuration data are logically organized and divided in
separate files.
Configuration files are read and saved by the WebConfigurator program.
A.4.1. Configuration files and their
location in the file system
Kaspersky Anti-Spam configuration files are located in the /usr/local/ap-
mailfilter/conf/src
folder (CONFSRC) and its subfolders.
Fixed-name files are located directly in
CONFSRC.
profiles.xml - Filter profiles list
emails.xml – A set of e-mail addresses lists
iplists.xml – A set of IP addresses lists
dnsblacklists.xml – A set of DNS-based RBL services
samples.xml – A list of sample spam messages for users
settings.xml – Filter advanced settings file
The following subfolders are available in the
CONFSRC folder:
CONFSRC/profiles – Folder containing profile description files
CONFSRC/emails – Folder containing files with e-mail addresses lists
CONFSRC/iplists – Folder with IP address list files
CONFSRC/dnsblacklists – Folder with DNS-based RBL services list files
CONFSRC/samples – Folder with sample spam messages
Names of the files located in the subfolders are not fixed; the name for each file
is specified by the user when the file is created creation using WebConfigurator.
However, all these files have an .xml extension.
A.4.2. Headers of XML files
Each configuration file starts with the document format declaration.
<?xml version="1.0" encoding="koi8-r"?>
The encoding attribute defines the file’s encoding.










