Additional setup
47
The application informs about license expiry or violation of license agreement
automatically, no additional setup is required for the notifications; they cannot be
disabled by administrators.
In order to enable sending of special notifications to administrators about
Discard
,
Fault
and
Update
events, assign a corresponding value to the
NotifyAdmin
parameters.
The language of notification depends on the encoding specified in the
configuration file (
Charset
parameter of the
[kavmilter.notifications]
section).
You can also encrypt notifications using the
TransferEncoding
parameters.
To create an English notification text, perform the following steps:
1. Assign the following values to the parameters below:
[kavmilter.notifications]
Charset=us-ascii
TransferEncoding=8bit
2. Create a notification template in the English language.
6.11.1. Notification templates
The following templates can be used to create notifications (the templates are
stored in a directory defined by the
MessageDir
parameter of the configuration
file):
Template for notifications about deleted objects
– Text added to the
original message if one of the message parts is deleted during anti-virus
processing or filtering. This text might contain a macro describing the
reasons for deletion. The following templates are available:
•
part_infected_deleted
– Text replacing the object that was
deleted after an unsuccessful disinfection attempt.
•
part_filtered_deleted
– Text replacing the MIME object that
was deleted based on MIME object filtration results.
•
part_filtered_rename
– Text that replaces an original email
object, renamed as the result of filtering;
•
part_protected_deleted
– Text replacing a protected object that
was deleted because it could not be scanned for viruses;
•
part_error_deleted
– Text replacing the object that generated a
scan error and was therefore deleted.
Standard notification template
– Text of the notification that is sent to the
sender, recipient, and administrator using Milter API. This text might