|
» |
|
|
|
To configure an HP-UX system to send e-mail, you
need to do two things: Be sure that the executable
file for the Sendmail program, /usr/sbin/sendmail, is on your system. If you are using a Gateway
Mail Hub topography, you need to enable site
hiding for each of the client computers in your workgroup,
as described in “Using Site Hiding”.
Using Site Hiding | |
With site hiding, the e-mail from users on client
computers in your workgroup will appear to the outside world as if
it were sent from the hub computer. Replies to such mail will be sent
to the hub computer (unless a Reply-To: header
in the e-mail directs otherwise). On
each client computer in the workgroup being served
by a central mail hub, edit the file /etc/rc.config.d/mailservs: 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: 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"
|
(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:
Reboot
the client computer to enable site hiding and freeze the sendmail configuration file.
|