1aliasadm(1M)            System Administration Commands            aliasadm(1M)
2
3
4

NAME

6       aliasadm - manipulate the NIS+ aliases map
7

SYNOPSIS

9       aliasadm -a alias expansion [options comments] optional flags
10
11
12       aliasadm -c alias expansion [options comments]
13            [optional flags]
14
15
16       aliasadm -d alias [optional flags]
17
18
19       aliasadm -e alias [optional flags]
20
21
22       aliasadm -l alias [optional flags]
23
24
25       aliasadm -m alias [optional flags]
26
27
28       aliasadm [-I] [-D domainname] [-f filename] [-M mapname]
29
30

DESCRIPTION

32       aliasadm makes changes to the alias map.
33
34
35       The alias map is an NIS+ table object with four columns:
36
37       alias        The name of the alias as a null terminated string.
38
39
40       expansion    The  value  of  the alias as it would appear in a sendmail
41                    /etc/aliases file.
42
43
44       options      A list of options  applicable  to  this  alias.  The  only
45                    option  currently supported is CANON. With this option, if
46                    the user has requested an inverse alias lookup, and  there
47                    is  more than one alias with this expansion, this alias is
48                    given preference.
49
50
51       comments     An arbitrary string containing comments about this  alias.
52                    The sendmail(1M) command reads this map in addition to the
53                    NIS aliases map and the local /etc/aliases database.
54
55

OPTIONS

57       -a               Add an alias.
58
59
60       -c               Change an alias.
61
62
63       -d               Delete an alias.
64
65
66       -e               Edit the alias map.
67
68
69       -I               Initialize the NIS+ aliases database.
70
71
72       -l               List the alias map.
73
74
75       -m               Print or match an alias.
76
77
78       -D domainname    Edit the map in domain domainname instead of the  cur‐
79                        rent domain.
80
81
82       -f filename      When  editing  or  listing  the database, use filename
83                        instead of invoking the editor.
84
85
86       -M mapname       Edit mapname instead of mail_aliases.
87
88

FILES

90       /etc/aliases    mail aliases for the local host in ASCII format
91
92

ATTRIBUTES

94       See attributes(5) for descriptions of the following attributes:
95
96
97
98
99       ┌─────────────────────────────┬─────────────────────────────┐
100       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
101       ├─────────────────────────────┼─────────────────────────────┤
102       │Availability                 │SUNWnisu                     │
103       └─────────────────────────────┴─────────────────────────────┘
104

SEE ALSO

106       sendmail(1M), attributes(5)
107

NOTES

109       NIS+ might not be supported in future releases of the Solaris operating
110       system.  Tools  to aid the migration from NIS+ to LDAP are available in
111       the   current   Solaris   release.   For   more   information,    visit
112       http://www.sun.com/directory/nisplus/transition.html.
113
114
115
116SunOS 5.11                        12 Dec 2001                     aliasadm(1M)
Impressum