Serviceguard Toolkits for Contrib User Guide Version A.12.00.00
Using Sendmail toolkit
After installing the Sendmail toolkit, you can use this toolkit to:
• Configure packages in an SG/LX environment
• Manage packages
For more information about managing packages, see Managing packages. (page 35)
Configuring Sendmail toolkit packages
Configuring Sendmail toolkit packages
To configure modular Sendmail toolkit packages:
1. Create the package configuration and control templates using the cmmakepkg command:
# cmmakepkg –m tkit/sendmail/sendmail pkgsm.conf
2. Edit the following attributes manually in the package configuration file. Table 22 (page 30)
lists all the attributes that you can edit manually in the package configuration file.
Table 10 List of attributes that you can edit
DescriptionAttribute
PID file that holds the process ID of the Sendmail server.
This PID file must correspond to the sendmail PidFile
HA_SERVER_PID
directive in the sendmail.cf under /etc/
mail/directory
For example:
HA_SERVER_PID /var/run/sendmail.pid
NOTE: Sendmail toolkit does not support online
modification of this attribute.
The db files in /etc/mail directory that is required to
rebuild during the package start.
HA_SERVER_DB_FILES
NOTE: Sendmail toolkit does not support online
modification of this attribute.
QUEUE can be set to a time interval that the Sendmail
can process the queued mails in the mail queue
directory, for example 1h for 1 hour interval.
QUEUE
NOTE: Sendmail toolkit does not support online
modification of this attribute.
The time interval in seconds to monitor the Sendmail
server. The default value is 30.
MONITOR_INTERVAL
The number of retries attempted by the toolkit script to
check the Sendmail server daemon before giving up
and exiting. The default value is 0.
RETRY_TIMES
3. Check the validity of the configuration using the cmcheckconf command:
# cmcheckconf -P pkgsm.conf
4. Create the package using cmapplyconf command, if the cmcheckconf command does
not report any errors:
# cmapplyconf -P pkgsm.conf
5. To view the package details, run:
# cmviewcl
6. To enable package switching and start the package refer Managing packages (page 35).
30 Sendmail Toolkit