Imported upstream version 1.5
[manpages-zh.git] / raw / man7 / mailaddr.7
blob9e03d3ef7c114b2d4691dd4ecd02ee1b06ffb3ca
1 .TH MAILADDR 7 1995-06-24 linux "Linux User's Manual" \" -*- nroff -*-
2 .\"
3 .\" Copyright (c) 1983, 1987 The Regents of the University of California.
4 .\" All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms are permitted
7 .\" provided that the above copyright notice and this paragraph are
8 .\" duplicated in all such forms and that any documentation,
9 .\" advertising materials, and other materials related to such
10 .\" distribution and use acknowledge that the software was developed
11 .\" by the University of California, Berkeley.  The name of the
12 .\" University may not be used to endorse or promote products derived
13 .\" from this software without specific prior written permission.
14 .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 .\"
18 .\"     @(#)mailaddr.7  6.5 (Berkeley) 2/14/89
19 .\"
20 .\" Extensively rewritten by Arnt Gulbrandsen <agulbra@troll.no>.  My
21 .\" changes are placed under the same copyright as the original BSD page.
22 .\"
23 .\" fool hilith19: "
24 .UC 5
25 .SH NAME
26 mailaddr \- mail addressing description
27 .SH DESCRIPTION
28 This manual page gives a brief introduction to SMTP mail addresses, as
29 used on the Internet.  These addresses are in the general format
30 .PP
31         user@domain
32 .PP
33 where a domain is a hierarchical dot separated list of subdomains.  For
34 example, the addresses
35 .PP
36         eric@monet.berkeley.edu
37 .br
38         Eric Allman <eric@monet.berkeley.edu>
39 .br
40         eric@monet.berkeley.edu (Eric Allman)
41 .PP
42 are valid forms of the same address.
43 .PP
44 The domain part (``monet.berkeley.edu'') may be the name of an internet
45 host, or it may be a logical mail address.  The domain part is not
46 case sensitive.
47 .PP
48 The local part (``eric'') is often a user name, but its meaning is
49 defined by the local software.  It can be case sensitive, but usually
50 isn't.  If you see a local-part that looks like garbage, it is usually
51 because of a gateway between an internal e-mail system and the net,
52 here are some examples:
53 .PP
54         "surname/admd=telemail/c=us/o=hp/prmd=hp"@some.where
55         USER%SOMETHING@some.where
56         machine!machine!name@some.where
57         I2461572@some.where
58 .PP
59 (These are, respectively, an X.400 gateway, a gateway to an arbitrary
60 inernal mail system that lacks proper internet support, an UUCP
61 gateway, and the last one is just boring username policy.)
62 .PP
63 The real-name part (``Eric Allman'') can either be placed first, outside
64 <>, or last, inside ().  (Strictly speaking the two aren't the same,
65 but the difference is outside the scope of this page.)  The name may
66 have to be quoted using "" if it contains certain characters, most
67 commonly ``.'':
68 .PP
69         "Eric P. Allman" <eric@monet.berkeley.edu>
70 .SS Abbreviation.
71 .PP
72 Many mail systems let users abbreviate the domain name.  For instance,
73 users at berkeley.edu may get away with ``eric@monet'' to send mail to
74 Eric Allman. \fIThis behavior is deprecated.\fP
75 .SS Route-addrs.
76 .PP
77 Under some circumstances it may be necessary to route a message
78 through several hosts to get it to the final destination.  Normally
79 this happens automatically and invisibly, but sometimes not,
80 particularly with old and broken software.  Addresses which show these
81 relays are termed ``route-addrs.''  These use the syntax:
82 .PP
83         <@hosta,@hostb:user@hostc>
84 .PP
85 This specifies that the message should be sent to hosta, from there to
86 hostb, and finally to hostc.  Some hosts disregard route-addrs and
87 send directly to hostc.
88 .PP
89 Route-addrs occur frequently on return addresses, since these are generally
90 augmented by the software at each host.  It is generally possible to ignore
91 all but the ``user@hostc'' part of the address to determine the actual
92 sender.
93 .SS Postmaster.
94 .PP
95 Every site is required to have a user or user alias designated
96 ``postmaster'' to which problems with the mail system may be
97 addressed.  The ``postmaster'' address is not case sensitive.
98 .SS "FREQUENTLY ASKED QUESTIONS"
99 rtfm.mit.edu and many mirrors store a collection of FAQs.  Please find
100 and use a nearby FAQ archive; there are dozens or hundreds around the
101 world.
102 .I mail/inter-network-guide
103 explains how to send mail between many different networks.
104 .I mail/country-codes
105 lists the top level domains (e.g. ``no'' is Norway and ``ea'' is Eritrea).
106 .I mail/college-email/part*
107 gives some useful tips on how to locate e-mail addresses.
108 .SH FILES
109 .I /etc/aliases
111 .I ~/.forward
112 .SH "SEE ALSO"
113 .BR binmail (1),
114 .BR mail (1),
115 .BR mconnect (1),
116 .BR forward (5),
117 .BR aliases (5),
118 .BR sendmail (8),
119 .BR vrfy (8),
120 RFC822 (Standard for the Format of Arpa Internet Text Messages).