Appendix A
81
UseCustomTemplates=off
– Enable using custom templates for generating
notifications. To enable the mode, set the parameter to
on
.
SenderSubject
– Subject of the sender notification.
ReceiverSubject
– Subject of the recipient notification.
AdminSubject
– Subject of the administrator notification.
The
[kavmilter.log]
section includes reporting options:
LogFacility=syslog
– File that will store program reports. Select one of the
following values:
syslog
– Log results in the system log.
file
– Log results in a special file. If this option is selected, specify the
full name to the report file as the
LogFilepath
parameter.
LogFilepath=/var/log/kav/5.0/kavmilter/kavmilter.log
– Path to the report
file. This parameter is ignored if the system log is selected for logging
reports.
LogOption=all
– category of messages and events to be recorded in the
report. Select one of the following values:
internal
– System messages: application initialization, signals, and
processes.
scan
– Anti-virus scan results and applied actions.
config
– Messages about application configuration.
backup
– Messages related to backing up e-mail messages.
all
– All the above types of messages.
Each category of messages logged in the report can have several detail
levels:
debug
,
info
,
notice
,
warning
,
error
,
critical
, or
all
.
You can combine both message types and detail levels as follows:
LogOption=backup.all
LogOption=config.error
LogOption=scan.all
LogOption=-scan.debug
The prefix before each combination means that this information is skipped
from recording.
LogRotate=on
– Enable report file rotation mode (is used only if
LogFacil-
ity=file
). To disable this mode set this parameter to
off
.
RotateSize=1048576
– Report file size in bytes. When it is reached, new
report file is created.