Log in as root to the management server.
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
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 search nameserver.company.com nameserver name server IP address
In this example, nameserver.company.com 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.
Update the sendmail configuration SMTP IP address in the file /etc/mailsendmail.cf.
Edit the file /etc/mailsendmail.cf and locate the SMTP line. The SMTP line should be similar to the following:
# SMTP daemon options O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
In the DaemonPortOptions line, change 127.0.0.1 to the IP address of the management server, and then save and close the file.
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 10.0.5.67.
The management server is also assigned the alias name engineering, which is assigned IP address 10.0.5.10.
Your company domain name is company.com
Your /etc/mail/local-host-names file would then contain the following entries:
n1sm-manager.company.com engineering.company.com 10.0.5.67 10.0.5.10
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.
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:
Type the command newaliases to refresh the system mail aliases.
If you are configuring the mail service on a Solaris management server, complete the mail service configuration as described in To Configure the Mail Service on a Solaris Management Server.
If you are configuring the mail service on a Linux management server, complete the mail service configuration as described in To Configure the Mail Service on a Linux Management Server.