Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX System Administrator's Guide: Configuration Management: HP-UX 11i Version 3 > Chapter 7 Configuring Mail

Configuring a System to Send Electronic Mail

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

To configure an HP-UX system to send e-mail, you need to do two things:

  1. Be sure that the executable file for the Sendmail program, /usr/sbin/sendmail, is on your system.

  2. 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).

  1. On each client computer in the workgroup being served by a central mail hub, edit the file /etc/rc.config.d/mailservs:

    1. 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
    2. 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"
    3. (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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.