HP-UX Mailing Services Administrator's Guide (B2355-91064)
NOTE: In this example, if you send a mail message to yourself and if the remote
system is running Sendmail, ensure that the MeToo option is set in the configuration
file on the remote system. The remote system’s configuration file must contain a line
beginning with O MeToo. If the remote host’s configuration file does not contain such
an entry, Sendmail on the remote host notices that the sender is the same as the recipient
and removes your address from the recipients’ list.
Modifying the Default Sendmail Configuration File
The Sendmail configuration file that is supplied with HP-UX works correctly for most
Sendmail configurations, so you probably do not need to modify the configuration file.
However, certain modifications to the file are supported. This section describes examples
of modifications that you may want to make. The configuration file also contains
instructions for making the supported modifications.
This section discusses the following topics:
• “The Sendmail Configuration File” (page 43)
• “Restarting Sendmail” (page 44)
• “Sendmail Configuration Options” (page 44)
CAUTION: HP 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, HP cannot support your configuration.
The Sendmail Configuration File
The Sendmail configuration file, /etc/mail/sendmail.cf, 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.
• Defines the delivery agents (mailers) to be used for delivering the mail.
• Specifies how Sendmail must rewrite addresses in the header, if necessary, so that
the message address can be understood by the receiving host. The address rewriting
process is controlled by sets of address rewriting rules called rulesets.
The default configuration file, sendmail.cf, is located in the
/usr/newconfig/etc/mail/sendmail.cfdirectory, and is installed in the
/etc/mail/sendmail.cf directory.
Modifying the Default Sendmail Configuration File 43