Configuring sendmail (optional)

The UNIX programmer needs to configure sendmail if your installation plans to use any of the following functions:
  • Sending email notifications to users whose certificate request is rejected, ready for retrieval, or about to expire
  • Sending email notifications to administrators who have requests pending
  • Automatic certificate renewal
  • Requesting certificates for which the key pair (public key and private key) is generated by PKI Services
Note: Before you begin, you need the following document:
Follow the instructions in z/OS Communications Server: IP Configuration Guide for configuring z/OS® UNIX sendmail. In general, you need to perform the following steps:
  1. Create an alias file to define the postmaster and MAILER-DAEMON user IDs and the nobody alias (/dev/null).
  2. Create the sendmail configuration file using the m4 macro preprocessor.
  3. Load this configuration file into sendmail.
Notes:
  1. Because PKI Services always provides the return email address, you do not need to configure sendmail to provide it. This simplifies your setup.
  2. If you configure sendmail to run on the local system as a server, you need to change the PATH statement in the pkiserv.envars file to PATH=/bin instead of PATH=/usr/sbin.
Perform the following steps to test your sendmail configuration:
  1. From the UNIX command line, create a mail file with some information in it. The following example is called mail.txt. (You need this name in the next step.)

    To:target-email@address.com
    From:source-email@address.com
    Subject:This is a test
  2. If sendmail is configured to run as a server on the local system, enter the command:
    /bin/sendmail -t <mail.txt
    Otherwise, enter the command:
    /usr/sbin/sendmail -t <mail.txt