HP Serviceguard Contributed Toolkit Suite Version A.04.02.02 on Linux User Guide (December, 2012)
Table 19 Files created after Sendmail toolkit is installed
Available in directoryDescriptionFile name
$SGROOT/sendmailtoolkitThis is the toolkit configuration file. It
contains a list of pre-defined variables
hasendmail.conf
that needs to be set to run the
Sendmail toolkit package.
This is the toolkit main script that
contains internal functions that start or
stop an Sendmail server instance.
hasendmail.sh
This monitors the health of the running
Sendmail server application.
hasendmail.mon
This is interface between the package
control script and the Sendmail toolkit
main shell script hasendmail.sh.
toolkit.sh
Table 20 Files for creating modular packages
Available in directoryDescriptionFile name
$SGCONF/modules/tkit/sendmailThis is an attribute definition file, used
to generate a package ASCII template
in modular style of packaging.
sendmail.1
$SGCONF/scripts/tkit/sendmailThis is the module script. This script is
called by the master control script and
tkit_module.sh
acts as an interface between the
tkit_module.sh master control
script and the toolkit interface script
(toolkit.sh). It is also responsible
for calling the toolkit configuration file
generator script.
NOTE: This file is used only for
creating modular packages.
$SGCONF/scripts/tkit/sendmailThis is the toolkit configuration file
generator script. This script is called
tkit_gen.sh
by the module script when the
package configuration is applied
using cmapplyconf to generate the
user configuration file in the package
directory, TKIT_DIR.
NOTE: This file is used only for
creating modular packages.
Setting up the Sendmail server in SG/LX environment
To set up the Sendmail server:
1. Build a run-time configuration file, which the Sendmail reads when it starts up. This file describes
the mailer information, the format of message header and the settings of other options and
their rules.
# m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
2. Generate a new configuration file, /etc/sendmail.cf, for any changes made to /etc/
mail/sendmail.mc file.
46 Sendmail Toolkit