Appendix A
95
This fragment contains the following options:
•
kas_connect_to
– address of the socket for interacting with the filtering
server. The address format is
tcp:<host>:<port>
, where
<host>
is the
IP-address of the filtering server,
<port>
is a port specifying the network
socket; the record in the format
unix:<path_to_file>
, where
<path_to_file>
is the path to the socket file (specifies a local socket).
•
kas_connect_timeout
– maximum time (sec) for establishing a
connection with the filtering server.
•
kas_data_timeout
– maximum time (sec) for data exchange sessions
with the filtering server.
•
kas_default_domain
– name of the mail domain used in the address if
the original domain is not specified.
•
kas_filtering_size_limit
– maximum size (in KB) of a message that can
be transferred to the filtering server. Messages of larger sizes are
bypassed without processing.
•
kas_on_error
– mode of handing errors (unable to establish connection
with the filtering process, data exchange timeout is exceeded, etc.).
Possible values:
•
reject
– reject an incoming message, return the 5xx code
during an SMTP session;
•
tempfail
– temporarily reject an incoming message, return the
4xx code during an SMTP session (default value);
•
accept
– accept a message;
•
kas_log_level
– detalization level of the log file. The data is recorded in
the Exim debugging mode.
Note the following specifics of using the kas-exim module with the Exim mail
server:
•
kas-exim, as well as kas-milter, does not create message copies during
processing. This means that if a message is destined to several recipients
that belong to different groups with various processing rules, the message
is processed in accordance with the rules defined for each of these
groups.
•
If a message is destined to several recipients and for some of these
recipients message delivery is prohibited (
reject message
action),
whereas for other recipients messages are accepted (
accept message
action), the sender is not notified (i.e. a bounce message is not sent) that
the message could not be delivered to some of the recipient.