Creating the configuration file

To make it easier to test sendmail, you can copy the /usr/lpp/tcpip/samples/sendmail/cf/sample.cf file as /etc/mail/sendmail.cf and use the copy. Later, when you are more familiar with creating your own configuration file, creating your own sendmail.cf file is recommended. However, this sample will suffice for a simple client configuration.

The basic steps to create the configuration file are:

  1. Retrieving the m4 preprocessor.
  2. Creating the .mc file.
  3. Building the configuration file.