Kaspersky Lab kaspersky anti-spam 2.0 Manual
96
Kaspersky Anti-Spam 2.0 Enterprise Edition / ISP Edition
Level
Type of messages entered
Priority
4 Messages
notifying
of the start and
completion of filtering processes.
info
5
Data on the resources consumption by the
child processes.
child processes.
info
A.2. The
ap-mailfilter
program
(filtering process) command
line parameters
line parameters
The ap-mailfilter program (filtering process) is launched by the master process.
When launching a filtering process the master process supplies to such process
the command line parameters set by the FilterParam parameter in the master
process configuration file.
When launching a filtering process the master process supplies to such process
the command line parameters set by the FilterParam parameter in the master
process configuration file.
The ap-mailfilter program supports the following command line switches:
General parameters
–a
– operation in the client-server mode. The use of this switch is mandatory
for working with all Kaspersky Anti-Spam 2.0 client modules.
–b /path/to/ap-mailfilter/conf/data
– full path to the folder with data
(filtering database, compiled profiles). The default value is: /usr/local/ap-
mailfilter/conf/data
mailfilter/conf/data
.
–k /path/to/ap-mailfilter/run/kas-license
– full path to the socket file used
for connection to the kas-licence licensing service. The default value is:
/usr/local/ap-mailfilter/run/kas-license
/usr/local/ap-mailfilter/run/kas-license
.
Timeout values
–i <number_of_seconds>
– maximum allowable time (in seconds) for the
spare filtering process to remain in the idle mode: if the process has not
received a new message to process within the specified time, it will be
stopped. The default value is: 300.
received a new message to process within the specified time, it will be
stopped. The default value is: 300.
–I <number_of_seconds>
– maximum allowable waiting time (in seconds)
for receiving data from the client while processing a message: if not a
byte of data has been received within this time, the processing of the
current message will be stopped. The default value is: 30.
byte of data has been received within this time, the processing of the
current message will be stopped. The default value is: 30.