54
Kaspersky Anti-Virus
®
for Sendmail with Milter API
Example:
<FOR FILTERNAME != "KAVFilter*">
*
Unlimited length of all possible values. It is used only inside tags in
comparison with templates.
Example
:
<FOR FILTERNAME == "KAV*">
?
All possible one-character values. It is used only inside tags in
comparison with templates.
Example
:
<FOR FILTERNAME == "KAVFilter?">
#
Comment; the parser ignores all characters after ‘#’ till the end of
line.
Reserved keywords
FOR
Iteration construct definition.
Example: <
FOR FILTERNAME = "KAVFilter1">
DEF
Variable definition (statement without an end tag). Example:
<DEF
__NAME__= "NAME_1"/>
Predefined macros
%CRLF% Line feed macro (CR+LF)
%TAB% Tab
macro
The processing is performed within a global section (no statement is needed) or
within a condition construct:
<FOR KAV_LANGUAGE == "5.0"> ... </FOR>
Escape sequences
The following sequences can be used to present special characters in the
template language:
•
To output the ‘\’ symbol in the template text, enter ‘\\’ .
•
If a line is ended with ‘\’, it will be interpreted as a string continued on the
following line. Additionally, an escape symbol at the end of the line screens
the following EOL, which otherwise would exist in the generated message.
Such a line is concatenated with the following one during processing before
any other actions performed by the parser. This situation is handled inde-
pendently by either the escape sequence being met inside a tag or outside a