User Guide
CHAPTER 6. USING KASPERSKY
ANTI-VIRUS FOR SENDMAIL
WITH MILTER API
The main function of Kaspersky Anti-Virus is to secure the mail traffic on your
mail server against viruses. However, you can significantly extend the application
functionality to better meet the needs of your company by using it for filtering e-
mail by attachments, backing up e-mail traffic, etc.
This chapter describes the most important tasks that can be implemented using
the application. For details on the advanced features of Kaspersky Anti-Virus,
please refer to Chapter 7 on page 47.
Note that the examples below consider only the configuration that is
directly related to implementing the tasks described. The solutions
provided for each task describe task configuration only by editing the
configuration file. Remote management options using Webmin are not
discussed in the documentation.
Most of the examples below require that the application be reconfigured and
rebooted to apply recent changes (see section 7.14 on page 75).
6.1. Delivering disinfected messages
to recipients
The main role of Kaspersky Anti-Virus is to scan and disinfect e-mail messages
using the anti-virus database.
If the application detects an infected message (message object) and fails to
disinfect it, we recommend sending an appropriate notification to the recipient of
this message.
Task
: Scan all incoming messages and attachments for viruses, and try
to disinfect infected messages and their objects. If disinfection fails,
delete the infected object, replacing it with a corresponding notification.
Send the notification to the recipient. Log all information concerning
messages in the system log. Record statistics of messages, viruses,
and resources in XML file.










