HP-UX System Administrator's Guide: Configuration Management
1. On each client computer in the workgroup being served by a central mail hub, edit
the file /etc/rc.config.d/mailservs:
a. Set the environment variable SENDMAIL_SERVER to 0, indicating that this
computer is not the hub, and is not a standalone e-mail system. The sendmail
daemon will not be run on this computer:
SENDMAIL_SERVER=0
b. Set the environment variable SENDMAIL_SERVER_NAME to the official host
name of the hub computer that will send and receive electronic mail on behalf
of this client computer. For example, if the hub computer for a client has the
official host name, corpmail.example.com, you would set the variable as
follows:
SENDMAIL_SERVER_NAME="corpmail.example.com"
c. (Optional) The environment variable SENDMAIL_FREEZE does not apply to
clients, which always freeze the sendmail configuration file, but it is good
practice to set this variable to 1 to indicate to viewers of the /etc/
rc.config.d/mailservs file that the sendmail configuration file is being
frozen for this client computer:
SENDMAIL_FREEZE=1
2. Reboot the client computer to enable site hiding and freeze the sendmail
configuration file.
Configuring a System to Receive Electronic Mail
Configuring a system in your workgroup to receive e-mail is a bit more complicated
than configuring it to send e-mail. First you must determine two things:
1. Which type of networking topography you are going to use (see “Networking
Topographies” (page 123))
2. Where the system fits in to the topography: the electronic mail hub, a client in a
workgroup served by a hub, or a standalone system.
Using that information, begin by selecting the appropriate networking topography
below:
□ “Central Mail Hub Topography (Receiving E-mail)” (page 126)
□ “Gateway Mail Hub Topography (Receiving E-mail)” (page 127)
□ “Fully Distributed (Standalone System) Topography” (page 130)
Central Mail Hub Topography (Receiving E-mail)
With this type of electronic mail system, a single computer serves as the place where
all users in a workgroup send and receive e-mail. To do this, users either log in to the
hub computer, or NFS mount their electronic mailboxes to local (client) systems. All
126 Configuring Mail