some clarification; delete w option
[unix-history] / usr / src / usr.sbin / sendmail / doc / mailaddr.7
CommitLineData
35ad758c 1.\" @(#)mailaddr.7 4.2 %G%
bf7fdc39
EA
2.TH MAILADDR 7
3.UC 4
4.SH NAME
5mailaddr \- mail addressing description
6.SH DESCRIPTION
bff69eb1 7Mail addresses are based on the ARPANET protocol
bf7fdc39
EA
8listed at the end of this manual page.
9These addresses are in the general format
10.PP
11 user@domain
12.PP
13where a domain is a hierarchical dot separated list of subdomains.
14For example,
15the address
16.PP
17 eric@monet.Berkeley.ARPA
18.PP
19is normally interpreted from right to left:
20the message should go to the ARPA name tables
21(which do not correspond exactly to the physical ARPANET),
22then to the Berkeley gateway,
23after which it should go to the local host monet.
24When the message reaches monet it is delivered to the user ``eric''.
25.PP
26Unlike some other forms of addressing,
27this does not imply any routing.
28Thus,
29although this address is specified as an ARPA address,
30it might travel by an alternate route
31if that was more convenient or efficient.
32For example,
33at Berkeley the associated message
34would probably go directly to monet over the Ethernet
35rather than going via the Berkeley ARPANET gateway.
36.PP
37.I Abbreviation.
38Under certain circumstances
39it may not be necessary to type the entire domain name.
40In general anything following the first dot
41may be omitted
42if it is the same as the domain from which you are sending the message.
43For example,
44a user on
45``calder.Berkeley.ARPA''
46could send to
47``eric@monet''
48without adding the
49``.Berkeley.ARPA''
50since it is the same on both sending and receiving hosts.
51.PP
52Certain other abbreviations may be permitted
53as special cases.
54For example,
55at Berkeley ARPANET hosts can be referenced
56without adding the
57``.ARPA''
58as long as their names do not conflict
59with a local host name.
60.PP
61.I Compatibility.
62Certain old address formats
63are converted to the new format
64to provide compatibility with the previous mail system.
65In particular,
66.PP
67 host:user
68.PP
69is converted to
70.PP
71 user@host
72.PP
73to be consistent with the
74.IR rcp (1C)
75command.
76.PP
77Also, the syntax:
78.PP
79 host!user
80.PP
81is converted to:
82.PP
83 user@host.UUCP
84.PP
85This is normally converted back to the
86``host!user''
87form
88before being sent on for compatibility with older UUCP hosts.
89.PP
90The current implementation is not able to route messages
91automatically through the UUCP network.
bf7fdc39
EA
92Until that time you must explicitly tell the mail system
93which hosts to send your message through
94to get to your final destination.
95.PP
96.I Case Distinctions.
97Domain names (i.e., anything after the ``@'' sign)
98may be given in any mixture of upper and lower case
99with the exception of UUCP hostnames.
100Most hosts accept any mixture of case in user names,
101with the notable exception of MULTICS sites.
102.PP
103.I Differences with ARPA Protocols.
104Although the UNIX addressing scheme
105is based on the ARPA mail addressing protocols,
106there are some significant differences.
107.PP
108At the time of this writing
109the only
110``top level''
111domain defined by ARPA is the
112``.ARPA''
113domain itself.
114This is further restricted to having only one level of host specifier.
115That is,
116the only addresses that ARPA accepts at this time must be in the format
117``user@host.ARPA''
118(where ``host'' is one word).
119In particular,
120addresses such as:
121.PP
122 eric@monet.Berkeley.ARPA
123.PP
124are not currently legal
125under the ARPA protocols.
126For this reason,
127these addresses are converted to a different format on output
128to the ARPANET,
129typically:
130.PP
131 eric%monet@Berkeley.ARPA
132.PP
133.I Route-addrs.
134Under some circumstances
135it may be necessary to route a message
136through several hosts
137to get it to the final destination.
138Normally this routing is done automatically,
139but sometimes it is desirable to route the message manually.
140An address that shows these relays are termed
141``route-addrs.''
142These use the syntax:
143.PP
144 <@hosta,@hostb:user@hostc>
145.PP
146This specifies that the message should be sent to hosta,
147from there to hostb,
148and finally to hostc.
149This path is forced
150even if there is a more efficient path
151to hostc.
152.PP
153Route-addrs
154occur frequently on return addresses,
155since these are generally augmented by the software
156at each host.
157It is generally possible to ignore all but the
158``user@host''
159part of the address to determine the actual sender.
160.PP
161.I Postmaster.
162Every site is required to have a user or user alias
163designated
164``postmaster''
165to which problems with the mail system may be addressed.
166.PP
167.I CSNET.
168Messages to CSNET sites can be sent to
169``user.host@UDel-Relay''.
170.SH BERKELEY
171The following comments apply only to the Berkeley environment.
172.PP
173.I Host Names.
174Many of the old familiar host names
175are being phased out.
176In particular,
177single character names as used in Berknet
178are incompatible with the larger world
179of which Berkeley is now a member.
180For this reason
181the following names
182are being obsoleted.
183You should notify any correspondents
184of your new address
185as soon as possible.
186.PP
187.ta 1i 1.2i 2.5i
188 OLD NEW
189 j ingvax ucbingres
190 p ucbcad
191 r arpavax ucbarpa
192 v csvax ucbernie
193 n ucbkim
194 y ucbcory
195.PP
196The old addresses will be rejected as unknown hosts
197sometime in the near future.
198.PP
199.I What's My Address?
200If you are on a local machine,
201say monet,
202your address is
203.PP
204 yourname@monet.Berkeley.ARPA
205.PP
206However, since most of the world does not have the new software
207in place yet,
208you will have to give correspondents slightly different addresses.
209From the ARPANET,
210your address would be:
211.PP
212 yourname%monet@Berkeley.ARPA
213.PP
214From UUCP, your address would be:
215.PP
bff69eb1 216 ucbvax!yourname%monet
bf7fdc39
EA
217.PP
218.I Computer Center.
219The Berkeley Computer Center
bff69eb1 220is in a subdomain of Berkeley.
bf7fdc39 221Messages to the computer center
bff69eb1 222should be addressed to:
bf7fdc39 223.PP
bf7fdc39
EA
224 user%host.CC@Berkeley.ARPA
225.PP
bff69eb1
EA
226The alternate syntax:
227.PP
228 user@host.CC
229.PP
230may be used if the message is sent from inside Berkeley.
bf7fdc39
EA
231.PP
232For the time being
233Computer Center hosts
234are known within the Berkeley domain,
235i.e.,
236the
237``.CC''
238is optional.
239However,
240it is likely that this situation will change
241with time as both the Computer Science department
242and the Computer Center grow.
243.PP
244.I Bitnet.
245Hosts on bitnet may be accessed using:
246.PP
247 user@host.BITNET
248.PP
35ad758c
EA
249.SH BUGS
250The RFC822 group syntax
251(``group:user1,user2,user3;'')
252is not supported except in the special case of
253``group:;''
254because of a conflict with old berknet-style addresses.
bff69eb1
EA
255.SH SEE ALSO
256mail(1), sendmail(8);
257Crocker, D. H.,
258.ul
259Standard for the Format of Arpa Internet Text Messages,
260RFC822.