Working with Kaspersky Anti-Virus
or:
1.
Create an alternative file kavscanner.conf.in.
2.
In the [container] section of this file set the following line as the
infected objects processing rule:
OnInfected=exec /tmp/kavscanner/test/vox.sh
%FULLPATH%/%FILENAME%
3.
In the command line type:
# kavscanner –c kavscanner.conf.in –ePASE –qR
–o /tmp/logfile.log –j3
–pi /tmp/infected_archive.lst /
5.3.4.2. Sending notifications to the
administrator
With Kaspersky Anti-Virus
program to notify the server's administrator in the event of detection of infected,
suspicious, or corrupted files in the mounted file systems.
The object: set up administrator's notification if any infected files or
archives are detected in the mounted file systems during each scan of
the server carried out with the parameters specified in the configuration
file kav4mailservers.conf.
The solution: in order to accomplish the above objective do the
following:
In the configuration file kav4mailservers.conf set the following rules for
processing of simple and compound objects:
[scanner.object]
OnInfected=exec echo %FULLPATH%/%FILENAME% is
infected by %VIRUSNAME% |
mail -s kavscanner admin@localhost.ru
[scanner.container]
OnInfected=exec echo archive %FULLPATH%/%FILENAME% is
infected, viruses list is in the attached file %LIST%
| mail -s kavscanner -a %LIST% admin@localhost.ru
or:
®
, using Unix standard tools, you can set up the
72
Need help?
Do you have a question about the ANTI-VIRUS 5.0 - FOR LINUX FREEBSD-OPENBSD MAIL SERVER and is the answer not in the manual?