xref: /netbsd-src/share/man/man7/mailaddr.7 (revision 1d7a94623f99c9e3518d84df1a0cd6ded8639589)
1*1d7a9462Sjruoho.\"	$NetBSD: mailaddr.7,v 1.14 2010/03/01 16:52:41 jruoho Exp $
2294d9cc7Sjtc.\"
3294d9cc7Sjtc.\" Copyright (c) 1983, 1987, 1990, 1993
4294d9cc7Sjtc.\"	The Regents of the University of California.  All rights reserved.
561f28255Scgd.\"
661f28255Scgd.\" Redistribution and use in source and binary forms, with or without
761f28255Scgd.\" modification, are permitted provided that the following conditions
861f28255Scgd.\" are met:
961f28255Scgd.\" 1. Redistributions of source code must retain the above copyright
1061f28255Scgd.\"    notice, this list of conditions and the following disclaimer.
1161f28255Scgd.\" 2. Redistributions in binary form must reproduce the above copyright
1261f28255Scgd.\"    notice, this list of conditions and the following disclaimer in the
1361f28255Scgd.\"    documentation and/or other materials provided with the distribution.
14075022b3Sagc.\" 3. Neither the name of the University nor the names of its contributors
1561f28255Scgd.\"    may be used to endorse or promote products derived from this software
1661f28255Scgd.\"    without specific prior written permission.
1761f28255Scgd.\"
1861f28255Scgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1961f28255Scgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2061f28255Scgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2161f28255Scgd.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2261f28255Scgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2361f28255Scgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2461f28255Scgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2561f28255Scgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2661f28255Scgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2761f28255Scgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2861f28255Scgd.\" SUCH DAMAGE.
2961f28255Scgd.\"
30294d9cc7Sjtc.\"     @(#)mailaddr.7	8.1 (Berkeley) 6/16/93
3161f28255Scgd.\"
32b0c0bd53Sperry.Dd June 16, 1998
3361f28255Scgd.Dt MAILADDR 7
345b40cb57Sgarbled.Os
3561f28255Scgd.Sh NAME
3661f28255Scgd.Nm mailaddr
3761f28255Scgd.Nd mail addressing description
3861f28255Scgd.Sh DESCRIPTION
39294d9cc7SjtcMail addresses are based on the Internet protocol listed at the end of this
40b0158152Swizmanual page.
41b0158152SwizThese addresses are in the general format
4261f28255Scgd.Pp
4361f28255Scgd.Dl user@domain
4461f28255Scgd.Pp
45b0158152Swizwhere a domain is a hierarchical dot separated list of subdomains.
46b0158152SwizFor example, a valid address is:
4761f28255Scgd.Pp
48294d9cc7Sjtc.Dl eric@CS.Berkeley.EDU
4961f28255Scgd.Pp
50b0c0bd53SperryUnlike some other (now obsolete) forms of addressing, domains do not
51b0158152Swizimply any routing, or the existence of a particular host.
52b0158152SwizSimply because mail may be sent to ``user@somedomain.com'' does not imply
53b0c0bd53Sperrythat there is any actual host named ``somedomain.com'', and does not
54b0158152Swizimply a particular routing of the message.
55b0158152SwizRouting is performed by Mail Transport Agents, such as
56*1d7a9462Sjruoho.Xr postfix 1 ,
57b0c0bd53Sperrybased on policies set in the MTA's configuration.
5863b5c68cSwiz.Ss Abbreviation
5961f28255ScgdUnder certain circumstances it may not be necessary to type the entire
60b0158152Swizdomain name.
61b0158152SwizIn general, anything following the first dot may be omitted
6261f28255Scgdif it is the same as the domain from which you are sending the message.
63294d9cc7SjtcFor example, a user on ``calder.berkeley.edu'' could send to ``eric@CS''
6461f28255Scgdwithout adding the ``berkeley.edu'' since it is the same on both sending
65b0158152Swizand receiving hosts.
66b0158152SwizWhether abbreviation is permitted depends on how your site is configured.
6763b5c68cSwiz.Ss Case Distinctions
6861f28255ScgdDomain names (i.e., anything after the ``@'' sign) may be given in any mixture
69b0158152Swizof upper and lower case.
70b0158152SwizMost hosts accept any combination of case in user names, although there
71b0158152Swizare exceptions.
7263b5c68cSwiz.Ss Postmaster
7361f28255ScgdEvery site is required to have a user or user alias designated ``postmaster''
74b0c0bd53Sperryto which problems with the mail system may be addressed, for example:
7561f28255Scgd.Pp
76b0c0bd53Sperry.Dl postmaster@CS.Berkeley.EDU
7763b5c68cSwiz.Ss Obsolete Formats
78b0c0bd53SperryCertain old address formats, such as UUCP ``bang path'' addresses,
79b0c0bd53Sperryexplicitly routed internet addresses (so-called ``route-addrs'' and
80b0158152Swizthe ``percent hack'') and others have been used historically.
81b0158152SwizAll these addressing formats are now considered obsolete, and should no
82b0c0bd53Sperrylonger be used.
83b0c0bd53Sperry.Pp
84*1d7a9462SjruohoTo some extent, MTAs attempt to provide backward compatibility
85*1d7a9462Sjruohofor these addressing forms, but in practice many of them no longer work.
86b0158152SwizUsers should always use standard Internet style addresses.
8761f28255Scgd.Sh SEE ALSO
88*1d7a9462Sjruoho.Xr mail 1
8963b5c68cSwiz.Rs
9063b5c68cSwiz.%R RFC
9163b5c68cSwiz.%N 822
9263b5c68cSwiz.%D August 1982
9363b5c68cSwiz.%A D. H. Crocker
9463b5c68cSwiz.%T "Standard for the Format of Arpa Internet Text Messages"
9563b5c68cSwiz.Re
9661f28255Scgd.Sh HISTORY
973709ba50Senami.Nm
9834a98169Sperryappeared in
9934a98169Sperry.Bx 4.2 .
10061f28255Scgd.Sh BUGS
10161f28255ScgdThe RFC 822 group syntax (``group:user1,user2,user3;'') is not supported
10261f28255Scgdexcept in the special case of ``group:;'' because of a conflict with old
103b0c0bd53Sperryberknet-style addresses, not that anyone cares about either berknet or
104b0c0bd53Sperrygroup syntax style addresses any longer.
105