]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - share/man/man7/mailaddr.7
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / share / man / man7 / mailaddr.7
1 .\" Copyright (c) 1983, 1987, 1990, 1993
2 .\"     The Regents of the University of California.  All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\"    must display the following acknowledgement:
14 .\"     This product includes software developed by the University of
15 .\"     California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\"    may be used to endorse or promote products derived from this software
18 .\"    without specific prior written permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" SUCH DAMAGE.
31 .\"
32 .\"     @(#)mailaddr.7  8.1 (Berkeley) 6/16/93
33 .\" $FreeBSD$
34 .\"
35 .Dd June 16, 1993
36 .Dt MAILADDR 7
37 .Os
38 .Sh NAME
39 .Nm mailaddr
40 .Nd mail addressing description
41 .Sh DESCRIPTION
42 Mail addresses are based on the Internet protocol listed at the end of this
43 manual page.
44 These addresses are in the general format
45 .Pp
46 .Dl user@domain
47 .Pp
48 where a domain is a hierarchical dot separated list of subdomains.
49 For
50 example, a valid address is:
51 .Pp
52 .Dl eric@CS.Berkeley.EDU
53 .Pp
54 Unlike some other forms of addressing, domains do not imply any routing.
55 Thus, although this address is specified as an Internet address, it might
56 travel by an alternate route if that were more convenient or efficient.
57 For example, at Berkeley, the associated message would probably go directly
58 to CS over the Ethernet rather than going via the Berkeley Internet
59 gateway.
60 .Ss Abbreviation.
61 Under certain circumstances it may not be necessary to type the entire
62 domain name.
63 In general, anything following the first dot may be omitted
64 if it is the same as the domain from which you are sending the message.
65 For example, a user on ``calder.berkeley.edu'' could send to ``eric@CS''
66 without adding the ``berkeley.edu'' since it is the same on both sending
67 and receiving hosts.
68 .Ss Compatibility.
69 Certain old address formats are converted to the new format to provide
70 compatibility with the previous mail system.
71 In particular,
72 .Pp
73 .Dl user@host
74 .Pp
75 and
76 .Dl user@host.domain
77 .Pp
78 are allowed;
79 .Pp
80 .Dl host.domain!user
81 .Pp
82 is converted to
83 .Pp
84 .Dl user@host.domain
85 .Pp
86 and
87 .Pp
88 .Dl host!user
89 .Pp
90 is converted to
91 .Pp
92 .Dl user@host.UUCP
93 .Pp
94 This is normally converted back to the ``host!user'' form before being sent
95 on for compatibility with older UUCP hosts.
96 .Ss Case Distinctions.
97 Domain names (i.e., anything after the ``@'' sign) may be given in any mixture
98 of upper and lower case with the exception of UUCP hostnames.
99 Most hosts
100 accept any combination of case in user names, with the notable exception of
101 MULTICS sites.
102 .Ss Route-addrs.
103 Under some circumstances it may be necessary to route a message through
104 several hosts to get it to the final destination.
105 Normally this routing
106 is done automatically, but sometimes it is desirable to route the message
107 manually.
108 Addresses which show these relays are termed ``route-addrs.''
109 These use the syntax:
110 .Pp
111 .Dl <@hosta,@hostb:user@hostc>
112 .Pp
113 This specifies that the message should be sent to hosta, from there to hostb,
114 and finally to hostc.
115 This path is forced even if there is a more efficient
116 path to hostc.
117 .Pp
118 Route-addrs occur frequently on return addresses, since these are generally
119 augmented by the software at each host.
120 It is generally possible to ignore
121 all but the ``user@hostc'' part of the address to determine the actual
122 sender.
123 .Pp
124 [Note: the route-addr syntax is officially deprecated
125 in RFC 1123 and should not be used.]
126 .Pp
127 Many sites also support the ``percent hack'' for simplistic routing:
128 .Pp
129 .Dl user%hostc%hostb@hosta
130 .Pp
131 is routed as indicated in the previous example.
132 .Ss Postmaster.
133 Every site is required to have a user or user alias designated ``postmaster''
134 to which problems with the mail system may be addressed.
135 .Ss Other Networks.
136 Some other networks can be reached by giving the name of the network as the
137 last component of the domain.
138 .Em This is not a standard feature
139 and may
140 not be supported at all sites.
141 For example, messages to CSNET or BITNET sites
142 can often be sent to ``user@host.CSNET'' or ``user@host.BITNET'' respectively.
143 .Sh SEE ALSO
144 .Xr mail 1 ,
145 .Xr sendmail 8
146 .Rs
147 .%A Crocker, D. H.
148 .%T Standard for the Format of Arpa Internet Text Messages
149 .%O RFC822
150 .Re
151 .Sh HISTORY
152 .Nm Mailaddr
153 appeared in
154 .Bx 4.2 .
155 .Sh BUGS
156 The RFC822 group syntax (``group:user1,user2,user3;'') is not supported
157 except in the special case of ``group:;'' because of a conflict with old
158 berknet-style addresses.
159 .Pp
160 Route-Address syntax is grotty.
161 .Pp
162 UUCP- and Internet-style addresses do not coexist politely.