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 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173
|
<pre>Network Working Group E. Allman
Request for Comments: 5617 Sendmail, Inc.
Category: Standards Track J. Fenton
Cisco Systems, Inc.
M. Delany
Yahoo! Inc.
J. Levine
Taughannock Networks
August 2009
DomainKeys Identified Mail (DKIM) Author Domain Signing Practices (ADSP)
Abstract
DomainKeys Identified Mail (DKIM) defines a domain-level
authentication framework for email to permit verification of the
source and contents of messages. This document specifies an adjunct
mechanism to aid in assessing messages that do not contain a DKIM
signature for the domain used in the author's address. It defines a
record that can advertise whether a domain signs its outgoing mail as
well as how other hosts can access that record.
Status of This Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (c) 2009 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents in effect on the date of
publication of this document (<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>).
Please review these documents carefully, as they describe your rights
and restrictions with respect to this document.
<span class="grey">Allman, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-3">3</a>
<a href="#section-2">2</a>. Language and Terminology ........................................<a href="#page-3">3</a>
<a href="#section-2.1">2.1</a>. Terms Imported from the DKIM Signatures Specification ......<a href="#page-3">3</a>
<a href="#section-2.2">2.2</a>. Valid Signature ............................................<a href="#page-4">4</a>
<a href="#section-2.3">2.3</a>. Author Address .............................................<a href="#page-4">4</a>
<a href="#section-2.4">2.4</a>. Author Domain ..............................................<a href="#page-4">4</a>
<a href="#section-2.5">2.5</a>. Alleged Author .............................................<a href="#page-4">4</a>
<a href="#section-2.6">2.6</a>. Author Domain Signing Practices ............................<a href="#page-4">4</a>
<a href="#section-2.7">2.7</a>. Author Domain Signature ....................................<a href="#page-4">4</a>
<a href="#section-3">3</a>. Operation Overview ..............................................<a href="#page-5">5</a>
<a href="#section-3.1">3.1</a>. ADSP Applicability .........................................<a href="#page-5">5</a>
<a href="#section-3.2">3.2</a>. ADSP Usage .................................................<a href="#page-6">6</a>
<a href="#section-3.3">3.3</a>. ADSP Results ...............................................<a href="#page-6">6</a>
<a href="#section-4">4</a>. Detailed Description ............................................<a href="#page-7">7</a>
<a href="#section-4.1">4.1</a>. DNS Representation .........................................<a href="#page-7">7</a>
<a href="#section-4.2">4.2</a>. Publication of ADSP Records ................................<a href="#page-7">7</a>
<a href="#section-4.2.1">4.2.1</a>. Record Syntax .......................................<a href="#page-7">7</a>
<a href="#section-4.3">4.3</a>. ADSP Lookup Procedure ......................................<a href="#page-9">9</a>
<a href="#section-5">5</a>. IANA Considerations ............................................<a href="#page-10">10</a>
<a href="#section-5.1">5.1</a>. ADSP Specification Tag Registry ...........................<a href="#page-10">10</a>
<a href="#section-5.2">5.2</a>. ADSP Outbound Signing Practices Registry ..................<a href="#page-11">11</a>
<a href="#section-5.3">5.3</a>. Authentication-Results Method Registry Update .............<a href="#page-11">11</a>
<a href="#section-5.4">5.4</a>. Authentication-Results Result Registry Update .............<a href="#page-11">11</a>
<a href="#section-6">6</a>. Security Considerations ........................................<a href="#page-13">13</a>
<a href="#section-6.1">6.1</a>. ADSP Threat Model .........................................<a href="#page-14">14</a>
<a href="#section-6.2">6.2</a>. DNS Considerations ........................................<a href="#page-14">14</a>
<a href="#section-6.3">6.3</a>. DNS Wildcards .............................................<a href="#page-15">15</a>
<a href="#section-6.4">6.4</a>. Inappropriate Application of Author Domain Signatures .....<a href="#page-15">15</a>
<a href="#section-7">7</a>. References .....................................................<a href="#page-16">16</a>
<a href="#section-7.1">7.1</a>. Normative References ......................................<a href="#page-16">16</a>
<a href="#section-7.2">7.2</a>. Informative References ....................................<a href="#page-16">16</a>
<a href="#appendix-A">Appendix A</a>. Lookup Examples ......................................<a href="#page-17">17</a>
<a href="#appendix-A.1">A.1</a>. Domain and ADSP Exist .....................................<a href="#page-17">17</a>
<a href="#appendix-A.2">A.2</a>. Domain Exists, ADSP Does Not Exist ........................<a href="#page-17">17</a>
<a href="#appendix-A.3">A.3</a>. Domain Does Not Exist .....................................<a href="#page-17">17</a>
<a href="#appendix-B">Appendix B</a>. Usage Examples .......................................<a href="#page-18">18</a>
<a href="#appendix-B.1">B.1</a>. Single Location Domains ...................................<a href="#page-18">18</a>
<a href="#appendix-B.2">B.2</a>. Bulk Mailing Domains ......................................<a href="#page-18">18</a>
<a href="#appendix-B.3">B.3</a>. Bulk Mailing Domains with Discardable Mail ................<a href="#page-19">19</a>
<a href="#appendix-B.4">B.4</a>. Third-Party Senders .....................................<a href="#page-19">19</a>
<a href="#appendix-B.5">B.5</a>. Domains with Independent Users and Liberal Use Policies ...<a href="#page-19">19</a>
<a href="#appendix-B.6">B.6</a>. Non-Email Domains .......................................<a href="#page-20">20</a>
<a href="#appendix-C">Appendix C</a>. Acknowledgements .....................................<a href="#page-20">20</a>
<span class="grey">Allman, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
DomainKeys Identified Mail (DKIM) defines a mechanism by which email
messages can be cryptographically signed, permitting a signing domain
to claim responsibility for the introduction of a message into the
mail stream. Message recipients can verify the signature by querying
the Signer's domain directly to retrieve the appropriate public key,
and thereby confirm that the message was attested to by a party in
possession of the private key for the signing domain.
However, the legacy of the Internet is such that not all messages
will be signed, and the absence of a signature on a message is not an
a priori indication of forgery. In fact, during early phases of
deployment, it is very likely that most messages will remain
unsigned. However, some domains might decide to sign all of their
outgoing mail, for example, to protect their brand names. It might
be desirable for such domains to be able to advertise that fact to
other hosts. This is the topic of Author Domain Signing Practices
(ADSP).
Hosts implementing this specification can inquire what Author Domain
Signing Practices a domain advertises. This inquiry is called an
Author Domain Signing Practices check.
The basic requirements for ADSP are given in [<a href="./rfc5016" title=""Requirements for a DomainKeys Identified Mail (DKIM) Signing Practices Protocol"">RFC5016</a>]. This
document refers extensively to [<a href="./rfc4871" title=""DomainKeys Identified Mail (DKIM) Signatures"">RFC4871</a>] and assumes the reader is
familiar with it.
Requirements Notation:
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>. Language and Terminology</span>
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. Terms Imported from the DKIM Signatures Specification</span>
Some terminology used herein is derived directly from [<a href="./rfc4871" title=""DomainKeys Identified Mail (DKIM) Signatures"">RFC4871</a>]. In
several cases, references in that document to "Sender" have been
changed to "Author" here, to emphasize the relationship to the Author
address(es) in the From: header field described in [<a href="./rfc5322" title=""Internet Message Format"">RFC5322</a>].
Briefly,
o A "Signer" is the agent that signs a message, as defined in
<a href="./rfc4871#section-2.1">Section 2.1 of [RFC4871]</a>.
<span class="grey">Allman, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
o A "Local-part" is the part of an address preceding the @
character, as defined in [<a href="./rfc5322" title=""Internet Message Format"">RFC5322</a>] and used in [<a href="./rfc4871" title=""DomainKeys Identified Mail (DKIM) Signatures"">RFC4871</a>].
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. Valid Signature</span>
A "Valid Signature" is any signature on a message that correctly
verifies using the procedure described in <a href="./rfc4871#section-6.1">Section 6.1 of [RFC4871]</a>.
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a>. Author Address</span>
An "Author Address" is an email address in the From: header field of
a message [<a href="./rfc5322" title=""Internet Message Format"">RFC5322</a>]. If the From: header field contains multiple
addresses, the message has multiple Author Addresses.
<span class="h3"><a class="selflink" id="section-2.4" href="#section-2.4">2.4</a>. Author Domain</span>
An "Author Domain" is everything to the right of the "@" in an Author
Address (excluding the "@" itself).
<span class="h3"><a class="selflink" id="section-2.5" href="#section-2.5">2.5</a>. Alleged Author</span>
An "Alleged Author" is an Author Address of a message; it is
"alleged" because it has not yet been checked.
<span class="h3"><a class="selflink" id="section-2.6" href="#section-2.6">2.6</a>. Author Domain Signing Practices</span>
"Author Domain Signing Practices" (or just "practices") consist of a
machine-readable record published by the domain of an Alleged Author
that includes statements about the domain's practices with respect to
mail it sends with its domain in the From: line.
<span class="h3"><a class="selflink" id="section-2.7" href="#section-2.7">2.7</a>. Author Domain Signature</span>
An "Author Domain Signature" is a Valid Signature in which the domain
name of the DKIM signing entity, i.e., the d= tag in the DKIM-
Signature header field, is the same as the domain name in the Author
Address. Following [<a href="./rfc5321" title=""Simple Mail Transfer Protocol"">RFC5321</a>], domain name comparisons are case
insensitive.
For example, if the From: line address is bob@domain.example, and the
message has a Valid Signature with the DKIM-Signature header field
containing "d=domain.example", then the message has an Author Domain
Signature.
<span class="grey">Allman, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Operation Overview</span>
Domain owners publish ADSP information via a query mechanism such as
the Domain Name System; specific details are given in <a href="#section-4.1">Section 4.1</a>.
Hosts can look up the ADSP information of the domain(s) specified by
the Author Address(es) as described in <a href="#section-4.3">Section 4.3</a>. If a message has
multiple Author Addresses, the ADSP lookups SHOULD be performed
independently on each address. This document does not address the
process a host might use to combine the lookup results.
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. ADSP Applicability</span>
ADSP as defined in this document is bound to DNS. For this reason,
ADSP is applicable only to Author Domains with appropriate DNS
records (i.e., A, AAAA, and/or MX) indicating the possible use of the
domain for email. The handling of other Author Domains is outside
the scope of this document. However, attackers may use such domain
names in a deliberate attempt to sidestep an organization's ADSP
policy statements. It is up to the ADSP checker implementation to
return an appropriate error result for Author Domains outside the
scope of ADSP.
ADSP applies to specific domains, not domain subtrees. If, for
example, an Author Address were user@domain.example, the Author
Domain would be domain.example, and the applicable ADSP record would
be at _adsp._domainkey.domain.example. An Author Address in a
subdomain such as user@sub.domain.example would have a different ADSP
record at _adsp._domainkey.sub.domain.example. ADSP makes no
connection between a domain and its parent or child domains.
Note: If an organization wants to publish Author Domain Signing
Practices for all the subdomains it uses, such as host names
of servers within the domain, it does so by creating ADSP
records for every _adsp._domainkey.<sub>.domain.example.
Wildcards cannot be used (see <a href="#section-6.3">Section 6.3</a>.); however,
suitable DNS management tools could automate creation of the
ADSP records.
Note: The results from DNS queries that are intended to validate a
domain name unavoidably approximate the set of Author Domains
that can appear in legitimate email. For example, a DNS A
record could belong to a device that does not even have an
email implementation. It is up to the checker to decide what
degree of approximation is acceptable.
<span class="grey">Allman, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. ADSP Usage</span>
Depending on the Author Domain(s) and the signatures in a message, a
recipient gets varying amounts of useful information from each ADSP
lookup.
o If a message has no Valid Signature, the ADSP result is directly
relevant to the message.
o If a message has an Author Domain Signature, ADSP provides no
benefit relative to that domain since the message is already known
to be compliant with any possible ADSP for that domain.
o If a message has a Valid Signature other than an Author Domain
Signature, the receiver can use both the Signature and the ADSP
result in its evaluation of the message.
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. ADSP Results</span>
An ADSP lookup for an Author Address produces one of four possible
results:
o Messages from this domain might or might not have an Author Domain
Signature. This is the default if the domain exists in the DNS
but no ADSP record is found.
o All messages from this domain are signed with an Author Domain
Signature.
o All messages from this domain are signed with an Author Domain
Signature and are discardable, i.e., if a message arrives without
a valid Author Domain Signature, the domain encourages the
recipient(s) to discard it.
o This domain is out of scope, i.e., the domain does not exist in
the DNS.
An ADSP lookup could terminate without producing any result if a DNS
lookup results in a temporary failure.
<span class="grey">Allman, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Detailed Description</span>
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. DNS Representation</span>
ADSP records are published using the DNS TXT resource record type.
The RDATA for ADSP resource records is textual in format, with
specific syntax and semantics relating to their role in describing
ADSP. The "Tag=Value List" syntax described in <a href="./rfc4871#section-3.2">Section 3.2 of
[RFC4871]</a> is used, modified to use whitespace (WSP) rather than
folding whitespace (FWS). Records not in compliance with that syntax
or the syntax of individual tags described in <a href="#section-4.3">Section 4.3</a> MUST be
ignored (considered equivalent to a NODATA result) for purposes of
ADSP, although they MAY cause the logging of warning messages via an
appropriate system logging mechanism. If the RDATA contains multiple
character strings, the strings are logically concatenated with no
delimiters between the strings.
Note: ADSP changes the "Tag=Value List" syntax from [<a href="./rfc4871" title=""DomainKeys Identified Mail (DKIM) Signatures"">RFC4871</a>] to
use WSP rather than FWS in its DNS records.
Domains MUST NOT publish ADSP records with wildcard names. Wildcards
within a domain publishing ADSP records pose a particular problem, as
discussed in more detail in <a href="#section-6.3">Section 6.3</a>.
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Publication of ADSP Records</span>
ADSP is intended to apply to all mail sent using the domain name
string of an Alleged Author.
<span class="h4"><a class="selflink" id="section-4.2.1" href="#section-4.2.1">4.2.1</a>. Record Syntax</span>
ADSP records use the "tag=value" syntax described in <a href="./rfc4871#section-3.2">Section 3.2 of
[RFC4871]</a>, modified to use WSP rather than FWS. Every ADSP record
MUST start with an outbound signing-practices tag, so the first four
characters of the record are lowercase "dkim", followed by optional
whitespace and "=".
Tags used in ADSP records are described below. Unrecognized tags
MUST be ignored. In the ABNF below, the WSP token is imported from
[<a href="./rfc5234" title=""Augmented BNF for Syntax Specifications: ABNF"">RFC5234</a>].
dkim= Outbound Signing Practices for the domain (plain-text;
REQUIRED). Possible values are as follows:
unknown The domain might sign some or all email.
<span class="grey">Allman, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
all All mail from the domain is signed with an Author
Domain Signature.
discardable
All mail from the domain is signed with an
Author Domain Signature. Furthermore, if a
message arrives without a valid Author Domain
Signature due to modification in transit,
submission via a path without access to a
signing key, or any other reason, the domain
encourages the recipient(s) to discard it.
Any other values are treated as "unknown".
ABNF:
; Copyright (c) 2009 IETF Trust and the persons identified as
; authors of the code. All rights reserved.
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; - Redistributions of source code must retain the above copyright
; notice, this list of conditions and the following disclaimer.
; - Redistributions in binary form must reproduce the above copyright
; notice, this list of conditions and the following disclaimer in
; the documentation and/or other materials provided with the
; distribution.
; - Neither the name of Internet Society, IETF or IETF Trust, nor the
; names of specific contributors, may be used to endorse or promote
; products derived from this software without specific prior
; written permission.
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
; 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
; FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
; COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
; INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
; (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
; HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
; OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
; EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<span class="grey">Allman, et al. Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
adsp-dkim-tag = %x64.6b.69.6d *WSP "=" *WSP
("unknown" / "all" / "discardable" /
x-adsp-dkim-tag)
x-adsp-dkim-tag = hyphenated-word ; for future extension
; hyphenated-word is defined in <a href="./rfc4871">RFC 4871</a>
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. ADSP Lookup Procedure</span>
Hosts doing an ADSP lookup MUST produce a result that is semantically
equivalent to applying the following steps in the order listed below.
In practice, these steps can be performed in parallel in order to
improve performance. However, implementations SHOULD avoid doing
unnecessary DNS lookups.
For the purposes of this section, a "valid ADSP record" is one that
is both syntactically and semantically correct; in particular, it
matches the ABNF for a "tag-list" and starts with a valid "dkim" tag.
Check Domain Scope:
An ADSP checker implementation MUST determine whether a given
Author Domain is within the scope for ADSP. Given the background
in <a href="#section-3.1">Section 3.1</a>, the checker MUST decide which degree of
approximation is acceptable. The checker MUST return an
appropriate error result for Author Domains that are outside the
scope of ADSP.
The host MUST perform a DNS query for a record corresponding to
the Author Domain (with no prefix). The type of the query can be
of any type, since this step is only to determine if the domain
itself exists in DNS. This query MAY be done in parallel with the
query to fetch the named ADSP Record. If the result of this query
is that the Author Domain does not exist in the DNS (often called
an NXDOMAIN error, rcode=3 in [<a href="./rfc1035" title=""Domain names - implementation and specification"">RFC1035</a>]), the algorithm MUST
terminate with an error indicating that the domain is out of
scope. Note that a result with rcode=0 but no records (often
called NODATA) is not the same as NXDOMAIN.
NON-NORMATIVE DISCUSSION: Any resource record type could be
used for this query since the existence of a resource record of
any type will prevent an NXDOMAIN error. MX is a reasonable
choice for this purpose because this record type is thought to
be the most common for domains used in email, and will
therefore produce a result that can be more readily cached than
a negative result.
If the domain does exist, the checker MAY make more extensive
checks to verify the existence of the domain, such as the ones
described in <a href="./rfc5321#section-5">Section 5 of [RFC5321]</a>. If those checks indicate
<span class="grey">Allman, et al. Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
that the Author Domain does not exist for mail, e.g., the domain
has no MX, A, or AAAA record, the checker SHOULD terminate with an
error indicating that the domain is out of scope.
Fetch Named ADSP Record:
The host MUST query DNS for a TXT record corresponding to the
Author Domain prefixed by "_adsp._domainkey." (note the trailing
dot).
If the result of this query is a NOERROR response (rcode=0 in
[<a href="./rfc1035" title=""Domain names - implementation and specification"">RFC1035</a>]) with an answer that is a single record that is a valid
ADSP record, use that record, and the algorithm terminates.
If the result of the query is NXDOMAIN or NOERROR with zero
records, there is no ADSP record. If the result of the query
contains more than one record, or a record that is not a valid
ADSP record, the ADSP result is undefined.
If a query results in a "SERVFAIL" error response (rcode=2 in
[<a href="./rfc1035" title=""Domain names - implementation and specification"">RFC1035</a>]), the algorithm terminates without returning a result;
possible actions include queuing the message or returning an SMTP
error indicating a temporary failure.
See <a href="#appendix-A">Appendix A</a> for examples of ADSP lookup.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. IANA Considerations</span>
ADSP adds the following namespaces to the IANA registry. In all
cases, new values are assigned only for values that have been
documented in a published RFC after IETF Review, as specified in
[<a href="./rfc5226" title="">RFC5226</a>].
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. ADSP Specification Tag Registry</span>
An ADSP record provides for a list of specification tags. IANA has
established the ADSP Specification Tag Registry for specification
tags that can be used in ADSP fields.
The initial entry in the registry is:
+------+-----------------+
| TYPE | REFERENCE |
+------+-----------------+
| dkim | (<a href="./rfc5617">RFC 5617</a>) |
+------+-----------------+
ADSP Specification Tag Registry Initial Values
<span class="grey">Allman, et al. Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. ADSP Outbound Signing Practices Registry</span>
The "dkim=" tag specification, defined in <a href="#section-4.2.1">Section 4.2.1</a>, provides for
a value specifying Outbound Signing Practices. IANA has established
the ADSP Outbound Signing Practices Registry for Outbound Signing
Practices.
The initial entries in the registry comprise:
+-------------+-----------------+
| TYPE | REFERENCE |
+-------------+-----------------+
| unknown | (<a href="./rfc5617">RFC 5617</a>) |
| all | (<a href="./rfc5617">RFC 5617</a>) |
| discardable | (<a href="./rfc5617">RFC 5617</a>) |
+-------------+-----------------+
ADSP Outbound Signing Practices Registry Initial Values
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. Authentication-Results Method Registry Update</span>
IANA has added the following to the Email Authentication Method Name
Registry:
Method: dkim-adsp
Defined In: <a href="./rfc5617">RFC 5617</a>
ptype: header
property: from
value: contents of the [<a href="./rfc5322" title=""Internet Message Format"">RFC5322</a>] From: header field, with comments
removed
<span class="h3"><a class="selflink" id="section-5.4" href="#section-5.4">5.4</a>. Authentication-Results Result Registry Update</span>
IANA has added the following in the Email Authentication Result Name
Registry:
Code: none
Existing/New Code: existing
Defined In: [<a href="./rfc5451" title=""Message Header Field for Indicating Message Authentication Status"">RFC5451</a>]
Auth Method: dkim-adsp (added)
<span class="grey">Allman, et al. Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
Meaning: No DKIM Author Domain Signing Practices (ADSP) record was
published.
Code: pass
Existing/New Code: existing
Defined In: [<a href="./rfc5451" title=""Message Header Field for Indicating Message Authentication Status"">RFC5451</a>]
Auth Method: dkim-adsp (added)
Meaning: This message had an Author Domain Signature that was
validated. (An ADSP check is not strictly required to be
performed for this result since a valid Author Domain
Signature satisfies all possible ADSP policies.)
Code: unknown
Existing/New Code: new
Defined In: <a href="./rfc5617">RFC 5617</a>
Auth Method: dkim-adsp
Meaning: No valid Author Domain Signature was found on the message
and the published ADSP was "unknown".
Code: fail
Existing/New Code: existing
Defined In: [<a href="./rfc5451" title=""Message Header Field for Indicating Message Authentication Status"">RFC5451</a>]
Auth Method: dkim-adsp (added)
Meaning: No valid Author Domain Signature was found on the message
and the published ADSP was "all".
Code: discard
Existing/New Code: new
Defined In: <a href="./rfc5617">RFC 5617</a>
Auth Method: dkim-adsp
Meaning: No valid Author Domain Signature was found on the message
and the published ADSP was "discardable".
<span class="grey">Allman, et al. Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
Code: nxdomain
Existing/New Code: new
Defined In: <a href="./rfc5617">RFC 5617</a>
Auth Method: dkim-adsp
Meaning: Evaluating the ADSP for the Author's DNS domain indicated
that the Author's DNS domain does not exist.
Code: temperror
Existing/New Code: existing
Defined In: [<a href="./rfc5451" title=""Message Header Field for Indicating Message Authentication Status"">RFC5451</a>]
Auth Method: dkim-adsp (added)
Meaning: An ADSP record could not be retrieved due to some error
that is likely transient in nature, such as a temporary DNS
error. A later attempt may produce a final result.
Code: permerror
Existing/New Code: existing
Defined In: [<a href="./rfc5451" title=""Message Header Field for Indicating Message Authentication Status"">RFC5451</a>]
Auth Method: dkim-adsp (added)
Meaning: An ADSP record could not be retrieved due to some error
that is likely not transient in nature, such as a permanent
DNS error. A later attempt is unlikely to produce a final
result.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
Security considerations in the ADSP are mostly related to attempts on
the part of malicious senders to represent themselves as Authors for
whom they are not authorized to send mail, often in an attempt to
defraud either the recipient or an Alleged Author.
Additional security considerations regarding Author Domain Signing
Practices are found in the DKIM threat analysis [<a href="./rfc4686" title=""Analysis of Threats Motivating DomainKeys Identified Mail (DKIM)"">RFC4686</a>].
<span class="grey">Allman, et al. Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. ADSP Threat Model</span>
Email recipients often have a core set of content Authors that they
already trust. Common examples include financial institutions with
which they have an existing relationship and Internet web transaction
sites with which they conduct business.
Email abuse often seeks to exploit a legitimate email Author's name-
recognition among recipients by using the Author's domain name in the
From: header field. Especially since many popular Mail User Agents
(MUAs) do not display the Author's email address, there is no
empirical evidence of the extent that this particular unauthorized
use of a domain name contributes to recipient deception or that
eliminating it will have significant effect.
However, closing this potential exploit could facilitate some types
of optimized processing by receive-side message filtering engines,
since it could permit them to maintain higher-confidence assertions
about From: header field uses of a domain when the occurrence is
authorized.
Unauthorized uses of domain names occur elsewhere in messages, as do
unauthorized uses of organizations' names. These attacks are outside
the scope of this specification.
ADSP does not provide any benefit -- nor, indeed, have any effect at
all -- unless an external system acts upon the verdict, either by
treating the message differently during the delivery process or by
showing some indicator to the end recipient. Such a system is out of
scope for this specification.
ADSP checkers may perform multiple DNS lookups per Alleged Author
Domain. Since these lookups are driven by domain names in email
message headers of possibly fraudulent email, legitimate ADSP
checkers can become participants in traffic multiplication attacks on
domains that appear in fraudulent email.
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. DNS Considerations</span>
An attacker might attack the DNS infrastructure in an attempt to
impersonate ADSP records to influence a receiver's decision on how it
will handle mail. However, such an attacker is more likely to attack
at a higher level, e.g., redirecting A or MX record lookups in order
to capture traffic that was legitimately intended for the target
domain. These DNS security issues are addressed by DNSSEC [<a href="./rfc4033" title=""DNS Security Introduction and Requirements"">RFC4033</a>].
<span class="grey">Allman, et al. Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
Because ADSP operates within the framework of the legacy email
system, the default result in the absence of an ADSP record is that
the domain does not sign all of its messages. It is therefore
important that the ADSP clients distinguish a DNS failure such as
"SERVFAIL" from other DNS errors so that appropriate actions can be
taken.
<span class="h3"><a class="selflink" id="section-6.3" href="#section-6.3">6.3</a>. DNS Wildcards</span>
DNS wildcards (described in [<a href="./rfc4592" title=""The Role of Wildcards in the Domain Name System"">RFC4592</a>]) that exist in the DNS
hierarchy at or above the domain being checked interfere with the
ability to verify the scope of the ADSP check described in
<a href="#section-4.3">Section 4.3</a>. For example, a wildcard record for *.domain.example
makes all subdomains such as foo.domain.example exist in the DNS.
Domains that intend to make active use of ADSP by publishing a
practice other than unknown are advised to avoid the use of wildcards
in their hierarchy.
If a domain contains wildcards, then any name that matches the
wildcard can appear to be a valid mail domain eligible for ADSP. But
the "_adsp._domainkey." prefix on ADSP records does not allow
publication of wildcard records that cover ADSP records without also
covering non-ADSP records, nor does it allow publication of wildcard
records that cover non-ADSP records without also covering ADSP
records. A domain that uses ADSP practices other than unknown SHOULD
NOT publish wildcard records.
<span class="h3"><a class="selflink" id="section-6.4" href="#section-6.4">6.4</a>. Inappropriate Application of Author Domain Signatures</span>
In one model of DKIM usage, a domain signs messages that are in
transit through their system. Since any signature whose domain
matches the Author Domain is, by definition, an Author Domain
Signature, it would be unwise to sign mail whose Author Domain is the
Signer's domain if the mail is not known to meet the domain's
standards for an Author Domain Signature.
One such use case is where a domain might apply such a signature
following application of an Authentication-Results header field as
described in <a href="./rfc5451#section-7.1">Section 7.1 of [RFC5451]</a>. This problem can be easily
avoided either by not applying a signature that might be confused
with an Author Domain Signature or by applying a signature from some
other domain, such as a subdomain of the Author Domain.
<span class="grey">Allman, et al. Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. References</span>
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>. Normative References</span>
[<a id="ref-RFC1035">RFC1035</a>] Mockapetris, P., "Domain names - implementation and
specification", STD 13, <a href="./rfc1035">RFC 1035</a>, November 1987.
[<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-RFC4033">RFC4033</a>] Arends, R., Austein, R., Larson, M., Massey, D., and S.
Rose, "DNS Security Introduction and Requirements",
<a href="./rfc4033">RFC 4033</a>, March 2005.
[<a id="ref-RFC4592">RFC4592</a>] Lewis, E., "The Role of Wildcards in the Domain Name
System", <a href="./rfc4592">RFC 4592</a>, July 2006.
[<a id="ref-RFC4871">RFC4871</a>] Allman, E., Callas, J., Delany, M., Libbey, M., Fenton,
J., and M. Thomas, "DomainKeys Identified Mail (DKIM)
Signatures", <a href="./rfc4871">RFC 4871</a>, May 2007.
[<a id="ref-RFC5226">RFC5226</a>] Narten, T. and H. Alvestrand, "Guidelines for Writing an
IANA Considerations Section in RFCs", <a href="https://www.rfc-editor.org/bcp/bcp26">BCP 26</a>, <a href="./rfc5226">RFC 5226</a>,
May 2008.
[<a id="ref-RFC5234">RFC5234</a>] Crocker, D. and P. Overell, "Augmented BNF for Syntax
Specifications: ABNF", STD 68, <a href="./rfc5234">RFC 5234</a>, January 2008.
[<a id="ref-RFC5322">RFC5322</a>] Resnick, P., Ed., "Internet Message Format", <a href="./rfc5322">RFC 5322</a>,
October 2008.
[<a id="ref-RFC5451">RFC5451</a>] Kucherawy, M., "Message Header Field for Indicating
Message Authentication Status", <a href="./rfc5451">RFC 5451</a>, April 2009.
<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>. Informative References</span>
[<a id="ref-RFC4686">RFC4686</a>] Fenton, J., "Analysis of Threats Motivating DomainKeys
Identified Mail (DKIM)", <a href="./rfc4686">RFC 4686</a>, September 2006.
[<a id="ref-RFC5016">RFC5016</a>] Thomas, M., "Requirements for a DomainKeys Identified Mail
(DKIM) Signing Practices Protocol", <a href="./rfc5016">RFC 5016</a>,
October 2007.
[<a id="ref-RFC5321">RFC5321</a>] Klensin, J., "Simple Mail Transfer Protocol", <a href="./rfc5321">RFC 5321</a>,
October 2008.
<span class="grey">Allman, et al. Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. Lookup Examples</span>
Assume the example domain publishes these DNS records (in these
examples, the numbers in parentheses are comments to help identify
the records, not part of the records themselves):
aaa.example A 192.0.2.1 (1)
_adsp._domainkey.aaa.example TXT "dkim=all" (2)
bbb.example MX 10 mail.bbb.example (3)
mail.bbb.example A 192.0.2.2 (4)
<span class="h3"><a class="selflink" id="appendix-A.1" href="#appendix-A.1">A.1</a>. Domain and ADSP Exist</span>
A mail message contains this From: header line:
From: bob@aaa.example (Bob the Author)
The ADSP lookup first identifies the Author Address bob@aaa.example
and the Author Domain aaa.example. It does an MX DNS query for
aaa.example and gets back a NOERROR result with no DNS records.
(There's no MX record, but since record (1) exists, the name exists
in the DNS.) Since that query didn't return an error, the lookup
proceeds to a TXT DNS query for _adsp._domainkey.aaa.example, which
returns record (2). Since this is a valid ADSP record, the result is
that all messages from this domain are signed.
<span class="h3"><a class="selflink" id="appendix-A.2" href="#appendix-A.2">A.2</a>. Domain Exists, ADSP Does Not Exist</span>
A mail message contains this From: header line:
From: alice@bbb.example (Old-fashioned Alice)
The ADSP lookup first identifies the Author Address alice@bbb.example
and the Author Domain bbb.example. It does an MX DNS query for
bbb.example and gets back record (3). Since that query didn't return
an error, it then proceeds to a TXT DNS query for
_adsp._domainkey.bbb.example, which returns NXDOMAIN. Since the
domain exists but there is no ADSP record, ADSP returns the default
unknown result: messages may or may not have an author domain
signature.
<span class="h3"><a class="selflink" id="appendix-A.3" href="#appendix-A.3">A.3</a>. Domain Does Not Exist</span>
A mail message contains this From: header line:
From: frank@ccc.example (Unreliable Frank)
<span class="grey">Allman, et al. Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
The ADSP lookup first identifies the Author Address frank@ccc.example
and the Author Domain ccc.example. It does an MX DNS query for
ccc.example and gets back an NXDOMAIN result since there are no
records at all for ccc.example. The lookup terminates with the
result that the domain does not exist in the DNS and so is out of
scope.
<span class="h2"><a class="selflink" id="appendix-B" href="#appendix-B">Appendix B</a>. Usage Examples</span>
These examples are intended to illustrate typical uses of ADSP. They
are not intended to be exhaustive or to apply to every domain's or
mail system's individual situation.
Domain managers are advised to consider the ways that mail processing
can modify messages in ways that will invalidate an existing DKIM
signature, such as mailing lists, courtesy forwarders, and other
paths that could add or modify headers, or modify the message body.
If the modifications invalidate the DKIM signature, recipient hosts
will consider the mail not to have an Author Domain Signature, even
though the signature was present when the mail was originally sent.
<span class="h3"><a class="selflink" id="appendix-B.1" href="#appendix-B.1">B.1</a>. Single Location Domains</span>
One common mail system configuration handles all of a domain's users'
incoming and outgoing mail through a single Mail Transport Agent
(MTA) or group of MTAs. With this configuration, the MTA(s) can be
configured to sign outgoing mail with an Author Domain Signature.
In this situation, it might be appropriate to publish an ADSP record
for the domain containing "all", depending on whether the users also
send mail through other paths that do not apply an Author Domain
Signature. Such paths could include MTAs at hotels or hotspot
networks used by travelling users, web sites that provide "mail an
article" features, user messages sent through mailing lists, or
third-party mail clients that support multiple user identities.
<span class="h3"><a class="selflink" id="appendix-B.2" href="#appendix-B.2">B.2</a>. Bulk Mailing Domains</span>
Another common configuration uses a domain solely for bulk or
broadcast mail, with no individual human users -- again, typically
sending all the mail through a single MTA or group of MTAs that can
apply an Author Domain Signature. In this case, the domain's
management can be confident that all of its outgoing mail will be
sent through the signing MTA(s). Lacking individual users, the
domain is unlikely to participate in mailing lists, but could still
send mail through other paths that might invalidate signatures.
<span class="grey">Allman, et al. Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
Domain owners often use specialist mailing providers to send their
bulk mail. In this case, the mailing provider needs access to a
suitable signing key in order to apply an Author Domain Signature.
One possible route would be for the domain owner to generate the key
and give it to the mailing provider. Another would be for the domain
to delegate a subdomain to the mailing provider, for example,
bigbank.example might delegate email.bigbank.example to such a
provider; in this case, the provider can generate the keys and DKIM
DNS records itself and use the subdomain in the Author Address in the
mail.
Regardless of the DNS and key management strategy chosen, whoever
maintains the DKIM records for the domain could also install an ADSP
record containing "all".
<span class="h3"><a class="selflink" id="appendix-B.3" href="#appendix-B.3">B.3</a>. Bulk Mailing Domains with Discardable Mail</span>
In some cases, a domain might sign all of its outgoing mail with an
Author Domain Signature and prefer that recipient systems discard
mail without a valid Author Domain Signature in order to avoid having
its mail confused with mail sent from sources that do not apply an
Author Domain Signature. (In the case of domains with tightly
controlled outgoing mail, this latter kind of mail is sometimes
loosely called "forgeries".) In such cases, it might be appropriate
to publish an ADSP record containing "discardable". Note that a
domain SHOULD NOT publish a "discardable" record if it wishes to
maximize the likelihood that mail from the domain is delivered, since
it could cause some fraction of the mail the domain sends to be
discarded.
<span class="h3"><a class="selflink" id="appendix-B.4" href="#appendix-B.4">B.4</a>. Third-Party Senders</span>
Another common use case is for a third party to enter into an
agreement whereby that third party will send bulk or other mail on
behalf of a designated Author or Author Domain, using that domain in
the [<a href="./rfc5322" title=""Internet Message Format"">RFC5322</a>] From: or other headers. Due to the many and varied
complexities of such agreements, third-party signing is not addressed
in this specification.
<span class="h3"><a class="selflink" id="appendix-B.5" href="#appendix-B.5">B.5</a>. Domains with Independent Users and Liberal Use Policies</span>
When a domain has independent users and its usage policy does not
explicitly restrict them to sending mail only from designated mail
servers (e.g., many ISP domains and even some corporate domains),
then it is only appropriate to publish an ADSP record containing
"unknown". Publishing either "all" or "discardable" will likely
result in significant breakage because independent users are likely
to send mail from the external paths enumerated in <a href="#appendix-B.1">Appendix B.1</a>.
<span class="grey">Allman, et al. Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
<span class="h3"><a class="selflink" id="appendix-B.6" href="#appendix-B.6">B.6</a>. Non-Email Domains</span>
If a domain sends no mail at all, it can safely publish a
"discardable" ADSP record, since any mail with an Author Address in
the domain is a forgery.
<span class="h2"><a class="selflink" id="appendix-C" href="#appendix-C">Appendix C</a>. Acknowledgements</span>
This document greatly benefited from comments by Steve Atkins, Jon
Callas, Dave Crocker, Pasi Eronen, JD Falk, Arvel Hathcock, Ellen
Siegel, Michael Thomas, and Wietse Venema.
<span class="grey">Allman, et al. Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc5617">RFC 5617</a> ADSP August 2009</span>
Authors' Addresses
Eric Allman
Sendmail, Inc.
6475 Christie Ave, Suite 350
Emeryville, CA 94608
Phone: +1 510 594 5501
EMail: eric+dkim@sendmail.org
Jim Fenton
Cisco Systems, Inc.
170 W. Tasman Drive
San Jose, CA 95134-1706
Phone: +1 408 526 5914
EMail: fenton@cisco.com
Mark Delany
Yahoo! Inc.
701 First Avenue
Sunnyvale, CA 94089
Phone: +1 408 349 6831
EMail: markd+dkim@yahoo-inc.com
John Levine
Taughannock Networks
PO Box 727
Trumansburg, NY 14886
Phone: +1 831 480 2300
EMail: standards@taugh.com
URI: <a href="http://www.taugh.com">http://www.taugh.com</a>
Allman, et al. Standards Track [Page 21]
</pre>
|