12
Kaspersky Anti-Virus
®
for Sendmail with Milter API
1. Email traffic forwarded from other servers or from users arrives at
Sendmail.
2. The mail system then forwards messages to Kaspersky Anti-Virus
through Milter API for anti-virus processing.
3. Kaspersky Anti-Virus scans and handles email messages and,
depending on the settings, sends them back through Milter API to the
mail system. The anti-virus application can generate and send
notifications using an external mail agent.
4. The mail system then routes mail traffic to either external mail servers
or mailboxes of local users.
Therefore, you need to reconfigure socket options for Sendmail and Kaspersky
Anti-Virus during the installation of Kaspersky Anti-Virus. In this deployment
scenario, it is recommended that you use the local socket rather than the
network socket to speed up data transfer between the applications. Configure
Sendmail as follows:
•
If you use sendmail.cf:
XKAVMilter, S=unix:socket_file_path,
F=T,T=S:10m;R:15m;E:15m
or
XKAVMilter, S=local:socket_file_path,
F=T,T=S:10m;R:15m;E:15m
•
If you use sendmail.mc:
INPUT_MAIL_FILTER(`KAVMilter',
`S=local:socket_file_path,
F=T,T=S:10m;R:15m;E:15m')
or
INPUT_MAIL_FILTER(`KAVMilter',
`S=unix:socket_file_path,
F=T,T=S:10m;R:15m;E:15m')
•
In the
[kavmilter.global]
section of the Kaspersky Anti-Virus configura-
tion file, make the following changes:
ServiceSocket=unix:socket_file_path
or
ServiceSocket=local:socket_file_path