man-pages/man7/mailaddr.7.html
2021-03-31 01:06:50 +01:00

182 lines
5.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of MAILADDR</TITLE>
</HEAD><BODY>
<H1>MAILADDR</H1>
Section: Linux User's Manual (7)<BR>Updated: 2017-05-03<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
mailaddr - mail addressing description
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
This manual page gives a brief introduction to SMTP mail addresses,
as used on the Internet.
These addresses are in the general format
<P>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><A HREF="mailto:user@domain">user@domain</A><BR>
<P>
where a domain is a hierarchical dot-separated list of subdomains.
These examples are valid forms of the same address:
<P>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><A HREF="mailto:john.doe@monet.example.com">john.doe@monet.example.com</A><BR>
<BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT>John Doe &lt;<A HREF="mailto:john.doe@monet.example.com">john.doe@monet.example.com</A>&gt;<BR>
<BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><A HREF="mailto:john.doe@monet.example.com">john.doe@monet.example.com</A> (John Doe)<BR>
<P>
The domain part (&quot;monet.example.com&quot;) is a mail-accepting domain.
It can be a host and in the past it usually was, but it doesn't have to be.
The domain part is not case sensitive.
<P>
The local part (&quot;john.doe&quot;) is often a username,
but its meaning is defined by the local software.
Sometimes it is case sensitive,
although that is unusual.
If you see a local-part that looks like garbage,
it is usually because of a gateway between an internal e-mail
system and the net, here are some examples:
<P>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT>&quot;surname/admd=telemail/c=us/o=hp/prmd=hp&quot;@some.where<BR>
<BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><A HREF="mailto:USER%SOMETHING@some.where">USER%SOMETHING@some.where</A><BR>
<BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT>machine!machine!<A HREF="mailto:name@some.where">name@some.where</A><BR>
<BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><A HREF="mailto:I2461572@some.where">I2461572@some.where</A><BR>
<P>
(These are, respectively, an X.400 gateway, a gateway to an arbitrary
internal mail system that lacks proper internet support, an UUCP
gateway, and the last one is just boring username policy.)
<P>
The real-name part (&quot;John Doe&quot;) can either be placed before
&lt;&gt;, or in () at the end.
(Strictly speaking the two aren't the same,
but the difference is beyond the scope of this page.)
The name may have to be quoted using &quot;&quot;, for example, if it contains &quot;.&quot;:
<P>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT>&quot;John Q. Doe&quot; &lt;<A HREF="mailto:john.doe@monet.example.com">john.doe@monet.example.com</A>&gt;<BR>
<A NAME="lbAD">&nbsp;</A>
<H3>Abbreviation</H3>
<P>
Some mail systems let users abbreviate the domain name.
For instance,
users at example.com may get away with &quot;<A HREF="mailto:john.doe@monet">john.doe@monet</A>&quot; to
send mail to John Doe.
<I>This behavior is deprecated.</I>
Sometimes it works, but you should not depend on it.
<A NAME="lbAE">&nbsp;</A>
<H3>Route-addrs</H3>
<P>
In the past, sometimes one had to route a message through
several hosts to get it to its final destination.
Addresses which show these relays are termed &quot;route-addrs&quot;.
These use the syntax:
<P>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT>&lt;@hosta,@hostb:<A HREF="mailto:user@hostc">user@hostc</A>&gt;<BR>
<P>
This specifies that the message should be sent to hosta,
from there to hostb, and finally to hostc.
Many hosts disregard route-addrs and send directly to hostc.
<P>
Route-addrs are very unusual now.
They occur sometimes in old mail archives.
It is generally possible to ignore all but the &quot;<A HREF="mailto:user@hostc">user@hostc</A>&quot;
part of the address to determine the actual address.
<A NAME="lbAF">&nbsp;</A>
<H3>Postmaster</H3>
<P>
Every site is required to have a user or user alias designated
&quot;postmaster&quot; to which problems with the mail system may be
addressed.
The &quot;postmaster&quot; address is not case sensitive.
<A NAME="lbAG">&nbsp;</A>
<H2>FILES</H2>
<I>/etc/aliases</I>
<BR>
<I>~/.forward</I>
<A NAME="lbAH">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+mail">mail</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?5+aliases">aliases</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?5+forward">forward</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?8+sendmail">sendmail</A></B>(8)
<P>
IETF RFC&nbsp;5322
<A NAME="lbAI">&nbsp;</A>
<H2>COLOPHON</H2>
This page is part of release 5.05 of the Linux
<I>man-pages</I>
project.
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at
<A HREF="https://www.kernel.org/doc/man-pages/.">https://www.kernel.org/doc/man-pages/.</A>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DL>
<DT id="3"><A HREF="#lbAD">Abbreviation</A><DD>
<DT id="4"><A HREF="#lbAE">Route-addrs</A><DD>
<DT id="5"><A HREF="#lbAF">Postmaster</A><DD>
</DL>
<DT id="6"><A HREF="#lbAG">FILES</A><DD>
<DT id="7"><A HREF="#lbAH">SEE ALSO</A><DD>
<DT id="8"><A HREF="#lbAI">COLOPHON</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:09 GMT, March 31, 2021
</BODY>
</HTML>