User Guide
40 Kaspersky
®
SMTP-Gateway 5.5 for Linux/Unix
4.2.4. Additional tasks
A discussion of additional tasks helps understand enhanced functionality of the
application. The examples below help the administrator tune up the application
for performing particular tasks to extend the functionality of the application and to
tailor the application for the conditions and requirements of a particular
organization.
4.2.4.1. Block delivery of messages to recipients
Sometimes, the administrator needs to block delivery of certain messages to the
recipients.
For example, a message containing important information, that needs to be
saved, may be flagged as suspicious. This important information may be
corrupted or lost during disinfection. In this case, it is recommended that you
block this message and send it to Kaspersky Lab for analysis.
Task:
• Scan for viruses all incoming and outgoing email on the server
and cure all infected objects in mail messages.
• Block messages containing suspicious, corrupted, and
password-protected objects and infected objects, which the
application failed to cure.
• Notify senders, recipients, and administrator about infected,
suspicious, and corrupted objects in email messages and about
objects the application failed to scan.
Solution
: to perform the above task, do the following:
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










