Using Kaspersky Anti-Virus for Sendmail with Milter API
27
To implement this task, configure the application as follows:
[kavmilter.global]
ScanPolicy=combined
[kavmilter.engine]
ScanArchives=yes
ScanPacked=yes
ScanCodeanalyzer=yes
[kavmilter.actions]
DefaultAction=cure
[kavmilter.notifications]
EnableNotifications=on
NotifyRecipients=infected
MessageDir=/var/db/kav/5.0/kavmilter/templates/
MessageSubject="Anti-virus notification message"
[kavmilter.log]
LogFacility=syslog
LogOption=scan.all
[kavmilter.statistics]
TrackStatistics=all
DataFormat=xml
DataFile=/var/log/kav/5.0/kavmilter/statistics.data
5.2. Blocking infected messages
You can block messages using several methods: the administrator can delete an
infected message without notifying the recipient beforehand and return an error
code to the sender as if it were sent by a mail agent.
Task: Block infected e-mail messages, delete them, and notify the ad-
ministrator of such.