84
Kaspersky Anti-Spam 3.0
1. The client module receives a mail message from the mail server and
sends a request for connection to the filtering server.
2. The master process selects an already running filtering process or creates
a new one, and establishes a connection between the client module and
the given filtering process.
3. The client module sends a message for checking over the established
connection and receives the message processing results from the filtering
process.
4. In accordance with the received processing result the client module
modifies the message – if required – and returns it to the mail server.
Interaction between the client module, filtering master process and filtering
process is done through a network or local socket using an internal protocol.
The use of a network socket allows placing the filtering server and the mail
server with integrated client module on different servers. And when there is not
much mail traffic to process, the dedicated filtering server can serve a number of
mail servers. This configuration requires manual adjustment of settings that
control interaction of Kaspersky Anti-Spam and mail server components.
A.2.2. Global settings of client modules
Kaspersky Anti-Spam version 3.0 keeps client module settings in the filtering
server’s global configuration file – filter.conf - which is located in the
/usr/local/ap-
mailfilter3/etc/
directory
.
The following settings are common for all client modules:
•
ClientConnectTo
– the socket address for interaction with the filtering
server. An entry in the format
tcp:<host>:<port>
, where
<host>
is IP
address of the filtering server,
<port>
is the connection port—points to
the network socket, and an entry in the format
unix:<path_to_file>
,
where
<path_to_file>
is the path to file—points to a local socket.
•
ClientConnectTimeout
– the maximum waiting time (in seconds) when
attempting to connect to the filtering server.
•
ClientDataTimeout
– the maximum waiting time (in seconds) when
exchanging data with filtering server.
•
ClientOnError
– the error handling mode (impossible to establish a
connection to the filtering server, timeout during data exchange, etc.).
Possible values:
•
reject
– do not accept message and return the error code 5xx
during SMTP session;