User Guide

92 Kaspersky Anti-Spam 3.0
-o
smtpd_recipient_restrictions=permit_mynetworks,
reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=no
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
kas3scan unix - - n - 10 smtp
-o smtp_send_xforward_command=yes
### KASPERSKY ANTI-SPAM END ###
For Postfix version 2.1 and higher, you can configure kas-pipe to act as
a proxy filter (smtpd_proxy_filter). In this case, the reject action is used
during SMTP sessions, which speeds up message processing.
However, such a configuration is recommended only when a mail
server is not heavily loaded. To configure kas-pipe to act as a proxy
filter, replace the first two lines in the example above with the following:
smtp inet n - n - - smtpd
-o smtpd_proxy_filter=127.0.0.1:9026
A.2.4.2. Configuring Exim to work with kas-pipe
You can integrate kas-pipe into the Exim mail server by adding a new router at
the beginning of the router list in the Exim configuration file and adding the
transport for this router that will be used to start kas-pipe. This router is of a
conditional type because it will not be used to process main sent locally using the
ESMTP protocol.
The kas-pipe client module integrated into Exim processes mail messages
according to the following scheme:
1. Exim receives incoming messages at port 25 and places them to a
queue.
2. Exim selects a message from the queue and tries each router in the list
to determine the exact router for the selected message. As the router
pointing to kas-pipe is the first in this list, all messages are sent using the
corresponding transport to the kas-pipe client module.