Use the following procedure to facilitate aliasing with an NIS mail.aliases map.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
# cat /etc/mail/aliases .. alias:expanded-alias
Use the short alias name.
Use the expanded alias name ([email protected]).
# cat /etc/mail/aliases .. Postmaster: root
# cat /etc/mail/aliases .. root: [email protected]
Use the assigned address of the designated postmaster.
# cd /var/yp
# make
The changes in the /etc/hosts and /etc/mail/aliases files are propagated to NIS slave systems. The changes are active in only a few minutes, at most.