88
Kaspersky Anti-Spam 3.0
Figure 32. The kas-pipe module usage scheme
This scheme can be implemented with any mail server that either supports
running a second instance with different settings, or delivers via LMTP protocol,
or delivers all mail to the specified mail server through SMTP.
Configuration of client module interaction with mail server can be performed with
special scripts (see the item 3.5 on page 27), and manually.
Manual configuration for a client module is done by modifying the
filter.conf
configuration file located in the
/usr/local/ap-mailfilter3/etc/
directory. The
following is a fragment of that file listing the client module settings:
ClientConnectTo tcp:127.0.0.1:2277
ClientConnectTimeout 10
ClientDataTimeout 30
PipeInProtocol lmtp
PipeOutProtocol lmtp
PipeOutgoingAddr exec:/usr/sbin/sendmail –bs
PipeMultipleMessagesAllowed yes
ClientDefaultDomain localhost
ClientOnError accept
ClientFilteringSizeLimit 500
In addition to the settings described earlier in the appendix A.2.2, for the kas-
milter module you can set the following parameters in the
filter.conf
file:
•
PipeInProtocol
– the protocol used for receiving mail messages. The
possible values are
smtp
,
lmtp
.
•
PipeOutProtocol
– the protocol used for sending processed mail
messages. The possible values are
smtp
,
lmtp
.
•
PipeHELOGreeting
– the domain name used by the
kas-pipe
module for a greeting during SMTP session. The default value is
kas30pipe.
+
<server domain name>
.