User Guide

100 Kaspersky Anti-Spam 2.0 Enterprise Edition / ISP Edition
Figure 38. The kas-milter program operation diagram
A.3.2.2. The
kas-milter
program configuration file
Parameters used for kas-milter operation are stored in configuration file
/usr/local/ap-mailfilter/etc/kas-milter.conf.
Example of kas-milter configuration file:
SpamtestAddr tcp:127.0.0.1:2255
ConnectTimeout 10000
RWTimeout 30000
ClientAddr local:/usr/local/ap-mailfilter/run/kas-
milter.sock
PidFile /usr/local/ap-mailfilter/run/kas-milter.pid
OnError ignore
FilteringSizeLimit 500
DefaultDomain localhost
LogFacility mail
LogLevel error
Description of the program's parameters:
SpamtestAddr – the address of a socket used for the communication and
interaction with the filtering process. Format: tcp:host:port or
unix:/path/to/socket.
ConnectTimeout – maximum allowable waiting time (in milliseconds) when
establishing connection with the filtering process.
RWTimeout – maximum allowable waiting time (in milliseconds) when
exchanging data with the filtering process.
ClientAddr – the address of a socket used for communication and
interaction between the kasp-milter program and the Sendmail system.