HP-UX Mailing Services Administrator's Guide
Configuring and Administering Sendmail
Configuring Sendmail
Chapter 242
The installation script makes the following configuration changes:
•Sets the SENDMAIL_SERVER variable in the
/etc/rc.config.d/mailservs file to 1. This ensures that the
Sendmail daemon is started whenever you reboot your system or run
the Sendmail startup script.
•Creates /etc/mail/sendmail.cf and /etc/mail/aliases files
with default configurations. These files are created with root as the
owner and other as the group. The permission for
/etc/mail/aliases and /etc/mail/sendmail.cf is set to 0640 and
0444, respectively.
NOTE If the /etc/mail/sendmail.cf file already exists, the existing file is
saved to /etc/mail/#sendmail. If the /etc/mail/aliases file
already exists, the Sendmail installation script does not recreate the
aliases file.
•Creates the /etc/mail/sendmail.cw file that contains the host
name and the fully qualified host name for the system. For example,
the system dog in the domain hp.com contains the following entries
in the sendmail.cw file:
dog
dog.hp.com
• Finally, the installation script issues the following command to run
the Sendmail startup script:
/sbin/init.d/sendmail start
The Sendmail startup script generates the aliases database from the
/etc/mail/aliases source file. The generated database is located in
the /etc/mail/aliases.db file.
The Sendmail startup script then invokes the Sendmail daemon by
issuing the following command:
/usr/sbin/sendmail -bd -q30m
By using the -q30m option, Sendmail processes the mail queue every
30 minutes.
For more information about Sendmail’s command line options, type
man 1M sendmail at the HP-UX prompt.