Sun N1 System Manager 1.2 Site Preparation Guide

ProcedureTo Configure the System Files and Account for the Mail Service

  1. Log in as root to the management server.

  2. Update the hosts entry in the file /etc/nsswitch.conf.

    Edit the file /etc/nsswitch.conf and ensure that the file contains the following line.

    hosts:      files dns
  3. Update the search and nameserver entries in the file /etc/resolv.conf.

    Edit the file /etc/resolv.conf and ensure that the file is configured for at least one name server. For example:

    # cat /etc/resolv.conf
    nameserver name server IP address

    In this example, is the name of a name server that is accessible by the management server, and name server IP address is the IP address of the name server. More than one name server can be specified, and each name server must be accessible by the management server.

  4. Update the sendmail configuration SMTP IP address in the file /etc/

    Edit the file /etc/ and locate the SMTP line. The SMTP line should be similar to the following:

    # SMTP daemon options
    O DaemonPortOptions=Port=smtp,Addr=, Name=MTA 

    In the DaemonPortOptions line, change to the IP address of the management server, and then save and close the file.

  5. Configure the domains that will be accepted by the mail server in the file /etc/mail/local-host-names.

    Edit file /etc/mail/local-host-names and add the fully qualified domain name of the management server and fully qualified alias domain names. You can also add the management server IP addresses.

    For example, if your management server is assigned the following values:

    • The management server name is n1sm-manager and is assigned the IP address

    • The management server is also assigned the alias name engineering, which is assigned IP address

    • Your company domain name is

    Your /etc/mail/local-host-names file would then contain the following entries:
  6. Create a user account, user password for the account, a user directory, and a user mail inbox on the management server.

    The user account, password, and mail inbox are used to receive event notifications sent by ALOM-architecture provisionable servers, and should be reserved for use solely by the N1 System Manager. During the configuration process, you are prompted for the email user account, password, and mail inbox. ALOM event notification email is made available for viewing on the N1 System Manager browser interface Event Log tab.

    Refer to your operating system documentations for mail account creation and configuration.

  7. Add the user account name and home directory names to the file /etc/aliases.

    Edit the file /etc/aliases and add the ALOM email account to the file. For example, if the ALOM email account name is emailuser1, you would then add the following line to the file /etc/aliases:

    emailuser1:    emailuser1
  8. Type the command newaliases to refresh the system mail aliases.

Next Steps