User Guide

42 Kaspersky
®
SMTP-Gateway 5.5 for Linux/Unix
4.2.4.3. Delivery of notifications to the sender,
administrator and recipients
Task
:
Scan for viruses all mail traffic on the server and cure all infected
objects.
Deliver to the recipients messages containing clean and
disinfected objects only.
Block messages containing infected, suspicious, corrupted, and
password-protected objects as well as objects, which the
application failed to scan because of an error.
Notify the senders, recipients and the administrator about
infected, suspicious and damaged objects in email messages
and about objects, which the application failed to scan because
of an error.
Solution: to perform the above task, do the following:
1. Enable the cure mode for infected objects. To do so, specify the
following parameter value in the [smtpgw.ave] section of the
configuration file:
[smtpgw.ave]
Cure=true
2. Specify the following parameter values in the [smtpgw.policy]
section of the configuration file:
[smtpgw.policy]
ActionDisinfected=cure
ActionInfected=pass
ActionSuspicious=pass
ActionProtected=pass
ActionError=pass
BlockMessage=infected, suspicious, protected,
error
NotifyAdmin=disinfected, infected, suspicious,
protected, error
NotifyRecipient=disinfected, infected,
suspicious, protected, error