User Guide

102 Kaspersky Anti-Spam 2.0 Enterprise Edition / ISP Edition
If the program has been installed using the standard setup options, kas-pipe will
be used for integration with the Postfix and the Exim mail systems.
kas-pipe receives mail via SMTP/LMTP protocols using its standard receiving
facility and returns the filtered messages via SMTP/LMTP/pipe.
kas-pipe is started by an external application (MTA or inetd), the mail is
transferred either via a network (or a local) socket or by means of mail receiving
application fork+exec launched for this purpose.
The diagram of modules interaction during Kaspersky Anti-Spam operation using
kas-pipe is presented below:
Figure 39. kas-pipe operation diagram
This operation scheme may be used with any MTA that supports launching of a
second copy with different configuration or delivery via LMTP (via TCP or pipe),
or delivery of all mail messages to a permanent MTA via SMTP protocol.
A.3.3.2.
kas-pipe
configuration file
The kas-pipe program's operation parameters are specified in configuration file
/usr/local/ap-mailfilter/etc/kas-pipe.conf.
The name of the configuration file may be changed at the program restart:
kas-pipe -c /usr/local/ap-mailfilter/etc/kas-pipe-
postfix.conf
Example of the configuration file:
SpamtestAddr tcp:127.0.0.1:2255
ConnectTimeout 10000
RWTimeout 30000
InProtocolLMTP No
OutProtocolLMTP No