Kaspersky Lab kaspersky anti-spam 2.0 Manual

Page of 133
Appendix A 
99
 
 
• 
the master process monitors the running filtering processes (if required, 
the master process launches new processes) and establishes a 
connection between the client and a free filtering process; 
• 
when the connection has been obtained, the client submits the 
message for processing and receives the message processing results 
from the filtering process;  
• 
based on the processing results, the client modifies the message and 
returns it to the mail system. 
Client modules interact with the master process and the filtering process using 
an internal protocol via a TCP (network) socket or a unix (local) socket. 
If a TCP socket is used to connect the client with the filtering service, there is a 
possibility to install a mail system with the client module integrated into it on one 
server while the filtering service (and all other Kaspersky Anti-Spam 
components) will be installed on a different (dedicated) server. In this case, if the 
volume of the mail traffic being processed allows this, the dedicated server may 
service several mail servers. This configuration cannot be arranged by the 
standard installer and requires manual setup. 
The procedures of clients' interaction with mail systems are described in the 
following sections below: 
A.3.2. 
kas-milter 
(client module for 
Sendmail) 
A.3.2.1. Operation of the 
kas-milter 
program 
The  kas-milter  program is designed for the integration of Kaspersky Anti-Spam 
with the Sendmail mail system. 
Connection to Sendmail is ensured using the libmilter library. 
The diagram of modules interaction with Sendmail during Kaspersky Anti-Spam 
operation is presented below: