User Guide
106 Kaspersky Anti-Spam 2.0 Enterprise Edition / ISP Edition
The following changes must be made to /usr/local/etc/exim/exim.listen
configuration file:
1. The value of the transport parameter will be changed to kas_lmtp in
the routers for dnslookup и localuser sections routers
dnslookup:
driver = dnslookup
domains = ! +local_domains
transport = kas_lmtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
no_more
localuser:
driver = accept
check_local_user
transport = kas_lmtp
cannot_route_message = Unknown user
2. Transport kas_lmtp will be created in the transports sections:
kas_lmtp:
driver = lmtp
command = /usr/local/ap-mailfilter/bin/kas-pipe
Exim is launched using the following line:
exim -bd -q3m -C /usr/local/etc/exim/exim.listen
High load situations may require explicit queue management and dividing the "in"
and the "out" queues.
A.3.4.
kas-exim
(client module for Exim)
The kas-exim program is designed for the integration of Kaspersky Anti-Spam
with the Exim 4.xx mail system using localscan API.
The use o fkas-exim is an alternative solution: the standard setup provides for
integration with Exim using the kas-pipe program.
The use of localscan API requires recompilation of Exim, therefore kas-exim
program is supplied as the source file coded in the C language.
A.3.4.1. Compilation of the
kas-exim
program
The following is required for the compilation of the Exim mail system with
integration of the kas-exim module:
1. place file /usr/local/ap-mailfilter/src/kas-exim.c into subfolder Local on
the Exim resource tree;










