System Administration Guide: Network Services

ProcedureHow to Manage Mail Delivery by Using an Alternate Configuration of

To facilitate the transport of inbound mail and outbound mail, the new default configuration of sendmail uses a daemon and a client queue runner. The client queue runner must be able to submit mail to the daemon on the local SMTP port. If the daemon is not listening on the SMTP port, the mail remains in the queue. To avoid this problem, perform the following task. For more information about the daemon and client queue runner and to understand why you might have to use this alternate configuration, refer to Configuration File From Version 8.12 of sendmail.

This procedure ensures that your daemon runs only to accept connections from the local host.

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Stop sendmail client service.

    # svcadm disable -t sendmail-client
  3. Make a copy of the configuration file that you are changing.

    # cd /etc/mail/cf/cf
    # cp

    Select a new name for your .mc file.

  4. Edit the new configuration file (for example,

    Change the listening host IP address to the msp definition.

    # grep msp
    FEATURE(`msp', `[#.#.#.#]')dnl
  5. Build the configuration file by using m4.

    # /usr/ccs/bin/make
  6. Install the new configuration file after making a copy of the original.

    # cp /etc/mail/ /etc/mail/
    # cp /etc/mail/
  7. Restart the sendmail client service.

    # svcadm enable sendmail-client