AIX: sendmail interaction

Title:

AIX: sendmail interaction

Author:

Douglas O’Leary <dkoleary@olearycomputers.com>

Description:

How to configure sendmail to run under SRC

Date created:

Date updated:

Disclaimer:

Standard: Use the information that follows at your own risk. If you screw up a system, don’t blame it on me…

It’s not so much AIX in general as the SRC in particular. There’s an ll entry on the SRC already; however, this one deals with getting sendmail to list as active in the lssrc -s sendmail command.

Sendmail, when executed normally, will break off from the controlling terminal and become a full blown daemon. When the controlling terminal is SRC, that causes a problem because SRC thinks that sendmail has terminated and lists the status accordingly. To correct that, you must tell sendmail not to fork and put itself into the background. To do that:

# chssys -s sendmail -a "-d99.100 -q30m" -S -f 9 -n 15

The argument -d99.100 instructs sendmail to remain in the foreground. The remaining switches basically tell SRC that sendmail understands normal signals. -n is the normal terminate signal; -f is the terminate with extreme prejudice signal.