Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Configuring a System
Setting Up Mail Services
Chapter 3 279
c. (Optional) Set the environment variable SENDMAIL_FREEZE to 1 to
indicate that the sendmail configuration file is to be frozen. With
older computers, and in certain other circumstances, a frozen
configuration file can speed up sendmail’s performance by reducing
the time it needs to parse its configuration file.
SENDMAIL_FREEZE=1
Step 2. Reboot the hub computer to start up and properly configure the sendmail
daemon.
Configuring the Clients With “Central Mail Hub” topography, the
client computers do not receive electronic mail directly. Users either log
into the hub computer to process electronic mail, or they NFS-mount
their incoming mailbox files, typically located in the directory
/var/mount, and run a Mail User Agent on their client workstation to
process their mail. For outgoing mail (see “Configuring a System to Send
Electronic Mail” on page 277), the Mail User Agent will automatically
schedule the sendmail program.
Gateway Mail Hub Topography (Receiving E-mail)
This type of electronic mail system is similar to the “Central Mail Hub”
topography in that a single computer sends and receives e-mail on behalf
of the all of the users in the workgroup to and from computers outside of
the workgroup. The difference is that e-mail within the workgroup e-mail
does not have to go through the hub computer because each client
machine is running its own copy of the sendmail daemon allowing it to
receive e-mail directly from other computers in the workgroup.
Configuring the hub The procedure for configuring the hub computer
in a “Gateway Mail Hub” topography is:
Step 1. On the hub computer, edit the file /etc/rc.config.d/mailservs:
a. Set the environment variable SENDMAIL_SERVER to 1 to indicate that
this computer is the hub computer:
SENDMAIL_SERVER=1
b. Do not set the environment variable SENDMAIL_SERVER_NAME, which
would indicate that another computer serves this one:
SENDMAIL_SERVER_NAME=