User Guide
Advanced application settings 57
If the check reveals errors, the following line will appear in the server console:
Config is invalid see log for detail.
5.7. Syntax check in notification
templates
Version 5.5. of the application allows syntax checks of notification templates
accomplished using the kltlv utility installed by default in the
/opt/kav/5.5/smtpgw/bin directory (in Linux distributions) or in
/usr/local/share/kav/5.5/smtpgw/bin (for FreeBSD distributions)).
The kltlv utility can be started by a privileged user (root) only.
To check the syntax of a notification template, enter the following in the
command line:
# /opt/kav/5.5/smtpgw/bin/kltlv ./dsn.tmpl
The utility will output to server console a report similar to the example below:
Kaspersky Template Language Verifier for Linux GLIBC 2.2
version 5.5.53/RELEASE,
Copyright (C) Kaspersky Lab, 1997-2005
Parsing error: Unexpected end of line in the declaration,
line 63
If a template check is successful, the utility will report that template syntax is
correct. In case of errors it will display a description of possible failure causes
(see section A.13 on p. 111). Utility return codes are described in section A.14 on
p. 113.
5.8. Work with backup storage and
the quarantine directory
The klmaila utility allows management of objects preserved in the quarantine
directories, backup storage and the archives of incoming/outgoing messages.
The klmaila utility can be started by a privileged user (root) only.










