xref: /netbsd-src/share/man/man7/mailaddr.7 (revision 8e6ab8837d8d6b9198e67c1c445300b483e2f304)
1.\"	$NetBSD: mailaddr.7,v 1.11 2003/01/04 00:46:03 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.
45These addresses are in the general format
46.Pp
47.Dl user@domain
48.Pp
49where a domain is a hierarchical dot separated list of subdomains.
50For example, a valid address is:
51.Pp
52.Dl eric@CS.Berkeley.EDU
53.Pp
54Unlike some other (now obsolete) forms of addressing, domains do not
55imply any routing, or the existence of a particular host.
56Simply because mail may be sent to ``user@somedomain.com'' does not imply
57that there is any actual host named ``somedomain.com'', and does not
58imply a particular routing of the message.
59Routing is performed by Mail Transport Agents, such as
60.Xr sendmail 8 ,
61based on policies set in the MTA's configuration.
62.Ss Abbreviation
63Under certain circumstances it may not be necessary to type the entire
64domain name.
65In general, anything following the first dot may be omitted
66if it is the same as the domain from which you are sending the message.
67For example, a user on ``calder.berkeley.edu'' could send to ``eric@CS''
68without adding the ``berkeley.edu'' since it is the same on both sending
69and receiving hosts.
70Whether abbreviation is permitted depends on how your site is configured.
71.Ss Case Distinctions
72Domain names (i.e., anything after the ``@'' sign) may be given in any mixture
73of upper and lower case.
74Most hosts accept any combination of case in user names, although there
75are exceptions.
76.Ss Postmaster
77Every site is required to have a user or user alias designated ``postmaster''
78to which problems with the mail system may be addressed, for example:
79.Pp
80.Dl postmaster@CS.Berkeley.EDU
81.Ss Obsolete Formats
82Certain old address formats, such as UUCP ``bang path'' addresses,
83explicitly routed internet addresses (so-called ``route-addrs'' and
84the ``percent hack'') and others have been used historically.
85All these addressing formats are now considered obsolete, and should no
86longer be used.
87.Pp
88To some extent,
89.Xr sendmail 8
90(when running with normal configuration files) attempts to provide
91backward compatibility for these addressing forms, but in practice
92many of them no longer work.
93Users should always use standard Internet style addresses.
94.Sh SEE ALSO
95.Xr mail 1 ,
96.Xr sendmail 8
97.Rs
98.%R RFC
99.%N 822
100.%D August 1982
101.%A D. H. Crocker
102.%T "Standard for the Format of Arpa Internet Text Messages"
103.Re
104.Sh HISTORY
105.Nm
106appeared in
107.Bx 4.2 .
108.Sh BUGS
109The RFC822 group syntax (``group:user1,user2,user3;'') is not supported
110except in the special case of ``group:;'' because of a conflict with old
111berknet-style addresses, not that anyone cares about either berknet or
112group syntax style addresses any longer.
113