You can use the aliasadm command to manage entries in an NIS+ table. To create a table, follow these instructions. For more information, refer to the aliasadm(1M) man page.
Either be a member of the NIS+ group that owns the table, or become root on the mail server, or assume an equivalent role.
Initiate an NIS+ table.
# aliasadm -I
Add entries to the table.
To add two or three aliases, refer to How to Add Aliases to the NIS+ mail_aliases Table From the Command Line.
To add more than two or three aliases, refer to How to Add Entries by Editing an NIS+ mail_aliases Table.