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.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
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.