For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.
An entry for each user
user1: user2@host.domain
Use the new alias name
Use the actual address for the new alias
A Postmaster: root entry
# cat /etc/mail/aliases .. Postmaster: root
An alias for root using the mail address of the person who is designated as the postmaster
# cat /etc/mail/aliases .. root: user@host.domain.com
Use the assigned address of the designated postmaster
# newaliases
The configuration of the –AliasFile option in /etc/mail/sendmail.cf determines whether the command generates either a single file, /etc/mail/aliases.db, or a pair of files, /etc/mail/aliases.dir and /etc/mail/aliases.pag.
You can copy the file or files generated by using the scp or rsync commands. For more information, see thescp(1) man page or the rsync(1) man page. Alternatively, you can create a script for this purpose.
When you copy these files, you do not need to run the newaliases command on each of the other systems. However, you must update all the /etc/mail/aliases files each time you add or remove a mail client.