Using Kaspersky Anti-Virus
Solution: to perform this task, do the following:
Enter at the command line:
# /opt/kaspersky/kav4fs/share/contrib/vox.sh <arc-
hive-path>
4.2.6.2. Sending notifications to the
administrator
Using standard Unix tools, you can specify that notifications are sent to the
administrator upon detection of infected, suspicious or corrupted objects in the
computer's file systems.
Task: configure administrator notification when infected files and
archives are detected during file systems scans performed using the
settings specified in the kav4fs.conf configuration file. Enable
resolving of the symbolic links to the checked objects.
Solution: to perform this task, do the following:
Enter these rules for processing simple objects and container objects in
the configuration file kav4fs.conf:
[scanner.options]
FollowSymlinks=yes
[scanner.object]
OnInfected=exec echo %FULLPATH%/%FILENAME% is
infected by %VIRUSNAME% |
mail -s kav4fs-kavscanner admin@localhost.ru
[scanner.container]
OnInfected=exec echo archive %FULLPATH%/%FILENAME% is
infected, viruses list is in the attached file %LIST%
| mail -s kav4fs-kavscanner -a %LIST% ad-
min@localhost.com
Before launching the example, make sure that the mail utility is located
at this utility‟s standard installation path in the operating system.
31
Need help?
Do you have a question about the ANTI-VIRUS 5.7 - FOR LINUX FILE SERVER and is the answer not in the manual?