1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
|
<pre>Network Working Group J. Lyon
Request for Comments: 4407 Microsoft Corp.
Category: Experimental April 2006
<span class="h1">Purported Responsible Address in E-Mail Messages</span>
Status of This Memo
This memo defines an Experimental Protocol for the Internet
community. It does not specify an Internet standard of any kind.
Discussion and suggestions for improvement are requested.
Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2006).
IESG Note
The following documents (<a href="./rfc4405">RFC 4405</a>, <a href="./rfc4406">RFC 4406</a>, <a href="./rfc4407">RFC 4407</a>, and <a href="./rfc4408">RFC 4408</a>)
are published simultaneously as Experimental RFCs, although there is
no general technical consensus and efforts to reconcile the two
approaches have failed. As such, these documents have not received
full IETF review and are published "AS-IS" to document the different
approaches as they were considered in the MARID working group.
The IESG takes no position about which approach is to be preferred
and cautions the reader that there are serious open issues for each
approach and concerns about using them in tandem. The IESG believes
that documenting the different approaches does less harm than not
documenting them.
Note that the Sender ID experiment may use DNS records that may have
been created for the current SPF experiment or earlier versions in
this set of experiments. Depending on the content of the record,
this may mean that Sender-ID heuristics would be applied incorrectly
to a message. Depending on the actions associated by the recipient
with those heuristics, the message may not be delivered or may be
discarded on receipt.
Participants relying on Sender ID experiment DNS records are warned
that they may lose valid messages in this set of circumstances.
Participants publishing SPF experiment DNS records should consider
the advice given in <a href="./rfc4406#section-3.4">section 3.4 of RFC 4406</a> and may wish to publish
both v=spf1 and spf2.0 records to avoid the conflict.
<span class="grey">Lyon Experimental [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc4407">RFC 4407</a> Purported Responsible Address April 2006</span>
Participants in the Sender-ID experiment need to be aware that the
way Resent-* header fields are used will result in failure to receive
legitimate email when interacting with standards-compliant systems
(specifically automatic forwarders which comply with the standards by
not adding Resent-* headers, and systems which comply with <a href="./rfc822">RFC 822</a>
but have not yet implemented <a href="./rfc2822">RFC 2822</a> Resent-* semantics). It would
be inappropriate to advance Sender-ID on the standards track without
resolving this interoperability problem.
The community is invited to observe the success or failure of the two
approaches during the two years following publication, in order that
a community consensus can be reached in the future.
Abstract
This document defines an algorithm by which, given an e-mail message,
one can extract the identity of the party that appears to have most
proximately caused that message to be delivered. This identity is
called the Purported Responsible Address (PRA).
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
<a href="#section-1.1">1.1</a>. Conventions Used in This Document ..........................<a href="#page-3">3</a>
<a href="#section-2">2</a>. Determining the Purported Responsible Address ...................<a href="#page-3">3</a>
<a href="#section-3">3</a>. Security Considerations .........................................<a href="#page-5">5</a>
<a href="#section-4">4</a>. Acknowledgements ................................................<a href="#page-5">5</a>
<a href="#section-5">5</a>. References ......................................................<a href="#page-5">5</a>
<a href="#section-5.1">5.1</a>. Normative References .......................................<a href="#page-5">5</a>
<a href="#section-5.2">5.2</a>. Informative References .....................................<a href="#page-5">5</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
Most e-mail flows relatively directly from a sender to a recipient,
with a small number of Mail Transfer Agents (MTAs) in between. Some
messages, however, are resent by forwarding agents, mailing list
servers, and other such software. These messages effectively result
in two or more mail transactions: one from the sender to the
forwarding agent, and another from the agent to the destination.
In some cases, messages travel through more than one of these agents.
This can occur, for example, when one mailing list is subscribed to
another, or when the address subscribed to a mailing list is a
forwarding service.
Further complicating the situation, in some cases the party that
introduces a message is not the author of the message. For example,
many news web sites have a "Mail this article" function that the
<span class="grey">Lyon Experimental [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc4407">RFC 4407</a> Purported Responsible Address April 2006</span>
public can use to e-mail a copy of the article to a friend. In this
case, the mail is "from" the person who pressed the button, but is
physically sent by the operator of the web site.
This document defines a new identity associated with an e-mail
message, called the Purported Responsible Address (PRA), which is
determined by inspecting the header of the message. The PRA is
designed to be the entity that (according to the header) most
recently caused the message to be delivered.
Note that the results of this algorithm are only as truthful as the
headers contained in the message; if a message contains fraudulent or
incorrect headers, this algorithm will yield an incorrect result.
For this reason, the result of the algorithm is called the "Purported
Responsible Address" -- "purported" because it tells you what a
message claims about where it came from, but not necessarily where it
actually came from.
This document does not prescribe any particular uses for the
Purported Responsible Address. However, [<a href="./rfc4406" title=""Sender ID: Authenticating E-Mail"">RFC4406</a>] describes a method
of determining whether a particular MTA is authorized to send mail on
behalf of the domain contained in the PRA.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Conventions Used in This Document</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Determining the Purported Responsible Address</span>
The PRA of a message is determined by the following algorithm:
1. Select the first non-empty Resent-Sender header in the message.
If no such header is found, continue with step 2. If it is
preceded by a non-empty Resent-From header and one or more
Received or Return-Path headers occur after said Resent-From
header and before the Resent-Sender header, continue with step 2.
Otherwise, proceed to step 5.
2. Select the first non-empty Resent-From header in the message. If
a Resent-From header is found, proceed to step 5. Otherwise,
continue with step 3.
3. Select all the non-empty Sender headers in the message. If there
are no such headers, continue with step 4. If there is exactly
one such header, proceed to step 5. If there is more than one
such header, proceed to step 6.
<span class="grey">Lyon Experimental [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc4407">RFC 4407</a> Purported Responsible Address April 2006</span>
4. Select all the non-empty From headers in the message. If there is
exactly one such header, continue with step 5. Otherwise, proceed
to step 6.
5. A previous step has selected a single header from the message. If
that header is malformed (e.g., it appears to contain multiple
mailboxes, or the single mailbox is hopelessly malformed, or the
single mailbox does not contain a domain name), continue with step
6. Otherwise, return that single mailbox as the Purported
Responsible Address.
6. The message is ill-formed, and it is impossible to determine a
Purported Responsible Address.
For the purposes of this algorithm, a header field is "non-empty" if
and only if it contains any non-whitespace characters. Header fields
that are otherwise relevant but contain only whitespace are ignored
and treated as if they were not present.
Note that steps 1 and 2 above extract the Resent-Sender or Resent-
From header from the first resent block (as defined by <a href="./rfc2822#section-3.6.6">section 3.6.6
of [RFC2822]</a>) if any. Steps 3 and 4 above extract the Sender or From
header if there are no resent blocks.
Note that what constitutes a hopelessly malformed header or a
hopelessly malformed mailbox in step 5 above is a matter for local
policy. Such local policy will never cause two implementations to
return different PRAs. However, it may cause one implementation to
return a PRA where another implementation does not. This will occur
only when dealing with a message containing headers of questionable
legality.
Although the algorithm specifies how messages that are not in strict
conformance with the provisions of <a href="./rfc2822">RFC 2822</a> should be treated for the
purposes of determining the PRA, this should not be taken as
requiring or recommending that any systems accept such messages when
they otherwise would not have done so. However, if a liberal
implementation accepts such messages and desires to know their PRAs,
it MUST use the algorithm specified here.
Where messages conform to <a href="./rfc822">RFC 822</a> rather than <a href="./rfc2822">RFC 2822</a>, it is
possible for the algorithm to give unexpected results. An <a href="./rfc822">RFC822</a>
message should not normally contain more than one set of resent
headers; however, the placement of those headers is not specified,
nor are they required to be contiguous. It is therefore possible
that the Resent-From header will be selected even though a Resent-
Sender header is present. Such cases are expected to be rare or
non-existent in practice.
<span class="grey">Lyon Experimental [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc4407">RFC 4407</a> Purported Responsible Address April 2006</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Security Considerations</span>
The PRA, as described by this document, is extracted from message
headers that have historically not been verified. Thus, anyone using
the PRA for any purpose MUST be aware that the headers from which it
is derived might be fraudulent, malicious, malformed, and/or
incorrect. [<a href="./rfc4406" title=""Sender ID: Authenticating E-Mail"">RFC4406</a>] describes one mechanism for validating the PRA.
A message's PRA will often be extracted from a header field that is
not normally displayed by existing mail user agent software. If the
PRA is used as part of a mechanism to authenticate the message's
origin, the message SHOULD NOT be displayed with an indication of its
authenticity (positive or negative) without the PRA header field also
being displayed.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Acknowledgements</span>
The PRA concept was first published in [<a href="#ref-CallerID" title="Caller ID for E-Mail Technical Specification">CallerID</a>]. It has been
refined using valuable suggestions from members of the MARID working
group.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. References</span>
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-RFC2822">RFC2822</a>] Resnick, P., "Internet Message Format", <a href="./rfc2822">RFC 2822</a>, April
2001.
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Informative References</span>
[<a id="ref-CallerID">CallerID</a>] Microsoft Corporation, Caller ID for E-Mail Technical
Specification,
<a href="http://www.microsoft.com/mscorp/safety/technologies/senderid/resources.mspx">http://www.microsoft.com/mscorp/safety/technologies/</a>
<a href="http://www.microsoft.com/mscorp/safety/technologies/senderid/resources.mspx">senderid/resources.mspx</a>
[<a id="ref-RFC4406">RFC4406</a>] Lyon, J. and M. Wong, "Sender ID: Authenticating E-Mail",
<a href="./rfc4406">RFC 4406</a>, April 2006.
<span class="grey">Lyon Experimental [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc4407">RFC 4407</a> Purported Responsible Address April 2006</span>
Author's Address
Jim Lyon
Microsoft Corporation
One Microsoft Way
Redmond, WA 98052
USA
EMail: jimlyon@microsoft.com
<span class="grey">Lyon Experimental [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc4407">RFC 4407</a> Purported Responsible Address April 2006</span>
Full Copyright Statement
Copyright (C) The Internet Society (2006).
This document is subject to the rights, licenses and restrictions
contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
<a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is provided by the IETF
Administrative Support Activity (IASA).
Lyon Experimental [Page 7]
</pre>
|