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 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965
|
<pre>Internet Engineering Task Force (IETF) M. Kucherawy
Request for Comments: 7601 August 2015
Obsoletes: <a href="./rfc7001">7001</a>, <a href="./rfc7410">7410</a>
Category: Standards Track
ISSN: 2070-1721
<span class="h1">Message Header Field for Indicating Message Authentication Status</span>
Abstract
This document specifies a message header field called Authentication-
Results for use with electronic mail messages to indicate the results
of message authentication efforts. Any receiver-side software, such
as mail filters or Mail User Agents (MUAs), can use this header field
to relay that information in a convenient and meaningful way to users
or to make sorting and filtering decisions.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc7601">http://www.rfc-editor.org/info/rfc7601</a>.
Copyright Notice
Copyright (c) 2015 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
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
<span class="grey">Kucherawy Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-1.1">1.1</a>. Purpose . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-1.2">1.2</a>. Trust Boundary . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-1.3">1.3</a>. Processing Scope . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-1.4">1.4</a>. Requirements . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-1.5">1.5</a>. Definitions . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-1.5.1">1.5.1</a>. Key Words . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-1.5.2">1.5.2</a>. Security . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-1.5.3">1.5.3</a>. Email Architecture . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-1.5.4">1.5.4</a>. Other Terms . . . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-1.6">1.6</a>. Trust Environment . . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-2">2</a>. Definition and Format of the Header Field . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-2.1">2.1</a>. General Description . . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-2.2">2.2</a>. Formal Definition . . . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-2.3">2.3</a>. Property Types (ptypes) and Properties . . . . . . . . . <a href="#page-12">12</a>
<a href="#section-2.4">2.4</a>. The "policy" ptype . . . . . . . . . . . . . . . . . . . <a href="#page-13">13</a>
<a href="#section-2.5">2.5</a>. Authentication Identifier Field . . . . . . . . . . . . . <a href="#page-14">14</a>
<a href="#section-2.6">2.6</a>. Version Tokens . . . . . . . . . . . . . . . . . . . . . <a href="#page-15">15</a>
<a href="#section-2.7">2.7</a>. Defined Methods and Result Values . . . . . . . . . . . . <a href="#page-15">15</a>
<a href="#section-2.7.1">2.7.1</a>. DKIM and DomainKeys . . . . . . . . . . . . . . . . . <a href="#page-16">16</a>
<a href="#section-2.7.2">2.7.2</a>. SPF and Sender ID . . . . . . . . . . . . . . . . . . <a href="#page-18">18</a>
<a href="#section-2.7.3">2.7.3</a>. "iprev" . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-19">19</a>
<a href="#section-2.7.4">2.7.4</a>. SMTP AUTH . . . . . . . . . . . . . . . . . . . . . . <a href="#page-20">20</a>
<a href="#section-2.7.5">2.7.5</a>. Other Registered Codes . . . . . . . . . . . . . . . <a href="#page-21">21</a>
<a href="#section-2.7.6">2.7.6</a>. Extension Methods . . . . . . . . . . . . . . . . . . <a href="#page-21">21</a>
<a href="#section-2.7.7">2.7.7</a>. Extension Result Codes . . . . . . . . . . . . . . . <a href="#page-22">22</a>
<a href="#section-3">3</a>. The "iprev" Authentication Method . . . . . . . . . . . . . . <a href="#page-22">22</a>
<a href="#section-4">4</a>. Adding the Header Field to a Message . . . . . . . . . . . . <a href="#page-23">23</a>
<a href="#section-4.1">4.1</a>. Header Field Position and Interpretation . . . . . . . . <a href="#page-25">25</a>
<a href="#section-4.2">4.2</a>. Local Policy Enforcement . . . . . . . . . . . . . . . . <a href="#page-26">26</a>
<a href="#section-5">5</a>. Removing Existing Header Fields . . . . . . . . . . . . . . . <a href="#page-26">26</a>
<a href="#section-6">6</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-27">27</a>
<a href="#section-6.1">6.1</a>. The Authentication-Results Header Field . . . . . . . . . <a href="#page-27">27</a>
<a href="#section-6.2">6.2</a>. "Email Authentication Methods" Registry Description . . . <a href="#page-28">28</a>
<a href="#section-6.3">6.3</a>. "Email Authentication Methods" Registry Update . . . . . <a href="#page-29">29</a>
<a href="#section-6.4">6.4</a>. "Email Authentication Property Types" Registry . . . . . <a href="#page-30">30</a>
<a href="#section-6.5">6.5</a>. "Email Authentication Result Names" Description . . . . . <a href="#page-31">31</a>
<a href="#section-6.6">6.6</a>. "Email Authentication Result Names" Update . . . . . . . <a href="#page-32">32</a>
<a href="#section-6.7">6.7</a>. SMTP Enhanced Status Codes . . . . . . . . . . . . . . . <a href="#page-33">33</a>
<a href="#section-7">7</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-33">33</a>
<a href="#section-7.1">7.1</a>. Forged Header Fields . . . . . . . . . . . . . . . . . . <a href="#page-33">33</a>
<a href="#section-7.2">7.2</a>. Misleading Results . . . . . . . . . . . . . . . . . . . <a href="#page-35">35</a>
<a href="#section-7.3">7.3</a>. Header Field Position . . . . . . . . . . . . . . . . . . <a href="#page-35">35</a>
<a href="#section-7.4">7.4</a>. Reverse IP Query Denial-of-Service Attacks . . . . . . . <a href="#page-35">35</a>
<a href="#section-7.5">7.5</a>. Mitigation of Backscatter . . . . . . . . . . . . . . . . <a href="#page-36">36</a>
<a href="#section-7.6">7.6</a>. Internal MTA Lists . . . . . . . . . . . . . . . . . . . <a href="#page-36">36</a>
<span class="grey">Kucherawy Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
<a href="#section-7.7">7.7</a>. Attacks against Authentication Methods . . . . . . . . . <a href="#page-36">36</a>
<a href="#section-7.8">7.8</a>. Intentionally Malformed Header Fields . . . . . . . . . . <a href="#page-36">36</a>
<a href="#section-7.9">7.9</a>. Compromised Internal Hosts . . . . . . . . . . . . . . . <a href="#page-36">36</a>
<a href="#section-7.10">7.10</a>. Encapsulated Instances . . . . . . . . . . . . . . . . . <a href="#page-37">37</a>
<a href="#section-7.11">7.11</a>. Reverse Mapping . . . . . . . . . . . . . . . . . . . . . <a href="#page-37">37</a>
<a href="#section-8">8</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-37">37</a>
<a href="#section-8.1">8.1</a>. Normative References . . . . . . . . . . . . . . . . . . <a href="#page-37">37</a>
<a href="#section-8.2">8.2</a>. Informative References . . . . . . . . . . . . . . . . . <a href="#page-38">38</a>
<a href="#appendix-A">Appendix A</a>. Legacy MUAs . . . . . . . . . . . . . . . . . . . . <a href="#page-42">42</a>
<a href="#appendix-B">Appendix B</a>. Authentication-Results Examples . . . . . . . . . . <a href="#page-42">42</a>
<a href="#appendix-B.1">B.1</a>. Trivial Case; Header Field Not Present . . . . . . . . . <a href="#page-42">42</a>
B.2. Nearly Trivial Case; Service Provided, but No
Authentication Done . . . . . . . . . . . . . . . . . . . <a href="#page-43">43</a>
<a href="#appendix-B.3">B.3</a>. Service Provided, Authentication Done . . . . . . . . . . <a href="#page-44">44</a>
B.4. Service Provided, Several Authentications Done, Single
MTA . . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-45">45</a>
B.5. Service Provided, Several Authentications Done, Different
MTAs . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-46">46</a>
<a href="#appendix-B.6">B.6</a>. Service Provided, Multi-tiered Authentication Done . . . <a href="#page-48">48</a>
<a href="#appendix-B.7">B.7</a>. Comment-Heavy Example . . . . . . . . . . . . . . . . . . <a href="#page-49">49</a>
<a href="#appendix-C">Appendix C</a>. Operational Considerations about Message
Authentication . . . . . . . . . . . . . . . . . . . <a href="#page-50">50</a>
<a href="#appendix-D">Appendix D</a>. Changes since <a href="./rfc7001">RFC 7001</a> . . . . . . . . . . . . . . . <a href="#page-51">51</a>
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-53">53</a>
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-53">53</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document describes a header field called Authentication-Results
for electronic mail messages that presents the results of a message
authentication effort in a machine-readable format. The intent of
the header field is to create a place to collect such data when
message authentication mechanisms are in use so that a Mail User
Agent (MUA) and downstream filters can make filtering decisions and/
or provide a recommendation to the user as to the validity of the
message's origin and possibly the safety and integrity of its
content.
This document revises the original definition found in [<a href="./rfc5451" title=""Message Header Field for Indicating Message Authentication Status"">RFC5451</a>]
based upon various authentication protocols in current use and
incorporates errata logged since the publication of the original
specification.
End users are not expected to be direct consumers of this header
field. This header field is intended for consumption by programs
that will then use such data or render it in a human-usable form.
<span class="grey">Kucherawy Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
This document specifies the format of this header field and discusses
the implications of its presence or absence. However, it does not
discuss how the data contained in the header field ought to be used,
such as what filtering decisions are appropriate or how an MUA might
render those results, as these are local policy and/or user interface
design questions that are not appropriate for this document.
At the time of publication of this document, the following are
published email authentication methods:
o Author Domain Signing Practices ([<a href="#ref-ADSP" title=""DomainKeys Identified Mail (DKIM) Author Domain Signing Practices (ADSP)"">ADSP</a>]) (Historic)
o SMTP Service Extension for Authentication ([<a href="#ref-AUTH" title=""SMTP Service Extension for Authentication"">AUTH</a>])
o DomainKeys Identified Mail Signatures ([<a href="#ref-DKIM" title=""DomainKeys Identified Mail (DKIM) Signatures"">DKIM</a>])
o Domain-based Message Authentication, Reporting and Conformance
([<a href="#ref-DMARC" title=""Domain-based Message Authentication, Reporting, and Conformance (DMARC)"">DMARC</a>])
o Sender Policy Framework ([<a href="#ref-SPF" title=""Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1"">SPF</a>])
o reverse IP address name validation ("iprev", defined in <a href="#section-3">Section 3</a>)
o Require-Recipient-Valid-Since Header Field and SMTP Service
Extension ([<a href="#ref-RRVS" title=""The Require-Recipient-Valid- Since Header Field and SMTP Service Extension"">RRVS</a>])
o S/MIME Signature Verification ([<a href="#ref-SMIME-REG">SMIME-REG</a>])
o Vouch By Reference ([<a href="#ref-VBR" title=""Vouch By Reference"">VBR</a>])
o DomainKeys ([<a href="#ref-DOMAINKEYS">DOMAINKEYS</a>]) (Historic)
o Sender ID ([<a href="#ref-SENDERID" title=""Sender ID: Authenticating E-Mail"">SENDERID</a>]) (Experimental)
There exist registries for tokens used within this header field that
refer to the specifications listed above. <a href="#section-6">Section 6</a> describes the
registries and their contents and specifies the process by which
entries are added or updated. It also updates the existing contents
to match the current states of these specifications.
This specification is not intended to be restricted to domain-based
authentication schemes, but the existing schemes in that family have
proven to be a good starting point for implementations. The goal is
to give current and future authentication schemes a common framework
within which to deliver their results to downstream agents and
discourage the creation of unique header fields for each.
<span class="grey">Kucherawy Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
Although SPF defined a header field called "Received-SPF" and the
historic DomainKeys defined one called "DomainKey-Status" for this
purpose, those header fields are specific to the conveyance of their
respective results only and thus are insufficient to satisfy the
requirements enumerated below. In addition, many SPF implementations
have adopted the header field specified here at least as an option,
and DomainKeys has been obsoleted by DKIM.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Purpose</span>
The header field defined in this document is expected to serve
several purposes:
1. Convey the results of various message authentication checks,
which are applied by upstream filters and Mail Transfer Agents
(MTAs) and then passed to MUAs and downstream filters within the
same "trust domain". Such agents might wish to render those
results to end users or to use those data to apply more or less
stringent content checks based on authentication results;
2. Provide a common location within a message for this data;
3. Create an extensible framework for reporting new authentication
methods as they emerge.
In particular, the mere presence of this header field does not mean
its contents are valid. Rather, the header field is reporting
assertions made by one or more authentication schemes (supposedly)
applied somewhere upstream. For an MUA or downstream filter to treat
the assertions as actually valid, there must be an assessment of the
trust relationship among such agents, the validating MTA, and the
mechanism for conveying the information.
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>. Trust Boundary</span>
This document makes several references to the "trust boundary" of an
administrative management domain (ADMD). Given the diversity among
existing mail environments, a precise definition of this term isn't
possible.
Simply put, a transfer from the producer of the header field to the
consumer must occur within a context that permits the consumer to
treat assertions by the producer as being reliable and accurate
(trustworthy). How this trust is obtained is outside the scope of
this document. It is entirely a local matter.
<span class="grey">Kucherawy Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
Thus, this document defines a "trust boundary" as the delineation
between "external" and "internal" entities. Services that are
internal -- within the trust boundary -- are provided by the ADMD's
infrastructure for its users. Those that are external are outside of
the authority of the ADMD. By this definition, hosts that are within
a trust boundary are subject to the ADMD's authority and policies,
independent of their physical placement or their physical operation.
For example, a host within a trust boundary might actually be
operated by a remote service provider and reside physically within
its data center.
It is possible for a message to be evaluated inside a trust boundary
but then depart and re-enter the trust boundary. An example might be
a forwarded message such as a message/rfc822 attachment (see
Multipurpose Internet Mail Extensions [<a href="#ref-MIME" title=""Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies"">MIME</a>]) or one that is part of
a multipart/digest. The details reported by this field cannot be
trusted in that case. Thus, this field found within one of those
media types is typically ignored.
<span class="h3"><a class="selflink" id="section-1.3" href="#section-1.3">1.3</a>. Processing Scope</span>
The content of this header field is meant to convey to message
consumers that authentication work on the message was already done
within its trust boundary, and those results are being presented. It
is not intended to provide message parameters to consumers so that
they can perform authentication protocols on their own.
<span class="h3"><a class="selflink" id="section-1.4" href="#section-1.4">1.4</a>. Requirements</span>
This document establishes no new requirements on existing protocols
or servers.
In particular, this document establishes no requirement on MTAs to
reject or filter arriving messages that do not pass authentication
checks. The data conveyed by the specified header field's contents
are for the information of MUAs and filters and are to be used at
their discretion.
<span class="h3"><a class="selflink" id="section-1.5" href="#section-1.5">1.5</a>. Definitions</span>
This section defines various terms used throughout this document.
<span class="h4"><a class="selflink" id="section-1.5.1" href="#section-1.5.1">1.5.1</a>. Key Words</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="#ref-KEYWORDS" title=""Key words for use in RFCs to Indicate Requirement Levels"">KEYWORDS</a>].
<span class="grey">Kucherawy Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
<span class="h4"><a class="selflink" id="section-1.5.2" href="#section-1.5.2">1.5.2</a>. Security</span>
"Guidelines for Writing RFC Text on Security Considerations"
([<a href="#ref-SECURITY" title=""Guidelines for Writing RFC Text on Security Considerations"">SECURITY</a>]) discusses authentication and authorization and the
conflation of the two concepts. The use of those terms within the
context of recent message security work has given rise to slightly
different definitions, and this document reflects those current
usages, as follows:
o "Authorization" is the establishment of permission to use a
resource or represent an identity. In this context, authorization
indicates that a message from a particular ADMD arrived via a
route the ADMD has explicitly approved.
o "Authentication" is the assertion of validity of a piece of data
about a message (such as the sender's identity) or the message in
its entirety.
As examples: SPF and Sender ID are authorization mechanisms in that
they express a result that shows whether or not the ADMD that
apparently sent the message has explicitly authorized the connecting
Simple Mail Transfer Protocol ([<a href="#ref-SMTP" title=""Simple Mail Transfer Protocol"">SMTP</a>]) client to relay messages on
its behalf, but they do not actually validate any other property of
the message itself. By contrast, DKIM is agnostic as to the routing
of a message but uses cryptographic signatures to authenticate
agents, assign (some) responsibility for the message (which implies
authorization), and ensure that the listed portions of the message
were not modified in transit. Since the signatures are not tied to
SMTP connections, they can be added by either the ADMD of origin,
intermediate ADMDs (such as a mailing list server), other handling
agents, or any combination.
Rather than create a separate header field for each class of
solution, this proposal groups them both into a single header field.
<span class="h4"><a class="selflink" id="section-1.5.3" href="#section-1.5.3">1.5.3</a>. Email Architecture</span>
o A "border MTA" is an MTA that acts as a gateway between the
general Internet and the users within an organizational boundary.
(See also <a href="#section-1.2">Section 1.2</a>.)
o A "delivery MTA" (or Mail Delivery Agent or MDA) is an MTA that
actually enacts delivery of a message to a user's inbox or other
final delivery.
o An "intermediate MTA" is any MTA that is not a delivery MTA and is
also not the first MTA to handle the message.
<span class="grey">Kucherawy Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
The following diagram illustrates the flow of mail among these
defined components. See Internet Mail Architecture [<a href="#ref-EMAIL-ARCH">EMAIL-ARCH</a>] for
further discussion on general email system architecture, which
includes detailed descriptions of these components, and <a href="#appendix-C">Appendix C</a> of
this document for discussion about the common aspects of email
authentication in current environments.
+-----+ +-----+ +------------+
| MUA |-->| MSA |-->| Border MTA |
+-----+ +-----+ +------------+
|
|
V
+----------+
| Internet |
+----------+
|
|
V
+-----+ +-----+ +------------------+ +------------+
| MUA |<--| MDA |<--| Intermediate MTA |<--| Border MTA |
+-----+ +-----+ +------------------+ +------------+
Generally, it is assumed that the work of applying message
authentication schemes takes place at a border MTA or a delivery MTA.
This specification is written with that assumption in mind. However,
there are some sites at which the entire mail infrastructure consists
of a single host. In such cases, such terms as "border MTA" and
"delivery MTA" might well apply to the same machine or even the very
same agent. It is also possible that some message authentication
tests could take place on an intermediate MTA. Although this
document doesn't specifically describe such cases, they are not meant
to be excluded.
<span class="h4"><a class="selflink" id="section-1.5.4" href="#section-1.5.4">1.5.4</a>. Other Terms</span>
In this document, the term "producer" refers to any component that
adds this header field to messages it is handling, and "consumer"
refers to any component that identifies, extracts, and parses the
header field to use as part of a handling decision.
<span class="h3"><a class="selflink" id="section-1.6" href="#section-1.6">1.6</a>. Trust Environment</span>
This header field permits one or more message validation mechanisms
to communicate output to one or more separate assessment mechanisms.
These mechanisms operate within a unified trust boundary that defines
an Administrative Management Domain (ADMD). An ADMD contains one or
more entities that perform validation and generate the header field
<span class="grey">Kucherawy Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
and one or more that consume it for some type of assessment. The
field often contains no integrity or validation mechanism of its own,
so its presence must be trusted implicitly. Hence, valid use of the
header field requires removing any occurrences of it that are present
when the message enters the ADMD. This ensures that later
occurrences have been added within the trust boundary of the ADMD.
The authserv-id token defined in <a href="#section-2.2">Section 2.2</a> can be used to reference
an entire ADMD or a specific validation engine within an ADMD.
Although the labeling scheme is left as an operational choice, some
guidance for selecting a token is provided in later sections of this
document.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Definition and Format of the Header Field</span>
This section gives a general overview of the format of the header
field being defined and then provides more formal specification.
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. General Description</span>
The header field specified here is called Authentication-Results. It
is a Structured Header Field as defined in Internet Message Format
([<a href="#ref-MAIL" title=""Internet Message Format"">MAIL</a>]), and thus all of the related definitions in that document
apply.
This header field is added at the top of the message as it transits
MTAs that do authentication checks, so some idea of how far away the
checks were done can be inferred. It is therefore considered to be a
trace field as defined in [<a href="#ref-MAIL" title=""Internet Message Format"">MAIL</a>], and thus all of the related
definitions in that document apply.
The value of the header field (after removing comments) consists of
an authentication identifier, an optional version, and then a series
of statements and supporting data. The statements are of the form
"method=result" and indicate which authentication method(s) were
applied and their respective results. For each such statement, the
supporting data can include a "reason" string and one or more
"property=value" statements indicating which message properties were
evaluated to reach that conclusion.
The header field can appear more than once in a single message, more
than one result can be represented in a single header field, or a
combination of these can be applied.
<span class="grey">Kucherawy Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. Formal Definition</span>
Formally, the header field is specified as follows using Augmented
Backus-Naur Form ([<a href="#ref-ABNF" title=""Augmented BNF for Syntax Specifications: ABNF"">ABNF</a>]):
authres-header = "Authentication-Results:" [CFWS] authserv-id
[ CFWS authres-version ]
( no-result / 1*resinfo ) [CFWS] CRLF
authserv-id = value
; see below for a description of this element
authres-version = 1*DIGIT [CFWS]
; indicates which version of this specification is in use;
; this specification is version "1", and the absence of a
; version implies this version of the specification
no-result = [CFWS] ";" [CFWS] "none"
; the special case of "none" is used to indicate that no
; message authentication was performed
resinfo = [CFWS] ";" methodspec [ CFWS reasonspec ]
*( CFWS propspec )
methodspec = [CFWS] method [CFWS] "=" [CFWS] result
; indicates which authentication method was evaluated
; and what its output was
reasonspec = "reason" [CFWS] "=" [CFWS] value
; a free-form comment on the reason the given result
; was returned
propspec = ptype [CFWS] "." [CFWS] property [CFWS] "=" pvalue
; an indication of which properties of the message
; were evaluated by the authentication scheme being
; applied to yield the reported result
method = Keyword [ [CFWS] "/" [CFWS] method-version ]
; a method indicates which method's result is
; represented by "result", and is one of the methods
; explicitly defined as valid in this document
; or is an extension method as defined below
method-version = 1*DIGIT [CFWS]
; indicates which version of the method specification is
; in use, corresponding to the matching entry in the IANA
; "Email Authentication Methods" registry; a value of "1"
; is assumed if this version string is absent
<span class="grey">Kucherawy Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
result = Keyword
; indicates the results of the attempt to authenticate
; the message; see below for details
ptype = Keyword
; indicates whether the property being evaluated was
; a parameter to an [<a href="#ref-SMTP" title=""Simple Mail Transfer Protocol"">SMTP</a>] command, was a value taken
; from a message header field, was some property of
; the message body, or was some other property evaluated by
; the receiving MTA; expected to be one of the "property
; types" explicitly defined as valid, or an extension
; ptype, as defined below
property = special-smtp-verb / Keyword
; indicates more specifically than "ptype" what the
; source of the evaluated property is; the exact meaning
; is specific to the method whose result is being reported
; and is defined more clearly below
special-smtp-verb = "mailfrom" / "rcptto"
; special cases of [<a href="#ref-SMTP" title=""Simple Mail Transfer Protocol"">SMTP</a>] commands that are made up
; of multiple words
pvalue = [CFWS] ( value / [ [ local-part ] "@" ] domain-name )
[CFWS]
; the value extracted from the message property defined
; by the "ptype.property" construction
"local-part" is defined in Section 3.4.1 of [<a href="#ref-MAIL" title=""Internet Message Format"">MAIL</a>], and "CFWS" is
defined in Section 3.2.2 of [<a href="#ref-MAIL" title=""Internet Message Format"">MAIL</a>].
"Keyword" is defined in Section 4.1.2 of [<a href="#ref-SMTP" title=""Simple Mail Transfer Protocol"">SMTP</a>].
The "value" is as defined in Section 5.1 of [<a href="#ref-MIME" title=""Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies"">MIME</a>].
The "domain-name" is as defined in Section 3.5 of [<a href="#ref-DKIM" title=""DomainKeys Identified Mail (DKIM) Signatures"">DKIM</a>].
The "Keyword" used in "result" above is further constrained by the
necessity of being enumerated in <a href="#section-2.7">Section 2.7</a>.
See <a href="#section-2.5">Section 2.5</a> for a description of the authserv-id element.
If the value portion of a "pvalue" construction identifies something
intended to be an email identity, then it MUST use the right hand
portion of that ABNF definition.
The list of commands eligible for use with the "smtp" ptype can be
found in Section 4.1 of [<a href="#ref-SMTP" title=""Simple Mail Transfer Protocol"">SMTP</a>].
<span class="grey">Kucherawy Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
The "propspec" may be omitted if, for example, the method was unable
to extract any properties to do its evaluation yet has a result to
report.
Where an SMTP command name is being reported as a "property", the
agent generating the header field represents that command by
converting it to lowercase and dropping any spaces (e.g., "MAIL FROM"
becomes "mailfrom", "RCPT TO" becomes "rcptto", etc.).
A "ptype" value of "policy" indicates a policy decision about the
message not specific to a property of the message that could be
extracted. See <a href="#section-2.4">Section 2.4</a> for details.
Examples of complete messages using this header field can be found in
<a href="#appendix-B">Appendix B</a>.
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a>. Property Types (ptypes) and Properties</span>
The "ptype" in the ABNF above indicates the general type of property
being described by the result being reported, upon which the reported
result was based. Coupled with the "property", which is more
specific, they indicate from which particular part of the message the
reported data were extracted.
Combinations of ptypes and properties are registered and described in
the "Email Authentication Methods" registry, coupled with the
authentication methods with which they are used. This is further
described in <a href="#section-6">Section 6</a>.
Legal values of "ptype" are as defined in the IANA "Email
Authentication Property Types" registry, created by [<a href="./rfc7410" title=""A Property Types Registry for the Authentication-Results Header Field"">RFC7410</a>]. The
initial values and what they typically indicate are as follows, based
on [<a href="./rfc7001" title=""Message Header Field for Indicating Message Authentication Status"">RFC7001</a>]:
body: Information that was extracted from the body of the message.
This might be an arbitrary string of bytes, a hash of a string of
bytes, a Uniform Resource Identifier, or some other content of
interest. The "property" is an indication of where within the
message body the extracted content was found, and can indicate an
offset, identify a MIME part, etc.
header: Indicates information that was extracted from the header of
the message. This might be the value of a header field or some
portion of a header field. The "property" gives a more precise
indication of the place in the header from which the extraction
took place.
<span class="grey">Kucherawy Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
policy: A local policy mechanism was applied that augments or
overrides the result returned by the authentication mechanism.
(See <a href="#section-2.4">Section 2.4</a>.)
smtp: Indicates information that was extracted from an SMTP command
that was used to relay the message. The "property" indicates
which SMTP command included the extracted content as a parameter.
Results reported using unknown ptypes MUST NOT be used in making
handling decisions. They can be safely ignored by consumers.
Entries in the "Email Authentication Methods" registry can define
properties that deviate from these definitions when appropriate.
Such deviations need to be clear in the registry and/or in the
defining document. See <a href="#section-2.7.1">Section 2.7.1</a> for an example.
<span class="h3"><a class="selflink" id="section-2.4" href="#section-2.4">2.4</a>. The "policy" ptype</span>
A special ptype value of "policy" is also defined. This ptype is
provided to indicate that some local policy mechanism was applied
that augments or even replaces (i.e., overrides) the result returned
by the authentication mechanism. The property and value in this case
identify the local policy that was applied and the result it
returned.
For example, a DKIM signature is not required to include the Subject
header field in the set of fields that are signed. An ADMD receiving
such a message might decide that such a signature is unacceptable,
even if it passes, because the content of the Subject header field
could be altered post-signing without invalidating the signature.
Such an ADMD could replace the DKIM "pass" result with a "policy"
result and then also include the following in the corresponding
Authentication-Result field:
... dkim=fail policy.dkim-rules=unsigned-subject ...
In this case, the property is "dkim-rules", indicating some local
check by that name took place and that check returned a result of
"unsigned-subject". These are arbitrary names selected by (and
presumably used within) the ADMD making use of them, so they are not
normally registered with IANA or otherwise specified apart from
setting syntax restrictions that allow for easy parsing within the
rest of the header field.
This ptype existed in the original specification for this header
field, but without a complete description or example of intended use.
<span class="grey">Kucherawy Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
As a result, it has not seen any practical use to date that matches
its intended purpose. These added details are provided to guide
implementers toward proper use.
<span class="h3"><a class="selflink" id="section-2.5" href="#section-2.5">2.5</a>. Authentication Identifier Field</span>
Every Authentication-Results header field has an authentication
service identifier field (authserv-id above). Specifically, this is
any string intended to identify the authentication service within the
ADMD that conducted authentication checks on the message. This
identifier is intended to be machine-readable and not necessarily
meaningful to users.
Since agents consuming this field will use this identifier to
determine whether its contents are of interest (and are safe to use),
the uniqueness of the identifier MUST be guaranteed by the ADMD that
generates it and MUST pertain to that ADMD. MUAs or downstream
filters SHOULD use this identifier to determine whether or not the
data contained in an Authentication-Results header field ought to be
used or ignored.
For simplicity and scalability, the authentication service identifier
SHOULD be a common token used throughout the ADMD. Common practice
is to use the DNS domain name used by or within that ADMD, sometimes
called the "organizational domain", but this is not strictly
necessary.
For tracing and debugging purposes, the authentication identifier can
instead be the specific hostname of the MTA performing the
authentication check whose result is being reported. Moreover, some
implementations define a substructure to the identifier; these are
outside of the scope of this specification.
Note, however, that using a local, relative identifier like a flat
hostname, rather than a hierarchical and globally unique ADMD
identifier like a DNS domain name, makes configuration more difficult
for large sites. The hierarchical identifier permits aggregating
related, trusted systems together under a single, parent identifier,
which in turn permits assessing the trust relationship with a single
reference. The alternative is a flat namespace requiring
individually listing each trusted system. Since consumers will use
the identifier to determine whether to use the contents of the header
field:
o Changes to the identifier impose a large, centralized
administrative burden.
<span class="grey">Kucherawy Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
o Ongoing administrative changes require constantly updating this
centralized table, making it difficult to ensure that an MUA or
downstream filter will have access to accurate information for
assessing the usability of the header field's content. In
particular, consumers of the header field will need to know not
only the current identifier(s) in use but previous ones as well to
account for delivery latency or later re-assessment of the header
field's contents.
Examples of valid authentication identifiers are "example.com",
"mail.example.org", "ms1.newyork.example.com", and "example-auth".
<span class="h3"><a class="selflink" id="section-2.6" href="#section-2.6">2.6</a>. Version Tokens</span>
The grammar above provides for the optional inclusion of versions on
both the header field itself (attached to the authserv-id token) and
on each of the methods being reported. The method version refers to
the method itself, which is specified in the documents describing
those methods, while the authserv-id version refers to this document
and thus the syntax of this header field.
The purpose of including these is to avoid misinterpretation of the
results. That is, if a parser finds a version after an authserv-id
that it does not explicitly know, it can immediately discontinue
trying to parse since what follows might not be in an expected
format. For a method version, the parser SHOULD ignore a method
result if the version is not supported in case the semantics of the
result have a different meaning than what is expected. For example,
if a hypothetical DKIM version 2 yielded a "pass" result for
different reasons than version 1 does, a consumer of this field might
not want to use the altered semantics. Allowing versions in the
syntax is a way to indicate this and let the consumer of the header
field decide.
<span class="h3"><a class="selflink" id="section-2.7" href="#section-2.7">2.7</a>. Defined Methods and Result Values</span>
Each individual authentication method returns one of a set of
specific result values. The subsections below provide references to
the documents defining the authentication methods specifically
supported by this document, and their corresponding result values.
Verifiers SHOULD use these values as described below. New methods
not specified in this document, but intended to be supported by the
header field defined here, MUST include a similar result table either
in their defining documents or in supplementary ones.
<span class="grey">Kucherawy Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
<span class="h4"><a class="selflink" id="section-2.7.1" href="#section-2.7.1">2.7.1</a>. DKIM and DomainKeys</span>
DKIM is represented by the "dkim" method and is defined in [<a href="#ref-DKIM" title=""DomainKeys Identified Mail (DKIM) Signatures"">DKIM</a>].
DomainKeys is defined in [<a href="#ref-DOMAINKEYS">DOMAINKEYS</a>] and is represented by the
"domainkeys" method.
Section 3.8 of [<a href="#ref-DOMAINKEYS">DOMAINKEYS</a>] enumerates some possible results of a
DomainKeys evaluation. Those results are not used when generating
this header field; rather, the results returned are listed below.
A signature is "acceptable to the ADMD" if it passes local policy
checks (or there are no specific local policy checks). For example,
an ADMD policy might require that the signature(s) on the message be
added using the DNS domain present in the From header field of the
message, thus making third-party signatures unacceptable even if they
verify.
Both DKIM and DomainKeys use the same result set, as follows:
none: The message was not signed.
pass: The message was signed, the signature or signatures were
acceptable to the ADMD, and the signature(s) passed verification
tests.
fail: The message was signed and the signature or signatures were
acceptable to the ADMD, but they failed the verification test(s).
policy: The message was signed, but some aspect of the signature or
signatures was not acceptable to the ADMD.
neutral: The message was signed, but the signature or signatures
contained syntax errors or were not otherwise able to be
processed. This result is also used for other failures not
covered elsewhere in this list.
temperror: The message could not be verified due to some error that
is likely transient in nature, such as a temporary inability to
retrieve a public key. A later attempt may produce a final
result.
permerror: The message could not be verified due to some error that
is unrecoverable, such as a required header field being absent. A
later attempt is unlikely to produce a final result.
DKIM results are reported using a ptype of "header". The property,
however, represents one of the tags found in the DKIM-Signature
header field rather than a distinct header field. For example, the
<span class="grey">Kucherawy Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
ptype-property combination "header.d" refers to the content of the
"d" (signing domain) tag from within the signature header field, and
not a distinct header field called "d".
The ability to report different DKIM results for a message with
multiple signatures is described in [<a href="./rfc6008" title=""Authentication-Results Registration for Differentiating among Cryptographic Results"">RFC6008</a>].
[<a id="ref-DKIM">DKIM</a>] advises that if a message fails verification, it is to be
treated as an unsigned message. A report of "fail" here permits the
receiver of the report to decide how to handle the failure. A report
of "neutral" or "none" preempts that choice, ensuring the message
will be treated as if it had not been signed.
Section 3.1 of [<a href="#ref-DOMAINKEYS">DOMAINKEYS</a>] describes a process by which the sending
address of the message is determined. DomainKeys results are thus
reported along with the signing domain name, the sending address of
the message, and the name of the header field from which the latter
was extracted. This means that a DomainKeys result includes a ptype-
property combination of "header.d", plus one of "header.from" and
"header.sender". The sending address extracted from the header is
included with any [<a href="#ref-MAIL" title=""Internet Message Format"">MAIL</a>]-style comments removed; moreover, the local-
part of the address and the "@" character are removed if it has not
been authenticated in some way.
<span class="grey">Kucherawy Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
<span class="h4"><a class="selflink" id="section-2.7.2" href="#section-2.7.2">2.7.2</a>. SPF and Sender ID</span>
SPF and Sender ID use the "spf" and "sender-id" method names,
respectively. The result values for SPF are defined in Section 2.6
of [<a href="#ref-SPF" title=""Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1"">SPF</a>], and those definitions are included here by reference:
+-----------+--------------------------------+
| Code | Meaning |
+-----------+--------------------------------+
| none | <a href="./rfc7208#section-2.6.1">[RFC7208], Section 2.6.1</a> |
+-----------+--------------------------------+
| pass | <a href="./rfc7208#section-2.6.3">[RFC7208], Section 2.6.3</a> |
+-----------+--------------------------------+
| fail | <a href="./rfc7208#section-2.6.4">[RFC7208], Section 2.6.4</a> |
+-----------+--------------------------------+
| softfail | <a href="./rfc7208#section-2.6.5">[RFC7208], Section 2.6.5</a> |
+-----------+--------------------------------+
| policy | <a href="./rfc7601#section-2.4">RFC 7601, Section 2.4</a> |
+-----------+--------------------------------+
| neutral | <a href="./rfc7208#section-2.6.2">[RFC7208], Section 2.6.2</a> |
+-----------+--------------------------------+
| temperror | <a href="./rfc7208#section-2.6.6">[RFC7208], Section 2.6.6</a> |
+-----------+--------------------------------+
| permerror | <a href="./rfc7208#section-2.6.7">[RFC7208], Section 2.6.7</a> |
+-----------+--------------------------------+
These result codes are used in the context of this specification to
reflect the result returned by the component conducting SPF
evaluation.
For SPF, the ptype used is "smtp", and the property is either
"mailfrom" or "helo", since those values are the ones SPF can
evaluate. (If the SMTP client issued the EHLO command instead of
HELO, the property used is "helo".)
The "sender-id" method is described in [<a href="#ref-SENDERID" title=""Sender ID: Authenticating E-Mail"">SENDERID</a>]. For this method,
the ptype used is "header" and the property will be the name of the
header field from which the Purported Responsible Address (see [<a href="#ref-PRA" title=""Purported Responsible Address in E-Mail Messages"">PRA</a>])
was extracted -- namely, one of "Resent-Sender", "Resent-From",
"Sender", or "From".
The results for Sender ID are listed and described in Section 4.2 of
[<a href="#ref-SENDERID" title=""Sender ID: Authenticating E-Mail"">SENDERID</a>], but for the purposes of this specification, the SPF
definitions enumerated above are used instead. Also, [<a href="#ref-SENDERID" title=""Sender ID: Authenticating E-Mail"">SENDERID</a>]
specifies result codes that use mixed case, but they are typically
used all lowercase in this context.
<span class="grey">Kucherawy Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
For both methods, an additional result of "policy" is defined, which
means the client was authorized to inject or relay mail on behalf of
the sender's DNS domain according to the authentication method's
algorithm, but local policy dictates that the result is unacceptable.
For example, "policy" might be used if SPF returns a "pass" result,
but a local policy check matches the sending DNS domain to one found
in an explicit list of unacceptable DNS domains (e.g., spammers).
If the retrieved sender policies used to evaluate SPF and Sender ID
do not contain explicit provisions for authenticating the local-part
(see Section 3.4.1 of [<a href="#ref-MAIL" title=""Internet Message Format"">MAIL</a>]) of an address, the "pvalue" reported
along with results for these mechanisms SHOULD NOT include the local-
part or the following "@" character.
<span class="h4"><a class="selflink" id="section-2.7.3" href="#section-2.7.3">2.7.3</a>. "iprev"</span>
The result values used by the "iprev" method, defined in <a href="#section-3">Section 3</a>,
are as follows:
pass: The DNS evaluation succeeded, i.e., the "reverse" and
"forward" lookup results were returned and were in agreement.
fail: The DNS evaluation failed. In particular, the "reverse" and
"forward" lookups each produced results, but they were not in
agreement, or the "forward" query completed but produced no
result, e.g., a DNS RCODE of 3, commonly known as NXDOMAIN, or an
RCODE of 0 (NOERROR) in a reply containing no answers, was
returned.
temperror: The DNS evaluation could not be completed due to some
error that is likely transient in nature, such as a temporary DNS
error, e.g., a DNS RCODE of 2, commonly known as SERVFAIL, or
other error condition resulted. A later attempt may produce a
final result.
permerror: The DNS evaluation could not be completed because no PTR
data are published for the connecting IP address, e.g., a DNS
RCODE of 3, commonly known as NXDOMAIN, or an RCODE of 0 (NOERROR)
in a reply containing no answers, was returned. This prevented
completion of the evaluation. A later attempt is unlikely to
produce a final result.
There is no "none" for this method since any TCP connection
delivering email has an IP address associated with it, so some kind
of evaluation will always be possible.
The result is reported using a ptype of "policy" (as this is not part
of any established protocol) and a property of "iprev".
<span class="grey">Kucherawy Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
For discussion of the format of DNS replies, see "Domain Names -
Implementation and Specification" ([<a href="#ref-DNS" title=""Domain names - implementation and specification"">DNS</a>]).
<span class="h4"><a class="selflink" id="section-2.7.4" href="#section-2.7.4">2.7.4</a>. SMTP AUTH</span>
SMTP AUTH (defined in [<a href="#ref-AUTH" title=""SMTP Service Extension for Authentication"">AUTH</a>]) is represented by the "auth" method.
Its result values are as follows:
none: SMTP authentication was not attempted.
pass: The SMTP client authenticated to the server reporting the
result using the protocol described in [<a href="#ref-AUTH" title=""SMTP Service Extension for Authentication"">AUTH</a>].
fail: The SMTP client attempted to authenticate to the server using
the protocol described in [<a href="#ref-AUTH" title=""SMTP Service Extension for Authentication"">AUTH</a>] but was not successful (such as
providing a valid identity but an incorrect password).
temperror: The SMTP client attempted to authenticate using the
protocol described in [<a href="#ref-AUTH" title=""SMTP Service Extension for Authentication"">AUTH</a>] but was not able to complete the
attempt due to some error that is likely transient in nature, such
as a temporary directory service lookup error. A later attempt
may produce a final result.
permerror: The SMTP client attempted to authenticate using the
protocol described in [<a href="#ref-AUTH" title=""SMTP Service Extension for Authentication"">AUTH</a>] but was not able to complete the
attempt due to some error that is likely not transient in nature,
such as a permanent directory service lookup error. A later
attempt is not likely to produce a final result.
The result of AUTH is reported using a ptype of "smtp" and a property
of either:
o "auth", in which case the value is the authorization identity
generated by the exchange initiated by the AUTH command; or
o "mailfrom", in which case the value is the mailbox identified by
the AUTH parameter used with the MAIL FROM command.
If both identities are available, both can be reported. For example,
consider this command issued by a client that has completed session
authentication with the AUTH command resulting in an authorized
identity of "client@c.example":
MAIL FROM:<alice@a.example> AUTH=<bob@b.example>
This could result in a "resinfo" construction like so:
; auth=pass smtp.auth=client@c.example smtp.mailfrom=bob@b.example
<span class="grey">Kucherawy Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
Note that in all cases other than "pass", the message was sent by an
unauthenticated client. All non-"pass" cases SHOULD thus be treated
as equivalent with respect to this method.
<span class="h4"><a class="selflink" id="section-2.7.5" href="#section-2.7.5">2.7.5</a>. Other Registered Codes</span>
Result codes were also registered in other RFCs as follows:
o Vouch By Reference (in [<a href="#ref-AR-VBR" title=""Authentication-Results Registration for Vouch by Reference Results"">AR-VBR</a>], represented by "vbr");
o Authorized Third-Party Signatures (in [<a href="#ref-ATPS" title=""DomainKeys Identified Mail (DKIM) Authorized Third-Party Signatures"">ATPS</a>], represented by
"dkim-atps");
o Author Domain Signing Practices (in [<a href="#ref-ADSP" title=""DomainKeys Identified Mail (DKIM) Author Domain Signing Practices (ADSP)"">ADSP</a>], represented by "dkim-
adsp");
o Require-Recipient-Valid-Since (in [<a href="#ref-RRVS" title=""The Require-Recipient-Valid- Since Header Field and SMTP Service Extension"">RRVS</a>], represented by "rrvs");
o S/MIME (in [<a href="#ref-SMIME-REG">SMIME-REG</a>], represented by "smime").
<span class="h4"><a class="selflink" id="section-2.7.6" href="#section-2.7.6">2.7.6</a>. Extension Methods</span>
Additional authentication method identifiers (extension methods) may
be defined in the future by later revisions or extensions to this
specification. These method identifiers are registered with the
Internet Assigned Numbers Authority (IANA) and, preferably, published
in an RFC. See <a href="#section-6">Section 6</a> for further details.
Extension methods can be defined for the following reasons:
1. To allow additional information from new authentication systems
to be communicated to MUAs or downstream filters. The names of
such identifiers ought to reflect the name of the method being
defined but ought not be needlessly long.
2. To allow the creation of "sub-identifiers" that indicate
different levels of authentication and differentiate between
their relative strengths, e.g., "auth1-weak" and "auth1-strong".
Authentication method implementers are encouraged to provide adequate
information, via message header field comments if necessary, to allow
an MUA developer to understand or relay ancillary details of
authentication results. For example, if it might be of interest to
relay what data was used to perform an evaluation, such information
could be relayed as a comment in the header field, such as:
Authentication-Results: example.com;
foo=pass bar.baz=blob (2 of 3 tests OK)
<span class="grey">Kucherawy Standards Track [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
Experimental method identifiers MUST only be used within ADMDs that
have explicitly consented to use them. These method identifiers and
the parameters associated with them are not documented in RFCs.
Therefore, they are subject to change at any time and not suitable
for production use. Any MTA, MUA, or downstream filter intended for
production use SHOULD ignore or delete any Authentication-Results
header field that includes an experimental (unknown) method
identifier.
<span class="h4"><a class="selflink" id="section-2.7.7" href="#section-2.7.7">2.7.7</a>. Extension Result Codes</span>
Additional result codes (extension results) might be defined in the
future by later revisions or extensions to this specification.
Result codes MUST be registered with the Internet Assigned Numbers
Authority (IANA) and preferably published in an RFC. See <a href="#section-6">Section 6</a>
for further details.
Experimental results MUST only be used within ADMDs that have
explicitly consented to use them. These results and the parameters
associated with them are not formally documented. Therefore, they
are subject to change at any time and not suitable for production
use. Any MTA, MUA, or downstream filter intended for production use
SHOULD ignore or delete any Authentication-Results header field that
includes an extension result.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. The "iprev" Authentication Method</span>
This section defines an additional authentication method called
"iprev".
"iprev" is an attempt to verify that a client appears to be valid
based on some DNS queries, which is to say that the IP address is
explicitly associated with a domain name. Upon receiving a session
initiation of some kind from a client, the IP address of the client
peer is queried for matching names (i.e., a number-to-name
translation, also known as a "reverse lookup" or a "PTR" record
query). Once that result is acquired, a lookup of each of the names
(i.e., a name-to-number translation, or an "A" or "AAAA" record
query) thus retrieved is done. The response to this second check
will typically result in at least one mapping back to the client's IP
address.
Expressed as an algorithm: If the client peer's IP address is I, the
list of names to which I maps (after a "PTR" query) is the set N, and
the union of IP addresses to which each member of N maps (after
corresponding "A" and "AAAA" queries) is L, then this test is
successful if I is an element of L.
<span class="grey">Kucherawy Standards Track [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
Often an MTA receiving a connection that fails this test will simply
reject the connection using the enhanced status code defined in
[<a href="#ref-AUTH-ESC">AUTH-ESC</a>]. If an operator instead wishes to make this information
available to downstream agents as a factor in handling decisions, it
records a result in accordance with <a href="#section-2.7.3">Section 2.7.3</a>.
The response to a PTR query could contain multiple names. To prevent
heavy DNS loads, agents performing these queries MUST be implemented
such that the number of names evaluated by generation of
corresponding A or AAAA queries is limited so as not to be unduly
taxing to the DNS infrastructure, though it MAY be configurable by an
administrator. As an example, Section 4.6.4 of [<a href="#ref-SPF" title=""Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1"">SPF</a>] chose a limit
of 10 for its implementation of this algorithm.
"DNS Extensions to Support IP Version 6" ([<a href="#ref-DNS-IP6" title=""DNS Extensions to Support IP Version 6"">DNS-IP6</a>]) discusses the
query formats for the IPv6 case.
There is some contention regarding the wisdom and reliability of this
test. For example, in some regions, it can be difficult for this
test ever to pass because the practice of arranging to match the
forward and reverse DNS is infrequently observed. Therefore, the
precise implementation details of how a verifier performs an "iprev"
test are not specified here. The verifier MAY report a successful or
failed "iprev" test at its discretion having done some kind of check
of the validity of the connection's identity using DNS. It is
incumbent upon an agent making use of the reported "iprev" result to
understand what exactly that particular verifier is attempting to
report.
Extensive discussion of reverse DNS mapping and its implications can
be found in "Considerations for the use of DNS Reverse Mapping"
([<a href="#ref-DNSOP-REVERSE">DNSOP-REVERSE</a>]). In particular, it recommends that applications
avoid using this test as a means of authentication or security. Its
presence in this document is not an endorsement but is merely
acknowledgment that the method remains common and provides the means
to relay the results of that test.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Adding the Header Field to a Message</span>
This specification makes no attempt to evaluate the relative
strengths of various message authentication methods that may become
available. The methods listed are an order-independent set; their
sequence does not indicate relative strength or importance of one
method over another. Instead, the MUA or downstream filter consuming
this header field is to interpret the result of each method based on
its own knowledge of what that method evaluates.
<span class="grey">Kucherawy Standards Track [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
Each "method" MUST refer to an authentication method declared in the
IANA registry or an extension method as described in <a href="#section-2.7.6">Section 2.7.6</a>,
and each "result" MUST refer to a result code declared in the IANA
registry or an extension result code as defined in <a href="#section-2.7.7">Section 2.7.7</a>.
See <a href="#section-6">Section 6</a> for further information about the registered methods
and result codes.
An MTA compliant with this specification adds this header field
(after performing one or more message authentication tests) to
indicate which MTA or ADMD performed the test, which test got
applied, and what the result was. If an MTA applies more than one
such test, it adds this header field either once per test or once
indicating all of the results. An MTA MUST NOT add a result to an
existing header field.
An MTA MAY add this header field containing only the authentication
identifier portion and the "none" token (see <a href="#section-2.2">Section 2.2</a>) to indicate
explicitly that no message authentication schemes were applied prior
to delivery of this message.
An MTA adding this header field has to take steps to identify it as
legitimate to the MUAs or downstream filters that will ultimately
consume its content. One process to do so is described in <a href="#section-5">Section 5</a>.
Further measures may be necessary in some environments. Some
possible solutions are enumerated in <a href="#section-7.1">Section 7.1</a>. This document does
not mandate any specific solution to this issue as each environment
has its own facilities and limitations.
Most known message authentication methods focus on a particular
identifier to evaluate. SPF and Sender ID differ in that they can
yield a result based on more than one identifier; specifically, SPF
can evaluate the <a href="./rfc5321">RFC5321</a>.HELO parameter or the <a href="./rfc5321">RFC5321</a>.MailFrom
parameter, and Sender ID can evaluate the <a href="./rfc5321">RFC5321</a>.MailFrom parameter
or the Purported Responsible Address (PRA) identity. When generating
this field to report those results, only the parameter that yielded
the result is included.
For MTAs that add this header field, adding header fields in order
(at the top), per Section 3.6 of [<a href="#ref-MAIL" title=""Internet Message Format"">MAIL</a>], is particularly important.
Moreover, this header field SHOULD be inserted above any other trace
header fields such MTAs might prepend. This placement allows easy
detection of header fields that can be trusted.
End users making direct use of this header field might inadvertently
trust information that has not been properly vetted. If, for
example, a basic SPF result were to be relayed that claims an
authenticated addr-spec, the local-part of that addr-spec has
actually not been authenticated. Thus, an MTA adding this header
<span class="grey">Kucherawy Standards Track [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
field SHOULD NOT include any data that has not been authenticated by
the method(s) being applied. Moreover, MUAs SHOULD NOT render to
users such information if it is presented by a method known not to
authenticate it.
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Header Field Position and Interpretation</span>
In order to ensure non-ambiguous results and avoid the impact of
false header fields, MUAs and downstream filters SHOULD NOT interpret
this header field unless specifically configured to do so by the user
or administrator. That is, this interpretation should not be "on by
default". Naturally then, users or administrators ought not activate
such a feature unless (1) they are certain the header field will be
validly added by an agent within the ADMD that accepts the mail that
is ultimately read by the MUA, and (2) instances of the header field
that appear to originate within the ADMD but are actually added by
foreign MTAs will be removed before delivery.
Furthermore, MUAs and downstream filters SHOULD NOT interpret this
header field unless the authentication service identifier it bears
appears to be one used within its own ADMD as configured by the user
or administrator.
MUAs and downstream filters MUST ignore any result reported using a
"result" not specified in the IANA "Result Code" registry or a
"ptype" not listed in the "Email Authentication Property Types"
registry for such values as defined in <a href="#section-6">Section 6</a>. Moreover, such
agents MUST ignore a result indicated for any "method" they do not
specifically support.
An MUA SHOULD NOT reveal these results to end users, absent careful
human factors design considerations and testing, for the presentation
of trust-related materials. For example, an attacker could register
examp1e.com (note the digit "1" (one)) and send signed mail to
intended victims; a verifier would detect that the signature was
valid and report a "pass" even though it's clear the DNS domain name
was intended to mislead. See <a href="#section-7.2">Section 7.2</a> for further discussion.
As stated in <a href="#section-2.1">Section 2.1</a>, this header field MUST be treated as though
it were a trace header field as defined in Section 3.6.7 of [<a href="#ref-MAIL" title=""Internet Message Format"">MAIL</a>]
and hence MUST NOT be reordered and MUST be prepended to the message,
so that there is generally some indication upon delivery of where in
the chain of handling MTAs the message authentication was done.
Note that there are a few message handlers that are only capable of
appending new header fields to a message. Strictly speaking, these
handlers are not compliant with this specification. They can still
add the header field to carry authentication details, but any signal
<span class="grey">Kucherawy Standards Track [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
about where in the handling chain the work was done may be lost.
Consumers SHOULD be designed such that this can be tolerated,
especially from a producer known to have this limitation.
MUAs SHOULD ignore instances of this header field discovered within
message/rfc822 MIME attachments.
Further discussion of these topics can be found in <a href="#section-7">Section 7</a> below.
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Local Policy Enforcement</span>
Some sites have a local policy that considers any particular
authentication policy's non-recoverable failure results (typically
"fail" or similar) as justification for rejecting the message. In
such cases, the border MTA SHOULD issue an SMTP rejection response to
the message, rather than adding this header field and allowing the
message to proceed toward delivery. This is more desirable than
allowing the message to reach an internal host's MTA or spam filter,
thus possibly generating a local rejection such as a Delivery Status
Notification (DSN) [<a href="#ref-DSN" title=""An Extensible Message Format for Delivery Status Notifications"">DSN</a>] to a forged originator. Such generated
rejections are colloquially known as "backscatter".
The same MAY also be done for local policy decisions overriding the
results of the authentication methods (e.g., the "policy" result
codes described in <a href="#section-2.7">Section 2.7</a>).
Such rejections at the SMTP protocol level are not possible if local
policy is enforced at the MUA and not the MTA.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Removing Existing Header Fields</span>
For security reasons, any MTA conforming to this specification MUST
delete any discovered instance of this header field that claims, by
virtue of its authentication service identifier, to have been added
within its trust boundary but that did not come directly from another
trusted MTA. For example, an MTA for example.com receiving a message
MUST delete or otherwise obscure any instance of this header field
bearing an authentication service identifier indicating that the
header field was added within example.com prior to adding its own
header fields. This could mean each MTA will have to be equipped
with a list of internal MTAs known to be compliant (and hence
trustworthy).
For simplicity and maximum security, a border MTA could remove all
instances of this header field on mail crossing into its trust
boundary. However, this may conflict with the desire to access
authentication results performed by trusted external service
providers. It may also invalidate signed messages whose signatures
<span class="grey">Kucherawy Standards Track [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
cover external instances of this header field. A more robust border
MTA could allow a specific list of authenticating MTAs whose
information is to be admitted, removing the header field originating
from all others.
As stated in <a href="#section-1.2">Section 1.2</a>, a formal definition of "trust boundary" is
deliberately not made here. It is entirely possible that a border
MTA for example.com will explicitly trust authentication results
asserted by upstream host example.net even though they exist in
completely disjoint administrative boundaries. In that case, the
border MTA MAY elect not to delete those results; moreover, the
upstream host doing some authentication work could apply a signing
technology such as [<a href="#ref-DKIM" title=""DomainKeys Identified Mail (DKIM) Signatures"">DKIM</a>] on its own results to assure downstream
hosts of their authenticity. An example of this is provided in
<a href="#appendix-B">Appendix B</a>.
Similarly, in the case of messages signed using [<a href="#ref-DKIM" title=""DomainKeys Identified Mail (DKIM) Signatures"">DKIM</a>] or other
message-signing methods that sign header fields, this removal action
could invalidate one or more signatures on the message if they
covered the header field to be removed. This behavior can be
desirable since there's little value in validating the signature on a
message with forged header fields. However, signing agents MAY
therefore elect to omit these header fields from signing to avoid
this situation.
An MTA SHOULD remove any instance of this header field bearing a
version (express or implied) that it does not support. However, an
MTA MUST remove such a header field if the [<a href="#ref-SMTP" title=""Simple Mail Transfer Protocol"">SMTP</a>] connection relaying
the message is not from a trusted internal MTA. This means the MTA
needs to be able to understand versions of this header field at least
as late as the ones understood by the MUAs or other consumers within
its ADMD.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. IANA Considerations</span>
IANA has registered the defined header field and created tables as
described below. These registry actions were originally defined by
[<a href="./rfc5451" title=""Message Header Field for Indicating Message Authentication Status"">RFC5451</a>] and updated by [<a href="./rfc6577" title=""Authentication-Results Registration Update for Sender Policy Framework (SPF) Results"">RFC6577</a>] and [<a href="./rfc7001" title=""Message Header Field for Indicating Message Authentication Status"">RFC7001</a>]. The created
registries are being further updated here to increase their
completeness.
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. The Authentication-Results Header Field</span>
[<a id="ref-RFC5451">RFC5451</a>] added the Authentication-Results header field to the IANA
"Permanent Message Header Field Names" registry, per the procedure
found in [<a href="#ref-IANA-HEADERS">IANA-HEADERS</a>]. That entry has been updated to reference
this document. The following is the registration template:
<span class="grey">Kucherawy Standards Track [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
Header field name: Authentication-Results
Applicable protocol: mail ([<a href="#ref-MAIL" title=""Internet Message Format"">MAIL</a>])
Status: Standard
Author/Change controller: IETF
Specification document(s): <a href="./rfc7601">RFC 7601</a>
Related information: none
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. "Email Authentication Methods" Registry Description</span>
Names of message authentication methods supported by this
specification have been registered with IANA, with the exception of
experimental names as described in <a href="#section-2.7.6">Section 2.7.6</a>. Along with each
method is recorded the properties that accompany the method's result.
The "Email Authentication Parameters" group, and within it the "Email
Authentication Methods" registry, were created by [<a href="./rfc5451" title=""Message Header Field for Indicating Message Authentication Status"">RFC5451</a>] for this
purpose. [<a href="./rfc6577" title=""Authentication-Results Registration Update for Sender Policy Framework (SPF) Results"">RFC6577</a>] added a "status" field for each entry. [<a href="./rfc7001" title=""Message Header Field for Indicating Message Authentication Status"">RFC7001</a>]
amended the rules governing that registry and also added a "version"
field to the registry.
The reference for that registry has been updated to reference this
document.
New entries are assigned only for values that have received Expert
Review, per [<a href="#ref-IANA-CONSIDERATIONS">IANA-CONSIDERATIONS</a>]. The designated expert shall be
appointed by the IESG. The designated expert has discretion to
request that a publication be referenced if a clear, concise
definition of the authentication method cannot be provided such that
interoperability is assured. Registrations should otherwise be
permitted. The designated expert can also handle requests to mark
any current registration as "deprecated".
No two entries can have the same combination of method, ptype, and
property.
An entry in this registry contains the following:
Method: the name of the method.
Definition: a reference to the document that created this entry, if
any (see below).
ptype: a "ptype" value appropriate for use with that method.
property: a "property" value matching that "ptype" also appropriate
for use with that method.
<span class="grey">Kucherawy Standards Track [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
Value: a brief description of the value to be supplied with that
method/ptype/property tuple.
Status: the status of this entry, which is either:
active: The entry is in current use.
deprecated: The entry is no longer in current use.
Version: a version number associated with the method (preferably
starting at "1").
The "Definition" field will typically refer to a permanent document,
or at least some descriptive text, where additional information about
the entry being added can be found. This might in turn reference the
document where the method is defined so that all of the semantics
around creating or interpreting an Authentication-Results header
field using this method, ptype, and property can be understood.
<span class="h3"><a class="selflink" id="section-6.3" href="#section-6.3">6.3</a>. "Email Authentication Methods" Registry Update</span>
The following changes have been made to this registry per this
document:
1. The "Defined" field has been renamed "Definition", to be
consistent with the other registries in this group.
2. The entry for the "dkim" method, "header" ptype, and "b" property
now reference [<a href="./rfc6008" title=""Authentication-Results Registration for Differentiating among Cryptographic Results"">RFC6008</a>] as the defining document, and the
reference has be removed from the description.
3. All other "dkim", "domainkeys", "iprev", "sender-id", and "spf"
method entries have had their "Definition" fields changed to
refer to this document, as this document contains a complete
description of the registry and these corresponding values.
4. All "smime" entries have had their "Definition" fields changed to
[<a href="#ref-SMIME-REG">SMIME-REG</a>].
5. The "value" field of the "smime" entry using property "smime-
part" has been changed to read: "The MIME body part reference
that contains the S/MIME signature. See Section 3.2.1 of <a href="./rfc7281">RFC</a>
<a href="./rfc7281">7281</a> for full syntax."
<span class="grey">Kucherawy Standards Track [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
6. The single entry for the "auth" method was intended to reflect
the identity indicated by the "AUTH" parameter to the SMTP "MAIL
FROM" command verb. However, there is also an "AUTH" command
verb. To clarify this ambiguity, the entry for the "auth" method
has had its "property" field changed to "mailfrom", and its
"Definition" field changed to this document.
7. The following entry has been added:
Method: auth
Definition: this document (<a href="./rfc7601">RFC 7601</a>)
ptype: smtp
property: auth
Value: identity confirmed by the AUTH command
Status: active
Version: 1
8. The values of the "domainkeys" entries for ptype "header" have
been updated as follows:
from: contents of the [<a href="#ref-MAIL" title=""Internet Message Format"">MAIL</a>] From: header field, after removing
comments, and removing the local-part and following "@" if not
authenticated
sender: contents of the [<a href="#ref-MAIL" title=""Internet Message Format"">MAIL</a>] Sender: header field, after
removing comments, and removing the local-part and following
"@" if not authenticated
9. For all entries for "dkim-adsp" and "domainkeys", their Status
values have been changed to "deprecated", reflecting the fact
that the corresponding specifications now have Historic status.
Their "Definition" fields have also been modified to include a
reference to this document.
<span class="h3"><a class="selflink" id="section-6.4" href="#section-6.4">6.4</a>. "Email Authentication Property Types" Registry</span>
[<a id="ref-RFC7410">RFC7410</a>] created the "Email Authentication Property Types" registry.
Entries in this registry are subject to the Expert Review rules as
described in [<a href="#ref-IANA-CONSIDERATIONS">IANA-CONSIDERATIONS</a>]. Each entry in the registry
requires the following values:
<span class="grey">Kucherawy Standards Track [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
ptype: The name of the ptype being registered, which must fit within
the ABNF described in <a href="#section-2.2">Section 2.2</a>.
Definition: An optional reference to a defining specification.
Description: A brief description of what sort of information this
"ptype" is meant to cover.
For new entries, the Designated Expert needs to assure that the
description provided for the new entry adequately describes the
intended use. An example would be helpful to include in the entry's
defining document, if any, although entries in the "Email
Authentication Methods" registry or the "Email Authentication Result
Names" registry might also serve as examples of intended use.
As this is a complete restatement of the definition and rules for
this registry, IANA has updated this registry to show <a href="#section-2.3">Section 2.3</a> of
this document as the current definitions for the "body", "header",
"policy", and "smtp" entries of that registry. References to
[<a href="./rfc7001" title=""Message Header Field for Indicating Message Authentication Status"">RFC7001</a>] and [<a href="./rfc7410" title=""A Property Types Registry for the Authentication-Results Header Field"">RFC7410</a>] have been removed.
<span class="h3"><a class="selflink" id="section-6.5" href="#section-6.5">6.5</a>. "Email Authentication Result Names" Description</span>
Names of message authentication result codes supported by this
specification must be registered with IANA, with the exception of
experimental codes as described in <a href="#section-2.7.7">Section 2.7.7</a>. A registry was
created by [<a href="./rfc5451" title=""Message Header Field for Indicating Message Authentication Status"">RFC5451</a>] for this purpose. [<a href="./rfc6577" title=""Authentication-Results Registration Update for Sender Policy Framework (SPF) Results"">RFC6577</a>] added the "status"
column and [<a href="./rfc7001" title=""Message Header Field for Indicating Message Authentication Status"">RFC7001</a>] updated the rules governing that registry.
New entries are assigned only for values that have received Expert
Review, per [<a href="#ref-IANA-CONSIDERATIONS">IANA-CONSIDERATIONS</a>]. The designated expert shall be
appointed by the IESG. The designated expert has discretion to
request that a publication be referenced if a clear, concise
definition of the authentication result cannot be provided such that
interoperability is assured. Registrations should otherwise be
permitted. The designated expert can also handle requests to mark
any current registration as "deprecated".
No two entries can have the same combination of method and code.
An entry in this registry contains the following:
Auth Method: an authentication method for which results are being
returned using the header field defined in this document.
Code: a result code that can be returned for this authentication
method.
<span class="grey">Kucherawy Standards Track [Page 31]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-32" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
Specification: either free form text explaining the meaning of this
method-code combination, or a reference to such a definition.
Status: the status of this entry, which is either:
active: The entry is in current use.
deprecated: The entry is no longer in current use.
<span class="h3"><a class="selflink" id="section-6.6" href="#section-6.6">6.6</a>. "Email Authentication Result Names" Update</span>
This document includes a complete description of the registry,
obsoleting [<a href="./rfc7001" title=""Message Header Field for Indicating Message Authentication Status"">RFC7001</a>]. Accordingly, the following changes have been
made to this registry per this document:
o The "Defined" field has been removed.
o The "Meaning" field has been renamed "Specification", as described
above.
o The "Auth Method" field now appears before the "Code" field.
o For easier searching, the table has been arranged such that it is
sorted first by Auth Method, then by Code within each Auth Method
grouping.
o All entries for the "dkim", "domainkeys", "spf", "sender-id",
"auth", and "iprev" methods have had their "Specification" fields
replaced as follows:
dkim: <a href="#section-2.7.1">Section 2.7.1</a> of this document (<a href="./rfc7601">RFC 7601</a>)
domainkeys: <a href="#section-2.7.1">Section 2.7.1</a> of this document (<a href="./rfc7601">RFC 7601</a>)
spf: for "hardfail", <a href="./rfc5451#section-2.4.2">Section 2.4.2 of [RFC5451]</a>; for all others,
<a href="#section-2.7.2">Section 2.7.2</a> of this document (<a href="./rfc7601">RFC 7601</a>)
sender-id: for "hardfail", <a href="./rfc5451#section-2.4.2">Section 2.4.2 of [RFC5451]</a>; for all
others, <a href="#section-2.7.2">Section 2.7.2</a> of this document (<a href="./rfc7601">RFC 7601</a>)
auth: <a href="#section-2.7.4">Section 2.7.4</a> of this document (<a href="./rfc7601">RFC 7601</a>)
iprev: <a href="#section-2.7.3">Section 2.7.3</a> of this document (<a href="./rfc7601">RFC 7601</a>)
o All entries for "dkim-adsp" that were missing an explicit
reference to a defining document now reference [<a href="#ref-ADSP" title=""DomainKeys Identified Mail (DKIM) Author Domain Signing Practices (ADSP)"">ADSP</a>] in their
"Specification" fields.
<span class="grey">Kucherawy Standards Track [Page 32]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-33" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
o All entries for "dmarc" have had their "Specification" fields
changed to reference Section 11.2 of [<a href="#ref-DMARC" title=""Domain-based Message Authentication, Reporting, and Conformance (DMARC)"">DMARC</a>].
o All entries for "dkim-adsp" and "domainkeys" have had their Status
values changed to "deprecated", reflecting the fact that the
corresponding specifications now have Historic status. Their
"Specification" fields have also been modified to include a
reference to this document.
<span class="h3"><a class="selflink" id="section-6.7" href="#section-6.7">6.7</a>. SMTP Enhanced Status Codes</span>
The entry for X.7.25 in the "Enumerated Status Codes" sub-registry of
the "Simple Mail Transfer Protocol (SMTP) Enhanced Status Codes
Registry" has been updated to refer to this document instead of
[<a href="./rfc7001" title=""Message Header Field for Indicating Message Authentication Status"">RFC7001</a>].
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
The following security considerations apply when adding or processing
the Authentication-Results header field:
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>. Forged Header Fields</span>
An MUA or filter that accesses a mailbox whose messages are handled
by a non-conformant MTA, and understands Authentication-Results
header fields, could potentially make false conclusions based on
forged header fields. A malicious user or agent could forge a header
field using the DNS domain of a receiving ADMD as the authserv-id
token in the value of the header field and, with the rest of the
value, claim that the message was properly authenticated. The non-
conformant MTA would fail to strip the forged header field, and the
MUA could inappropriately trust it.
For this reason, it is best not to have processing of the
Authentication-Results header field enabled by default; instead, it
should be ignored, at least for the purposes of enacting filtering
decisions, unless specifically enabled by the user or administrator
after verifying that the border MTA is compliant. It is acceptable
to have an MUA aware of this specification but have an explicit list
of hostnames whose Authentication-Results header fields are
trustworthy; however, this list should initially be empty.
Proposed alternative solutions to this problem were made some time
ago and are listed below. To date, they have not been developed due
to lack of demand but are documented here should the information be
useful at some point in the future:
<span class="grey">Kucherawy Standards Track [Page 33]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-34" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
1. Possibly the simplest is a digital signature protecting the
header field, such as using [<a href="#ref-DKIM" title=""DomainKeys Identified Mail (DKIM) Signatures"">DKIM</a>], that can be verified by an
MUA by using a posted public key. Although one of the main
purposes of this document is to relieve the burden of doing
message authentication work at the MUA, this only requires that
the MUA learn a single authentication scheme even if a number of
them are in use at the border MTA. Note that [<a href="#ref-DKIM" title=""DomainKeys Identified Mail (DKIM) Signatures"">DKIM</a>] requires
that the From header field be signed, although in this
application, the signing agent (a trusted MTA) likely cannot
authenticate that value, so the fact that it is signed should be
ignored. Where the authserv-id is the ADMD's domain name, the
authserv-id matching this valid internal signature's "d=" DKIM
value is sufficient.
2. Another would be a means to interrogate the MTA that added the
header field to see if it is actually providing any message
authentication services and saw the message in question, but this
isn't especially palatable given the work required to craft and
implement such a scheme.
3. Yet another might be a method to interrogate the internal MTAs
that apparently handled the message (based on Received header
fields) to determine whether any of them conform to <a href="#section-5">Section 5</a> of
this memo. This, too, has potentially high barriers to entry.
4. Extensions to [<a href="#ref-IMAP" title=""INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1"">IMAP</a>], [<a href="#ref-SMTP" title=""Simple Mail Transfer Protocol"">SMTP</a>], and [<a href="#ref-POP3" title=""Post Office Protocol - Version 3"">POP3</a>] could be defined to
allow an MUA or filtering agent to acquire the authserv-id in use
within an ADMD, thus allowing it to identify which
Authentication-Results header fields it can trust.
5. On the presumption that internal MTAs are fully compliant with
Section 3.6 of [<a href="#ref-MAIL" title=""Internet Message Format"">MAIL</a>] and the compliant internal MTAs are using
their own hostnames or the ADMD's DNS domain name as the
authserv-id token, the header field proposed here should always
appear above a Received header added by a trusted MTA. This can
be used as a test for header field validity.
Support for some of these is being considered for future work.
In any case, a mechanism needs to exist for an MUA or filter to
verify that the host that appears to have added the header field (a)
actually did so and (b) is legitimately adding that header field for
this delivery. Given the variety of messaging environments deployed
today, consensus appears to be that specifying a particular mechanism
for doing so is not appropriate for this document.
<span class="grey">Kucherawy Standards Track [Page 34]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-35" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
Mitigation of the forged header field attack can also be accomplished
by moving the authentication results data into metadata associated
with the message. In particular, an [<a href="#ref-SMTP" title=""Simple Mail Transfer Protocol"">SMTP</a>] extension could be
established to communicate authentication results from the border MTA
to intermediate and delivery MTAs; the latter of these could arrange
to store the authentication results as metadata retrieved and
rendered along with the message by an [<a href="#ref-IMAP" title=""INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1"">IMAP</a>] client aware of a
similar extension in that protocol. The delivery MTA would be told
to trust data via this extension only from MTAs it trusts, and border
MTAs would not accept data via this extension from any source. There
is no vector in such an arrangement for forgery of authentication
data by an outside agent.
<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>. Misleading Results</span>
Until some form of service for querying the reputation of a sending
agent is widely deployed, the existence of this header field
indicating a "pass" does not render the message trustworthy. It is
possible for an arriving piece of spam or other undesirable mail to
pass checks by several of the methods enumerated above (e.g., a piece
of spam signed using [<a href="#ref-DKIM" title=""DomainKeys Identified Mail (DKIM) Signatures"">DKIM</a>] by the originator of the spam, which
might be a spammer or a compromised system). In particular, this
issue is not resolved by forged header field removal discussed above.
Hence, MUAs and downstream filters must take some care with use of
this header even after possibly malicious headers are scrubbed.
<span class="h3"><a class="selflink" id="section-7.3" href="#section-7.3">7.3</a>. Header Field Position</span>
Despite the requirements of [<a href="#ref-MAIL" title=""Internet Message Format"">MAIL</a>], header fields can sometimes be
reordered en route by intermediate MTAs. The goal of requiring
header field addition only at the top of a message is an
acknowledgment that some MTAs do reorder header fields, but most do
not. Thus, in the general case, there will be some indication of
which MTAs (if any) handled the message after the addition of the
header field defined here.
<span class="h3"><a class="selflink" id="section-7.4" href="#section-7.4">7.4</a>. Reverse IP Query Denial-of-Service Attacks</span>
Section 4.6.4 of [<a href="#ref-SPF" title=""Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1"">SPF</a>] describes a DNS-based denial-of-service attack
for verifiers that attempt DNS-based identity verification of
arriving client connections. A verifier wishing to do this check and
report this information needs to take care not to go to unbounded
lengths to resolve "A" and "PTR" queries. MUAs or other filters
making use of an "iprev" result specified by this document need to be
aware of the algorithm used by the verifier reporting the result and,
especially, its limitations.
<span class="grey">Kucherawy Standards Track [Page 35]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-36" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
<span class="h3"><a class="selflink" id="section-7.5" href="#section-7.5">7.5</a>. Mitigation of Backscatter</span>
Failing to follow the instructions of <a href="#section-4.2">Section 4.2</a> can result in a
denial-of-service attack caused by the generation of [<a href="#ref-DSN" title=""An Extensible Message Format for Delivery Status Notifications"">DSN</a>] messages
(or equivalent) to addresses that did not send the messages being
rejected.
<span class="h3"><a class="selflink" id="section-7.6" href="#section-7.6">7.6</a>. Internal MTA Lists</span>
<a href="#section-5">Section 5</a> describes a procedure for scrubbing header fields that may
contain forged authentication results about a message. A compliant
installation will have to include, at each MTA, a list of other MTAs
known to be compliant and trustworthy. Failing to keep this list
current as internal infrastructure changes may expose an ADMD to
attack.
<span class="h3"><a class="selflink" id="section-7.7" href="#section-7.7">7.7</a>. Attacks against Authentication Methods</span>
If an attack becomes known against an authentication method, clearly
then the agent verifying that method can be fooled into thinking an
inauthentic message is authentic, and thus the value of this header
field can be misleading. It follows that any attack against the
authentication methods supported by this document is also a security
consideration here.
<span class="h3"><a class="selflink" id="section-7.8" href="#section-7.8">7.8</a>. Intentionally Malformed Header Fields</span>
It is possible for an attacker to add an Authentication-Results
header field that is extraordinarily large or otherwise malformed in
an attempt to discover or exploit weaknesses in header field parsing
code. Implementers must thoroughly verify all such header fields
received from MTAs and be robust against intentionally as well as
unintentionally malformed header fields.
<span class="h3"><a class="selflink" id="section-7.9" href="#section-7.9">7.9</a>. Compromised Internal Hosts</span>
An internal MUA or MTA that has been compromised could generate mail
with a forged From header field and a forged Authentication-Results
header field that endorses it. Although it is clearly a larger
concern to have compromised internal machines than it is to prove the
value of this header field, this risk can be mitigated by arranging
that internal MTAs will remove this header field if it claims to have
been added by a trusted border MTA (as described above), yet the
[<a href="#ref-SMTP" title=""Simple Mail Transfer Protocol"">SMTP</a>] connection is not coming from an internal machine known to be
running an authorized MTA. However, in such a configuration,
legitimate MTAs will have to add this header field when legitimate
internal-only messages are generated. This is also covered in
<a href="#section-5">Section 5</a>.
<span class="grey">Kucherawy Standards Track [Page 36]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-37" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
<span class="h3"><a class="selflink" id="section-7.10" href="#section-7.10">7.10</a>. Encapsulated Instances</span>
MIME messages can contain attachments of type "message/rfc822", which
contain other messages. Such an encapsulated message can also
contain an Authentication-Results header field. Although the
processing of these is outside of the intended scope of this document
(see <a href="#section-1.3">Section 1.3</a>), some early guidance to MUA developers is
appropriate here.
Since MTAs are unlikely to strip Authentication-Results header fields
after mailbox delivery, MUAs are advised in <a href="#section-4.1">Section 4.1</a> to ignore
such instances within MIME attachments. Moreover, when extracting a
message digest to separate mail store messages or other media, such
header fields should be removed so that they will never be
interpreted improperly by MUAs that might later consume them.
<span class="h3"><a class="selflink" id="section-7.11" href="#section-7.11">7.11</a>. Reverse Mapping</span>
Although <a href="#section-3">Section 3</a> of this memo includes explicit support for the
"iprev" method, its value as an authentication mechanism is limited.
Implementers of both this proposal and agents that use the data it
relays are encouraged to become familiar with the issues raised by
[<a href="#ref-DNSOP-REVERSE">DNSOP-REVERSE</a>] when deciding whether or not to include support for
"iprev".
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. References</span>
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>. Normative References</span>
[<a id="ref-ABNF">ABNF</a>] Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax
Specifications: ABNF", STD 68, <a href="./rfc5234">RFC 5234</a>,
DOI 10.17487/RFC5234, January 2008,
<<a href="http://www.rfc-editor.org/info/rfc5234">http://www.rfc-editor.org/info/rfc5234</a>>.
[<a id="ref-IANA-HEADERS">IANA-HEADERS</a>]
Klyne, G., Nottingham, M., and J. Mogul, "Registration
Procedures for Message Header Fields", <a href="https://www.rfc-editor.org/bcp/bcp90">BCP 90</a>, <a href="./rfc3864">RFC 3864</a>,
DOI 10.17487/RFC3864, September 2004,
<<a href="http://www.rfc-editor.org/info/rfc3864">http://www.rfc-editor.org/info/rfc3864</a>>.
[<a id="ref-KEYWORDS">KEYWORDS</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>,
DOI 10.17487/RFC2119, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-MAIL">MAIL</a>] Resnick, P., Ed., "Internet Message Format", <a href="./rfc5322">RFC 5322</a>,
DOI 10.17487/RFC5322, October 2008,
<<a href="http://www.rfc-editor.org/info/rfc5322">http://www.rfc-editor.org/info/rfc5322</a>>.
<span class="grey">Kucherawy Standards Track [Page 37]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-38" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
[<a id="ref-MIME">MIME</a>] Freed, N. and N. Borenstein, "Multipurpose Internet Mail
Extensions (MIME) Part One: Format of Internet Message
Bodies", <a href="./rfc2045">RFC 2045</a>, DOI 10.17487/RFC2045, November 1996,
<<a href="http://www.rfc-editor.org/info/rfc2045">http://www.rfc-editor.org/info/rfc2045</a>>.
[<a id="ref-SMTP">SMTP</a>] Klensin, J., "Simple Mail Transfer Protocol", <a href="./rfc5321">RFC 5321</a>,
DOI 10.17487/RFC5321, October 2008,
<<a href="http://www.rfc-editor.org/info/rfc5321">http://www.rfc-editor.org/info/rfc5321</a>>.
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>. Informative References</span>
[<a id="ref-ADSP">ADSP</a>] Allman, E., Fenton, J., Delany, M., and J. Levine,
"DomainKeys Identified Mail (DKIM) Author Domain Signing
Practices (ADSP)", <a href="./rfc5617">RFC 5617</a>, DOI 10.17487/RFC5617, August
2009, <<a href="http://www.rfc-editor.org/info/rfc5617">http://www.rfc-editor.org/info/rfc5617</a>>.
[<a id="ref-AR-VBR">AR-VBR</a>] Kucherawy, M., "Authentication-Results Registration for
Vouch by Reference Results", <a href="./rfc6212">RFC 6212</a>,
DOI 10.17487/RFC6212, April 2011,
<<a href="http://www.rfc-editor.org/info/rfc6212">http://www.rfc-editor.org/info/rfc6212</a>>.
[<a id="ref-ATPS">ATPS</a>] Kucherawy, M., "DomainKeys Identified Mail (DKIM)
Authorized Third-Party Signatures", <a href="./rfc6541">RFC 6541</a>,
DOI 10.17487/RFC6541, February 2012,
<<a href="http://www.rfc-editor.org/info/rfc6541">http://www.rfc-editor.org/info/rfc6541</a>>.
[<a id="ref-AUTH">AUTH</a>] Siemborski, R., Ed. and A. Melnikov, Ed., "SMTP Service
Extension for Authentication", <a href="./rfc4954">RFC 4954</a>,
DOI 10.17487/RFC4954, July 2007,
<<a href="http://www.rfc-editor.org/info/rfc4954">http://www.rfc-editor.org/info/rfc4954</a>>.
[<a id="ref-AUTH-ESC">AUTH-ESC</a>]
Kucherawy, M., "Email Authentication Status Codes",
<a href="./rfc7372">RFC 7372</a>, DOI 10.17487/RFC7372, September 2014,
<<a href="http://www.rfc-editor.org/info/rfc7372">http://www.rfc-editor.org/info/rfc7372</a>>.
[<a id="ref-DKIM">DKIM</a>] Crocker, D., Ed., Hansen, T., Ed., and M. Kucherawy, Ed.,
"DomainKeys Identified Mail (DKIM) Signatures", STD 76,
<a href="./rfc6376">RFC 6376</a>, DOI 10.17487/RFC6376, September 2011,
<<a href="http://www.rfc-editor.org/info/rfc6376">http://www.rfc-editor.org/info/rfc6376</a>>.
[<a id="ref-DMARC">DMARC</a>] Kucherawy, M., Ed. and E. Zwicky, Ed., "Domain-based
Message Authentication, Reporting, and Conformance
(DMARC)", <a href="./rfc7489">RFC 7489</a>, DOI 10.17487/RFC7489, March 2015,
<<a href="http://www.rfc-editor.org/info/rfc7489">http://www.rfc-editor.org/info/rfc7489</a>>.
<span class="grey">Kucherawy Standards Track [Page 38]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-39" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
[<a id="ref-DNS">DNS</a>] Mockapetris, P., "Domain names - implementation and
specification", STD 13, <a href="./rfc1035">RFC 1035</a>, DOI 10.17487/RFC1035,
November 1987, <<a href="http://www.rfc-editor.org/info/rfc1035">http://www.rfc-editor.org/info/rfc1035</a>>.
[<a id="ref-DNS-IP6">DNS-IP6</a>] Thomson, S., Huitema, C., Ksinant, V., and M. Souissi,
"DNS Extensions to Support IP Version 6", <a href="./rfc3596">RFC 3596</a>,
DOI 10.17487/RFC3596, October 2003,
<<a href="http://www.rfc-editor.org/info/rfc3596">http://www.rfc-editor.org/info/rfc3596</a>>.
[<a id="ref-DNSOP-REVERSE">DNSOP-REVERSE</a>]
Senie, D. and A. Sullivan, "Considerations for the use of
DNS Reverse Mapping", Work in Progress, <a href="./draft-ietf-dnsop-reverse-mapping-considerations-06">draft-ietf-dnsop-</a>
<a href="./draft-ietf-dnsop-reverse-mapping-considerations-06">reverse-mapping-considerations-06</a>, March 2008.
[<a id="ref-DOMAINKEYS">DOMAINKEYS</a>]
Delany, M., "Domain-Based Email Authentication Using
Public Keys Advertised in the DNS (DomainKeys)", <a href="./rfc4870">RFC 4870</a>,
DOI 10.17487/RFC4870, May 2007,
<<a href="http://www.rfc-editor.org/info/rfc4870">http://www.rfc-editor.org/info/rfc4870</a>>.
[<a id="ref-DSN">DSN</a>] Moore, K. and G. Vaudreuil, "An Extensible Message Format
for Delivery Status Notifications", <a href="./rfc3464">RFC 3464</a>,
DOI 10.17487/RFC3464, January 2003,
<<a href="http://www.rfc-editor.org/info/rfc3464">http://www.rfc-editor.org/info/rfc3464</a>>.
[<a id="ref-EMAIL-ARCH">EMAIL-ARCH</a>]
Crocker, D., "Internet Mail Architecture", <a href="./rfc5598">RFC 5598</a>,
DOI 10.17487/RFC5598, July 2009,
<<a href="http://www.rfc-editor.org/info/rfc5598">http://www.rfc-editor.org/info/rfc5598</a>>.
[<a id="ref-IANA-CONSIDERATIONS">IANA-CONSIDERATIONS</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>,
DOI 10.17487/RFC5226, May 2008,
<<a href="http://www.rfc-editor.org/info/rfc5226">http://www.rfc-editor.org/info/rfc5226</a>>.
[<a id="ref-IMAP">IMAP</a>] Crispin, M., "INTERNET MESSAGE ACCESS PROTOCOL - VERSION
4rev1", <a href="./rfc3501">RFC 3501</a>, DOI 10.17487/RFC3501, March 2003,
<<a href="http://www.rfc-editor.org/info/rfc3501">http://www.rfc-editor.org/info/rfc3501</a>>.
[<a id="ref-POP3">POP3</a>] Myers, J. and M. Rose, "Post Office Protocol - Version 3",
STD 53, <a href="./rfc1939">RFC 1939</a>, DOI 10.17487/RFC1939, May 1996,
<<a href="http://www.rfc-editor.org/info/rfc1939">http://www.rfc-editor.org/info/rfc1939</a>>.
[<a id="ref-PRA">PRA</a>] Lyon, J., "Purported Responsible Address in E-Mail
Messages", <a href="./rfc4407">RFC 4407</a>, DOI 10.17487/RFC4407, April 2006,
<<a href="http://www.rfc-editor.org/info/rfc4407">http://www.rfc-editor.org/info/rfc4407</a>>.
<span class="grey">Kucherawy Standards Track [Page 39]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-40" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
[<a id="ref-RFC5451">RFC5451</a>] Kucherawy, M., "Message Header Field for Indicating
Message Authentication Status", <a href="./rfc5451">RFC 5451</a>,
DOI 10.17487/RFC5451, April 2009,
<<a href="http://www.rfc-editor.org/info/rfc5451">http://www.rfc-editor.org/info/rfc5451</a>>.
[<a id="ref-RFC6008">RFC6008</a>] Kucherawy, M., "Authentication-Results Registration for
Differentiating among Cryptographic Results", <a href="./rfc6008">RFC 6008</a>,
DOI 10.17487/RFC6008, September 2010,
<<a href="http://www.rfc-editor.org/info/rfc6008">http://www.rfc-editor.org/info/rfc6008</a>>.
[<a id="ref-RFC6577">RFC6577</a>] Kucherawy, M., "Authentication-Results Registration Update
for Sender Policy Framework (SPF) Results", <a href="./rfc6577">RFC 6577</a>,
DOI 10.17487/RFC6577, March 2012,
<<a href="http://www.rfc-editor.org/info/rfc6577">http://www.rfc-editor.org/info/rfc6577</a>>.
[<a id="ref-RFC7001">RFC7001</a>] Kucherawy, M., "Message Header Field for Indicating
Message Authentication Status", <a href="./rfc7001">RFC 7001</a>,
DOI 10.17487/RFC7001, September 2013,
<<a href="http://www.rfc-editor.org/info/rfc7001">http://www.rfc-editor.org/info/rfc7001</a>>.
[<a id="ref-RFC7410">RFC7410</a>] Kucherawy, M., "A Property Types Registry for the
Authentication-Results Header Field", <a href="./rfc7410">RFC 7410</a>,
DOI 10.17487/RFC7410, December 2014,
<<a href="http://www.rfc-editor.org/info/rfc7410">http://www.rfc-editor.org/info/rfc7410</a>>.
[<a id="ref-RRVS">RRVS</a>] Mills, W. and M. Kucherawy, "The Require-Recipient-Valid-
Since Header Field and SMTP Service Extension", <a href="./rfc7293">RFC 7293</a>,
DOI 10.17487/RFC7293, July 2014,
<<a href="http://www.rfc-editor.org/info/rfc7293">http://www.rfc-editor.org/info/rfc7293</a>>.
[<a id="ref-SECURITY">SECURITY</a>] Rescorla, E. and B. Korver, "Guidelines for Writing RFC
Text on Security Considerations", <a href="https://www.rfc-editor.org/bcp/bcp72">BCP 72</a>, <a href="./rfc3552">RFC 3552</a>,
DOI 10.17487/RFC3552, July 2003,
<<a href="http://www.rfc-editor.org/info/rfc3552">http://www.rfc-editor.org/info/rfc3552</a>>.
[<a id="ref-SENDERID">SENDERID</a>] Lyon, J. and M. Wong, "Sender ID: Authenticating E-Mail",
<a href="./rfc4406">RFC 4406</a>, DOI 10.17487/RFC4406, April 2006,
<<a href="http://www.rfc-editor.org/info/rfc4406">http://www.rfc-editor.org/info/rfc4406</a>>.
[<a id="ref-SMIME-REG">SMIME-REG</a>]
Melnikov, A., "Authentication-Results Registration for
S/MIME Signature Verification", <a href="./rfc7281">RFC 7281</a>,
DOI 10.17487/RFC7281, June 2014,
<<a href="http://www.rfc-editor.org/info/rfc7281">http://www.rfc-editor.org/info/rfc7281</a>>.
<span class="grey">Kucherawy Standards Track [Page 40]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-41" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
[<a id="ref-SPF">SPF</a>] Kitterman, S., "Sender Policy Framework (SPF) for
Authorizing Use of Domains in Email, Version 1", <a href="./rfc7208">RFC 7208</a>,
DOI 10.17487/RFC7208, April 2014,
<<a href="http://www.rfc-editor.org/info/rfc7208">http://www.rfc-editor.org/info/rfc7208</a>>.
[<a id="ref-VBR">VBR</a>] Hoffman, P., Levine, J., and A. Hathcock, "Vouch By
Reference", <a href="./rfc5518">RFC 5518</a>, DOI 10.17487/RFC5518, April 2009,
<<a href="http://www.rfc-editor.org/info/rfc5518">http://www.rfc-editor.org/info/rfc5518</a>>.
<span class="grey">Kucherawy Standards Track [Page 41]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-42" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. Legacy MUAs</span>
Implementers of this protocol should be aware that many MUAs are
unlikely to be retrofitted to support the new header field and its
semantics. In the interests of convenience and quicker adoption, a
delivery MTA might want to consider adding things that are processed
by existing MUAs in addition to the Authentication-Results header
field. One suggestion is to include a Priority header field, on
messages that don't already have such a header field, containing a
value that reflects the strength of the authentication that was
accomplished, e.g., "low" for weak or no authentication, "normal" or
"high" for good or strong authentication.
Some modern MUAs can already filter based on the content of this
header field. However, there is keen interest in having MUAs make
some kind of graphical representation of this header field's meaning
to end users. Until this capability is added (i.e., while this
proposal and its successors are being adopted), other interim means
of conveying authentication results may be necessary.
<span class="h2"><a class="selflink" id="appendix-B" href="#appendix-B">Appendix B</a>. Authentication-Results Examples</span>
This section presents some examples of the use of this header field
to indicate authentication results.
<span class="h3"><a class="selflink" id="appendix-B.1" href="#appendix-B.1">B.1</a>. Trivial Case; Header Field Not Present</span>
The trivial case:
Received: from mail-router.example.com
(mail-router.example.com [192.0.2.1])
by server.example.org (8.11.6/8.11.6)
with ESMTP id g1G0r1kA003489;
Fri, Feb 15 2002 17:19:07 -0800
From: sender@example.com
Date: Fri, Feb 15 2002 16:54:30 -0800
To: receiver@example.org
Message-Id: <12345.abc@example.com>
Subject: here's a sample
Hello! Goodbye!
Example 1: Trivial Case
<span class="grey">Kucherawy Standards Track [Page 42]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-43" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
The Authentication-Results header field is completely absent. The
MUA may make no conclusion about the validity of the message. This
could be the case because the message authentication services were
not available at the time of delivery, or no service is provided, or
the MTA is not in compliance with this specification.
<span class="h3"><a class="selflink" id="appendix-B.2" href="#appendix-B.2">B.2</a>. Nearly Trivial Case; Service Provided, but No Authentication Done</span>
A message that was delivered by an MTA that conforms to this
specification but provides no actual message authentication service:
Authentication-Results: example.org 1; none
Received: from mail-router.example.com
(mail-router.example.com [192.0.2.1])
by server.example.org (8.11.6/8.11.6)
with ESMTP id g1G0r1kA003489;
Fri, Feb 15 2002 17:19:07 -0800
From: sender@example.com
Date: Fri, Feb 15 2002 16:54:30 -0800
To: receiver@example.org
Message-Id: <12345.abc@example.com>
Subject: here's a sample
Hello! Goodbye!
Example 2: Header Present but No Authentication Done
The Authentication-Results header field is present, showing that the
delivering MTA conforms to this specification. It used its DNS
domain name as the authserv-id. The presence of "none" (and the
absence of any method or result tokens) indicates that no message
authentication was done. The version number of the specification to
which the field's content conforms is explicitly provided.
<span class="grey">Kucherawy Standards Track [Page 43]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-44" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
<span class="h3"><a class="selflink" id="appendix-B.3" href="#appendix-B.3">B.3</a>. Service Provided, Authentication Done</span>
A message that was delivered by an MTA that conforms to this
specification and applied some message authentication:
Authentication-Results: example.com;
spf=pass smtp.mailfrom=example.net
Received: from dialup-1-2-3-4.example.net
(dialup-1-2-3-4.example.net [192.0.2.200])
by mail-router.example.com (8.11.6/8.11.6)
with ESMTP id g1G0r1kA003489;
Fri, Feb 15 2002 17:19:07 -0800
From: sender@example.net
Date: Fri, Feb 15 2002 16:54:30 -0800
To: receiver@example.com
Message-Id: <12345.abc@example.net>
Subject: here's a sample
Hello! Goodbye!
Example 3: Header Reporting Results
The Authentication-Results header field is present, indicating that
the border MTA conforms to this specification. The authserv-id is
once again the DNS domain name. Furthermore, the message was
authenticated by that MTA via the method specified in [<a href="#ref-SPF" title=""Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1"">SPF</a>]. Note
that since that method cannot authenticate the local-part, it has
been omitted from the result's value. The MUA could extract and
relay this extra information if desired.
<span class="grey">Kucherawy Standards Track [Page 44]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-45" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
<span class="h3"><a class="selflink" id="appendix-B.4" href="#appendix-B.4">B.4</a>. Service Provided, Several Authentications Done, Single MTA</span>
A message that was relayed inbound via a single MTA that conforms to
this specification and applied three different message authentication
checks:
Authentication-Results: example.com;
auth=pass (cram-md5) smtp.auth=sender@example.net;
spf=pass smtp.mailfrom=example.net
Authentication-Results: example.com;
sender-id=pass header.from=example.net
Received: from dialup-1-2-3-4.example.net (8.11.6/8.11.6)
(dialup-1-2-3-4.example.net [192.0.2.200])
by mail-router.example.com (8.11.6/8.11.6)
with ESMTPA id g1G0r1kA003489;
Fri, Feb 15 2002 17:19:07 -0800
Date: Fri, Feb 15 2002 16:54:30 -0800
To: receiver@example.com
From: sender@example.net
Message-Id: <12345.abc@example.net>
Subject: here's a sample
Hello! Goodbye!
Example 4: Headers Reporting Results from One MTA
The Authentication-Results header field is present, indicating that
the delivering MTA conforms to this specification. Once again, the
receiving DNS domain name is used as the authserv-id. Furthermore,
the sender authenticated herself/himself to the MTA via a method
specified in [<a href="#ref-AUTH" title=""SMTP Service Extension for Authentication"">AUTH</a>], and both SPF and Sender ID checks were done and
passed. The MUA could extract and relay this extra information if
desired.
Two Authentication-Results header fields are not required since the
same host did all of the checking. The authenticating agent could
have consolidated all the results into one header field.
This example illustrates a scenario in which a remote user on a dial-
up connection (example.net) sends mail to a border MTA (example.com)
using SMTP authentication to prove identity. The dial-up provider
has been explicitly authorized to relay mail as example.com,
producing "pass" results from the SPF and Sender ID checks.
<span class="grey">Kucherawy Standards Track [Page 45]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-46" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
<span class="h3"><a class="selflink" id="appendix-B.5" href="#appendix-B.5">B.5</a>. Service Provided, Several Authentications Done, Different MTAs</span>
A message that was relayed inbound by two different MTAs that conform
to this specification and applied multiple message authentication
checks:
Authentication-Results: example.com;
sender-id=fail header.from=example.com;
dkim=pass (good signature) header.d=example.com
Received: from mail-router.example.com
(mail-router.example.com [192.0.2.1])
by auth-checker.example.com (8.11.6/8.11.6)
with ESMTP id i7PK0sH7021929;
Fri, Feb 15 2002 17:19:22 -0800
DKIM-Signature: v=1; a=rsa-sha256; s=gatsby; d=example.com;
t=1188964191; c=simple/simple; h=From:Date:To:Subject:
Message-Id:Authentication-Results;
bh=sEuZGD/pSr7ANysbY3jtdaQ3Xv9xPQtS0m70;
b=EToRSuvUfQVP3Bkz ... rTB0t0gYnBVCM=
Authentication-Results: example.com;
auth=pass (cram-md5) smtp.auth=sender@example.com;
spf=fail smtp.mailfrom=example.com
Received: from dialup-1-2-3-4.example.net
(dialup-1-2-3-4.example.net [192.0.2.200])
by mail-router.example.com (8.11.6/8.11.6)
with ESMTPA id g1G0r1kA003489;
Fri, Feb 15 2002 17:19:07 -0800
From: sender@example.com
Date: Fri, Feb 15 2002 16:54:30 -0800
To: receiver@example.com
Message-Id: <12345.abc@example.com>
Subject: here's a sample
Hello! Goodbye!
Example 5: Headers Reporting Results from Multiple MTAs
The Authentication-Results header field is present, indicating
conformance to this specification. Once again, the authserv-id used
is the recipient's DNS domain name. The header field is present
twice because two different MTAs in the chain of delivery did
authentication tests. The first MTA, mail-router.example.com,
reports that SMTP AUTH and SPF were both used and that the former
passed while the latter failed. In the SMTP AUTH case, additional
information is provided in the comment field, which the MUA can
choose to render if desired.
<span class="grey">Kucherawy Standards Track [Page 46]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-47" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
The second MTA, auth-checker.example.com, reports that it did a
Sender ID test (which failed) and a DKIM test (which passed). Again,
additional data about one of the tests is provided as a comment,
which the MUA may choose to render. Also noteworthy here is the fact
that there is a DKIM signature added by example.com that assured the
integrity of the lower Authentication-Results field.
Since different hosts did the two sets of authentication checks, the
header fields cannot be consolidated in this example.
This example illustrates more typical transmission of mail into
example.com from a user on a dial-up connection example.net. The
user appears to be legitimate as he/she had a valid password allowing
authentication at the border MTA using SMTP AUTH. The SPF and Sender
ID tests failed since example.com has not granted example.net
authority to relay mail on its behalf. However, the DKIM test passed
because the sending user had a private key matching one of
example.com's published public keys and used it to sign the message.
<span class="grey">Kucherawy Standards Track [Page 47]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-48" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
<span class="h3"><a class="selflink" id="appendix-B.6" href="#appendix-B.6">B.6</a>. Service Provided, Multi-tiered Authentication Done</span>
A message that had authentication done at various stages, one of
which was outside the receiving ADMD:
Authentication-Results: example.com;
dkim=pass reason="good signature"
header.i=@mail-router.example.net;
dkim=fail reason="bad signature"
header.i=@newyork.example.com
Received: from mail-router.example.net
(mail-router.example.net [192.0.2.250])
by chicago.example.com (8.11.6/8.11.6)
for <recipient@chicago.example.com>
with ESMTP id i7PK0sH7021929;
Fri, Feb 15 2002 17:19:22 -0800
DKIM-Signature: v=1; a=rsa-sha256; s=furble;
d=mail-router.example.net; t=1188964198; c=relaxed/simple;
h=From:Date:To:Message-Id:Subject:Authentication-Results;
bh=ftA9J6GtX8OpwUECzHnCkRzKw1uk6FNiLfJl5Nmv49E=;
b=oINEO8hgn/gnunsg ... 9n9ODSNFSDij3=
Authentication-Results: example.net;
dkim=pass (good signature) header.i=@newyork.example.com
Received: from smtp.newyork.example.com
(smtp.newyork.example.com [192.0.2.220])
by mail-router.example.net (8.11.6/8.11.6)
with ESMTP id g1G0r1kA003489;
Fri, Feb 15 2002 17:19:07 -0800
DKIM-Signature: v=1; a=rsa-sha256; s=gatsby;
d=newyork.example.com;
t=1188964191; c=simple/simple;
h=From:Date:To:Message-Id:Subject;
bh=sEu28nfs9fuZGD/pSr7ANysbY3jtdaQ3Xv9xPQtS0m7=;
b=EToRSuvUfQVP3Bkz ... rTB0t0gYnBVCM=
From: sender@newyork.example.com
Date: Fri, Feb 15 2002 16:54:30 -0800
To: meetings@example.net
Message-Id: <12345.abc@newyork.example.com>
Subject: here's a sample
Example 6: Headers Reporting Results from Multiple MTAs in
Different ADMDs
In this example, we see multi-tiered authentication with an extended
trust boundary.
<span class="grey">Kucherawy Standards Track [Page 48]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-49" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
The message was sent from someone at example.com's New York office
(newyork.example.com) to a mailing list managed at an intermediary.
The message was signed at the origin using DKIM.
The message was sent to a mailing list service provider called
example.net, which is used by example.com. There,
meetings@example.net is expanded to a long list of recipients, one of
whom is at the Chicago office. In this example, we will assume that
the trust boundary for chicago.example.com includes the mailing list
server at example.net.
The mailing list server there first authenticated the message and
affixed an Authentication-Results header field indicating such using
its DNS domain name for the authserv-id. It then altered the message
by affixing some footer text to the body, including some
administrivia such as unsubscription instructions. Finally, the
mailing list server affixes a second DKIM signature and begins
distribution of the message.
The border MTA for chicago.example.com explicitly trusts results from
mail-router.example.net, so that header field is not removed. It
performs evaluation of both signatures and determines that the first
(most recent) is a "pass" but, because of the aforementioned
modifications, the second is a "fail". However, the first signature
included the Authentication-Results header added at mail-
router.example.net that validated the second signature. Thus,
indirectly, it can be determined that the authentications claimed by
both signatures are indeed valid.
Note that two styles of presenting metadata about the result are in
use here. In one case, the "reason=" clause is present, which is
intended for easy extraction by parsers; in the other case, the CFWS
production of the ABNF is used to include such data as a header field
comment. The latter can be harder for parsers to extract given the
varied supported syntaxes of mail header fields.
<span class="h3"><a class="selflink" id="appendix-B.7" href="#appendix-B.7">B.7</a>. Comment-Heavy Example</span>
The formal syntax permits comments within the content in a number of
places. For the sake of illustration, this example is also legal:
Authentication-Results: foo.example.net (foobar) 1 (baz);
dkim (Because I like it) / 1 (One yay) = (wait for it) fail
policy (A dot can go here) . (like that) expired
(this surprised me) = (as I wasn't expecting it) 1362471462
Example 7: A Very Comment-Heavy but Perfectly Legal Example
<span class="grey">Kucherawy Standards Track [Page 49]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-50" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
<span class="h2"><a class="selflink" id="appendix-C" href="#appendix-C">Appendix C</a>. Operational Considerations about Message Authentication</span>
This protocol is predicated on the idea that authentication (and
presumably in the future, reputation) work is typically done by
border MTAs rather than MUAs or intermediate MTAs; the latter merely
make use of the results determined by the former. Certainly this is
not mandatory for participation in electronic mail or message
authentication, but this protocol and its deployment to date are
based on that model. The assumption satisfies several common ADMD
requirements:
1. Service operators prefer to resolve the handling of problem
messages as close to the border of the ADMD as possible. This
enables, for example, rejection of messages at the SMTP level
rather than generating a DSN internally. Thus, doing any of the
authentication or reputation work exclusively at the MUA or
intermediate MTA renders this desire unattainable.
2. Border MTAs are more likely to have direct access to external
sources of authentication or reputation information since modern
MUAs are more likely to be heavily firewalled. Thus, some MUAs
might not even be able to complete the task of performing
authentication or reputation evaluations without complex proxy
configurations or similar burdens.
3. MUAs rely upon the upstream MTAs within their trust boundaries to
make correct (as much as is possible) evaluations about the
message's envelope, header, and content. Thus, MUAs don't need
to know how to do the work that upstream MTAs do; they only need
the results of that work.
4. Evaluations about the quality of a message, from simple token
matching (e.g., a list of preferred DNS domains) to cryptanalysis
(e.g., public/private key work), do have a cost and thus need to
be minimized. To that end, performing those tests at the border
MTA is far preferred to doing that work at each MUA that handles
a message. If an ADMD's environment adheres to common messaging
protocols, a reputation query or an authentication check
performed by a border MTA would return the same result as the
same query performed by an MUA. By contrast, in an environment
where the MUA does the work, a message arriving for multiple
recipients would thus cause authentication or reputation
evaluation to be done more than once for the same message (i.e.,
at each MUA), causing needless amplification of resource use and
creating a possible denial-of-service attack vector.
<span class="grey">Kucherawy Standards Track [Page 50]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-51" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
5. Minimizing change is good. As new authentication and reputation
methods emerge, the list of methods supported by this header
field would presumably be extended. If MUAs simply consume the
contents of this header field rather than actually attempt to do
authentication and/or reputation work, then MUAs only need to
learn to parse this header field once; emergence of new methods
requires only a configuration change at the MUAs and software
changes at the MTAs (which are presumably fewer in number). When
choosing to implement these functions in MTAs vs. MUAs, the
issues of individual flexibility, infrastructure inertia, and
scale of effort must be considered. It is typically easier to
change a single MUA than an MTA because the modification affects
fewer users and can be pursued with less care. However, changing
many MUAs is more effort than changing a smaller number of MTAs.
6. For decisions affecting message delivery and display, assessment
based on authentication and reputation is best performed close to
the time of message transit, as a message makes its journey
toward a user's inbox, not afterwards. DKIM keys and IP address
reputations, etc., can change over time or even become invalid,
and users can take a long time to read a message once delivered.
The value of this work thus degrades, perhaps quickly, once the
delivery process has completed. This seriously diminishes the
value of this work when done elsewhere than at MTAs.
Many operational choices are possible within an ADMD, including the
venue for performing authentication and/or reputation assessment.
The current specification does not dictate any of those choices.
Rather, it facilitates those cases in which information produced by
one stage of analysis needs to be transported with the message to the
next stage.
<span class="h2"><a class="selflink" id="appendix-D" href="#appendix-D">Appendix D</a>. Changes since <a href="./rfc7001">RFC 7001</a></span>
o Applied <a href="./rfc7410">RFC 7410</a>.
o Updated all references to <a href="./rfc4408">RFC 4408</a> with <a href="./rfc7208">RFC 7208</a>.
o Added section explaining "property" values. (Addressed Erratum
#4201.)
o Did some minor text reorganization.
o Gave registry history -- enough that this is now the authoritative
registry definition.
o Added text explaining each of the method-ptype-property tuples
registered by this document.
<span class="grey">Kucherawy Standards Track [Page 51]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-52" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
o Changed the meaning of the "Defined" column of the methods
registry to be the place where each entry was created and
described; it is expected that this will then refer to the
method's defining document. Provided IANA with corresponding
update instructions.
o Cleaned up registry structure and content, and replaced all
references to <a href="./rfc7001">RFC 7001</a> with pointers to this document.
o Added references: [<a href="#ref-DMARC" title=""Domain-based Message Authentication, Reporting, and Conformance (DMARC)"">DMARC</a>], [<a href="#ref-PRA" title=""Purported Responsible Address in E-Mail Messages"">PRA</a>], [<a href="./rfc6008" title=""Authentication-Results Registration for Differentiating among Cryptographic Results"">RFC6008</a>], [<a href="./rfc6577" title=""Authentication-Results Registration Update for Sender Policy Framework (SPF) Results"">RFC6577</a>], [<a href="#ref-RRVS" title=""The Require-Recipient-Valid- Since Header Field and SMTP Service Extension"">RRVS</a>],
[<a href="#ref-SMIME-REG">SMIME-REG</a>].
o Added description of values that can be extracted from SMTP AUTH
sessions and an example.
o Provided much more complete descriptions of reporting DomainKeys
results.
o Added more detail about Sender ID.
o Marked all ADSP and DomainKeys entries as deprecated since their
defining documents are as well.
o Reworked some text around ignoring unknown ptypes.
o Completely described the ptypes registry.
o Mentioned that EHLO is mapped to HELO for SPF.
o <a href="./rfc7208">RFC 7208</a> uses all-lowercase result strings now, so adjusted prose
accordingly.
o Updated list of supported methods, and mentioned the registries
immediately below.
o Mentioned that when a local-part is removed, the "@" goes with it.
o Referred to <a href="./rfc7328">RFC 7328</a> in the "iprev" definition.
o Corrected the "smime-part" prose.
o Updated examples that use SMTP AUTH to claim "with ESMTPA" in the
Received fields.
o Made minor editorial adjustments.
<span class="grey">Kucherawy Standards Track [Page 52]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-53" ></span>
<span class="grey"><a href="./rfc7601">RFC 7601</a> Authentication-Results Header Field August 2015</span>
Acknowledgments
The author wishes to acknowledge the following individuals for their
review and constructive criticism of this document: Stephane
Bortzmeyer, Scott Kitterman, John Levine, Tom Petch, and Pete
Resnick.
Author's Address
Murray S. Kucherawy
270 Upland Drive
San Francisco, CA 94127
United States
Email: superuser@gmail.com
Kucherawy Standards Track [Page 53]
</pre>
|