Commit | Line | Data |
---|---|---|
984263bc MD |
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: src/share/man/man7/mailaddr.7,v 1.6.2.1 2001/08/17 13:08:49 ru Exp $ | |
cabeba47 | 34 | .\" $DragonFly: src/share/man/man7/mailaddr.7,v 1.5 2007/11/23 23:16:37 swildner Exp $ |
984263bc MD |
35 | .\" |
36 | .Dd June 16, 1993 | |
37 | .Dt MAILADDR 7 | |
38 | .Os | |
39 | .Sh NAME | |
40 | .Nm mailaddr | |
41 | .Nd mail addressing description | |
42 | .Sh DESCRIPTION | |
43 | Mail addresses are based on the Internet protocol listed at the end of this | |
44 | manual page. 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. For | |
49 | example, a valid address is: | |
50 | .Pp | |
51 | .Dl eric@CS.Berkeley.EDU | |
52 | .Pp | |
53 | Unlike some other forms of addressing, domains do not imply any routing. | |
54 | Thus, although this address is specified as an Internet address, it might | |
55 | travel by an alternate route if that were more convenient or efficient. | |
56 | For example, at Berkeley, the associated message would probably go directly | |
57 | to CS over the Ethernet rather than going via the Berkeley Internet | |
58 | gateway. | |
59 | .Ss Abbreviation. | |
60 | Under certain circumstances it may not be necessary to type the entire | |
61 | domain name. In general, anything following the first dot may be omitted | |
62 | if it is the same as the domain from which you are sending the message. | |
63 | For example, a user on ``calder.berkeley.edu'' could send to ``eric@CS'' | |
64 | without adding the ``berkeley.edu'' since it is the same on both sending | |
65 | and receiving hosts. | |
66 | .Ss Compatibility. | |
984263bc MD |
67 | Certain old address formats are converted to the new format to provide |
68 | compatibility with the previous mail system. In particular, | |
69 | .Pp | |
70 | .Dl user@host | |
71 | .Pp | |
72 | and | |
73 | .Dl user@host.domain | |
74 | .Pp | |
75 | are allowed; | |
76 | .Pp | |
77 | .Dl host.domain!user | |
78 | .Pp | |
79 | is converted to | |
80 | .Pp | |
81 | .Dl user@host.domain | |
82 | .Pp | |
83 | and | |
84 | .Pp | |
85 | .Dl host!user | |
86 | .Pp | |
87 | is converted to | |
88 | .Pp | |
89 | .Dl user@host.UUCP | |
90 | .Pp | |
91 | This is normally converted back to the ``host!user'' form before being sent | |
92 | on for compatibility with older UUCP hosts. | |
984263bc | 93 | .Ss Case Distinctions. |
984263bc MD |
94 | Domain names (i.e., anything after the ``@'' sign) may be given in any mixture |
95 | of upper and lower case with the exception of UUCP hostnames. Most hosts | |
96 | accept any combination of case in user names, with the notable exception of | |
97 | MULTICS sites. | |
98 | .Ss Route-addrs. | |
984263bc MD |
99 | Under some circumstances it may be necessary to route a message through |
100 | several hosts to get it to the final destination. Normally this routing | |
101 | is done automatically, but sometimes it is desirable to route the message | |
102 | manually. Addresses which show these relays are termed ``route-addrs.'' | |
103 | These use the syntax: | |
104 | .Pp | |
105 | .Dl <@hosta,@hostb:user@hostc> | |
106 | .Pp | |
107 | This specifies that the message should be sent to hosta, from there to hostb, | |
108 | and finally to hostc. This path is forced even if there is a more efficient | |
109 | path to hostc. | |
110 | .Pp | |
111 | Route-addrs occur frequently on return addresses, since these are generally | |
112 | augmented by the software at each host. It is generally possible to ignore | |
113 | all but the ``user@hostc'' part of the address to determine the actual | |
114 | sender. | |
115 | .Pp | |
116 | [Note: the route-addr syntax is officially deprecated | |
117 | in RFC 1123 and should not be used.] | |
118 | .Pp | |
119 | Many sites also support the ``percent hack'' for simplistic routing: | |
120 | .Pp | |
121 | .Dl user%hostc%hostb@hosta | |
122 | .Pp | |
123 | is routed as indicated in the previous example. | |
124 | .Ss Postmaster. | |
984263bc MD |
125 | Every site is required to have a user or user alias designated ``postmaster'' |
126 | to which problems with the mail system may be addressed. | |
127 | .Ss Other Networks. | |
984263bc MD |
128 | Some other networks can be reached by giving the name of the network as the |
129 | last component of the domain. | |
130 | .Em This is not a standard feature | |
131 | and may | |
132 | not be supported at all sites. For example, messages to CSNET or BITNET sites | |
133 | can often be sent to ``user@host.CSNET'' or ``user@host.BITNET'' respectively. | |
134 | .Sh SEE ALSO | |
135 | .Xr mail 1 , | |
136 | .Xr sendmail 8 | |
137 | .Rs | |
138 | .%A Crocker, D. H. | |
139 | .%T Standard for the Format of Arpa Internet Text Messages | |
cabeba47 | 140 | .%O RFC 822 |
984263bc MD |
141 | .Re |
142 | .Sh HISTORY | |
143 | .Nm Mailaddr | |
144 | appeared in | |
145 | .Bx 4.2 . | |
146 | .Sh BUGS | |
cabeba47 | 147 | The RFC 822 group syntax (``group:user1,user2,user3;'') is not supported |
984263bc MD |
148 | except in the special case of ``group:;'' because of a conflict with old |
149 | berknet-style addresses. | |
150 | .Pp | |
151 | Route-Address syntax is grotty. | |
152 | .Pp | |
153 | UUCP- and Internet-style addresses do not coexist politely. |