User Guide
Appendix A 101
PidFile – name of the file from the pid process.
OnError – error processing mode (unable to establish connection with the
filtering process, waiting time exceeded when exchanging data, etc.)
Allowable values:
reject – return code 5xx (SMFIS_REJECT will be returned to Sendmail),
tempfail (default value) – return code 4xx (SMFIS_TEMPFAIL),
ignore – ignore error (SMFIS_CONTINUE),
accept – accept message, ignore all other filters (SMFIS_ACCEPT).
FilteringSizeLimi
t – the maximum message size (in kilobytes) that can be
passed to the filtering module. Larger messages will be passed on
without filtering. If the value of this parameter is 0 (default value), then
this limit will not be applied and all messages will be sent to the filtering
module.
DefaultDomain – name of the domain used for recipients whose addresses
contain only the local element. If this parameter is not specified, then
the substitution of the domain name will not be performed (no value will
be specified by default).
LogFacility – the facility parameter value, used when entering records in
the system log. Allowable values: mail (default value), user, local0-
local7.
LogLevel – the level of detail of system log (syslog) records. Allowable
values: error (default value), info, debug.
A.3.2.3. Configuring Sendmail when using
kas-milter
In order to integrate the kas-milter program in the Sendmail, the following lines
must be added to the configuration file /etc/sendmail.cf:
Xfilter1, S=local:/usr/local/ap-mailfilter/run/kas-
milter.sock, F=R
O InputMailFilters=filter1
A detailed description of the filters configuration in sendmail.cf is provided in the
Sendmail program documentation.
A.3.3.
kas-pipe
(client module for Postfix,
Exim)
A.3.3.1.
kas-pipe
operation
The kas-pipe program is a universal client module of Kaspersky Anti-Spam.










