User Guide
28 Kaspersky
®
SMTP-Gateway 5.0
5.1.1. Automatic anti-virus database
updating
You can schedule the application to automatically update the anti-virus database
using the cron program.
Task
: Configure the application to automatically update your anti-virus
database every day at 07.00 a.m. An update server should be selected
from the updcfg.xml file. Only errors encountered in the component
operation should be recorded in the system log. Keep a general log of
all task executions. Output no information to the console.
Solution
: To accomplish the above tasks, do the following:
1. In the configuration file, specify the appropriate values for the
following parameters, for example:
[updater.options]
KeepSilent=yes
[updater.report]
Append=yes
ReportLevel=1
2. Edit the file that sets the rules for the cron process (crontab –e) by
entering the following string for the root user:
For Linux:
0 7 * * * /opt/kav/5.0/smtpgw/bin/keepup2date
For FreeBSD and OpenBSD:
0 7 * * *
/usr/local/share/kav/5.0/smtpgw/bin/keepup2date
5.1.2. Manual updating of the anti-virus
database
You can start updating your anti-virus database from the command line at any
time.










