User Guide

62 Kaspersky
®
SMTP-Gateway 5.5 for Linux/Unix
Message with QueueID jHrWPC7s86253 will be sent
asap.
A message can be sent ahead of the general queue only if it
has QUE status (expects delivery to the recipient).
Descriptions of command line options for klmailq utility can be
found in section A.15 on p. 113, its return codes are
described in section A.17 on p. 115.
5.10. Managing the application
While Kaspersky SMTP-Gateway is running, you can manage the application
using scripts, signals, and special control files.
This section describes how to manage the application using scripts (about
management options using signals, see section A.3 on p. 98; about using files
see A.5 on p. 100).
Application management using scripts requires privileged user (root)
rights.
If you use Linux distribution package (except for installations made
using the tar.gz package), to run the management script, enter the
following in the command line:
# /opt/kav/5.5/smtpgw/init.d/smtpgw <action>
or use the link:
# /etc/init.d/smtpgw <action>
If you use FreeBSD distribution package, to run the management script,
enter the following:
# /usr/local/etc/rc.d/smtpgw.sh <action>
For OpenBSD distribution package, to run the management script, enter
the following string:
# /usr/local/share/kav/5.5/smtpgw/setup/smtpgw.sh
<action>
The /etc/init.d/smtpgw will not be created if you install the application
from a tar.gz package. You will have to create manually the link pointing
to the /opt/kav/5.5/smtpgw/init.d/smtpgw management script.
The <action> parameter can take one of the following values: