System Administration Guide: Resource Management and Network Services

Example-Editing Entries in an NIS+ mail_aliases Table

To edit entries in the table, follow these instructions.

  1. Either be a member of the NIS+ group that owns the table, or become root on the mail server, or assume an equivalent role.

    For information about roles, refer to "Using Privileged Applications" in System Administration Guide: Security Services.

  2. Display the alias entry.


    # aliasadm -m alias
    

    alias

    Use the assigned alias name. 

  3. Edit the alias entry, as necessary.


    # aliasadm -c alias expanded_alias [options comments]
    

    alias

    If necessary, edit the alias name. 

    expanded_alias

    If necessary, edit the expanded alias name. 

    options

    If necessary, edit the option. 

    comments

    If necessary, edit the comment for this entry. 

    For more information, refer to the aliasadm(1M) man page, as well as "Mail Alias Files".

  4. Display the entry that you have edited and ensure that the entry is correct.


    # aliasadm -m alias
    

For more information, refer to the aliasadm(1M) man page.