User Guide
14 Kaspersky Anti-Virus® for Sendmail with Milter API
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=unix:<socket_file_path>,F=T,T=S:10s;R:5m;E:5m
#kav-end
or
#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=local:<socket_file_path>,F=T,T=S:10s;
R:5m;E:5m
#kav-end
where <socket_file_path> is the path to socket file.
• If you use sendmail.mc, add the following lines to this file:
dnl kav-begin: KAVMilter dnl
define(`_FFR_MILTER', `true')dnl
INPUT_MAIL_FILTER(`KAVMilter',
`S=local:<socket_file_path>,
F=T,T=S:10m;R:15m;E:15m')dnl
dnl kav-end dnl
or
dnl kav-begin: KAVMilter dnl










