User Guide
18 Kaspersky Anti-Virus® for Sendmail with Milter API
mail servers. If the license policy is based on e-mail traffic volume, the total mail
traffic of all servers must be less than the maximum specified by the license.
In this scenario, mail will be processed as follows:
1. The email traffic arrives at several mail servers with Sendmail installed.
2. Each server forwards its messages to Kaspersky Anti-Virus for anti-virus
processing, via a network socket.
3. After processing, Kaspersky Anti-Virus sends checked messages,
together with anti-virus notifications, back to the mail server for further
delivery.
To implement this scenario:
1. In the kavmilter.conf configuration file of Kaspersky Anti-Virus set
ServiceSocket parameter, as shown below:
ServiceSocket=inet:<port>@<ip_address>
where <port> is the network socket port, and <ip_address> is the IP
address, of the host.
2. Amend the configuration of all Sendmail servers which mail traffic will be
protected by Kaspersky Anti-Virus:
• If you use sendmail.cf file, add the following lines to this file:
#kav-begin: KAVMilter
O InputMailFilters=KAVMilter
O Milter.macros.connect=j, _, {daemon_name},
{if_name}, {if_addr}
O Milter.macros.helo={tls_version}, {cipher},
{cipher_bits}, {cert_subject}, {cert_issuer}
O Milter.macros.envfrom=i, {auth_type},
{auth_authen}, {auth_ssf}, {auth_author},
{mail_mailer}, {mail_host}, {mail_addr}
O Milter.macros.envrcpt={rcpt_mailer},
{rcpt_host}, {rcpt_addr}
XKAVMilter,
S=inet:<port>@<ip_address>,F=T,T=S:10s;R:5m;
E:5m
#kav-end
where <ip_address> is the IP address of the network socket
used for interaction with Kaspersky Anti-Virus, and <port> is
the network socket port.










