34
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 /
4.2.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 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 kav4unix.conf.
The solution: in order to accomplish the above objective do the
following:
In the configuration file kav4unix.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,
1.
Set the actions to be applied to infected component objects. To do
so, enter the line provided below in the On infected parameter
®
Kaspersky Anti-Virus
®
, using Unix standard tools, you can set up the
5.0 for Linux, FreeBSD and OpenBSD File Server
Need help?
Do you have a question about the Anti-Virus 5.0 for Linux, FreeBSD and OpenBSD File Server and is the answer not in the manual?