xref: /netbsd/share/man/man7/mailaddr.7 (revision bf9ec67e)
1.\"	$NetBSD: mailaddr.7,v 1.10 2001/09/11 01:24:47 wiz Exp $
2.\"
3.\" Copyright (c) 1983, 1987, 1990, 1993
4.\"	The Regents of the University of California.  All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. All advertising materials mentioning features or use of this software
15.\"    must display the following acknowledgement:
16.\"	This product includes software developed by the University of
17.\"	California, Berkeley and its contributors.
18.\" 4. Neither the name of the University nor the names of its contributors
19.\"    may be used to endorse or promote products derived from this software
20.\"    without specific prior written permission.
21.\"
22.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
34.\"     @(#)mailaddr.7	8.1 (Berkeley) 6/16/93
35.\"
36.Dd June 16, 1998
37.Dt MAILADDR 7
38.Os
39.Sh NAME
40.Nm mailaddr
41.Nd mail addressing description
42.Sh DESCRIPTION
43Mail addresses are based on the Internet protocol listed at the end of this
44manual page.  These addresses are in the general format
45.Pp
46.Dl user@domain
47.Pp
48where a domain is a hierarchical dot separated list of subdomains.  For
49example, a valid address is:
50.Pp
51.Dl eric@CS.Berkeley.EDU
52.Pp
53Unlike some other (now obsolete) forms of addressing, domains do not
54imply any routing, or the existance of a particular host. Simply
55because mail may be sent to ``user@somedomain.com'' does not imply
56that there is any actual host named ``somedomain.com'', and does not
57imply a particular routing of the message. Routing is performed by
58Mail Transport Agents, such as
59.Xr sendmail 8 ,
60based on policies set in the MTA's configuration.
61.Ss Abbreviation
62Under certain circumstances it may not be necessary to type the entire
63domain name.  In general, anything following the first dot may be omitted
64if it is the same as the domain from which you are sending the message.
65For example, a user on ``calder.berkeley.edu'' could send to ``eric@CS''
66without adding the ``berkeley.edu'' since it is the same on both sending
67and receiving hosts. Whether abbreviation is permitted depends on how
68your site is configured.
69.Ss Case Distinctions
70Domain names (i.e., anything after the ``@'' sign) may be given in any mixture
71of upper and lower case.  Most hosts
72accept any combination of case in user names, although there are exceptions.
73.Ss Postmaster
74Every site is required to have a user or user alias designated ``postmaster''
75to which problems with the mail system may be addressed, for example:
76.Pp
77.Dl postmaster@CS.Berkeley.EDU
78.Ss Obsolete Formats
79Certain old address formats, such as UUCP ``bang path'' addresses,
80explicitly routed internet addresses (so-called ``route-addrs'' and
81the ``percent hack'') and others have been used historically. All
82these addressing formats are now considered obsolete, and should no
83longer be used.
84.Pp
85To some extent,
86.Xr sendmail 8
87(when running with normal configuration files) attempts to provide
88backward compatibility for these addressing forms, but in practice
89many of them no longer work. Users should always use standard Internet
90style addresses.
91.Sh SEE ALSO
92.Xr mail 1 ,
93.Xr sendmail 8
94.Rs
95.%R RFC
96.%N 822
97.%D August 1982
98.%A D. H. Crocker
99.%T "Standard for the Format of Arpa Internet Text Messages"
100.Re
101.Sh HISTORY
102.Nm
103appeared in
104.Bx 4.2 .
105.Sh BUGS
106The RFC822 group syntax (``group:user1,user2,user3;'') is not supported
107except in the special case of ``group:;'' because of a conflict with old
108berknet-style addresses, not that anyone cares about either berknet or
109group syntax style addresses any longer.
110