Using Kaspersky Anti-Virus for Sendmail with Milter API
31
MessageDir=/var/db/kav/5.0/kavmilter/templates/
RejectReply="Message rejected because it contains
malware"
Task: Notify the recipient and administrator that the message containing
protected objects has skipped anti-virus processing (action for protected
objects –
skip
).
To implement this task, configure the application as follows:
[kavmilter.global]
ScanPolicy=combined
[kavmilter.actions]
ProtectedAction=skip
[kavmilter.notifications]
EnableNotifications=on
NotifyRecipients=protected
NotifyAdmin=protected
AdminAddresses=admin@localhost
MessageDir=//var/db/kav/5.0/kavmilter/templates/
MessageSubject="This message was NOT scanned by KAV!"
Task: Inform the recipient, sender, and administrator about a filtered
message. Insert an additional header with information about the
application into any mail message scanned by Kaspersky Anti-Virus.
To implement this task, make the following configuration changes:
[kavmilter.global]
ScanPolicy=combined
AddxHeader=yes
[kavmilter.actions]
DefaultAction=cure
[kavmilter.filter]
IncludeSize=10