69
1.
For actions to be applied to infected objects, include the following
line in the sections [object] and [container] of the configuration
file:
OnInfected=movePath /tmp/infected
2.
Disable disinfection mode (Cure=no) if it was enabled.
3.
In the command line type:
#kavscanner –@/tmp/download.lst –ePASBME –rq
–i0 -o /tmp/report.log –j3 –mCn
Now we shall make the task more complex by setting a requirement of limiting
access to the files in the directory /tmp/infected to reading and writing. This can
be accomplished using standard Unix tools (the chmod command). Therefore, it
is necessary to make the following changes in the task structure:
1.
In the On infected parameter input field, in the sections Object
action and Container action on the Kaspersky Anti-Virus
Scanner tab of the Webmin program (see Figure 18) enter the
following line:
or:
1.
In the sections [object] and [container] of the configuration file
/etc/kav/kavscanner.conf enter the following line as an infected
objects processing rule:
OnInfected=exec mv %FULLPATH%/%FILENAME%
/tmp/infected/%FILENAME%; chmod –x
/tmp/infected/%FILENAME%
5.3.4. Advanced options: using script files
Kaspersky Anti-Virus
have passed through anti-virus analysis. This processing is possible by using
various standard Unix commands and script files. With these tools experienced
administrators can define actions to be applied to objects that have different
statuses, thus extending the functionality of Kaspersky Anti-Virus
exec mv %FULLPATH%/%FILENAME%
/tmp/infected/%FILENAME%; chmod –x
/tmp/infected/%FILENAME%
®
offers options for additional processing of objects that
Kaspersky Anti-Virus for Unix Mail Servers
®
®
.
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?