Kaspersky Lab kaspersky anti-spam 2.0 Manual

Page of 133
108 
Kaspersky Anti-Spam 2.0 Enterprise Edition / ISP Edition 
A.3.5. 
kas-qmail
 (client module for Qmail) 
A.3.5.1. 
kas-qmail 
operation 
The  kas-qmail program is designed for the integration of Kaspersky Anti-Spam 
with the Qmail mail system. 
When working with kas-qmail, the program operates as follows: qmail-queue  is 
replaced with kas-qmail and mail messages are transferred to the original qmail-
queue 
after processing. 
The diagram of modules interaction during Kaspersky Anti-Spam operation using 
kas-qmail
 is presented below: 
 
Figure 40. kas-qmail operation 
A.3.5.2. The 
kas-qmail 
program configuration file 
The kas-qmail program's operation parameters are specified in configuration file 
control/kas-qmail
The name of the configuration file may be changed at the program restart using 
the STPLUGINCONF environment variable. 
Configuration file example: 
SpamtestAddr tcp:127.0.0.1:2255 
ConnectTimeout 10000 
RWTimeout 30000 
OriginalQueue /var/qmail/bin/qmail-queue.kas 
OnError ACCEPT 
MessageStoreMem 50 
TempDir /var/tmp