User Guide

CHAPTER 4. THE PRINCIPLES
OF APPLICATION
OPERATION
This chapter explains how the application functions, the interaction between its
components, and how to correctly configure it.
4.1. General message processing
algorithm
When a server with Sendmail and Kaspersky Anti-Virus installed receives an
email message, it processes the message using this algorithm:
1. Sendmail passes the message to Kaspersky Anti-Virus via the Milter API.
2. If an administrator has created additional groups, Kaspersky Anti-Virus
defines the list of groups which match the message addresses, and
chooses the group with the highest priority. The message will be
processed according to the rules defined in that group. For details of how
to create groups, see section 4.2 on page 29.
3. If there are no additional groups or if the message addresses do not
match any of the existing groups, the message will be processed
according to the default rules described in the default.conf file.
4. If backup rules are specified for the group used to process the message
(see section 7.8 on page 55), a copy of the original message is stored in
the specified location.
5. The message is processed, using anti-virus scanning, filtering, curing
infected objects, headers addition, etc. according to the group rules.
6. The processed message is then passed via the Milter API back to
Sendmail for further delivery to recipient(s).