Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Configuring a System
Setting Up Mail Services
Chapter 3278
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)
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)
❏ Gateway Mail Hub Topography (Receiving E-mail)
❏ Fully Distributed (Standalone System) Topography
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) workstations. All outgoing e-mail from the
entire workgroup, even mail sent from a workstation that has NFS
mounted an electronic mailbox, appears to have originated on the hub
computer.
Configuring the hub With Central Mail Hub topography, the
electronic mail hub is the computer that receives e-mail from any
computer outside of the workgroup on behalf of its own users and those
of the client computers that it serves.
Step 1. On the hub computer only, 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=