Installing and Administering Internet Services

Chapter 4 147
Installing and Administering sendmail
Modifying the Default sendmail Configuration File
Modifying the Default sendmail
Configuration File
The sendmail configuration file that is supplied with HP-UX will work
correctly for most sendmail configurations, so you probably do not need
to modify it. However, certain modifications to the file are supported.
This section describes examples of modifications that you may want to
make. The configuration file itself also contains instructions for making
the supported modifications.
This section contains the following subsections:
“The sendmail Configuration File” on page 147
“Restarting sendmail” on page 148
“Forwarding Non-Domain Mail to a Gateway” on page 148
CAUTION Hewlett-Packard supports the default configuration file and all the
modifications described in it. If you make any changes other than the
ones described in the default configuration file, Hewlett-Packard cannot
support your configuration.
The sendmail Configuration File
The default configuration file is located in
/usr/newconfig/etc/mail/sendmail.cf and is installed in
/etc/mail/sendmail.cf. We recommend that you leave the copy in
/usr/newconfig unmodified, in case you need to reinstall the default
configuration.
The sendmail configuration file performs the following functions:
Defines certain names and formats, such as the name of the sender
for error messages (MAILER-DAEMON), the banner displayed by the
SMTP server on startup, and the default header field formats.
Sets values of operational parameters, such as timeout values and
logging level.
Specifies how mail will be routed. In other words, it specifies how
recipient addresses are to be interpreted.