How to find out a task or rule ID in Kaspersky Security 8.0 for Linux Mail Server
How to find a task ID
You can use the following command to find out the ID of a task:
The command will output a complete list of application tasks, their IDs, and status:
How to find a rule ID
Use the following command to find out the ID of a rule:
The command will output a complete list of application rules, their IDs, and priority.
How to use names of rules and tasks
You can use names of rules and tasks in commands instead of their IDs:
/opt/kaspersky/klms/bin/klms-control --get-rule-settings Rule1 -n -f /home/user/rule1.xml
Where Rule1 stands for the name of a rule.
However, use of task names has limitations. For details, see the help for klms-control tool.