98
Kaspersky Anti-Spam 3.0
Below is a fragment of the
filter.conf
file that contains settings of the client
module:
ClientConnectTo tcp:127.0.0.1:2277
ClientConnectTimeout 10
ClientDataTimeout 30
CGProSubmittedFolder Submitted
CGProMaxThreadCount 50
CGProLoopHeader X-Proceed_240578_by_spamtest
CGProAllTransports No
ClientFilteringSizeLimit 500
ClientDefaultDomain localhost
In addition to the options described in Appendix A.2.2, the following additional
options are used to configure kas-cgpro:
•
CGProSubmittedFolder
– name of the directory where the processed
messages are placed.
•
CGProMaxThreadCount
– maximum number of simultaneously
processed messages.
•
CGProLoopHeader
– header added to the processed messages.
•
CGProAllTransports
– allows / prohibits processing of mail received
using all kinds of transport. Possible values:
yes
– all mail is processed,
no
– only SMTP mail traffic is processed (default value).
To configure Communigate Pro to work with the kas-cgpro module, do the
following steps using the web interface of the mail server:
1. To
the
Settings
→
General
→
Helpers
menu, add a new
content-
filter
with the following parameters (in brackets parameters are
listed for Communigate Pro version 5.1 and higher):
Use filter (Enable): kas-cgpro
Log (Log Level): Problems
Path (Program Path): /usr/local/ap-
mailfilter3/bin/kas-cgpro
Time-Out: 5 minutes
Auto-Restart: 15 seconds
2. In the
Settings
→
Rules
(
Settings
→
→
Rules
for
Communigate Pro version 5.1 and higher) menu, create a new rule,
according to which all messages whose size does not exceed 500
KB will be checked for being spam messages: