HP-UX Mailing Services Administrator's Guide (B2355-91064)
2 Configuring and Administering Sendmail
This chapter describes Sendmail, the Internet Services mail routing utility provided on
the HP-UX operating system. Sendmail relays incoming and outgoing mail messages
to the appropriate programs for delivery and further routing. Sendmail allows you to
send mail and to receive mail messages from other hosts on a local area network or
through a gateway.
This chapter contains the following sections:
• “Configuring Sendmail” (page 37)
• “Modifying the Default Sendmail Configuration File” (page 43)
• “Creating Sendmail Aliases” (page 59)
• “Creating Domain-Specific Aliasing Using Virtual Hosting” (page 66)
• “Sendmail and the LDAP Protocol” (page 67)
• “Security” (page 72)
• “Configuring Sendmail to Reject Unsolicited Mail” (page 81)
• “Turning Off Virtual Interfaces” (page 91)
• “Troubleshooting Sendmail” (page 92)
NOTE: You cannot use the HP System Management Homepage (HP SMH) to install,
configure, or enable Sendmail on the HP-UX operating system.
Configuring Sendmail
Sendmail is packaged with the core HP-UX operating system. When you install the
operating system, Sendmail is automatically installed on your system. The necessary
files required for Sendmail operation are created or modified on your system. The
Sendmail configuration file supplied with the operating system, sendmail.cf, will
work without modifications for most installations.
Therefore, you only need to perform a few tasks to configure Sendmail:
• Set up Sendmail servers to run with NFS.
• Configure and start Sendmail clients.
• Verify that Sendmail is running properly.
This section discusses the following topics:
• “Configuring Sendmail on a Standalone System” (page 38)
• “Configuring Sendmail on a Mail Server” (page 39)
• “Configuring Sendmail on a Mail Client” (page 39)
• “Verifying your Sendmail Installation” (page 41)
Configuring Sendmail 37