User Guide

42 Kaspersky Anti-VirusĀ® for Sendmail with Milter API
MessageSubject=This message was NOT scanned by KAV!
Task
: Inform the recipient, sender, and administrator about filtered
messages. Insert an additional header with information about the
application into any mail message scanned by Kaspersky Anti-Virus.
To perform the task, set the following parameters in the default.conf
configuration file:
[group.settings]
ScanPolicy=combined
AddXHeader=yes
[group.actions]
DefaultAction=cure
[group.filter]
IncludeName=.*\.txt
FilteredNameAction=skip
[group.notifications]
EnableNotifications=on
NotifySender=filtered
NotifyRecipients=filtered
NotifyAdmin=filtered
AdminAddresses=admin@localhost
MessageDir=/var/db/kav/5.6/kavmilter/templates/
MessageSubject=Anti-Virus notification message
SendmailPath=/usr/sbin/sendmail
UseCustomTemplates=on
6.5. Filtering e-mail traffic by
attachments
The application can filter e-mail messages by attachment name, attachment
MIME type, and attachment size.