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
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
|
Independent Submission H. Spencer
Request for Comments: 1849 SP Systems
Obsoleted by: 5536, 5537 March 2010
Category: Historic
ISSN: 2070-1721
"Son of 1036": News Article Format and Transmission
Abstract
By the early 1990s, it had become clear that RFC 1036, then the
specification for the Interchange of USENET Messages, was badly in
need of repair. This "Internet-Draft-to-be", though never formally
published at that time, was widely circulated and became the de facto
standard for implementors of News Servers and User Agents, rapidly
acquiring the nickname "Son of 1036". Indeed, under that name, it
could fairly be described as the best-known Internet Draft (n)ever
published, and it formed the starting point for the recently adopted
Proposed Standards for Netnews.
It is being published now in order to provide the historical
background out of which those standards have grown. Present-day
implementors should be aware that it is NOT NOW APPROPRIATE for use
in current implementations.
Status of This Memo
This document is not an Internet Standards Track specification; it is
published for the historical record.
This document defines a Historic Document for the Internet community.
This is a contribution to the RFC Series, independently of any other
RFC stream. The RFC Editor has chosen to publish this document at
its discretion and makes no statement about its value for
implementation or deployment. Documents approved for publication by
the RFC Editor are not a candidate for any level of Internet
Standard; see Section 2 of RFC 5741.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
http://www.rfc-editor.org/info/rfc1849.
Spencer Historic [Page 1]
^L
RFC 1849 Son of 1036 March 2010
Copyright Notice
Copyright (c) 2010 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) 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.
This document may not be modified, and derivative works of it may not
be created, except to format it for publication as an RFC or to
translate it into languages other than English.
Spencer Historic [Page 2]
^L
RFC 1849 Son of 1036 March 2010
Table of Contents
Preface ............................................................5
Original Abstract ..................................................6
1. Introduction ....................................................6
2. Definitions, Notations, and Conventions .........................8
2.1. Textual Notations ..........................................8
2.2. Syntax Notation ............................................9
2.3. Definitions ...............................................10
2.4. End-of-Line ...............................................13
2.5. Case-Sensitivity ..........................................13
2.6. Language ..................................................13
3. Relation to MAIL (RFC822, etc.) ................................14
4. Basic Format ...................................................15
4.1. Overall Syntax ............................................15
4.2. Headers ...................................................16
4.2.1. Names and Contents .................................16
4.2.2. Undesirable Headers ................................18
4.2.3. White Space and Continuations ......................18
4.3. Body ......................................................19
4.3.1. Body Format Issues .................................19
4.3.2. Body Conventions ...................................20
4.4. Characters and Character Sets .............................23
4.5. Non-ASCII Characters in Headers ...........................26
4.6. Size Limits ...............................................28
4.7. Example ...................................................30
5. Mandatory Headers ..............................................30
5.1. Date ......................................................31
5.2. From ......................................................33
5.3. Message-ID ................................................35
5.4. Subject ...................................................36
5.5. Newsgroups ................................................38
5.6. Path ......................................................42
6. Optional Headers ...............................................45
6.1. Followup-To ...............................................45
6.2. Expires ...................................................46
6.3. Reply-To ..................................................47
6.4. Sender ....................................................47
6.5. References ................................................48
6.6. Control ...................................................50
6.7. Distribution ..............................................51
6.8. Keywords ..................................................52
6.9. Summary ...................................................53
6.10. Approved .................................................53
6.11. Lines ....................................................54
6.12. Xref .....................................................55
6.13. Organization .............................................56
6.14. Supersedes ...............................................57
Spencer Historic [Page 3]
^L
RFC 1849 Son of 1036 March 2010
6.15. Also-Control .............................................57
6.16. See-Also .................................................58
6.17. Article-Names ............................................58
6.18. Article-Updates ..........................................60
7. Control Messages ...............................................60
7.1. cancel ....................................................61
7.2. ihave, sendme .............................................64
7.3. newgroup ..................................................66
7.4. rmgroup ...................................................68
7.5. sendsys, version, whogets .................................68
7.6. checkgroups ...............................................73
8. Transmission Formats ...........................................74
8.1. Batches ...................................................74
8.2. Encoded Batches ...........................................75
8.3. News within Mail ..........................................76
8.4. Partial Batches ...........................................77
9. Propagation and Processing .....................................77
9.1. Relayer General Issues ....................................78
9.2. Article Acceptance and Propagation ........................80
9.3. Administrator Contact .....................................82
10. Gatewaying ....................................................83
10.1. General Gatewaying Issues ................................83
10.2. Header Synthesis .........................................85
10.3. Message ID Mapping .......................................86
10.4. Mail to and from News ....................................88
10.5. Gateway Administration ...................................89
11. Security and Related Issues ...................................90
11.1. Leakage ..................................................90
11.2. Attacks ..................................................91
11.3. Anarchy ..................................................92
11.4. Liability ................................................92
12. References ....................................................93
Appendix A. Archaeological Notes ..................................96
A.1. "A News" Article Format ...................................96
A.2. Early "B News" Article Format .............................96
A.3. Obsolete Headers ..........................................97
A.4. Obsolete Control Messages .................................97
Appendix B. A Quick Tour of MIME ..................................98
Appendix C. Summary of Changes Since RFC 1036 ....................103
Appendix D. Summary of Completely New Features ...................104
Appendix E. Summary of Differences from RFCs 822 and 1123.........105
Spencer Historic [Page 4]
^L
RFC 1849 Son of 1036 March 2010
Preface
Although [RFC1036] was published in 1987, for many years it remained
the only formally published specification for Netnews format and
processing. It was widely considered obsolete within a few years,
and it has now been superseded by the work of the USEFOR Working
Group, leading to the publication of [RFC5536] and [RFC5537].
However, there was an intermediate step that is of some historical
interest.
In 1993-4, Henry Spencer wrote and informally circulated a document
that became known as "Son of 1036", meant as a first draft of a
replacement for [RFC1036]. It went no further at the time (although,
more recently, the USEFOR Working Group started from it), but has
nevertheless seen considerable use as a technical reference and even
a de facto standard, despite its informal status.
The USEFOR work has eliminated any further relevance of Son of 1036
as a technical reference, but it remains of historical interest. The
USEFOR Working Group has asked that it be published as an Historic
RFC, to ensure its preservation in an accessible form and facilitate
referencing it.
This document is identical to the last distributed version of Son of
1036, dated 2 June 1994, except for reformatting, correction of a few
minor factual or formatting errors, completion of the then-empty
Appendix D and of the References section, minor editing to match
preferred RFC style, and changes to leading and trailing material.
Remarks enclosed within "{...}" indicate explanatory material not
present in the original version. References to the current MIME
standards (and a few others) have been added (that was an unresolved
issue in 1994).
The technical content remains unchanged, including the references to
the document itself as a Draft rather than an RFC and the presence of
unresolved issues. The original section numbering has been
preserved, although the original pagination has not (among other
reasons, it did not fully follow IETF formatting standards).
READERS ARE CAUTIONED THAT THIS DOCUMENT IS OBSOLETE AND SHOULD NOT
BE USED AS A TECHNICAL REFERENCE. Although Son of 1036 largely
documented existing practice, it also proposed some changes, some of
which did not catch on or are no longer considered good ideas. (Of
particular note, the MIME type "message/news" should not be used.)
Consult [RFC5536] and [RFC5537] for modern technical information.
Spencer Historic [Page 5]
^L
RFC 1849 Son of 1036 March 2010
Although a number of people contributed useful comments or criticism
during the preparation of this document, its contents are entirely
the opinions of the author circa 1994. Not even the author himself
agrees with them all now.
The author thanks Charles Lindsey for his assistance in getting this
document cleaned up and formally published at last (not least, for
supplying some prodding to actually get it done!).
The author thanks Luc Rooijakkers for supplying the MIME summary that
Appendix B is based on.
Original Abstract
This Draft defines the format and procedures for interchange of
network news articles. It is hoped that a later version of this
Draft will obsolete RFC 1036, reflecting more recent experience and
accommodating future directions.
Network news articles resemble mail messages but are broadcast to
potentially large audiences, using a flooding algorithm that
propagates one copy to each interested host (or group thereof),
typically stores only one copy per host, and does not require any
central administration or systematic registration of interested
users. Network news originated as the medium of communication for
Usenet, circa 1980. Since then, Usenet has grown explosively, and
many Internet sites participate in it. In addition, the news
technology is now in widespread use for other purposes, on the
Internet and elsewhere.
This Draft primarily codifies and organizes existing practice. A few
small extensions have been added in an attempt to solve problems that
are considered serious. Major extensions (e.g., cryptographic
authentication) that need significant development effort are left to
be undertaken as independent efforts.
1. Introduction
Network news articles resemble mail messages but are broadcast to
potentially large audiences, using a flooding algorithm that
propagates one copy to each interested host (or groups thereof),
typically stores only one copy per host, and does not require any
central administration or systematic registration of interested
users. Network news originated as the medium of communication for
Usenet, circa 1980. Since then, Usenet has grown explosively, and
many Internet sites participate in it. In addition, the news
technology is now in widespread use for other purposes, on the
Internet and elsewhere.
Spencer Historic [Page 6]
^L
RFC 1849 Son of 1036 March 2010
The earliest news interchange used the so-called "A News" article
format. Shortly thereafter, an article format vaguely resembling
Internet mail was devised and used briefly. Both of those formats
are completely obsolete; they are documented in Appendix A for
historical reasons only. With the publication of [RFC850] in 1983,
news articles came to closely resemble Internet mail messages, with
some restrictions and some additional headers. In 1987, [RFC1036]
updated [RFC850] without making major changes.
In the intervening five years, the [RFC1036] article format has
proven quite satisfactory, although minor extensions appear desirable
to match recent developments in areas such as multi-media mail.
[RFC1036] itself has not proven quite so satisfactory. It is often
rather vague and does not address some issues at all; this has caused
significant interoperability problems at times, and implementations
have diverged somewhat. Worse, although it was intended primarily to
document existing practice, it did not precisely match existing
practice even at the time it was published, and the deviations have
grown since.
This Draft attempts to specify the format of articles, and the
procedures used to exchange them and process them, in sufficient
detail to allow full interoperability. In addition, some tentative
suggestions are made about directions for future development, in an
attempt to avert unnecessary divergence and consequent loss of
interoperability. Major extensions (e.g., cryptographic
authentication) that need significant development effort are left to
be undertaken as independent efforts.
NOTE: One question all of this may raise is: why is there no News-
Version header, analogous to MIME-Version, specifying a version
number corresponding to this specification? The answer is: it
doesn't appear to be useful, given news's backward-compatibility
constraints. The major use of a version number is indicating
which of several INCOMPATIBLE interpretations is relevant. The
impossibility of orchestrating any sort of simultaneous change
over news's installed base makes it necessary to avoid such
incompatible changes (as opposed to extensions) entirely. MIME
has a version number mostly because it introduced incompatible
changes to the interpretation of several "Content-" headers. This
Draft attempts no changes in interpretation, and it appears
doubtful that future Drafts will find it feasible to introduce
any.
UNRESOLVED ISSUE: Should this be reconsidered? Only if the header
has SPECIFIC IDENTIFIABLE uses today. Otherwise, it's just
useless added bulk.
Spencer Historic [Page 7]
^L
RFC 1849 Son of 1036 March 2010
As in this Draft's predecessors, the exact means used to transmit
articles from one host to another is not specified. Network News
Transfer Protocol (NNTP) [RFC977] {since replaced by [RFC3977]} is
probably the most common transmission method on the Internet, but a
number of others are known to be in use, including the Unix-To-Unix
Copy Protocol [UUCP], which was extensively used in the early days of
Usenet and is still much used on its fringes today.
Several of the mechanisms described in this Draft may seem somewhat
strange or even bizarre at first reading. As with Internet mail,
there is no reasonable possibility of updating the entire installed
base of news software promptly, so interoperability with old software
is crucial and will remain so. Compatibility with existing practice
and robustness in an imperfect world necessarily take priority over
elegance.
2. Definitions, Notations, and Conventions
2.1. Textual Notations
Throughout this Draft, "MAIL" is short for "[RFC822] as amended by
[RFC1123]". ([RFC1123]'s amendments are mostly relatively small, but
they are not insignificant.) See also the discussion in Section 3
about this Draft's relationship to MAIL. "MIME" is short for
"[RFC1341] and [RFC1342]" (or their {since} updated replacements
{[RFC2045], [RFC2046], and [RFC2047]}).
UNRESOLVED ISSUE: Update these numbers {now resolved!}.
{NOTE: Since the original publication of this Draft [RFC822] has
been updated, firstly to [RFC2822] and more recently to [RFC5322];
however, this Draft is firmly rooted in the original [RFC822].
Similarly, [RFC821] has also received two upgrades in the
meantime.}
"ASCII" is short for "the ANSI X3.4 character set" [X3.4]. While
"ASCII" is often misused to refer to various character sets somewhat
similar to X3.4, in this Draft, "ASCII" means [X3.4] and only [X3.4].
NOTE: The name is traditional (to the point where the ANSI
standard sanctions it), even though it is no longer an acronym for
the name of the standard.
NOTE: ASCII, X3.4, contains 128 characters, not all of them
printable. Character sets with more characters are not ASCII,
although they may include it as a subset.
Spencer Historic [Page 8]
^L
RFC 1849 Son of 1036 March 2010
Certain words used to define the significance of individual
requirements are capitalized. "MUST" means that the item is an
absolute requirement of the specification. "SHOULD" means that the
item is a strong recommendation: there may be valid reasons to ignore
it in unusual circumstances, but this should be done only after
careful study of the full implications and a firm conclusion that it
is necessary, because there are serious disadvantages to doing so.
"MAY" means that the item is truly optional, and implementors and
users are warned that conformance is possible but not to be relied
on.
The term "compliant", applied to implementations, etc., indicates
satisfaction of all relevant "MUST" and "SHOULD" requirements. The
term "conditionally compliant" indicates satisfaction of all relevant
"MUST" requirements but violation of at least one relevant "SHOULD"
requirement.
This Draft contains explanatory notes using the following format.
These may be skipped by persons interested solely in the content of
the specification. The purpose of the notes is to explain why
choices were made, to place them in context, or to suggest possible
implementation techniques.
NOTE: While such explanatory notes may seem superfluous in
principle, they often help the less-than-omniscient reader grasp
the purpose of the specification and the constraints involved.
Given the limitations of natural language for descriptive
purposes, this improves the probability that implementors and
users will understand the true intent of the specification in
cases where the wording is not entirely clear.
All numeric values are given in decimal unless otherwise indicated.
Octets are assumed to be unsigned values for this purpose. Large
numbers are written using the North American convention, in which ","
separates groups of three digits but otherwise has no significance.
2.2. Syntax Notation
Although the mechanisms specified in this Draft are all described in
prose, most are also described formally in the modified BNF notation
of [RFC822]. Implementors will need to be familiar with this
notation to fully understand this specification and are referred to
[RFC822] for a complete explanation of the modified BNF notation.
Here is a brief illustrative example:
Spencer Historic [Page 9]
^L
RFC 1849 Son of 1036 March 2010
sentence = clause *( punct clause ) "."
punct = ":" / ";"
clause = 1*word [ "(" clause ")" / "," 1*word ]
word = <any English word>
This defines a sentence as some clauses separated by puncts and ended
by a period, a punct as a colon or semicolon, a clause as at least
one <word> optionally followed by either a parenthesized clause or a
comma and at least one more <word>, and a <word> as (informally) any
English word. The characters "<>" are used to enclose names when
(and only when) distinguishing them from surrounding text is useful.
The full form of the repetition notation is "<m>*<n><thing>",
denoting <m> through <n> repetitions of <thing>; <m> defaults to
zero, <n> to infinity, and the "*" and <n> can be omitted if <m> and
<n> are equal, so 1*word is one or more words, 1*5word is one through
five words, and 2word is exactly two words.
The character "\" is not special in any way in this notation.
This Draft is intended to be self-contained; all syntax rules used in
it are defined within it, and a rule with the same name as one found
in MAIL does not necessarily have the same definition. The lexical
layer of MAIL is NOT, repeat NOT, used in this Draft, and its
presence must not be assumed; notably, this Draft spells out all
places where white space is permitted/required and all places where
constructs resembling MAIL comments can occur.
NOTE: News parsers historically have been much less permissive
than MAIL parsers.
2.3. Definitions
The term "character set", wherever it is used in this Draft, refers
to a coded character set, in the sense of ISO character set
standardization work, and must not be misinterpreted as meaning
merely "a set of characters".
In this Draft, ASCII character 32 is referred to as "blank"; the word
"space" has a more generic meaning.
An "article" is the unit of news, analogous to a MAIL "message".
A "poster" is a human being (or software equivalent) submitting a
possibly compliant article to be "posted", i.e., made available for
reading on all relevant hosts. A "posting agent" is software that
assists posters to prepare articles, including determining whether
the final article is compliant, passing it on to a relayer for
posting if so, and returning it to the poster with an explanation if
Spencer Historic [Page 10]
^L
RFC 1849 Son of 1036 March 2010
not. A "relayer" is software that receives allegedly compliant
articles from posting agents and/or other relayers, files copies in a
"news database", and possibly passes copies on to other relayers.
NOTE: While the same software may well function both as a relayer
and as part of a posting agent, the two functions are distinct and
should not be confused. The posting agent's purpose is (in part)
to validate an article, supply header information that can or
should be supplied automatically, and generally take reasonable
actions in an attempt to transform the poster's submission into a
compliant article. The relayer's purpose is to move already-
compliant articles around efficiently without damaging them.
A "reader" is a human being reading news articles. A "reading agent"
is software that presents articles to a reader.
NOTE: Informal usage often uses "reader" for both these meanings,
but this introduces considerable potential for confusion and
misunderstanding, so this Draft takes care to make the
distinction.
A "newsgroup" is a single news forum, a logical bulletin board,
having a name and nominally intended for articles on a specific
topic. An article is "posted to" a single newsgroup or several
newsgroups. When an article is posted to more than one newsgroup, it
is said to be "cross-posted"; note that this differs from posting the
same text as part of each of several articles, one per newsgroup. A
"hierarchy" is the set of all newsgroups whose names share a first
component (see the name syntax in Section 5.5).
A newsgroup may be "moderated", in which case submissions are not
posted directly, but mailed to a "moderator" for consideration and
possible posting. Moderators are typically human but may be
implemented partially or entirely in software.
A "followup" is an article containing a response to the contents of
an earlier article (the followup's "precursor"). A "followup agent"
is a combination of reading agent and posting agent that aids in the
preparation and posting of a followup.
Text comparisons are "case-sensitive" if they consider uppercase
letters (e.g., "A") different from lowercase letters (e.g., "a"), and
"case-insensitive" if letters differing only in case (e.g., "A" and
"a") are considered identical. Categories of text are said to be
case-(in)sensitive if comparisons of such texts to others are case-
(in)sensitive.
Spencer Historic [Page 11]
^L
RFC 1849 Son of 1036 March 2010
A "cooperating subnet" is a set of news-exchanging hosts that is
sufficiently well-coordinated (typically via a central administration
of some sort) that stronger assumptions can be made about hosts in
the set than about news hosts in general. This is typically used to
relax restrictions that are otherwise required for worst-case
interoperability; members of a cooperating subnet MAY interchange
articles that do not conform to this Draft's specifications, provided
all members have agreed to this and provided the articles are not
permitted to leak out of the subnet. The word "subnet" is used to
emphasize that a cooperating subnet is typically not an isolated
universe; care must be taken that traffic leaving the subnet complies
with the restrictions of the larger net, not just those of the
cooperating subnet.
A "message ID" is a unique identifier for an article, usually
supplied by the posting agent that posted it. It distinguishes the
article from every other article ever posted anywhere (in theory).
Articles with the same message ID are treated as identical copies of
the same article even if they are not in fact identical.
A "gateway" is software that receives news articles and converts them
to messages of some other kind (e.g., mail to a mailing list), or
vice versa; in essence, it is a translating relayer that straddles
boundaries between different methods of message exchange. The most
common type of gateway connects newsgroup(s) to mailing list(s),
either unidirectionally or bidirectionally, but there are also
gateways between news networks using this Draft's news format and
those using other formats.
A "control message" is an article that is marked as containing
control information; a relayer receiving such an article will
(subject to permissions, etc.) take actions beyond just filing and
passing on the article.
NOTE: "Control article" would be more consistent terminology, but
"control message" is already well established.
An article's "reply address" is the address to which mailed replies
should be sent. This is the address specified in the article's From
header (see Section 5.2), unless it also has a Reply-To header (see
Section 6.3).
The notation (for example) "(ASCII 17)" following a name means "this
name refers to the ASCII character having value 17". An "ASCII
printable character" is an ASCII character in the range 33-126. An
"ASCII control character" is an ASCII character in the range 0-31, or
the character DEL (ASCII 127). A "non-ASCII character" is a
character having a value exceeding 127.
Spencer Historic [Page 12]
^L
RFC 1849 Son of 1036 March 2010
NOTE: Blank is neither an "ASCII printable character" nor an
"ASCII control character".
2.4. End-of-Line
How the end of a text line is represented depends on the context and
the implementation. For Internet transmission via protocols such as
SMTP [RFC821], an end-of-line is a CR (ASCII 13) followed by an LF
(ASCII 10). ISO C [ISO/IEC9899] and many modern operating systems
indicate end-of-line with a single character, typically ASCII LF (aka
"newline"), and this is the normal convention when news is
transmitted via UUCP. A variety of other methods are in use,
including out-of-band methods in which there is no specific character
that means end-of-line.
This Draft does not constrain how end-of-line is represented in news,
except that characters other than CR and LF MUST NOT be usurped for
use in end-of-line representations. Also, obviously, all software
dealing with a particular copy of an article must agree on the
convention to be used. "EOL" is used to mean "whatever end-of-line
representation is appropriate"; it is not necessarily a character or
sequence of characters.
NOTE: If faced with picking an EOL representation in the absence
of other constraints, use of a single character simplifies
processing, and the ASCII standard [X3.4] specifies that if one
character is to be used for this purpose, it should be LF (ASCII
10).
NOTE: Inside MIME encodings, use of the Internet canonical EOL
representation (CR followed by LF) is mandatory. See [RFC2049].
2.5. Case-Sensitivity
Text in newsgroup names, header parameters, etc. is case-sensitive
unless stated otherwise.
NOTE: This is at variance with MAIL, which is case-insensitive
unless stated otherwise, but is consistent with news historical
practice and existing news software. See the comments on backward
compatibility in Section 1.
2.6. Language
Various constant strings in this Draft, such as header names and
month names, are derived from English words. Despite their
derivation, these words do NOT change when the poster or reader
employing them is interacting in a language other than English.
Spencer Historic [Page 13]
^L
RFC 1849 Son of 1036 March 2010
Posting and reading agents SHOULD translate as appropriate in their
interaction with the poster or reader, but the forms that actually
appear in articles are always the English-derived ones defined in
this Draft.
3. Relation to MAIL (RFC822, etc.)
The primary intent of this Draft is to completely describe the news
article format as a subset of MAIL's message format (augmented by
some new headers). Unless explicitly noted otherwise, the intent
throughout is that an article MUST also be a valid MAIL message.
NOTE: Despite obvious similarities between news and mail, opinions
vary on whether it is possible or desirable to unify them into a
single service. However, it is unquestionably both possible and
useful to employ some of the same tools for manipulating both mail
messages and news articles, so there is specific advantage to be
had in defining them compatibly. Furthermore, there is no
apparent need to re-invent the wheel when slight extensions to an
existing definition will suffice.
Given that this Draft attempts to be self-contained, it inevitably
contains considerable repetition of information found in MAIL. This
raises the possibility of unintentional conflicts. Unless
specifically noted otherwise, any wording in this Draft that permits
behavior that is not MAIL-compliant is erroneous and should be
followed only to the extent that the result remains compliant with
MAIL.
NOTE: [RFC1036] said "where this standard conflicts with the
Internet Standard, RFC 822 should be considered correct and this
standard in error". Taken literally, this was obviously
incorrect, since [RFC1036] imposed a number of restrictions not
found in [RFC822]. The intent, however, was reasonable: to
indicate that UNINTENTIONAL differences were errors in [RFC1036].
Implementors and users should note that MAIL is deliberately an
extensible standard, and most extensions devised for mail are also
relevant to (and compatible with) news. Note particularly MIME,
summarized briefly in Appendix B, which extends MAIL in a number of
useful ways that are definitely relevant to news. Also of note is
the work in progress on reconciling Privacy Enhanced Mail (PEM),
which defines extensions for authentication and security) with MIME,
after which this may also be relevant to news.
UNRESOLVED ISSUE: Update the MIME/PEM information.
Spencer Historic [Page 14]
^L
RFC 1849 Son of 1036 March 2010
Similarly, descriptions here of MIME facilities should be considered
correct only to the extent that they do not require or legitimize
practices that would violate those RFCs. (Note that this Draft does
extend the application of some MIME facilities, but this is an
extension rather than an alteration.)
4. Basic Format
4.1. Overall Syntax
The overall syntax of a news article is:
article = 1*header separator body
header = start-line *continuation
start-line = header-name ":" space [ nonblank-text ] eol
continuation = space nonblank-text eol
header-name = 1*name-character *( "-" 1*name-character )
name-character = letter / digit
letter = <ASCII letter A-Z or a-z>
digit = <ASCII digit 0-9>
separator = eol
body = *( [ nonblank-text / space ] eol )
eol = <EOL>
nonblank-text = [ space ] text-character *( space-or-text )
text-character = <any ASCII character except NUL (ASCII 0),
HT (ASCII 9), LF (ASCII 10), CR (ASCII 13),
or blank (ASCII 32)>
space = 1*( <HT (ASCII 9)> / <blank (ASCII 32)> )
space-or-text = space / text-character
An article consists of some headers followed by a body. An empty
line separates the two. The headers contain structured information
about the article and its transmission. A header begins with a
header name identifying it, and can be continued onto subsequent
lines by beginning the continuation line(s) with white space. (Note
that Section 4.2.3 adds some restrictions to the header syntax
indicated here.) The body is largely unstructured text significant
only to the poster and the readers.
NOTE: Terminology here follows the current custom in the news
community, rather than the MAIL convention of (sometimes)
referring to what is here called a "header" as a "header field" or
"field".
Note that the separator line must be truly empty, and not just a line
containing white space. Further empty lines following it are part of
the body, as are empty lines at the end of the article.
Spencer Historic [Page 15]
^L
RFC 1849 Son of 1036 March 2010
NOTE: Some systems make no distinction between empty lines and
lines consisting entirely of white space; indeed, some systems
cannot represent entirely empty lines. The grammar's requirement
that header continuation lines contain some printable text is
meant to ensure that the empty/space distinction cannot confuse
identification of the separator line.
NOTE: It is tempting to authorize posting agents to strip empty
lines at the beginning and end of the body, but such empty lines
could possibly be part of a preformatted document.
Implementors are warned that trailing white space, whether alone on
the line or not, MAY be significant in the body, notably in early
versions of the "uuencode" encoding for binary data. Trailing white
space MUST be preserved unless the article is known to have
originated within a cooperating subnet that avoids using significant
trailing white space, and SHOULD be preserved regardless. Posters
SHOULD avoid using conventions or encodings that make trailing white
space significant; for encoding of binary data, MIME's "base64"
encoding is recommended. Implementors are warned that ISO C
implementations are not required to preserve trailing white space,
and special precautions may be necessary in implementations that do
not.
NOTE: Unfortunately, the signature-delimiter convention (described
in Section 4.3.2) does use significant trailing white space. It's
too late to fix this; there is work underway on defining an
organized signature convention as part of MIME, which is a
preferable solution in the long run.
Posters are warned that some very old relayer software misbehaves
when the first non-empty line of an article body begins with white
space.
4.2. Headers
4.2.1. Names and Contents
Despite the restrictions on header-name syntax imposed by the
grammar, relayers and reading agents SHOULD tolerate header names
containing any ASCII printable character other than colon (":",
ASCII 58).
NOTE: MAIL header names can contain any ASCII printable character
(other than colon) in theory, but in practice, arbitrary header
names are known to cause trouble for some news software. Section
4.1's restriction to alphanumeric sequences separated by hyphens
is believed to permit all widely used header names without causing
Spencer Historic [Page 16]
^L
RFC 1849 Son of 1036 March 2010
problems for any widely used software. Software is nevertheless
encouraged to cope correctly with the full range of possibilities,
since aberrations are known to occur.
Relayers MUST disregard headers not described in this Draft (that is,
with header names not mentioned in this Draft) and pass them on
unaltered.
Posters wishing to convey non-standard information in headers SHOULD
use header names beginning with "X-". No standard header name will
ever be of this form. Reading agents SHOULD ignore "X-" headers, or
at least treat them with great care.
The order of headers in an article is not significant. However,
posting agents are encouraged to put mandatory headers (see
Section 5) first, followed by optional headers (see Section 6),
followed by headers not defined in this Draft.
NOTE: While relayers and reading agents must be prepared to handle
any order, having the significant headers (the precise definition
of "significant" depends on context) first can noticeably improve
efficiency, especially in memory-limited environments where it is
difficult to buffer up an arbitrary quantity of headers while
searching for the few that matter.
Header names are case-insensitive. There is a preferred case
convention, which posters and posting agents SHOULD use: each hyphen-
separated "word" has its initial letter (if any) in uppercase and the
rest in lowercase, except that some abbreviations have all letters
uppercase (e.g., "Message-ID" and "MIME-Version"). The forms used in
this Draft are the preferred forms for the headers described herein.
Relayers and reading agents are warned that articles might not obey
this convention.
NOTE: Although software must be prepared for the possibility of
random use of case in header names (and other case-independent
text), establishing a preferred convention reduces pointless
diversity and may permit optimized software that looks for the
preferred forms before resorting to less-efficient case-
insensitive searches.
In general, a header can consist of several lines, with each
continuation line beginning with white space. The EOLs preceding
continuation lines are ignored when processing such a header,
effectively combining the start-line and the continuations into a
single logical line. The logical line, less the header name, colon,
and any white space following the colon, is the "header content".
Spencer Historic [Page 17]
^L
RFC 1849 Son of 1036 March 2010
4.2.2. Undesirable Headers
A header whose content is empty is said to be an empty header.
Relayers and reading agents SHOULD NOT consider presence or absence
of an empty header to alter the semantics of an article (although
syntactic rules, such as requirements that certain header names
appear at most once in an article, MUST still be satisfied). Posting
agents SHOULD delete empty headers from articles before posting them.
Headers that merely state defaults explicitly (e.g., a Followup-To
header with the same content as the Newsgroups header, or a MIME
Content-Type header with contents "text/plain; charset=us-ascii") or
state information that reading agents can typically determine easily
themselves (e.g., the length of the body in octets) are redundant,
conveying no information whatsoever. Headers that state information
that cannot possibly be of use to a significant number of relayers,
reading agents, or readers (e.g., the name of the software package
used as the posting agent) are useless and pointless. Posters and
posting agents SHOULD avoid including redundant or useless headers in
articles.
NOTE: Information that someone, somewhere, might someday find
useful is best omitted from headers. (There's quite enough of it
in article bodies.) Headers should contain information of known
utility only. This is not meant to preclude inclusion of
information primarily meant for news-software debugging, but such
information should be included only if there is real reason,
preferably based on experience, to suspect that it may be
genuinely useful. Articles passing through gateways are the only
obvious case where inclusion of debugging information appears
clearly legitimate. (See Section 10.1.)
NOTE: A useful rule of thumb for software implementors is: "if I
had to pay a dollar a day for the transmission of this header,
would I still think it worthwhile?".
4.2.3. White Space and Continuations
The colon following the header name on the start-line MUST be
followed by white space, even if the header is empty. If the header
is not empty, at least some of the content MUST appear on the start-
line. Posting agents MUST enforce these restrictions, but relayers
(etc.) SHOULD accept even articles that violate them.
NOTE: MAIL does not require white space after the colon, but it is
usual. [RFC1036] required the white space, even in empty headers,
and some existing software demands it. In MAIL, and arguably in
[RFC1036] (although the wording is vague), it is technically
Spencer Historic [Page 18]
^L
RFC 1849 Son of 1036 March 2010
legitimate for the white space to be part of a continuation line
rather than the start-line, but not all existing software will
accept this. Deleting empty headers and placing some content on
the start-line avoids this issue; this is desirable because
trailing blanks, easily deleted by accident, are best not made
significant in headers.
In general, posters and posting agents SHOULD use blank (ASCII 32),
not tab (ASCII 9), where white space is desired in headers. Existing
software does not consistently accept tab as synonymous with blank in
all contexts. In particular, [RFC1036] appeared to specify that the
character immediately following the colon after a header name was
required to be a blank, and some news software insists on that, so
this character MUST be a blank. Again, posting agents MUST enforce
these restrictions but relayers SHOULD be more tolerant.
Since the white space beginning a continuation line remains a part of
the logical line, headers can be "broken" into multiple lines only at
white space. Posting agents SHOULD NOT break headers unnecessarily.
Relayers SHOULD preserve existing header breaks, and SHOULD NOT
introduce new breaks. Breaking headers SHOULD be a last resort;
relayers and reading agents SHOULD handle long header lines
gracefully. (See the discussion of size limits in Section 4.6.)
4.3. Body
Although the article body is unstructured for most of the purposes of
this Draft, structure MAY be imposed on it by other means, notably
MIME headers (see Appendix B).
4.3.1. Body Format Issues
The body of an article MAY be empty, although posting agents SHOULD
consider this an error condition (meriting returning the article to
the poster for revision). A posting agent that does not reject such
an article SHOULD issue a warning message to the poster and supply a
non-empty body. Note that the separator line MUST be present even if
the body is empty.
NOTE: An empty body is probably a poster error except, arguably,
for some control messages, and even they really ought to have a
body explaining the reason for the control message. Some old
reading agents are known to generate empty bodies for "cancel"
control messages, so posting agents might opt not to reject
bodyless articles in such cases (although it would be better to
fix the reading agents to request a body). However, some existing
news software is known to react badly to bodyless articles, hence
the request for posting agents to insert a body in such cases.
Spencer Historic [Page 19]
^L
RFC 1849 Son of 1036 March 2010
NOTE: A possible posting-agent-supplied body text (already used by
one widespread posting agent) is "This article was probably
generated by a buggy news reader". (The use of "reader" to refer
to the reading agent is traditional, although this Draft uses more
precise terminology.)
NOTE: The requirement for the separator line even in a bodyless
article is inherited from MAIL and also distinguishes legitimately
bodyless articles from articles accidentally truncated in the
middle of the headers.
Note that an article body is a sequence of lines terminated by EOLs,
not arbitrary binary data, and in particular it MUST end with an EOL.
However, relayers SHOULD treat the body of an article as an
uninterpreted sequence of octets (except as mandated by changes of
EOL representation and by control-message processing) and SHOULD
avoid imposing constraints on it. See also Section 4.6.
4.3.2. Body Conventions
Although body lines can in principle be very long (see Section 4.6
for some discussion of length limits), posters SHOULD restrict body
line lengths to circa 70-75 characters. On systems where text is
conventionally stored with EOLs only at paragraph breaks and other
"hard return" points, with software breaking lines as appropriate for
display or manipulation, posting agents SHOULD insert EOLs as
necessary so that posted articles comply with this restriction.
NOTE: News originated in environments where line breaks in plain
text files were supplied by the user, not the software. Be this
good or bad, much reading-agent and posting-agent software assumes
that news articles follow this convention, so it is often
inconvenient to read or respond to articles that violate it. The
"70-75" number comes from the widespread use of display devices
that are 80 columns wide (with the number reduced to provide a bit
of margin for quoting, see below).
Reading agents confronted with body lines much longer than the
available output-device width SHOULD break lines as appropriate.
Posters are warned that such breaks may not occur exactly where the
poster intends.
NOTE: "As appropriate" would typically include breaking lines when
supplying the text of an article to be quoted in a reply or
followup, something that line-breaking reading agents often
neglect to do now.
Spencer Historic [Page 20]
^L
RFC 1849 Son of 1036 March 2010
Although styles vary widely, for plain text it is usual to use no
left margin, leave the right edge ragged, use a single empty line to
separate paragraphs, and employ normal natural-language usage on
matters such as upper/lowercase. (In particular, articles SHOULD NOT
be written entirely in uppercase. In environments where posters have
access only to uppercase, posting agents SHOULD translate it to
lowercase.)
NOTE: Most people find substantial bodies of text entirely in
uppercase relatively hard to read, while all-lowercase text merely
looks slightly odd. The common association of uppercase with
strong emphasis adds to this.
Tone of voice does not carry well in written text, and
misunderstandings are common when sarcasm, parody, or exaggeration
for humorous effect is attempted without explicit warning. It has
become conventional to use the sequence ":-)", which (on most output
devices) resembles a rotated "smiley face" symbol, as a marker for
text not meant to be taken literally, especially when humor is
intended. This practice aids communication and averts unintended
ill-will; posters are urged to use it. A variety of analogous
sequences are used with less-standardized meanings [Sanderson].
The order of arrival of news articles at a particular host depends
somewhat on transmission paths, and occasionally articles are lost
for various reasons. When responding to a previous article, posters
SHOULD NOT assume that all readers understand the exact context. It
is common to quote some of the previous article to establish context.
This SHOULD be done by prefacing each quoted line (even if it is
empty) with the character ">". This will result in multiple levels
of ">" when quoted context itself contains quoted context.
NOTE: It may seem superfluous to put a prefix on empty lines, but
it simplifies implementation of functions such as "skip all quoted
text" in reading agents.
Readability is enhanced if quoted text and new text are separated by
an empty line.
Posters SHOULD edit quoted context to trim it down to the minimum
necessary. However, posting agents SHOULD NOT attempt to enforce
this by imposing overly simplistic rules like "no more than 50% of
the lines should be quotes".
NOTE: While encouraging trimming is desirable, the 50% rule
imposed by some old posting agents is both inadequate and
counterproductive. Posters do not respond to it by being more
selective about quoting; they respond by padding short responses,
Spencer Historic [Page 21]
^L
RFC 1849 Son of 1036 March 2010
or by using different quoting styles to defeat automatic analysis.
The former adds unnecessary noise and volume, while the latter
also defeats more useful forms of automatic analysis that reading
agents might wish to do.
NOTE: At the very least, if a minimum-unquoted quota is being set,
article bodies shorter than (say) 20 lines, or perhaps articles
that exceed the quota by only a few lines, should be exempt. This
avoids the ridiculous situation of complaining about a 5-line
response to a 6-line quote.
NOTE: A more subtle posting-agent rule, suggested for experimental
use, is to reject articles that appear to contain quoted
signatures (see below). This is almost certainly the result of a
careless poster not bothering to trim down quoted context. Also,
if a posting agent or followup agent presents an article template
to the poster for editing, it really should take note of whether
the poster actually made any changes, and refrain from posting an
unmodified template.
Some followup agents supply "attribution" lines for quoted context,
indicating where it first appeared and under whose name. When
multiple levels of quoting are present and quoted context is edited
for brevity, "inner" attribution lines are not always retained. The
editing process is also somewhat error-prone. Reading agents (and
readers) are warned not to assume that attributions are accurate.
UNRESOLVED ISSUE: Should a standard format for attribution lines
be defined? There is already considerable diversity, but
automatic news analysis would be substantially aided by a standard
convention.
Early difficulties in inferring return addresses from article headers
led to "signatures": short closing texts, automatically added to the
end of articles by posting agents, identifying the poster and giving
his network addresses, etc. If a poster or posting agent does append
a signature to an article, the signature SHOULD be preceded with a
delimiter line containing (only) two hyphens (ASCII 45) followed by
one blank (ASCII 32). Posting agents SHOULD limit the length of
signatures, since verbose excess bordering on abuse is common if no
restraint is imposed; 4 lines is a common limit.
NOTE: While signatures are arguably a blemish, they are a well-
understood convention, and conveying the same information in
headers exposes it to mangling and makes it rather less
conspicuous. A standard delimiter line makes it possible for
reading agents to handle signatures specially if desired.
Spencer Historic [Page 22]
^L
RFC 1849 Son of 1036 March 2010
(This is unfortunately hampered by extensive misunderstanding of,
and misuse of, the delimiter.)
NOTE: The choice of delimiter is somewhat unfortunate, since it
relies on preservation of trailing white space, but it is too
well-established to change. There is work underway to define a
more sophisticated signature scheme as part of MIME, and this will
presumably supersede the current convention in due time.
NOTE: Four 75-column lines of signature text is 300 characters,
which is ample to convey name and mail-address information in all
but the most bizarre situations.
4.4. Characters and Character Sets
Header and body lines MAY contain any ASCII characters other than CR
(ASCII 13), LF (ASCII 10), and NUL (ASCII 0).
NOTE: CR and LF are excluded because they clash with common EOL
conventions. NUL is excluded because it clashes with the C
end-of-string convention, which is significant to most existing
news software. These three characters are unlikely to be
transmitted successfully.
However, posters SHOULD avoid using ASCII control characters except
for tab (ASCII 9), formfeed (ASCII 12), and backspace (ASCII 8). Tab
signifies sufficient horizontal white space to reach the next of a
set of fixed positions; posters are warned that there is no standard
set of positions, so tabs should be avoided if precise spacing is
essential. Formfeed signifies a point at which a reading agent
SHOULD pause and await reader interaction before displaying further
text. Backspace SHOULD be used only for underlining, done by a
sequence of underscores (ASCII 95) followed by an equal number of
backspaces, signifying that the same number of text characters
following are to be underlined. Posters are warned that underlining
is not available on all output devices and is best not relied on for
essential meaning. Reading agents SHOULD recognize underlining and
translate it to the appropriate commands for devices that support it.
NOTE: Interpretation of almost all control characters is device-
specific to some degree, and devices differ. Tabs and underlining
are supported, to some extent, by most modern devices and reading
agents, hence the cautious exemptions for them. The underlining
method is specified because the inverse method, text and then
underscores, is tempting to the naive; however, if sent unaltered
to a device that shows only the most recent of several overstruck
characters rather than a composite, the result can be utterly
unreadable.
Spencer Historic [Page 23]
^L
RFC 1849 Son of 1036 March 2010
NOTE: A common interpretation of tab is that it is a request to
space forward to the next position whose number is one more than a
multiple of 8, with positions numbered sequentially starting at 1.
(So tab positions are 9, 17, 25, ...) Reading agents not
constrained by existing system conventions might wish to use this
interpretation.
NOTE: It will typically be necessary for a reading agent to catch
and interpret formfeed, not just send it to the output device.
The actions performed by typical output devices on receiving a
formfeed are neither adequate for, nor appropriate to, the pause-
for-interaction meaning.
Cooperating subnets that wish to employ non-ASCII character sets by
using escape sequences (employing, e.g., ESC (ASCII 27), SO
(ASCII 14), and SI (ASCII 15)) to alter the meaning of superficially
ASCII characters MAY do so, but MUST use MIME headers to alert
reading agents to the particular character set(s) and escape
sequences in use. A reading agent SHOULD NOT pass such an escape
sequence through, unaltered, to the output device unless the agent
confirms that the sequence is one used to affect character sets and
has reason to believe that the device is capable of interpreting that
particular sequence properly.
NOTE: Cooperating-subnet organizers are warned that some very old
relayers strip certain control characters out of articles they
pass along. ESC is known to be among the affected characters.
NOTE: There are now standard Internet encodings for Japanese
[RFC1345] and Vietnamese [RFC1456] in particular.
Articles MUST NOT contain any octet with value exceeding 127, i.e.,
any octet that is not an ASCII character.
NOTE: This rule, like others, may be relaxed by unanimous consent
of the members of a cooperating subnet, provided suitable
precautions are taken to ensure that rule-violating articles do
not leak out of the subnet. (This has already been done in many
areas where ASCII is not adequate for the local language(s).)
Beware that articles containing non-ASCII octets in headers are a
violation of the MAIL specifications and are not valid MAIL
messages. MIME offers a way to encode non-ASCII characters in
ASCII for use in headers; see Section 4.5.
Spencer Historic [Page 24]
^L
RFC 1849 Son of 1036 March 2010
NOTE: While there is great interest in using 8-bit character sets,
not all software can yet handle them correctly, hence the
restriction to cooperating subnets. MIME encodings can be used to
transmit such characters while remaining within the octet
restriction.
In anticipation of the day when it is possible to use non-ASCII
characters safely anywhere, and to provide for the (substantial)
cooperating subnets that are already using them, transmission paths
SHOULD treat news articles as uninterpreted sequences of octets
(except perhaps for transformations between EOL representations) and
relayers SHOULD treat non-ASCII characters in articles as ordinary
characters.
NOTE: 8-bit enthusiasts are warned that not all software conforms
to these recommendations yet. In particular, standard NNTP
[RFC977] is a 7-bit protocol {but in [RFC3977] it has been upped
to 8-bit}, and there may be implementations that enforce this
rule. Be warned, also, that it will never be safe to send raw
binary data in the body of news articles, because changes of EOL
representation may (will!) corrupt it.
Except where cooperating subnets permit more direct approaches, MIME
headers and encodings SHOULD be used to transmit non-ASCII content
using ASCII characters; see Section 4.5, Appendix B, and the MIME
RFCs for details. If article content can be expressed in ASCII, it
SHOULD be. Failing that, the order of preference for character sets
is that described in MIME.
NOTE: Using the MIME facilities, it is possible to transmit ANY
character set, and ANY form of binary data, using only ASCII
characters. Equally important, such articles are self-describing
and the reading agent can tell which octet-to-symbol mapping is
intended! Designation of some preferred character sets is
intended to minimize the number of character sets that a reading
agent must understand in order to display most articles properly.
Articles containing non-ASCII characters, articles using ASCII
characters (values 0 through 127) to refer to non-ASCII symbols, and
articles using escape sequences to shift character sets SHOULD
include MIME headers indicating which character set(s) and
conventions are being used. They MUST do so unless such articles are
strictly confined to a cooperating subnet that has its own pre-agreed
conventions. MIME encodings are preferred over all of these
techniques. If it comes to a relayer's attention that it is being
asked to pass an article using such techniques outward across what it
knows to be the boundary of such a cooperating subnet, it MUST report
Spencer Historic [Page 25]
^L
RFC 1849 Son of 1036 March 2010
this error to its administrator and MAY refuse to pass the article
beyond the subnet boundary. If it does pass the article, it MUST
re-encode it with MIME encodings to make it conform to this Draft.
NOTE: Such re-encoding is a non-trivial task, due to MIME rules
such as the prohibition of nested encodings. It's not just a
matter of pouring the body through a simple filter.
Reading agents SHOULD note MIME headers and attempt to show the
reader the closest possible approximation to the intended content.
They SHOULD NOT just send the octets of the article to the output
device unaltered, unless there is reason to believe that the output
device will indeed interpret them correctly. Reading agents MUST NOT
pass ASCII control characters or escape sequences, other than as
discussed above, unaltered to the output device; only by chance would
the result be the desired one, and there is serious potential for
harmful side effects, either accidental or malicious.
NOTE: Exactly what to do with unwanted control
characters/sequences depends on the philosophy of the reading
agent, but passing them straight to the output device is almost
always wrong. If the reading agent wants to mark the presence of
such a character/sequence in circumstances where only ASCII
printable characters are available, translating it to "#" might be
a suitable method; "#" is a conspicuous character seldom used in
normal text.
NOTE: Reading agents should be aware that many old output devices
(or the transmission paths to them) zero out the top bit of octets
sent to them. This can transform non-ASCII characters into ASCII
control characters.
Followup agents MUST be careful to apply appropriate transformations
of representation to the outbound followup as well as the inbound
precursor. A followup to an article containing non-ASCII material is
very likely to contain non-ASCII material itself.
4.5. Non-ASCII Characters in Headers
All octets found in headers MUST be ASCII characters. However, it is
desirable to have a way of encoding non-ASCII characters, especially
in "human-readable" headers such as Subject. MIME provides a way to
do this. Full details may be found in the MIME specifications;
herewith a quick summary to alert software authors to the issues.
Spencer Historic [Page 26]
^L
RFC 1849 Son of 1036 March 2010
encoded-word = "=?" charset "?" encoding "?" codes "?="
charset = 1*tag-char
encoding = 1*tag-char
tag-char = < ASCII printable character except
!()<>@,;:\"[]/?= >
codes = 1*code-char
code-char = <ASCII printable character except ?>
An encoded word is a sequence of ASCII printable characters that
specifies the character set, encoding method, and bits of
(potentially) non-ASCII characters. Encoded words are allowed only
in certain positions in certain headers. Specific headers impose
restrictions on the content of encoded words beyond that specified in
this section. Posting agents MUST ensure that any material
resembling an encoded word (complete with all delimiters), in a
context where encoded words may appear, really is an encoded word.
NOTE: The syntax is a bit ugly, but it was designed to minimize
chances of confusion with legitimate header contents, and to
satisfy difficult constraints on use within existing headers.
An encoded word MUST NOT be more than 75 octets long. Each line of a
header containing encoded word(s) MUST be at most 76 octets long, not
counting the EOL.
NOTE: These limits are meant to bound the lookahead needed to
determine whether text that begins with "=?" is really an encoded
word.
The details of charsets and encodings are defined by MIME; the
sequence of preferred character sets is the same as MIME's. Encoded
words SHOULD NOT be used for content expressible in ASCII.
When an encoded word is used, other than in a newsgroup name (see
Section 5.5), it MUST be separated from any adjacent non-space
characters (including other encoded words) by white space. Reading
agents displaying the contents of encoded words (as opposed to their
encoded form) should ignore white space adjacent to encoded words.
UNRESOLVED ISSUE: Should this section be deleted entirely, or made
much more terse? The material is relevant, but too complex to
discuss fully.
NOTE: The deletion of intervening white space permits using
multiple encoded words, implicitly concatenated by the deletion,
to encode text that will not fit within a single 75-character
encoded word.
Spencer Historic [Page 27]
^L
RFC 1849 Son of 1036 March 2010
Reading-agent implementors are warned that although this Draft
completely specifies where encoded words may appear in the headers it
defines, there are other headers (e.g., the MIME Content-Description
header) that MAY contain them.
4.6. Size Limits
Implementations SHOULD avoid fixed constraints on the sizes of lines
within an article and on the size of the entire article.
Relayers SHOULD treat the body of an article as an uninterpreted
sequence of octets (except as mandated by changes of EOL
representation and processing of control messages), not to be altered
or constrained in any way.
If it is absolutely necessary for an implementation to impose a limit
on the length of header lines, body lines, or header logical lines,
that limit shall be at least 1000 octets, including EOL
representations. Relayers and transmission paths confronted with
lines beyond their internal limits (if any) MUST NOT simply inject
EOLs at random places; they MAY break headers (as described in
Section 4.2.3) as a last resort, and otherwise they MUST either pass
the long lines through unaltered, or refuse to pass the article at
all (see Section 9.1 for further discussion).
NOTE: The limit here is essentially the same minimum as that
specified for SMTP mail [RFC821]. Implementors are warned that
Path (see Section 5.6) and References (see Section 6.5) headers,
in particular, often become several hundred characters long, so
1000 is not an overly generous limit.
All implementations MUST be able to handle an article totalling at
least 65,000 octets, including headers and EOL representations,
gracefully and efficiently. All implementations SHOULD be able to
handle an article totalling at least 1,000,000 (one million) octets,
including headers and EOL representations, gracefully and
efficiently. "Gracefully and efficiently" is intended to preclude
not only failures, but also major loss of performance, serious
problems in error recovery, or resource consumption beyond what is
reasonably necessary.
NOTE: The intent here is to prohibit lowering the existing de
facto limit any further, while strongly encouraging movement
towards a higher one. Actually, although improvements are
desirable in some cases, much news software copes reasonably well
with very large articles. The same cannot be said of the
communications software and protocols used to transmit news from
one host to another, especially when slow communications links are
Spencer Historic [Page 28]
^L
RFC 1849 Son of 1036 March 2010
involved. Occasional huge articles that appear now (by accident
or through ignorance) typically leave trails of failing software,
system problems, and irate administrators in their wake.
NOTE: It is intended that the successor to this Draft will raise
the "MUST" limit to 1,000,000 and the "SHOULD" limit still
further.
Posters SHOULD limit posted articles to at most 60,000 octets,
including headers and EOL representations, unless the articles are
being posted only within a cooperating subnet that is known to be
capable of handling larger articles gracefully. Posting agents
presented with a large article SHOULD warn the poster and request
confirmation.
NOTE: The difference between this and the earlier "MUST" limit is
due to margin for header growth, differing EOL representations,
and transmission overheads.
NOTE: Disagreeable though these limits are, it is a fact that in
current networks, an article larger than 64K (after header growth,
etc.) simply is not transmitted reliably. Note also the comments
above on the trauma caused by single extremely large articles now;
the problems are real and current. These problems arguably should
be fixed, but this will not happen network-wide in the immediate
future, hence the restriction of larger articles to cooperating
subnets, for now.
Posters using non-ASCII characters in their text MUST take into
account the overhead involved in MIME encoding, unless the article's
propagation will be entirely limited to a cooperating subnet that
does not use MIME encodings for non-ASCII characters. For example,
MIME base64 encoding involves growth by a factor of approximately
4/3, so an article that would likely have to use this encoding should
be at most about 45,000 octets before encoding.
Posters SHOULD use MIME "message/partial" conventions to facilitate
automatic reassembly of a large document split into smaller pieces
for posting. It is recommended that the content identifier used
should be a message ID, generated by the same means as article
message IDs (see Section 5.3), and that all parts should have a
See-Also header (see Section 6.16) giving the message IDs of at least
the previous parts and preferably all of the parts.
NOTE: See-Also is more correct for this purpose than References,
although References is in common use today (with less-formal
reassembly arrangements). MIME reassemblers should probably
Spencer Historic [Page 29]
^L
RFC 1849 Son of 1036 March 2010
examine articles suggested by References headers if See-Also
headers are not present to indicate the whereabouts of the other
parts of "message/partial" articles.
To repeat: implementations SHOULD avoid fixed constraints on the
sizes of lines within an article and on the size of the entire
article.
4.7. Example
Here is a sample article:
From: jerry@eagle.ATT.COM (Jerry Schwarz)
Path: cbosgd!mhuxj!mhuxt!eagle!jerry
Newsgroups: news.announce
Subject: Usenet Etiquette -- Please Read
Message-ID: <642@eagle.ATT.COM>
Date: Mon, 17 Jan 1994 11:14:55 -0500 (EST)
Followup-To: news.misc
Expires: Wed, 19 Jan 1994 00:00:00 -0500
Organization: AT&T Bell Laboratories, Murray Hill
body
body
body
5. Mandatory Headers
An article MUST have one, and only one, of each of the following
headers: Date, From, Message-ID, Subject, Newsgroups, Path.
NOTE: MAIL specifies (if read most carefully) that there must be
exactly one Date header and exactly one From header, but otherwise
does not restrict multiple appearances of headers. (Notably, it
permits multiple Message-ID headers!) This appears singularly
useless, or even harmful, in the context of news, and much current
news software will not tolerate multiple appearances of mandatory
headers.
Note also that there are situations, discussed in the relevant parts
of Section 6, where References, Sender, or Approved headers are
mandatory.
In the discussions of the individual headers, the content of each is
specified using the syntax notation. The convention used is that the
content of, for example, the Subject header is defined as
<Subject-content>.
Spencer Historic [Page 30]
^L
RFC 1849 Son of 1036 March 2010
5.1. Date
The Date header contains the date and time when the article was
submitted for transmission:
Date-content = [ weekday "," space ] date space time
weekday = "Mon" / "Tue" / "Wed" / "Thu"
/ "Fri" / "Sat" / "Sun"
date = day space month space year
day = 1*2digit
month = "Jan" / "Feb" / "Mar" / "Apr" / "May" / "Jun"
/ "Jul" / "Aug" / "Sep" / "Oct" / "Nov" / "Dec"
year = 4digit / 2digit
time = hh ":" mm [ ":" ss ] space timezone
timezone = "UT" / "GMT"
/ ( "+" / "-" ) hh mm [ space "(" zone-name ")" ]
hh = 2digit
mm = 2digit
ss = 2digit
zone-name = 1*( <ASCII printable character except ()\>
/ space )
This is a restricted subset of the MAIL date format.
If a weekday is given, it MUST be consistent with the date. The
modern Gregorian calendar is used, and dates MUST be consistent with
its usual conventions; for example, if the month is May, the day must
be between 1 and 31 inclusive. The year SHOULD be given as four
digits, and posting agents SHOULD enforce this; however, relayers
MUST accept the two-digit form, and MUST interpret it as having the
implicit prefix "19".
NOTE: Two-digit year numbers can, should, and must be phased out
by 1999.
The time is given on the 24-hour clock, e.g., two hours before
midnight is "22:00" or "22:00:00". The hh must be between 00 and 23
inclusive, the mm between 0 and 59 inclusive, and the ss between 0
and 60 inclusive.
NOTE: Leap seconds very occasionally result in minutes that are 61
seconds long.
The date and time SHOULD be given in the poster's local time zone,
including a specification of that time zone as a numeric offset
(which SHOULD include the time zone name, e.g., "EST", supplied in
parentheses like a MAIL comment). If not, they MUST be given in
Universal Time (abbreviated "UT"; "GMT" is a historical synonym for
Spencer Historic [Page 31]
^L
RFC 1849 Son of 1036 March 2010
"UT"). The time zone name in parentheses, if present, is a comment;
software MUST ignore it, except that reading agents might wish to
display it to the reader. Time zone names other than "UT" and "GMT"
MUST appear only in the comment.
NOTE: Attempts to deal with a full set of time zone names have all
foundered on the vast number of such names in use and the
duplications (for example, there are at least FIVE different time
zones called "EST" by somebody). Even the limited set of North
American zone names authorized by MAIL is subject to confusion and
misinterpretation, hence the flat ban on non-UT time zone names,
except as comments.
NOTE: [RFC1036] specified that use of GMT (aka UT, UTC) was
preferred. However, the local time (in the poster's time zone) is
arguably information of possible interest to the reader, and this
requires some indication of the poster's time zone. Numeric
offsets are an unambiguous way of doing this, and their use was
indeed sanctioned by [RFC1036] (that is, this is a change of
preference only).
NOTE: There is frequent confusion, including errors in some news
software, regarding the sign of numeric time zones. Zones west of
Greenwich have negative offsets. For example, North American
Eastern Standard Time is zone -0500 and North American Eastern
Daylight Time is zone -0400.
NOTE: Implementors are warned that the hh in a time zone can go up
to about 14; it is not limited to 12. This is because the
International Date Line does not run exactly along the boundary
between zone -1200 and zone +1200.
NOTE: The comments in Section 2.6 regarding translation to other
languages are relevant here. The Date-content format, and the
spellings of its components, as found in articles themselves, are
always as defined in this Draft, regardless of the language used
to interact with readers and posters. Reading and posting agents
should translate as appropriate. Actually, even English-language
reading and posting agents will probably want to do some degree of
translation on dates, if only to abbreviate the lengthy format and
(perhaps) translate to and from the reader's time zone.
Spencer Historic [Page 32]
^L
RFC 1849 Son of 1036 March 2010
5.2. From
The From header contains the electronic address, and possibly the
full name, of the article's author:
From-content = address [ space "(" paren-phrase ")" ]
/ [ plain-phrase space ] "<" address ">"
paren-phrase = 1*( paren-char / space / encoded-word )
paren-char = <ASCII printable character except ()<>\>
plain-phrase = plain-word *( space plain-word )
plain-word = unquoted-word / quoted-word / encoded-word
unquoted-word = 1*unquoted-char
unquoted-char = <ASCII printable character except !()<>@,;:\".[]>
quoted-word = quote 1*( quoted-char / space ) quote
quote = <" (ASCII 34)>
quoted-char = <ASCII printable character except "()<>\>
address = local-part "@" domain
local-part = unquoted-word *( "." unquoted-word )
domain = unquoted-word *( "." unquoted-word )
(Encoded words are described in Section 4.5.) The full name is
distinguished from the electronic address either by enclosing the
former in parentheses (making it resemble a MAIL comment, after the
address) or by enclosing the latter in angle brackets. The second
form is preferred. In the first form, encoded words inside the full
name MUST be composed entirely of <paren-char>s. In the second form,
encoded words inside the full name may not contain characters other
than letters (of either case), digits, and the characters "!", "*",
"+", "-", "/", "=", and "_". The local part is case-sensitive
(except that all case counterparts of "postmaster" are deemed
equivalent), the domain is case-insensitive, and all other parts of
the From content are comments that MUST be ignored by news software
(except insofar as reading agents may wish to display them to the
reader). Posters and posting agents MUST restrict themselves to this
subset of the MAIL From syntax; relayers MAY accept a broader subset,
but see the discussion in Section 9.1.
NOTE: The syntax here is a restricted subset of the MAIL From
syntax, with quoting particularly restricted, for simple parsing.
In particular, the presence of "<" in the From content indicates
that the second form is being used; otherwise, the first form is
being used. The major restrictions here are those already de
facto imposed by existing software.
NOTE: Overly lenient posting agents sometimes permit the second
form with a full name containing "(" or ")", but it is extremely
rare for a full name to contain "<" or ">", even in mail.
Spencer Historic [Page 33]
^L
RFC 1849 Son of 1036 March 2010
Accordingly, reading agents wishing to robustly determine which
form is in use in a particular article should key on the presence
or absence of "<", not the presence or absence of "(".
The address SHOULD be a valid and complete Internet domain address,
capable of being successfully mailed to by an Internet host (possibly
via an MX (Mail Exchange) record and a forwarder). The pseudo-domain
".uucp" MAY be used for hosts registered in the UUCP maps (e.g., name
"xyz.uucp" for registered site "xyz"), but such hosts SHOULD
discontinue this usage (either by arranging a proper Internet address
and forwarder, or by using the "% hack" (see below)), as soon as
possible. Bitnet hosts SHOULD use Internet addresses, avoiding the
obsolescent ".bitnet" pseudo-domain. Other forms of address MUST NOT
be used.
NOTE: "Other forms" specifically include UK-style "backward"
domains ("uk.oxbridge.cs" is in the Czech Republic, not the UK),
pure-UUCP addressing ("knee!shin!foot" instead of
"foot%shin@knee.uucp"), and abbreviated domains ("zebra.zoo"
instead of "zebra.zoo.toronto.edu").
If it is necessary to use the local part to specify a routing
relative to the nearest Internet host, this MUST be done using the "%
hack", using "%" as a secondary "@". For example, to specify that
mail to the address should go to Internet host "foo.bar.edu", then to
non-Internet host "ein", then to non-Internet host "deux", for
delivery there to mailbox "fred", a suitable address would be:
fred%deux%ein@foo.bar.edu
Analogous forms using "!" in the local part MUST NOT be used, as they
are ambiguous; they should be expressed in the "%" form.
NOTE: "a!b@c" can be interpreted as either "b%c@a" or "b%a@c", and
there is no consistency in which choice is made. Such addresses
consequently are unreliable. The "%" form does not suffer from
this problem, and although its use is officially discouraged, it
is a de facto standard, to the point that MAIL recognizes it.
Relayers MUST NOT, repeat MUST NOT, repeat MUST NOT, rewrite From
lines, in any way, however minor or seemingly innocent. Trying to
"fix" a non-conforming address has a very high probability of making
things worse. Either pass it along unchanged or reject the article.
NOTE: An additional reason for banning the use of "!" addressing
is that it has a much higher probability of being rewritten into
mangled unrecognizability by old relayers.
Spencer Historic [Page 34]
^L
RFC 1849 Son of 1036 March 2010
Posters and posting agents SHOULD avoid use of the characters "!" and
"@" in full names, as they may trigger unwanted header rewriting by
old, simple-minded news software.
NOTE: Also, the characters "." and ",", not infrequently found in
names (e.g., "John W. Campbell, Jr."), are NOT, repeat NOT,
allowed in an unquoted word. A From header like the following
MUST NOT be written without the quotation marks:
From: "John W. Campbell, Jr." <editor@analog.com>
5.3. Message-ID
The Message-ID header contains the article's message ID, a unique
identifier distinguishing the article from every other article:
Message-ID-content = message-id
message-id = "<" local-part "@" domain ">"
As with From addresses, a message ID's local part is case-sensitive,
and its domain is case-insensitive. The "<" and ">" are parts of the
message ID, not peculiarities of the Message-ID header.
NOTE: News message IDs are a restricted subset of MAIL message
IDs. In particular, no existing news software copes properly with
MAIL quoting conventions within the local part, so they are
forbidden. This is unfortunate, particularly for X.400 gateways
that often wish to include characters that are not legal in
unquoted message IDs, but it is impossible to fix net-wide. See
the notes on gatewaying in Section 10.
The domain in the message ID SHOULD be the full Internet domain name
of the posting agent's host. Use of the ".uucp" pseudo-domain (for
hosts registered in the UUCP maps) or the ".bitnet" pseudo-domain
(for Bitnet hosts) is permissible but SHOULD be avoided.
Posters and posting agents MUST generate the local part of a message
ID using an algorithm that obeys the specified syntax (words
separated by ".", with certain characters not permitted) (see Section
5.2 for details) and will not repeat itself (ever). The algorithm
SHOULD NOT generate message IDs that differ only in case of letters.
Note the specification in Section 6.5 of a recommended convention for
indicating subject changes. Otherwise, the algorithm is up to the
implementor.
NOTE: The crucial use of message IDs is to distinguish circulating
articles from each other and from articles circulated recently.
They are also potentially useful as permanent indexing keys, hence
Spencer Historic [Page 35]
^L
RFC 1849 Son of 1036 March 2010
the requirement for permanent uniqueness, but indexers cannot
absolutely rely on this because the earlier RFCs urged it but did
not demand it. All major implementations have always generated
permanently unique message IDs by design, but in some cases this
is sensitive to proper administration, and duplicates may have
occurred by accident.
NOTE: The most popular method of generating local parts is to use
the date and time, plus some way of distinguishing between
simultaneous postings on the same host (e.g., a process number),
and encode them in a suitably restricted alphabet. An older but
now less-popular alternative is to use a sequence number,
incremented each time the host generates a new message ID; this is
workable but requires careful design to cope properly with
simultaneous posting attempts, and it is not as robust in the
presence of crashes and other malfunctions.
NOTE: Some buggy news software considers message IDs completely
case-insensitive, hence the advice to avoid relying on case
distinctions. The restrictions placed on the "alphabet" of local
parts and domains in Section 5.2 have the useful side effect of
making it unnecessary to parse message IDs in complex ways to
break them into case-sensitive and case-insensitive portions.
The local part of a message ID MUST NOT be "postmaster" or any other
string that would compare equal to "postmaster" in a case-insensitive
comparison. Message IDs MUST be no longer than 250 octets, including
the "<" and ">".
NOTE: "Postmaster" is an irksome exception to case-sensitivity in
local parts, inherited from MAIL, and simply avoiding it is the
best way to deal with it (not that it's likely, but the issue
needs to be dealt with). The length limit is undesirable but is
present in widely used existing software. The limit is actually
255, but a small safety margin is wise.
5.4. Subject
The Subject header's content (the "subject" of the article) is a
short phrase describing the topic of the article:
Subject-content = [ "Re: " ] nonblank-text
Encoded words MAY appear in this header.
Spencer Historic [Page 36]
^L
RFC 1849 Son of 1036 March 2010
If the article is a followup, the subject SHOULD begin with "Re: " (a
"back reference"). If the article is not a followup, the subject
MUST NOT begin with a back reference. Back references are case-
insensitive, although "Re: " is the preferred form. A followup agent
assisting a poster in preparing a followup SHOULD prepend a back
reference, UNLESS the subject already begins with one. If the poster
determines that the topic of the followup differs significantly from
what is described in the subject, a new, more descriptive subject
SHOULD be substituted (with no back reference). An article whose
subject begins with a back reference MUST have a References header
referencing the precursor.
NOTE: A back reference is FOUR characters, the fourth being a
blank. [RFC1036] was confused about this. Observe also that only
ONE back reference should be present.
NOTE: There is a semi-standard convention, often used, in which a
subject change is flagged by making the new Subject-content of the
form:
new topic (was: old topic)
possibly with "old topic" somewhat truncated. Posters wishing to
do something like this are urged to use this exact form, to
simplify automated analysis.
For historical reasons, the subject MUST NOT begin with "cmsg " (note
that this sequence ends with a blank).
NOTE: Some old news software takes a subject beginning with
"cmsg " as an indication that the article is a control message
(see Sections 6.6 and 7). This mechanism is obsolete and
undesirable, but accidental triggering of it is still possible.
The subject SHOULD be terse. Posters SHOULD avoid trying to cram
their entire article into the headers; even the simplest query
usually benefits from a sentence or two of elaboration and context,
and the details of header display vary widely among reading agents.
NOTE: All-in-the-subject articles are sometimes the result of
misunderstandings over the interaction protocol of a posting
agent. Posting agents might wish to give special attention to the
possibility that a poster specifying a very long subject might
have thought he was typing the body of the article.
Spencer Historic [Page 37]
^L
RFC 1849 Son of 1036 March 2010
5.5. Newsgroups
The Newsgroups header's content specifies to which newsgroup(s) the
article is posted:
Newsgroups-content = newsgroup-name *( ng-delim newsgroup-name )
newsgroup-name = plain-component *( "." component )
component = plain-component / encoded-word
plain-component = component-start *13component-rest
component-start = lowercase / digit
lowercase = <letter a-z>
component-rest = component-start / "+" / "-" / "_"
ng-delim = ","
Encoded words used in newsgroup names MUST NOT contain characters
other than letters, digits, "+", "-", "/", "_", "=", and "?"
(although they may encode them).
A newsgroup name consists of one or more components, which may be
plain components or (except for the first) encoded words. A plain
component MUST contain at least one letter, MUST begin with a letter
or digit, and MUST NOT be longer than 14 characters. The first
component MUST begin with a letter; subsequent components SHOULD
begin with a letter. Newsgroup names MUST NOT contain uppercase
letters, except where required by encodings in encoded words. The
sequences "all" and "ctl" MUST NOT be used as components.
NOTE: The alphabet and syntax specified encompasses all existing
names of widespread newsgroups, while avoiding various forms that
are known to cause problems. Important existing software uses
various non-alphanumeric characters as punctuation adjacent to
newsgroup names. (It would, in fact, be preferable to ban "+"
from newsgroup names, were it not that several widespread
newsgroups related to the C++ programming language already use
it.)
NOTE: Much existing software converts the newsgroup name into a
directory path and stores the articles themselves using numeric
filenames, so all-digit name components can be troublesome; the
"Great Renaming" early in the history of Usenet included revisions
of several newsgroup names to eliminate such components.
NOTE: The same storage technique is the reason for the
14-character limit. The limit is now largely historical, since
most modern systems have much larger limits on the length of a
directory entry's name, but many old systems are still in use.
Systems with shorter limits also exist, but news software on such
systems has had to deal with the problem already, since there are
Spencer Historic [Page 38]
^L
RFC 1849 Son of 1036 March 2010
several widespread newsgroups with 14-character components in
their names. Implementors are warned that it is intended that the
successor to this Draft will increase the 14-character limit, and
they are urged to fix their software to handle longer names
gracefully (if such fixes are necessary, given the intended domain
of application of the particular software).
NOTE: The requirement that the first character of a name be a
letter accommodates existing software that assumes it can tell the
difference between a newsgroup name and other possible syntactic
entities by inspecting the first character. Similar
considerations motivate excluding "+", "-", and "_" from coming
first in a component, and the preference for components that do
not begin with digits. The "all" sequence is used as a wildcard
symbol in much existing software, and the "ctl" sequence was
involved in an obsolete historical mechanism for marking control
messages, so they are best avoided.
NOTE: Possibly newsgroup names should have been case-insensitive,
but all existing software treats them as case-sensitive.
([RFC977] claims that they are case-insensitive in NNTP, but
existing implementations are believed to ignore this.) The
simplest solution is just to ban use of uppercase letters, since
no widespread newsgroup name uses them anyway; this avoids any
possibility of confusion.
NOTE: The syntax has the disadvantage of containing no white
space, making it impossible to continue a Newsgroups header across
several lines. Implementors of relayers and reading agents are
warned that it is intended that the successor to this Draft will
change the definition of ng-delim to:
ng-delim = "," [ space ]
and are urged to fix their software to handle (i.e., ignore) white
space following the commas. Meanwhile, posters must avoid
inserting such space (despite the natural-language convention that
permits it), and posting agents should strip it out.
NOTE: Encoded words as components are somewhat problematic but are
clearly desirable for use in non-English-speaking nations. They
are not subject to the 14-character limit, and this (plus the
possibility of "/" within them) may require special handling in
news software.
Spencer Historic [Page 39]
^L
RFC 1849 Son of 1036 March 2010
Encoded words are allowed in newsgroup names ONLY where non-ASCII
characters are necessary to the name, and they must use the "b"
encoding [RFC2045] and the first suitable character set in the MIME
order of preferred character sets [RFC2047] {ASCII before ISO-8859-*
before anything else}.
NOTE: Since the newsgroup name is the encoded form, NOT the
underlying non-ASCII form, there is room for terrible confusion
here if the choice of encoding for a particular name is not fully
standardized.
Posters SHOULD use only the names of existing newsgroups in the
Newsgroups header, because newsgroups are NOT created simply by being
posted to. However, it is legitimate to cross-post to newsgroup(s)
that do not exist on the posting agent's host, provided that at least
one of the newsgroups DOES exist there, and followup agents MUST
accept this (posting agents MAY accept it, but SHOULD at least alert
the poster to the situation and request confirmation). Relayers MUST
NOT rewrite Newsgroups headers in any way, even if some or all of the
newsgroups do not exist on the relayer's host.
NOTE: Early experience with news software that created newsgroups
when they were mentioned in a Newsgroups header was thoroughly
negative: posters frequently mistype newsgroup names.
NOTE: While it is legitimate for some of an article's newsgroups
not to exist on the host where it is posted, this IS a rather
unusual situation except in followups (which should go to all
newsgroups the precursor was posted to, even if not all of them
reach the site where the followup is being posted).
NOTE: Rewriting Newsgroups headers to strip locally unknown
newsgroups is superficially attractive. However, early experience
with exactly that policy was thoroughly negative: news propagation
is more redundant and much less orderly than many people imagine,
and in particular it is not unheard of for the (sometimes) fastest
path between two (say) University of Toronto sites to pass outside
the University of Toronto, in which case newsgroup stripping can
cause incomplete propagation. Having an article's set of
newsgroups change as it propagates can also result in followups
not achieving the same propagation as the original. It's been
tried; it's more trouble than it's worth; don't do it.
NOTE: In particular, newsgroup stripping superficially looks like
a solution to the problem of duplicate regional newsgroup names.
For example, both the University of Toronto and the University of
Texas have "ut.general" newsgroups, and material cross-posted to
that name and a global newsgroup appears in both universities'
Spencer Historic [Page 40]
^L
RFC 1849 Son of 1036 March 2010
local newsgroups. However, the side effects of stripping are
sufficiently unacceptable to disqualify it for this purpose.
Don't do it.
Cross-posting an article to several relevant newsgroups is far
superior to posting separate articles with duplicated content to each
newsgroup, because reading agents can detect the situation and show
the article to a reader only once. Posters SHOULD cross-post rather
than duplicate-post.
NOTE: On the other hand, cross-posting to a large number of
newsgroups usually indicates that the poster has not thought about
his audience; articles are rarely pertinent to more than (say)
half a dozen newsgroups. Posting agents might wish to request
confirmation when the number of newsgroups exceeds (say) five in
the presence of a Followup-To header, or (say) two in the absence
of such a header.
NOTE: One problem with cross-postings is what to do with an
article cross-posted to a set of newsgroups including both
moderated and unmoderated ones. Posters tend to expect such an
article to show up immediately in the unmoderated newsgroups,
especially if they do not realize that one or more of the
newsgroups is moderated. However, since it is not possible for a
moderator to retroactively add an already-posted article to a
moderated newsgroup, the only correct action is to mail such an
article to one (and only one) of the moderators for action. It is
probably best for the posting agent to detect this situation and
ask the poster what action is preferred. The acceptable choices
are to alter the newsgroup list or to mail to a moderator of the
poster's choice; the posting agent should NOT offer duplicate-
posting as an easy-to-request option (if only because many
moderators will reject a submission that has already been posted
to unmoderated newsgroups).
NOTE: An article cross-posted to multiple moderated newsgroups
really should have approval from all of the moderators involved.
In practice, the only straightforward way to do this is to send
the article to one of them and have him consult the others.
A newsgroup SHOULD NOT appear more than once in the Newsgroups
header.
Newsgroup names having only one component are reserved for newsgroups
whose propagation is restricted to a single host (or the
administrative equivalent). It is inadvisable to name a newsgroup
Spencer Historic [Page 41]
^L
RFC 1849 Son of 1036 March 2010
"poster" because that word has special meaning in the Followup-To
header (see Section 6.1). The names "control" and "junk" are
frequently used for pseudo-newsgroups internal to relayer
implementations, and hence are also best avoided.
NOTE: Beware of the duplicate-regional-newsgroup-names problem
mentioned above. In particular, there are many, many hosts with a
newsgroup named "general", and some surprising things show up in
such newsgroups when people cross-post. It is probably better to
use multi-component names, which are less likely to be duplicated.
Fred's Widget House should use "fwh.general" rather than just
"general" as its in-house general-topics newsgroup.
It is conventional to reserve newsgroup names beginning with "to."
for test messages sent on an essentially point-to-point basis (see
also the ihave/sendme protocol described in Section 7.2); newsgroup
names beginning with "to." SHOULD NOT be used for any other purpose.
The second (and possibly later) components of such a name should,
together, comprise the relayer name (see Section 5.6) of a relayer.
The newsgroup exists only at the named relayer and its neighbors.
The neighbors all pass that newsgroup to the named relayer, while the
named relayer does not pass it to anyone.
The order of newsgroup names in the Newsgroups header is not
significant.
5.6. Path
The Path header's content indicates which relayers the article has
already visited, so that unnecessary redundant transmission can be
avoided:
Path-content = [ path-list path-delimiter ] local-part
path-list = relayer-name *( path-delimiter relayer-name )
relayer-name = 1*rn-char
rn-char = letter / digit / "." / "-" / "_"
path-delimiter = "!"
The Path content is a list of relayer names, separated by path
delimiters, followed (after a final delimiter) by the local part of a
mailing address. Each relayer MUST prepend its name, and a
delimiter, to the Path content in all articles it processes. A
relayer MUST NOT pass an article to a neighboring relayer whose name
is already mentioned in an article's path list, unless this is
explicitly requested by the neighbor in some way. The Path content
is case-sensitive.
Spencer Historic [Page 42]
^L
RFC 1849 Son of 1036 March 2010
NOTE: The Path header supplied by a posting agent should normally
contain only the local part. The relayer that the posting agent
passes the article to for posting will prepend its relayer name to
get the path list started.
NOTE: Observe that the trailing local part is NOT part of the path
list. This Path header:
Path: fee!fie!foe!fum
contains three relayer names: "fee", "fie", and "foe". A relayer
named "fum" is still eligible to be sent this article.
NOTE: This syntax has the disadvantage of containing no white
space, making it impossible to continue a Path header across
several lines. Implementors of relayers and reading agents are
warned that it is intended that the successor to this Draft will
change the definition of path delimiter to:
path-delimiter = "!" [ space ]
and are urged to fix their software to handle (i.e., ignore) white
space following the exclamation points. They are urged to hurry;
some ill-behaved systems reportedly already feel free to add such
white space.
NOTE: [RFC1036] allows considerably more flexibility in choice of
delimiter, in theory, but this flexibility has never been used,
and most news software does not implement it properly. The
grammar reflects the current reality. Note, in particular, that
[RFC1036] treats "_" as a delimiter, but in fact it is known to
appear in relayer names occasionally.
Because an article will not propagate to a relayer already mentioned
in its path list, the path list MUST NOT contain any names other than
those of relayers the article has passed through AS NEWS. This is
trivially obvious for normal news articles but requires attention
from the moderators of moderated newsgroups and the implementors and
maintainers of gateways.
NOTE: For the same reason, a relayer and its neighbors need to
agree on the choice of relayer name, and names should not be
changed without notifying neighbors.
Relayer names need to be unique among all relayers that will ever see
the articles using them. A relayer name is normally either an
"official" name for the host the relayer runs on, or some other
"official" name controlled by the same organization. Except in
Spencer Historic [Page 43]
^L
RFC 1849 Son of 1036 March 2010
cooperating subnets that agree to some other convention and don't let
articles using it escape beyond the subnet, a relayer name MUST be
either a UUCP name registered in the UUCP maps (without any domain
suffix such as ".UUCP") or a complete Internet domain name. Use of a
(registered) UUCP name is recommended, where practical, to keep the
length of the path list down.
The use of Internet domain names in the path list presents one
problem: domain names are case-insensitive, but the path list is
case-sensitive. Relayers using domain names as their relayer names
MUST pick a standard form for the name and use that form consistently
to the exclusion of all others. The preferred form for this purpose,
which relayers SHOULD use, is the all-lowercase form.
NOTE: It is arguably unfortunate that the path list is case-
sensitive, but it is much too late to change this. Most Internet
sites do, in any event, use one standardized form of their name
almost everywhere.
In the ordinary case, where the poster is the author of the article,
the local part following the path list SHOULD be the local part of
the poster's full Internet domain mailing address.
NOTE: It should be just the local part, not the full address. The
character "@" does not appear in a Path header.
The Path content somewhat resembles a mailing address, particularly
in the UUCP world with its manual routing and "!" address syntax.
Historically, this resemblance was important, and the Path content
was often used as a reply address. This practice has always been
somewhat unreliable, since news paths are not always mail paths and
news relayer names are not always recognized by mail handlers, and
its reliability has generally worsened in recent times. The
widespread use of and recognition of Internet domain addresses, even
outside the actual Internet, has largely eliminated the problem.
Readers SHOULD NOT use the Path content as a reply address. On the
other hand, relayer administrators are urged not to break this usage
without good reason; where practical, paths followed by news SHOULD
be traversable by mail, and mail handlers SHOULD recognize relayer
names as host names.
It will typically be difficult or impractical for gateways and
moderators to supply a Path content that is useful as a reply address
for the author, bearing in mind that the path list they supply will
normally be empty. (To reiterate: the path list MUST NOT contain any
names other than those of relayers the article has passed through AS
NEWS.) They SHOULD supply a local part that will result in replies
Spencer Historic [Page 44]
^L
RFC 1849 Son of 1036 March 2010
to a Path-derived address being returned to the sender with a brief
explanation. Software permitting, the local part "not-for-mail" is
recommended.
NOTE: A moderator or gateway administrator who supplies a local
part that delivers such mail to an administrative mailbox will
quickly discover why it should be bounced automatically! It is
best, however, for the returned message to include an explanation
of what has probably happened, rather than just a mysterious
"undeliverable mail" complaint, since the sender may not be aware
that his/her software is unwisely using the Path content as a
reply address. Reply software might wish to question attempts to
reply to a Path-derived address ending in "not-for-mail" (which is
why a specific name is being recommended here).
6. Optional Headers
Many MAIL headers, and many of those specified in present and future
MAIL extensions, are potentially applicable to news. Headers
specific to MAIL's point-to-point transmission paradigm, e.g., To and
Cc, SHOULD NOT appear in news articles. (Gateways wishing to
preserve such information for debugging probably SHOULD hide it under
different names; prefixing "X-" to the original headers, resulting in
forms like "X-To", is suggested.)
The following optional headers are either specific to news or of
particular note in news articles; an article MAY contain some or all
of them. (Note that there are some circumstances in which some of
them are mandatory; these are explained under the individual
headers.) An article MUST NOT contain two or more headers with any
one of these header names.
NOTE: The ban on duplicate header names does not apply to headers
not specified in this Draft, such as "X-" headers. Software
should not assume that all header names in a given article are
unique.
6.1. Followup-To
The Followup-To header contents specify to which newsgroup(s)
followups should be posted:
Followup-To-content = Newsgroups-content / "poster"
Spencer Historic [Page 45]
^L
RFC 1849 Son of 1036 March 2010
The syntax is the same as that of the Newsgroups content, with the
exception that the magic word "poster" means that followups should be
mailed to the article's reply address rather than posted. In the
absence of Followup-To, the default newsgroup(s) for a followup are
those in the Newsgroups header.
NOTE: The way to request that followups be mailed to a specific
address other than that in the From line is to supply
"Followup-To: poster" and a Reply-To header. Putting a mailing
address in the Followup-To line is incorrect; posting agents
should reject or rewrite such headers.
NOTE: There is no syntax for "no followups allowed" because
"Followup-To: poster" accomplishes this effect without extra
machinery.
Although it is generally desirable to limit followups to the smallest
reasonable set of newsgroups, especially when the precursor was
cross-posted widely, posting agents SHOULD NOT supply a Followup-To
header except at the poster's explicit request.
NOTE: In particular, it is incorrect for the posting agent to
assume that followups to a cross-posted article should be directed
to the first newsgroup only. Trimming the list of newsgroups
should be the poster's decision, not the posting agent's.
However, when an article is to be cross-posted to a considerable
number of newsgroups, a posting agent might wish to SUGGEST to the
poster that followups go to a shorter list.
6.2. Expires
The Expires header content specifies a date and time when the article
is deemed to be no longer useful and should be removed ("expired"):
Expires-content = Date-content
The content syntax is the same as that of the Date content. In the
absence of Expires, the default is decided by the administrators of
each host the article reaches, who MAY also restrict the extent to
which the Expires header is honored.
The Expires header has two main applications: removing articles whose
utility ends on a specific date (e.g., event announcements that can
be removed once the day of the event has passed) and preserving
articles expected to be of prolonged usefulness (e.g., information
aimed at new readers of a newsgroup). The latter application is
sometimes abused. Since individual hosts have local policies for
expiration of news (depending on available disk space, for instance),
Spencer Historic [Page 46]
^L
RFC 1849 Son of 1036 March 2010
posters SHOULD NOT provide Expires headers for articles unless there
is a natural expiration date associated with the topic. Posting
agents MUST NOT provide a default Expires header. Leave it out and
allow local policies to be used unless there is a good reason not to.
Expiry dates are properly the decision of individual host
administrators; posters and moderators SHOULD set only expiry dates
with which most administrators would agree.
NOTE: A poster preparing an Expires header for an article whose
utility ends on a specific day should typically specify the NEXT
day as the expiry date. A meeting on July 7th remains of interest
on the 7th.
6.3. Reply-To
The Reply-To header content specifies a reply address different from
the author's address given in the From header:
Reply-To-content = From-content
In the absence of Reply-To, the reply address is the address in the
From header.
Use of a Reply-To header is preferable to including a similar request
in the article body, because reply-preparation software can take
account of Reply-To automatically.
6.4. Sender
The Sender header identifies the poster, in the event that this
differs from the author identified in the From header:
Sender-content = From-content
In the absence of Sender, the default poster is the author (named in
the From header).
NOTE: The intent is that the Sender header have a fairly high
probability of identifying the person who really posted the
article. The ability to specify a From header naming someone
other than the poster is useful but can be abused.
If the poster supplies a From header, the posting agent MUST ensure
that a Sender header is present, unless it can verify that the
mailing address in the From header is a valid mailing address for the
poster. A poster-supplied Sender header MAY be used, if its mailing
address is verifiably a valid mailing address for the poster;
Spencer Historic [Page 47]
^L
RFC 1849 Son of 1036 March 2010
otherwise, the posting agent MUST supply a Sender header and delete
(or rename, for example, to X-Unverifiable-Sender) any poster-
supplied Sender header.
NOTE: It might be useful to preserve a poster-supplied Sender
header so that the poster can supply the full-name part of the
content. The mailing address, however, must be right, hence, the
posting agent must generate the Sender header if it is unable to
verify the mailing address of a poster-supplied one.
NOTE: NNTP implementors, in particular, are urged to note this
requirement (which would eliminate the need for ad hoc headers
like NNTP-Posting-Host), although there are admittedly some
implementation difficulties. A user name from an [RFC1413] server
and a host name from an inverse mapping of the address, perhaps
with a "full name" comment noting the origin of the information,
would be at least a first approximation:
Sender: fred@zoo.toronto.edu (RFC-1413@reverse-lookup;
not verified)
While this does not completely meet the specs, it comes a lot closer
than not having a Sender header at all. Even just supplying a
placeholder for the user name:
Sender: somebody@zoo.toronto.edu (user name unknown)
would be better than nothing.
6.5. References
The References header content lists message IDs of precursors:
References-content = message-id *( space message-id )
A followup MUST have a References header, and an article that is not
a followup MUST NOT have a References header. The References-content
of a followup MUST be the precursor's References-content (if any)
followed by the precursor's message ID.
NOTE: Use the See-Also header (Section 6.16) for interconnection
of articles that are not in a followup relationship to each other.
NOTE: In retrospect, RFCs 850 and 1036, and the implementations
whose practice they represented, erred here. The proper MAIL
header to use for references to precursors is In-Reply-To, and the
References header is meant to be used for the purposes here
ascribed to See-Also. This incompatibility is far too solidly
Spencer Historic [Page 48]
^L
RFC 1849 Son of 1036 March 2010
established to be fixed, unfortunately. The best that can be done
is to provide a clear mapping between the two and urge gateways to
do the transformation. The news usage is (now) a deliberate
violation of the MAIL specifications; articles containing news
References headers are technically not valid MAIL messages,
although it is unlikely that much MAIL software will notice
because the incompatibility is at a subtle semantic level that
does not affect the syntax.
UNRESOLVED ISSUE: Would it be better to just give up and admit
that news uses References for both purposes?
UNRESOLVED ISSUE: Should the syntax be generalized to include URLs
as alternatives to message IDs? Perhaps not; too many things know
about References already. And non-articles can't be precursors of
articles, not really.
Followup agents SHOULD NOT shorten References headers. If it is
absolutely necessary to shorten the header, as a desperate last
resort, a followup agent MAY do this by deleting some of the message
IDs. However, it MUST NOT delete the first message ID, the last
three message IDs (including that of the immediate precursor), or any
message ID mentioned in the body of the followup. If it is possible
for the followup agent to determine the Subject content of the
articles identified in the References header, it MUST NOT delete the
message ID of any article where the Subject content changed (other
than by prepending of a back reference). The followup agent MUST NOT
delete any message ID whose local part ends with "_-_" (underscore
(ASCII 95), hyphen (ASCII 45), underscore); followup agents are urged
to use this form to mark subject changes and to avoid using it
otherwise.
NOTE: As software capable of exploiting References chains has
grown more common, the random shortening permitted by [RFC1036]
has become increasingly troublesome. ANY shortening is
undesirable, and software should do it only in cases of dire
necessity. In such cases, these rules attempt to limit the
damage.
NOTE: The first message ID is very important as the starting point
of the "thread" of discussion and absolutely should not be
deleted. Keeping the last three message IDs gives thread-
following software a fighting chance to reconstruct a full thread
even if an article or two is missing. Keeping message IDs
mentioned in the body is obviously desirable.
Spencer Historic [Page 49]
^L
RFC 1849 Son of 1036 March 2010
NOTE: Subject changes are difficult to determine, but they are
significant as possible beginnings of new threads. The "_-_"
convention is provided so that posting agents (which have more
information about subjects) can flag articles containing a subject
change in a way that followup agents can detect without access to
the articles themselves. The sequence is chosen as one that is
fairly unlikely to occur by accident.
UNRESOLVED ISSUE: Is "_-_" really worth having?
When a References header is shortened, at least three blanks SHOULD
be left between adjacent message IDs at each point where deletions
were made. Software preparing new References headers SHOULD preserve
multiple blanks in older References content.
NOTE: It's desirable to have some marker of where deletions
occurred, but the restricted syntax of the header makes this
difficult. Extra white space is not a very good marker, since it
may be deleted by software that ill-advisedly rewrites headers,
but at least it doesn't break existing software.
To repeat: followup agents SHOULD NOT shorten References headers.
NOTE: Unfortunately, reading agents and other software analyzing
References patterns have to be prepared for the worst anyway. The
worst includes random deletions and the possibility of circular
References chains (when References is misused in place of See-Also
(Section 6.16)).
6.6. Control
The Control header content marks the article as a control message and
specifies the desired actions (other than the usual ones of filing
and passing on the article):
Control-content = verb *( space argument )
verb = 1*( letter / digit )
argument = 1*<ASCII printable character>
The verb indicates what action should be taken, and the argument(s)
(if any) supply details. In some cases, the body of the article may
also contain details. Section 7 describes the standard verbs. See
also the Also-Control header (Section 6.15).
NOTE: Control messages are often processed and filed rather
differently than normal articles.
Spencer Historic [Page 50]
^L
RFC 1849 Son of 1036 March 2010
NOTE: The restriction of verbs to letters and digits is new but is
consistent with existing practice and potentially simplifies
implementation by avoiding characters significant to command
interpreters. Beware that the arguments are under no such
restriction in general.
NOTE: Two other conventions for distinguishing control messages
from normal articles were formerly in use: a three-component
newsgroup name ending in ".ctl" or a subject beginning with
"cmsg " was considered to imply that the article was a control
message. These conventions are obsolete. Do not use them.
An article with a Control header MUST NOT have an Also-Control or
Supersedes header.
6.7. Distribution
The Distribution header content specifies geographic or
organizational limits on an article's propagation:
Distribution-content = distribution *( dist-delim distribution )
dist-delim = ","
distribution = plain-component
A distribution is syntactically identical to a one-component
newsgroup name and must satisfy the same rules and restrictions. In
the absence of Distribution, the default distribution is "world".
NOTE: This syntax has the disadvantage of containing no white
space, making it impossible to continue a Distribution header
across several lines. Implementors of relayers and reading agents
are warned that it is intended that the successor to this Draft
will change the definition of dist delimiter to:
dist-delim = "," [ space ]
and are urged to fix their software to handle (i.e., ignore) white
space following the commas.
A relayer MUST NOT pass an article to another relayer unless
configuration information specifies transmission to that other
relayer of BOTH (a) at least one of the article's newsgroup(s), and
(b) at least one of the article's distribution(s). In effect, the
only role of distributions is to limit propagation, by preventing
transmission of articles that would have been transmitted had the
decision been based solely on newsgroups.
Spencer Historic [Page 51]
^L
RFC 1849 Son of 1036 March 2010
A posting agent might wish to present a menu of possible
distributions, or suggest a default, but normally SHOULD NOT supply a
default without giving the poster a chance to override it. A
followup agent SHOULD initially supply the same Distribution header
as found in the precursor, although the poster MAY alter this if
appropriate.
Despite the syntactic similarity and some historical confusion,
distributions are NOT newsgroup names. The whole point of putting a
distribution on an article is that it is DIFFERENT from the
newsgroup(s). In general, a meaningful distribution corresponds to
some sort of region of propagation: a geographical area, an
organization, or a cooperating subnet.
NOTE: Distributions have historically suffered from the completely
uncontrolled nature of their name space, the lack of feedback to
posters on incomplete propagation resulting from use of random
trash in Distribution headers, and confusion with newsgroups
(arising partly because many regions and organizations DO have
internal newsgroups with names resembling their internal
distributions). This has resulted in much garbage in Distribution
headers, notably the pointless practice of automatically supplying
the first component of the newsgroup name as a distribution (which
is MOST unlikely to restrict propagation!). Many sites have opted
to maximize propagation of such ill-formed articles by essentially
ignoring distributions. This unfortunately interferes with
legitimate uses. The situation is bad enough that distributions
must be considered largely useless except within cooperating
subnets that make an organized effort to restrain propagation of
their internal distributions.
NOTE: The distributions "world" and "local" have no standard magic
meaning (except that the former is the default distribution if
none is given). Some pieces of software do assign such meanings
to them.
6.8. Keywords
The Keywords header content is one or more phrases intended to
describe some aspect of the content of the article:
Keywords-content = plain-phrase *( "," [ space ] plain-phrase )
Keywords, separated by commas, each follow the <plain-phrase> syntax
defined in Section 5.2. Encoded words in keywords MUST NOT contain
characters other than letters (of either case), digits, and the
characters "!", "*", "+", "-", "/", "=", and "_".
Spencer Historic [Page 52]
^L
RFC 1849 Son of 1036 March 2010
NOTE: Posters and posting agents are asked to take note that
keywords are separated by commas, not by white space. The
following Keywords header contains only one keyword (a rather
unlikely and improbable one):
Keywords: Thompson Ritchie Multics Linux
and should probably have been written:
Keywords: Thompson, Ritchie, Multics, Linux
This particular error is unfortunately rather widespread.
NOTE: Reading agents and archivers preparing indexes of articles
should bear in mind that user-chosen keywords are notoriously poor
for indexing purposes unless the keywords are picked from a
predefined set (which they are not in this case). Also, some
followup agents unwisely propagate the Keywords header from the
precursor into the followup by default. At least one news-based
experiment has found the contents of Keywords headers to be
completely valueless for indexing.
6.9. Summary
The Summary header content is a short phrase summarizing the
article's content:
Summary-content = nonblank-text
As with the subject, no restriction is placed on the content since it
is intended solely for display to humans.
NOTE: Reading agents should be aware that the Summary header is
often used as a sort of secondary Subject header, and (if present)
its contents should perhaps be displayed when the subject is
displayed.
The summary SHOULD be terse. Posters SHOULD avoid trying to cram
their entire article into the headers; even the simplest query
usually benefits from a sentence or two of elaboration and context,
and not all reading agents display all headers.
6.10. Approved
The Approved header content indicates the mailing addresses (and
possibly the full names) of the persons or entities approving the
article for posting:
Spencer Historic [Page 53]
^L
RFC 1849 Son of 1036 March 2010
Approved-content = From-content *( "," [ space ] From-content )
An Approved header is required in all postings to moderated
newsgroups; the presence or absence of this header allows a posting
agent to distinguish between articles posted by the moderator (which
are normal articles to be posted normally) and attempted
contributions by others (which should be mailed to the moderator for
approval). An Approved header is also required in certain control
messages, to reduce the probability of accidental posting of same;
see the relevant parts of Section 7.
NOTE: There is, at present, no way to authenticate Approved
headers to ensure that the claimed approval really was bestowed.
Nor is there an established mechanism for even maintaining a list
of legitimate approvers (such a list would quickly become out of
date if it had to be maintained by hand). Such mechanisms,
presumably relying on cryptographic authentication, would be a
worthwhile extension to this Draft, and experimental work in this
area is encouraged. (The problem is harder than it sounds because
news is used on many systems that do not have real-time access to
key servers.)
NOTE: Relayer implementors, please note well: it is the POSTING
AGENT that is authorized to distinguish between moderator postings
and attempted contributions, and to mail the latter to the
moderator. As discussed in Section 9.1, relayers MUST NOT, repeat
MUST NOT, send such mail; on receipt of an unApproved article in a
moderated newsgroup, they should discard the article, NOT
transform it into a mail message (except perhaps to a local
administrator).
NOTE: [RFC1036] restricted Approved to a single From-content.
However, multiple moderation is no longer rare, and multi-
moderator Approved headers are already in use.
6.11. Lines
The Lines header content indicates the number of lines in the body of
the article:
Lines-content = 1*digit
The line count includes all body lines, including the signature (if
any) and including empty lines (if any) at the beginning or end of
the body. (The single empty separator line between the headers and
the body is not part of the body.) The "body" here is the body as
found in the posted article, AFTER all transformations such as MIME
encodings.
Spencer Historic [Page 54]
^L
RFC 1849 Son of 1036 March 2010
Reading agents SHOULD NOT rely on the presence of this header, since
it is optional (and some posting agents do not supply it). They MUST
NOT rely on it being precise, since it frequently is not.
NOTE: The average line length in article bodies is surprisingly
consistent at about 40 characters, and since the line count
typically is used only for approximate judgements ("is this too
long to read quickly?"), dividing the byte count of the body by 40
gives an estimate of the body line count that is adequate for
normal use. This estimate is NOT adequate if the body has been
MIME encoded, but neither is the Lines header: at least one major
relayer will add a Lines header to an article that lacks one,
without considering the possibility of MIME encodings when
computing the line count.
NOTE: It would be better to have a Content-Size header as part of
MIME, so that body parts could have their own sizes, and so that
the units used could be appropriate to the data type (line count
is not a useful measure of the size of an encoded image, for
example). Doing this is preferable to trying to fix Lines.
UNRESOLVED ISSUE: Update on Content-Size?
Relayers SHOULD discard this header if they find it necessary to
re-encode the article in such a way that the original Lines header
would be rendered incorrect.
6.12. Xref
The Xref header content indicates where an article was filed by the
last relayer to process it:
Xref-content = relayer 1*( space location )
relayer = relayer-name
location = newsgroup-name ":" article-locator
article-locator = 1*<ASCII printable character>
The relayer's name is included so that software can determine which
relayer generated the header (and specifically, whether it really was
the one that filed the copy being examined). The locations specify
what newsgroups the article was filed under (which may differ from
those in the Newsgroups header) and where it was filed under them.
The exact form of an article locator is implementation-specific.
NOTE: Reading agents can exploit this information to avoid
presenting the same article to a reader several times. The
information is sometimes available in system databases, but having
it in the article is convenient. Relayers traditionally generate
Spencer Historic [Page 55]
^L
RFC 1849 Son of 1036 March 2010
an Xref header only if the article is cross-posted, but this is
not mandatory, and there is at least one new application
("mirroring": keeping news databases on two hosts identical) where
the header is useful in all articles.
NOTE: The traditional form of an article locator is a decimal
number, with articles in each newsgroup numbered consecutively
starting from 1. NNTP [RFC977] demands that such a model be
provided, and there may be other software that expects it, but it
seems desirable to permit flexibility for unorthodox
implementations.
A relayer inserting an Xref header into an article MUST delete any
previous Xref header. A relayer that is not inserting its own Xref
header SHOULD delete any previous Xref header. A relayer MAY delete
the Xref header when passing an article on to another relayer.
NOTE: [RFC1036] specified that the Xref header was not transmitted
when an article was passed to another relayer, but the major news
implementations have never obeyed this rule, and applications like
mirroring depend on this disobedience.
A relayer MUST use the same name in Xref headers as it uses in Path
headers. Reading agents MUST ignore an Xref header containing a
relayer name that differs from the one that begins the path list.
6.13. Organization
The Organization header content is a short phrase identifying the
poster's organization:
Organization-content = nonblank-text
This header is typically supplied by the posting agent. The
Organization content SHOULD mention geographical location (e.g., city
and country) when it is not obvious from the organization's name.
NOTE: The motive here is that the organization is often difficult
to guess from the mailing address, is not always supplied in a
signature, and can help identify the poster to the reader.
NOTE: There is no "s" in "Organization".
The Organization content is provided for identification only and does
not imply that the poster speaks for the organization or that the
article represents organization policy. Posting agents SHOULD permit
the poster to override a local default Organization header.
Spencer Historic [Page 56]
^L
RFC 1849 Son of 1036 March 2010
6.14. Supersedes
The Supersedes header content specifies articles to be cancelled on
arrival of this one:
Supersedes-content = message-id *( space message-id )
Supersedes is equivalent to Also-Control (Section 6.15) with an
implicit verb of "cancel" (Section 7.1).
NOTE: Supersedes is normally used where the article is an updated
version of the one(s) being cancelled.
NOTE: Although the ability to use multiple message IDs in
Supersedes is highly desirable (see Section 7.1), posters are
warned that existing implementations often do not correctly handle
more than one.
NOTE: There is no "c" in "Supersedes".
An article with a Supersedes header MUST NOT have an Also-Control or
Control header.
6.15. Also-Control
The Also-Control header content marks the article as being a control
message IN ADDITION to being a normal news article and specifies the
desired actions:
Also-Control-content = Control-content
An article with an Also-Control header is filed and passed on
normally, but the content of the Also-Control header is processed as
if it were found in a Control header.
NOTE: It is sometimes desirable to piggyback control actions on a
normal article, so that the article will be filed normally but
will also be acted on as a control message. This header is
essentially a generalization of Supersedes.
NOTE: Be warned that some old relayers do not implement
Also-Control.
An article with an Also-Control header MUST NOT have a Control or
Supersedes header.
Spencer Historic [Page 57]
^L
RFC 1849 Son of 1036 March 2010
6.16. See-Also
The See-Also header content lists message IDs of articles that are
related to this one but are not its precursors:
See-Also-content = message-id *( space message-id )
See-Also resembles References, but without the restrictions imposed
on References by the followup rules.
NOTE: See-Also provides a way to group related articles, such as
the parts of a single document that had to be split across
multiple articles due to its size, or to cross-reference between
parallel threads.
NOTE: See the discussion (in Section 6.5) on MAIL compatibility
issues of References and See-Also.
NOTE: In the specific case where it is desired to essentially make
another article PART of the current one, e.g., for annotation of
the other article, MIME's "message/external-body" convention can
be used to do so without actual inclusion. "news-message-ID" was
registered as a standard external-body access method, with a
mandatory NAME parameter giving the message ID and an optional
SITE parameter suggesting an NNTP site that might have the article
available (if it is not available locally), by IANA 22 June 1993.
UNRESOLVED ISSUE: Could the syntax be generalized to include URLs
as alternatives to message IDs? Here it makes much more sense
than in References.
6.17. Article-Names
The Article-Names header content indicates any special significance
the article may have in particular newsgroups:
Article-Names-content = 1*( name-clause space )
name-clause = newsgroup-name ":" article-name
article-name = letter 1*( letter / digit / "-" )
Each name clause specifies a newsgroup (which SHOULD be among those
in the Newsgroups header) and an article name local to that
newsgroup. Article names MAY be used by relayers to file the article
in special ways, or they MAY just be noted for possible special
attention by reading agents. Article names are case-sensitive.
Spencer Historic [Page 58]
^L
RFC 1849 Son of 1036 March 2010
NOTE: This header provides a way to mark special postings, such as
introductions, frequently-asked-question lists, etc., so that
reading agents have a way of finding them automatically. The
newsgroup name is specified for each article name because the
names may be newsgroup-specific; for example, many frequently-
asked-question lists are posted to "news.answers" in addition to
their "home" newsgroup, and they would not be known by the same
name(s) in both newsgroups.
The Article-Names header SHOULD be ignored unless the article also
contains an Approved header.
NOTE: This stipulation is made in anticipation of the possibility
that Approved headers will be involved in cryptographic
authentication.
The presence of an Article-Names header does not necessarily imply
that the article will be retained unusually long before expiration,
or that previous article(s) with similar Article-Names headers will
be cancelled by its arrival. Posters preparing special postings
SHOULD include appropriate other headers, such as Expires and
Supersedes, to request such actions.
Different networks MAY establish different sets of article names for
the special postings they deem significant; it is preferable for
usage to be standardized within networks, although it might be
desirable for individual newsgroups to have different naming
conventions in some situations. Article names MUST be 14 characters
or less. The following names are suggested but are not mandatory:
intro Introduction to the newsgroup for newcomers.
charter Charter, rules, organization, moderation policies, etc.
background Biographies of special participants, history of the
newsgroup, notes on related newsgroups, etc.
subgroups Descriptions of sub-newsgroups under this newsgroup,
e.g., "sci.space.news" under "sci.space".
facts Information relating to the purpose of the newsgroup,
e.g., an acronym glossary in "sci.space".
references Where to get more information: books, journals, FTP
repositories, etc.
faq Answers to frequently asked questions.
Spencer Historic [Page 59]
^L
RFC 1849 Son of 1036 March 2010
menu If present, a list of all of the other article names
local to this newsgroup, with brief descriptions of their
contents.
Such articles may be divided into subsections using the MIME
"multipart/mixed" conventions. If size considerations make it
necessary to split such articles, names ending in a hyphen and a part
number are suggested; for example, a three-part frequently-asked-
questions list could have article names "faq-1", "faq-2", and
"faq-3".
NOTE: It is somewhat premature to attempt to standardize article
names, since this is essentially a new feature with no experience
behind it. However, if reading agents are to attach special
significance to these names, some attempt at standard conventions
is imperative. This is a first attempt at providing some.
6.18. Article-Updates
The Article-Updates header content indicates what previous articles
this one is deemed (by the poster) to update (i.e., replace):
Article-Updates-content = message-id *( space message-id )
Each message ID identifies a previous article that this one is deemed
to update. This MUST NOT cause the previous article(s) to be
cancelled or otherwise altered, unless this is implied by other
headers (e.g., Supersedes); Article-Updates is merely an advisory
that MAY be noted for special attention by reading agents.
NOTE: This header provides a way to mark articles that are only
minor updates of previous ones, containing no significant new
information and not worth reading if the previous ones have been
read.
NOTE: If suitable conventions using MIME multipart bodies and the
"message/external-body" body-part type can be developed, a
replacing article might contain only differences between the old
text and the new text, rather than a complete new copy. This is
the motivation for not making Article-Updates also function as
Supersedes does: the replacing article might depend on the
continued presence of the replaced article.
7. Control Messages
The following sections document the currently defined control
messages. "Message" is used herein as a synonym for "article" unless
context indicates otherwise.
Spencer Historic [Page 60]
^L
RFC 1849 Son of 1036 March 2010
Posting agents are warned that since certain control messages require
article bodies in quite specific formats, signatures SHOULD NOT be
appended to such articles, and it may be wise to take greater care
than usual to avoid unintended (although perhaps well-meaning)
alterations to text supplied by the poster. Relayers MUST assume
that control messages mean what they say; they MAY be obeyed as is or
rejected, but MUST NOT be reinterpreted.
The execution of the actions requested by control messages is subject
to local administrative restrictions, which MAY deny requests or
refer them to an administrator for approval. The descriptions below
are generally phrased in terms suggesting mandatory actions, but any
or all of these MAY be subject to local administrative approval
(either as a class or case-by-case). Analogously, where the
description below specifies that a message or portion thereof is to
be ignored, this action MAY include reporting it to an administrator.
NOTE: The exact choice of local action might depend on what action
the control message requests, who it claims to come from, etc.
Relayers MUST propagate even control messages they do not understand.
In the following sections, each type of control message is defined
syntactically by defining its arguments and its body. For example,
"cancel" is defined by defining cancel-arguments and cancel-body.
7.1. cancel
The cancel message requests that one or more previous articles be
"cancelled":
cancel-arguments = message-id *( space message-id )
cancel-body = body
The argument(s) identify the articles to be cancelled, by message ID.
The body is a comment, which software MUST ignore, and SHOULD contain
an indication of why the cancellation was requested. The cancel
message SHOULD be posted to the same newsgroup(s), with the same
distribution(s), as the article(s) it is attempting to cancel.
NOTE: Using the same newsgroups and distributions maximizes the
chances of the cancel message propagating everywhere the target
articles went.
NOTE: [RFC1036] permitted only a single message-id in a cancel
message. Support for cancelling multiple articles is highly
desirable, especially for use with Supersedes (see Section 6.14).
If several revisions of an article appear in fast succession, each
Spencer Historic [Page 61]
^L
RFC 1849 Son of 1036 March 2010
using Supersedes to cancel the previous one, it is possible for a
middle revision to be destroyed by cancellation before it is
propagated onward to cancel its predecessor. Allowing each
article to cancel several predecessors greatly alleviates this
problem. (Posting agents preparing a cancel of an article that
itself cancels other articles might wish to add those articles to
the cancel-arguments.) However, posters should be aware that much
old software does not implement multiple cancellation properly and
should avoid using it when reliable cancellation is vitally
important.
When an article (the "target article") is to be cancelled, there are
four cases of interest: the article hasn't arrived yet, it has
arrived and been filed and is available for reading, it has expired
and been archived on some less-accessible storage medium, or it has
expired and been deleted. The next few paragraphs discuss each case
in turn (in reverse order, which is convenient for the explanation).
EXPIRED AND DELETED. Take no action.
EXPIRED AND ARCHIVED. If the article is readily accessible and can
be deleted or made unreadable easily, treat as under AVAILABLE below.
Otherwise, treat as under EXPIRED AND DELETED.
NOTE: While it is desirable for archived articles to be
cancellable, this can easily involve rewriting an entire archive
volume just to get rid of one article, perhaps with manual actions
required to arrange it. It is difficult to envision a situation
so dire as to require such measures from hundreds or thousands of
administrators, or for that matter one in which widespread
compliance with such a request is likely.
AVAILABLE. Compare the mailing addresses from the From lines of the
cancel message and the target article, bearing in mind that local
parts (except for "postmaster") are case-sensitive and domains are
case-insensitive. If they do not match, either refer the issue to an
administrator for a case-by-case decision, or treat as if they
matched.
NOTE: It is generally trivial to forge articles, so nothing short
of cryptographic authentication is really adequate to ensure that
a cancel came from the original article's author. Moreover, it is
highly desirable to permit authorities other than the author to
cancel articles, to allow for cases in which the author is
unavailable, uncooperative, or malicious, and in which damage
and/or legal problems may be minimized by prompt cancellation.
Spencer Historic [Page 62]
^L
RFC 1849 Son of 1036 March 2010
Reliable authentication that would permit such administrative
cancels would be a worthwhile extension to this Draft, and
experimental work in this area is encouraged.
NOTE: Meanwhile, a simple check of addresses is useful accident
prevention and catches at least the most simple-minded forgers.
Since the intent is accident prevention rather than ironclad
security, use of the From address is appropriate, all the more so
because in the presence of gateways (especially redundant multiple
gateways), the author may not have full control over Sender
headers.
NOTE: The "refer... or treat as if they matched" rule is intended
to specifically forbid quietly ignoring cancels with mismatched
addresses.
If the addresses match, then if technically possible, the relayer
MUST delete the target article completely and immediately. Failing
that, it MUST make the target article unreadable (preferably to
everyone, minimally to everyone but the administrator) and either
arrange for it to be deleted as soon as possible or notify an
administrator at once.
NOTE: To allow for events such as criminal actions, malicious
forgeries, and copyright infringements, where damage and/or legal
problems may be minimized by prompt cancellation, complete removal
is strongly preferred over merely making the target article
unreadable. The potential for malice is outweighed by the
importance of really getting rid of the target article in some
legitimate cases. (In cases of inadvertent copyright violation in
particular, the ability to quickly remedy the violation is of
considerable legal importance.) Failing that, making it
unreadable is better than nothing.
NOTE: Merely annotating the article so that readers see an
indication that the author wanted it cancelled is not acceptable.
Making the article unreadable is the minimum action.
NOTE: There have been experiments with making cancelled articles
unreadable, so that local news administrators could reverse
cancellations. In practice, administrators almost never find
cause to do so. Removal appears to be clearly preferable where
technically feasible.
Spencer Historic [Page 63]
^L
RFC 1849 Son of 1036 March 2010
NOT ARRIVED YET. If practical, retain the cancel message until the
target article does arrive, or until there is no further possibility
of it arriving and being accepted (see Section 9.2), and then treat
as under AVAILABLE. Failing that, arrange for the target article to
be rejected and discarded if it does arrive.
NOTE: It may well be impractical to retain the control message,
given uncertainty about whether the target article will ever
arrive. Existing practice in such cases is to assume that
addresses would match and arrange the equivalent of deletion.
This is often done by making a spurious entry in a database of
already-seen message IDs (see Section 9.3), so that if the article
does arrive, it will be rejected as a duplicate.
The cancel message MUST be propagated onward in the usual fashion,
regardless of which of the four cases applied, so that the target
article will be cancelled everywhere even if cancellation and target
article follow different routes.
NOTE: [RFC1036] appeared to require stopping cancel propagation in
the NOT ARRIVED YET case, although the wording was somewhat
unclear. This appears to have been an unwise decision; there are
known cases of important cancellations (in situations of
inadvertent copyright violation, for example) achieving rather
poorer propagation than the target article. News propagation is
often a much less orderly process than the authors of [RFC1036]
apparently envisioned. Modern implementations generally propagate
the cancellation regardless.
Posting agents meant for use by ordinary posters SHOULD reject an
attempt to post a cancel message if the target article is available
and the mailing address in its From header does not match the one in
the cancel message's From header.
NOTE: This, again, is primarily accident prevention.
7.2. ihave, sendme
The ihave and sendme control messages implement a crude batched
predecessor of the NNTP [RFC977] protocol. They are largely obsolete
in the Internet but still see use in the UUCP environment, especially
for backup feeds that normally are active only when a primary feed
path has failed.
NOTE: The ihave and sendme messages defined here have ABSOLUTELY
NOTHING TO DO WITH NNTP, despite similarities of terminology.
Spencer Historic [Page 64]
^L
RFC 1849 Son of 1036 March 2010
The two messages share the same syntax:
ihave-arguments = *( message-id space ) relayer-name
sendme-arguments = ihave-arguments
ihave-body = *( message-id eol )
sendme-body = ihave-body
Message IDs MUST appear in either the arguments or the body, but not
both. Relayers SHOULD generate the form putting message IDs in the
body, but the other form MUST be supported for backward
compatibility.
NOTE: [RFC1036] made the relayer name optional, but difficulties
could easily ensue in determining the origin of the message, and
this option is believed to be unused nowadays. Putting the
message IDs in the body is strongly preferred over putting them in
the arguments because it lends itself much better to large numbers
of message IDs and avoids the empty-body problem mentioned in
Section 4.3.1.
The ihave message states that the named relayer has filed articles
with the specified message IDs, which may be of interest to the
relayer(s) receiving the ihave message. The sendme message requests
that the relayer receiving it send the articles having the specified
message IDs to the named relayer.
These control messages are normally sent essentially as point-to-
point messages, by using "to." newsgroups (see Section 5.5) that are
sent only to the relayer for which the messages are intended. The
two relayers MUST be neighbors, exchanging news directly with each
other. Each relayer advertises its new arrivals to the other using
ihave messages, and each uses sendme messages to request the articles
it lacks.
NOTE: Arguably these point-to-point control messages should flow
by some other protocol, e.g., mail, but administrative and
interfacing issues are simplified if the news system doesn't need
to talk to the mail system.
To reduce overhead, ihave and sendme messages SHOULD be sent
relatively infrequently and SHOULD contain substantial numbers of
message IDs. If ihave and sendme are being used to implement a
backup feed, it may be desirable to insert a delay between reception
of an ihave and generation of a sendme, so that a slightly slow
primary feed will not cause large numbers of articles to be requested
unnecessarily via sendme.
Spencer Historic [Page 65]
^L
RFC 1849 Son of 1036 March 2010
7.3. newgroup
The newgroup control message requests that a new newsgroup be
created:
newgroup-arguments = newsgroup-name [ space moderation ]
moderation = "moderated" / "unmoderated"
newgroup-body = body
/ [ body ] descriptor [ body ]
descriptor = descriptor-tag eol description-line eol
descriptor-tag = "For your newsgroups file:"
description-line = newsgroup-name space description
description = nonblank-text [ " (Moderated)" ]
The first argument names the newsgroup to be created, and the second
one (if present) indicates whether it is moderated. If there is no
second argument, the default is "unmoderated".
NOTE: Implementors are warned that there is occasional use of
other forms in the second argument. It is suggested that such
violations of this Draft, which are also violations of [RFC1036],
cause the newgroup message to be ignored. [RFC1036] was slightly
vague about how second arguments other than "moderated" were to be
treated (specifically, whether they were illegal or just ignored),
but it is thought that all existing major implementations will
handle "unmoderated" correctly, and it appears desirable to
tighten up the specs to make it possible for other forms to be
used in future.
The body is a comment, which software MUST ignore, except that if it
contains a descriptor, the description line is intended to be
suitable for addition to a list of newsgroup descriptions. The
description cannot be continued onto later lines but is not
constrained to any particular length. Moderated newsgroups have
descriptions that end with the string " (Moderated)" (note that this
string begins with a blank).
NOTE: It is unfortunate that the description line is part of the
body, rather than being supplied in a header, but this is
established practice. Newsgroup creators are cautioned that the
descriptor tag must be reproduced exactly as given above, must be
alone on a line, and that it is case-sensitive. (To reduce errors
in this regard, posting agents might wish to question or reject
newgroup messages that do not contain a descriptor.) Given the
desire for short lines, description writers should avoid content-
free phrases like "discussion of" and "news about", and stick to
defining what the newsgroup is about.
Spencer Historic [Page 66]
^L
RFC 1849 Son of 1036 March 2010
The remainder of the body SHOULD contain an explanation of the
purpose of the newsgroup and the decision to create it.
NOTE: Criteria for newsgroup creation vary widely and are outside
the scope of this Draft, but if formal procedures of one kind or
another were followed in the decision, the body should mention
this. Administrators often look for such information when
deciding whether to comply with creation/deletion requests.
A newgroup message that lacks an Approved header MUST be ignored.
NOTE: It would also be desirable to ignore a newgroup message
unless its Approved header names a person who is authorized (in
some sense) to create such a newsgroup. A cooperating subnet with
sufficiently strong coordination to maintain a correct and current
list of authorized creators might wish to do so for its internal
newsgroups. It also (or alternatively) might wish to ignore a
newgroup message for an internal newsgroup that was posted (or
cross-posted) to a non-internal newsgroup.
NOTE: As mentioned in Section 6.10, some form of (cryptographic?)
authentication of Approved headers would be highly desirable,
especially for control messages.
It would be desirable to provide some way of supplying a moderator's
address in a newgroup message for a moderated newsgroup, but this
will cause problems unless effective authentication is available, so
it is left for future work.
NOTE: This leaves news administrators stuck with the annoying
chore of arranging proper mailing of moderated-newsgroup
submissions. On Usenet, this can be simplified by exploiting a
forwarding facility that some major sites provide: they maintain
forwarding addresses, each the name of a moderated newsgroup with
all periods (".", ASCII 46) replaced by hyphens ("-", ASCII 45),
which forward mail to the current newsgroup moderators. More
advice on the subject of forwarding to moderators can be found in
the document titled "How to Construct the Mailpaths File", posted
regularly to the Usenet newsgroups news.lists, news.admin.misc,
and news.answers.
A newgroup message naming a newsgroup that already exists is
requesting a change in the moderation status or description of the
newsgroup. The same rules apply.
Spencer Historic [Page 67]
^L
RFC 1849 Son of 1036 March 2010
7.4. rmgroup
The rmgroup message requests that a newsgroup be deleted:
rmgroup-arguments = newsgroup-name
rmgroup-body = body
The sole argument is the newsgroup name. The body is a comment,
which software MUST ignore; it SHOULD contain an explanation of the
decision to delete the newsgroup.
NOTE: Criteria for newsgroup deletion vary widely and are outside
the scope of this Draft, but if formal procedures of one kind or
another were followed in the decision, the body should mention
this. Administrators often look for such information when
deciding whether to comply with creation/deletion requests.
A rmgroup message that lacks an Approved header MUST be ignored.
NOTE: It would also be desirable to ignore a rmgroup message
unless its Approved header names a person who is authorized (in
some sense) to delete such a newsgroup. A cooperating subnet with
sufficiently strong coordination to maintain a correct and current
list of authorized deleters might wish to do so for its internal
newsgroups. It also (or alternatively) might wish to ignore a
rmgroup message for an internal newsgroup that was posted (or
cross-posted) to a non-internal newsgroup.
Unexpected deletion of a newsgroup being a disruptive action,
implementations are strongly advised to refer rmgroup messages to an
administrator by default, unless perhaps the message can be
determined to have originated within a cooperating subnet whose
members are considered trustworthy. Abuses have occurred.
7.5. sendsys, version, whogets
The sendsys message requests that a description of the relayer's news
feeds to other relayers be mailed to the article's reply address:
sendsys-arguments = [ relayer-name ]
sendsys-body = body
If there is an argument, relayers other than the one named by the
argument MUST NOT respond. The body is a comment, which software
MUST ignore; it SHOULD contain an explanation of the reason for the
request.
Spencer Historic [Page 68]
^L
RFC 1849 Son of 1036 March 2010
The version message requests that the name and version of the relayer
software be mailed to the reply address:
version-arguments =
version-body = body
There are no arguments. The body is a comment, which software MUST
ignore; it SHOULD contain an explanation of the reason for the
request.
The whogets message requests that a description of the relayer and
its news feeds to other relayers be mailed to the article's reply
address:
whogets-arguments = newsgroup-name [ space relayer-name ]
whogets-body = body
The first argument is the name of the "target newsgroup", specifying
the newsgroup for which propagation information is desired. This
MUST be a complete newsgroup name, not the name of a hierarchy or a
portion of a newsgroup name that is not itself the name of a
newsgroup. If there is a second argument, only the relayer named by
that argument should respond. The body is a comment, which software
MUST ignore; it SHOULD contain an explanation of the reason for the
request.
NOTE: Whogets is intended as a replacement for sendsys (and
version) with a precisely specified reply format. Since the
syntax for specifying what newsgroups get sent to what other
relayers varies widely between different forms of relayer
software, the only practical way to standardize the reply format
is to indicate a specific newsgroup and ask where THAT newsgroup
propagates. The requirement that it be a complete newsgroup name
is intended to (largely) avoid the problem of having to answer
"yes and no" in cases where not all newsgroups in a hierarchy are
sent.
Any of these messages lacking an Approved header MUST be ignored.
Response to any of these messages SHOULD be delayed for at least
24 hours, and no response should be attempted if the message has been
cancelled in that time. Also, no response SHOULD be attempted unless
the local part of the destination address is "newsmap". News
administrators SHOULD arrange for mail to "newsmap" on their systems
to be discarded (without reply) unless legitimate use is in progress.
NOTE: Because these messages can cause many, many relayers to send
mail to one person, such messages, specifying mailing to an
innocent person's mailbox, have been forged as a half-witted
Spencer Historic [Page 69]
^L
RFC 1849 Son of 1036 March 2010
practical joke. A delay gives administrators time to notice a
fraudulent message and act (by cancelling the message, preparing
to divert the flood of mail into the bit bucket, or both).
Restriction of the destination address to "newsmap" reduces the
appeal of fraud by making it impossible to use it to harass a
normal user. (A site that does NOT discard mail to "newsmap", but
rather bounces it back, may incur higher communications costs than
if the mail had been accepted into a user's mailbox, but a
malicious forger could accomplish this anyway, by using an address
whose local part is very unlikely to be a legitimate mailbox
name.)
NOTE: [RFC1036] did not require the Approved header for these
control messages. This has been added because of the possibility
that cryptographic authentication of Approved headers will become
available.
The body of the reply to a sendsys message SHOULD be of the form:
sendsys-reply = responder 1*sys-line
responder = "Responding-System:" space domain eol
sys-line = relayer-name ":" newsgroup-patterns
[ ":" text ] eol
newsgroup-patterns = newsgroup-name *( "," newsgroup-name )
The first line identifies the responding system, using a syntax
resembling a header (but note that it is part of the BODY).
Remaining lines indicate what newsgroups are sent to what other
systems. The syntax of newsgroup patterns is not well standardized;
the form described is common (often with newsgroup names only
partially given, denoting all names starting with a particular set of
components) but not universal. The whogets message provides a
better-defined alternative.
The reply to a version message is of somewhat ill-defined form, with
a body normally consisting of a single line of text that somehow
describes the version of the relayer software. The whogets message
provides a better-defined alternative.
Spencer Historic [Page 70]
^L
RFC 1849 Son of 1036 March 2010
The body of the reply to a whogets message MUST be of the form:
whogets-reply = responder-domain responder-relayer
response-date responding-to arrived-via
responder-version whogets-delimiter
*pass-line
responder-domain = "Responding-System:" space domain eol
responder-relayer = "Responding-Relayer:" space relayer-name eol
response-date = "Response-Date:" space date eol
responding-to = "Responding-To:" space message-id eol
arrived-via = "Arrived-Via:" path-list eol
responder-version = "Responding-Version:" space nonblank-text eol
whogets-delimiter = eol
pass-line = relayer-name [ space domain ] eol
The first six lines identify the responding relayer by its Internet
domain name (use of the ".uucp" and ".bitnet" pseudo-domains is
permissible, for registered hosts in them, but discouraged) and its
relayer name; specify the date when the reply was generated and the
message ID of the whogets message being replied to; give the path
list (from the Path header) of the whogets message (which MAY, if
absolutely necessary, be truncated to a convenient length, but MUST
contain at least the leading three relayer names); and indicate the
version of relayer software responding. Note that these lines are
part of the BODY even though their format resembles that of headers.
Despite the apparently fixed order specified by the syntax above,
they can appear in any order, but there must be exactly one of each.
After those preliminaries, and an empty line to unambiguously define
their end, the remaining lines are the relayer names (which MAY be
accompanied by the corresponding domain names, if known) of systems
to which the responding system passes the target newsgroup. Only the
names of news relayers are to be included.
NOTE: It is desirable for a reply to identify its source by both
domain name and relayer name because news propagation is governed
by the latter but location in a broader context is best determined
by the former. The date and whogets message ID should, in
principle, be present in the MAIL headers but are included in the
body for robustness in the presence of uncooperative mail systems.
The reason for the path list is discussed below. Adding version
information eliminates the need for a separate message to gather
it.
Spencer Historic [Page 71]
^L
RFC 1849 Son of 1036 March 2010
NOTE: The limitation of pass lines to contain only names of news
relayers is meant to exclude names used within a single host (as
identifiers for mail gateways, portions of ihave/sendme
implementations, etc.), which do not actually refer to other
hosts.
A relayer that is unaware of the existence of the target newsgroup
MUST NOT reply to a whogets message at all, although this MUST NOT
influence decisions on whether to pass the article on to other
relayers.
NOTE: While this may result in discontinuous maps in cases where
some hosts have not honored requests for creation of a newsgroup,
it will also prevent a flood of useless responses in the event
that a whogets message intended to map a small region "leaks" out
to a larger one. The possibility of discontinuous recognition of
a newsgroup does make it important that the whogets message itself
continue to propagate (if other criteria permit). This is also
the reason for the inclusion of the whogets message's path list,
or at least the leading portion of it, in the reply: to permit
reconstruction of at least small gaps in maps.
Different networks set different rules for the legitimacy of these
messages, given that they may reveal details of organization-internal
topology that are sometimes considered proprietary.
NOTE: On Usenet, in particular, willingness to respond to these
messages is held to be a condition of network membership: the
topology of Usenet is public information. Organizations wishing
to belong to such networks while keeping their internal topology
confidential might wish to organize their internal news software
so that all articles reaching outsiders appear to be from a single
"gatekeeper" system, with the details of internal topology hidden
behind that system.
UNRESOLVED ISSUE: It might be useful to have a way to set some
sort of hop limit for these.
Spencer Historic [Page 72]
^L
RFC 1849 Son of 1036 March 2010
7.6. checkgroups
The checkgroups control message contains a supposedly authoritative
list of the valid newsgroups within some subset of the newsgroup name
space:
checkgroups-arguments =
checkgroups-body = [ invalidation ] valid-groups
/ invalidation
invalidation = "!" plain-component
*( "," plain-component ) eol
valid-groups = 1*( description-line eol )
There are no arguments. The body lines (except possibly for an
initial invalidation) each contain a description line for a
newsgroup, as defined under the newgroup message (Section 7.3).
NOTE: Some other, ill-defined, forms of the checkgroups body were
formerly used. See Appendix A.
The checkgroups message applies to all hierarchies containing any of
the newsgroups listed in the body. The checkgroups message asserts
that the newsgroups it lists are the only newsgroups in those
hierarchies. If there is an invalidation, it asserts that the
hierarchies it names no longer contain any newsgroups.
Processing a checkgroups message MAY cause a local list of newsgroup
descriptions to be updated. It SHOULD also cause the local lists of
newsgroups (and their moderation statuses) in the mentioned
hierarchies to be checked against the message. The results of the
check MAY be used for automatic corrective action or MAY be reported
to the news administrator in some way.
NOTE: Automatically updating descriptions of existing newsgroups
is relatively safe. In the case of newsgroup additions or
deletions, simply notifying the administrator is generally the
wisest action, unless perhaps the message can be determined to
have originated within a cooperating subnet whose members are
considered trustworthy.
NOTE: There is a problem with the checkgroups concept: not all
newsgroups in a hierarchy necessarily propagate to the same set of
machines. (Notably, there is a set of newsgroups known as the
"inet" newsgroups, which have relatively limited distribution but
coexist in several hierarchies with more widely distributed
newsgroups.) The advice of checkgroups should always be taken
with a grain of salt and should never be followed blindly.
Spencer Historic [Page 73]
^L
RFC 1849 Son of 1036 March 2010
8. Transmission Formats
While this Draft does not specify transmission methods, except to
place a few constraints on them, there are some data formats used
only for transmission that are unique to news.
8.1. Batches
For efficient bulk transmission and processing of news articles, it
is often desirable to transmit a number of them as a single block of
data, i.e., a "batch". The format of a batch is:
batch = 1*( batch-header article )
batch-header = "#! rnews " article-size eol
article-size = 1*digit
A batch is a sequence of articles, each prefixed by a header line
that includes its size. The article size is a decimal count of the
octets in the article, counting each EOL as one octet regardless of
how it is actually represented.
NOTE: A relayer might wish to accept either a single article or a
batch as input. Since "#" cannot appear in a header name,
examination of the first octet of the input will reveal its
nature.
NOTE: In the header line, there is exactly one blank before
"rnews", there is exactly one blank after "rnews", and the EOL
immediately follows the article size. Beware that some software
inserts non-standard trash after the size.
NOTE: Despite the similarity of this format to the executable-
script format used by some operating systems, it is EXTREMELY
unwise to just feed incoming batches to a command interpreter in
the anticipation that it will run a command named "rnews" to
process the batch. Unless arrangements are made to very tightly
restrict the range of commands that can be executed by this means,
the security implications are disastrous.
Spencer Historic [Page 74]
^L
RFC 1849 Son of 1036 March 2010
8.2. Encoded Batches
When transmitting news, especially over communications links that are
slow or are billed by the bit, it is often desirable to batch news
and apply data compression to the batches. Transmission links
sending compressed batches SHOULD use out-of-band means of
communication to specify the compression algorithm being used. If
there is no way to send out-of-band information along with a batch,
the following encapsulation for a compressed batch MAY be used:
ec-batch = "#! " compression-keyword eol
compressed-batch
compression-keyword = "cunbatch"
A line containing a keyword indicating the type of compression is
followed by the compressed batch. The only truly widespread
compression keyword at present is "cunbatch", indicating compression
using the widely distributed "compress" program. Other compression
keywords MAY be used by mutual agreement between the hosts involved.
NOTE: An encapsulated compressed batch is NOT, in general, a text
file, despite having an initial text line. This combination of
text and non-text data is often awkward to handle; for example,
standard decompression programs cannot be used without first
stripping off the initial line, and that in turn is painful to do
because many text-handling tools that are superficially suited to
the job do not cope well with non-text data, hence the
recommendation that out-of-band communication be used instead when
possible.
NOTE: For UUCP transmission, where a batch is typically
transmitted by invoking the remote command "rnews" with the batch
as its input stream, a plausible out-of-band method for indicating
a compression type would be to give a compression keyword in an
option to "rnews", perhaps in the form:
rnews -d decompressor
where "decompressor" is the name of a decompression program (e.g.,
"uncompress" for a batch compressed with "compress" or "gunzip"
for a batch compressed with "gzip"). How this decompression
program is located and invoked by the receiving relayer is
implementation-specific.
NOTE: See the notes in Section 8.1 on the inadvisability of
feeding batches directly to command interpreters.
Spencer Historic [Page 75]
^L
RFC 1849 Son of 1036 March 2010
NOTE: There is exactly one blank between "#!" and the compression
keyword, and the EOL immediately follows the keyword.
8.3. News within Mail
It is often desirable to transmit news as mail, either for the
convenience of a human recipient or because that is the only type of
transmission available on a restrictive communication path.
Given the similarity between the news format and the MAIL format, it
is superficially attractive to just send the news article as a mail
message. This is typically a mistake: mail-handling software often
feels free to manipulate various headers in undesirable ways (in some
cases, such as Sender, such manipulation is actually mandatory), and
mail transmission problems, etc. MUST be reported to the
administrators responsible for the mail transmission rather than to
the article's author. In general, news sent as mail should be
encapsulated to separate the MAIL headers and the news headers.
When the intended recipient is a human, any convenient form of
encapsulation may be used. Recommended practice is to use MIME
encapsulation with a content type of "message/news", given that news
articles have additional semantics beyond what "message/rfc822"
implies.
NOTE: "message/news" was registered as a standard subtype by IANA
22 June 1993.
When mail is being used as a transmission path between two relayers,
however, a standard method is desirable. Currently the standard
method is to send the mail to an address whose local part is "rnews",
with whatever MAIL headers are necessary for successful transmission.
The news article (including its headers) is sent as the body of the
mail message, with an "N" prepended to each line.
NOTE: The "N" reduces the probability of an innocent line in a
news article being taken as a magic command to mail software and
makes it easy for receiving software to strip off any lines added
by mail software (e.g., the trailing empty line added by some UUCP
mail software).
This method has its weaknesses. In particular, it assumes that the
mail transmission channel can transmit nearly arbitrary body text
undamaged. When mail is being used as a transmission path of last
resort, however, the mail system often has inconvenient preconceived
notions about the format of message bodies. Various ad hoc encoding
schemes have been used to avoid such problems. The recommended
method is to send a news article or batch as the body of a MIME mail
Spencer Historic [Page 76]
^L
RFC 1849 Son of 1036 March 2010
message, using content type "application/news-transmission" and
MIME's "base64" encoding (which is specifically designed to survive
all known major mail systems).
NOTE: In the process, MIME conventions could be used to fragment
and reassemble an article that is too large to be sent as a single
mail message over a transmission path that restricts message
length. In addition, the "conversions" parameter to the content
type could be used to indicate what (if any) compression method
has been used. Also, the Content-MD5 header [RFC1544] can be used
as a "checksum" to provide high confidence of detecting accidental
damage to the contents.
UNRESOLVED ISSUE: The "conversions" parameter no longer exists.
What should be done about this, if anything?
NOTE: It might look tempting to use a content type such as
"message/X-netnews", but MIME bans non-trivial encodings of the
entire body of messages with content type "message". The intent
is to avoid obscuring nested structure underneath encodings. For
inter-relayer news transmission, there is no nested structure of
interest, and it is important that the entire article (including
its headers, not just its body) be protected against the vagaries
of intervening mail software. This situation appears to fit the
MIME description of circumstances in which "application" is the
proper content type.
NOTE: "application/news-transmission", with a "conversions"
parameter, was registered as a standard subtype by IANA
22 June 1993.
UNRESOLVED ISSUE: The "conversions" parameter no longer exists in
MIME. What should we do about this?
8.4. Partial Batches
UNRESOLVED ISSUE: The existing batch conventions assemble
(potentially) many articles into one batch. Handling very large
articles would be substantially less troublesome if there was also
a fragmentation convention for splitting a large article into
several batches. Is this worth defining at this time?
9. Propagation and Processing
Most aspects of news propagation and processing are implementation-
specific. The basic propagation algorithms, and certain details of
how they are implemented, nevertheless need to be standard.
Spencer Historic [Page 77]
^L
RFC 1849 Son of 1036 March 2010
There are two important principles that news implementors (and
administrators) need to keep in mind. The first is the well-known
Internet Robustness Principle:
Be liberal in what you accept, and conservative in what you send.
However, in the case of news there is an even more important
principle, derived from a much older code of practice, the
Hippocratic Oath (we will thus call this the Hippocratic Principle):
First, do no harm.
It is VITAL to realize that decisions that might be merely suboptimal
in a smaller context can become devastating mistakes when amplified
by the actions of thousands of hosts within a few hours.
9.1. Relayer General Issues
Relayers MUST NOT alter the content of articles unnecessarily. Well-
intentioned attempts to "improve" headers, in particular, typically
do more harm than good. It is necessary for a relayer to prepend its
own name to the Path content (see Section 5.6) and permissible for it
to rewrite or delete the Xref header (see Section 6.12). Relayers
MAY delete the thoroughly obsolete headers described in Appendix A.3,
although this behavior no longer seems useful enough to encourage.
Other alterations SHOULD be avoided at all costs, as per the
Hippocratic Principle.
NOTE: As discussed in Section 2.3, tidying up the headers of a
user-prepared article is the job of the posting agent, not the
relayer. The relayer's purpose is to move already-compliant
articles around efficiently without damaging them. Note that in
existing implementations, specific programs may contain both
posting-agent functions and relayer functions. The distinction is
that posting-agent functions are invoked only on articles posted
by local posters, never on articles received from other relayers.
NOTE: A particular corollary of this rule is that relayers should
not add headers unless truly necessary. In particular, this is
not SMTP; do not add Received headers.
Relayers MUST NOT pass non-conforming articles on to other relayers,
except perhaps in a cooperating subnet that has agreed to permit
certain kinds of non-conforming behavior. This is a direct
consequence of the Internet Robustness Principle.
Spencer Historic [Page 78]
^L
RFC 1849 Son of 1036 March 2010
The two preceding paragraphs may appear to be in conflict. What is
to be done when a non-conforming article is received? The Robustness
Principle argues that it should be accepted but must not be passed on
to other relayers while still non-conforming, and the Hippocratic
Principle strongly discourages attempts at repair. The conclusion
that this appears to lead to is correct: a non-conforming article MAY
be accepted for local filing and processing, or it MAY be discarded
entirely, but it MUST NOT be passed on to other relayers.
A relayer MUST NOT respond to the arrival of an article by sending
mail to any destination, other than a local administrator, except by
explicit prearrangement with the recipient. Neither posting an
article (other than certain types of control messages; see
Section 7.5) nor being the moderator of a moderated newsgroup
constitutes such prearrangement. UNDER NO CIRCUMSTANCES WHATSOEVER
may a relayer attempt to send mail to either an article's originator
or a moderator.
NOTE: Reporting apparent errors in message composition is the job
of a posting agent, not a relayer. The same is true of mailing
moderated-newsgroup postings to moderators. In networks of
thousands of cooperating relayers, it is simply unacceptable for
there to be any circumstance whatsoever that causes any
significant fraction of them to simultaneously send mail to the
same destination. (Some control messages are exceptions, although
perhaps ill-advised ones.) What might, in a smaller network, be a
useful notification or forwarding becomes a deluge of nearly
identical messages that can bring mail software to its knees and
severely inconvenience recipients. Moderators, in particular,
historically have suffered grievously from this.
Notification of problems in incoming articles MAY go to local
administrators, or at most (by prearrangement!) to the
administrators of the neighboring relayer(s) that passed on the
problematic articles.
NOTE: It would be desirable to notify the author that his posting
is not propagating as he expects. However, there is no known
method for doing this that will scale up gracefully. (In
particular, "notify only if within N relayers of the originator"
falls down in the presence of commercial news services like UUNET:
there may be hundreds or thousands of relayers within a couple of
hops of the originator.) The best that can be done right now is
to notify neighbors, in hopes that the word will eventually
propagate up the line, or organize regional monitoring at major
hubs.
Spencer Historic [Page 79]
^L
RFC 1849 Son of 1036 March 2010
If it is necessary to alter an article, e.g., translate it to another
character set or alter its EOL representation, strenuous efforts
should be made to ensure that such transformations are reversible,
and that relayers or other software that might wish to reverse them
know exactly how to do so.
NOTE: For example, a cooperating subnet that exchanges articles
using a non-ASCII character set like EBCDIC should define a
standard, reversible ASCII-EBCDIC mapping and take pains to see
that it is used at all points where the subnet meets the outside.
If the only reason for using EBCDIC is that the readers typically
employ EBCDIC devices, it would be more robust to employ ASCII as
the interchange format and do the transformation in the reading
and posting agents.
9.2. Article Acceptance and Propagation
When a relayer first receives an article, it must decide whether to
accept it. (This applies regardless of whether the article arrived
by itself or as part of a batch, and in principle regardless of
whether it originated as a local posting or as traffic from another
relayer.) In a cooperating subnet with well-controlled propagation
paths, some of the tests specified here MAY be delegated to centrally
located relayers; that is, relayers that can receive news ONLY via
one of the central relayers might simplify acceptance testing based
on the assumption that incoming traffic has already passed the full
set of tests at a central relayer.
The wording that follows is based on a model in which articles arrive
on a relayer's host before acceptance tests are done. However,
depending on the degree of integration of the transport mechanisms
and the relayer, some or all of these tests MAY be done before the
article is actually transmitted, so that articles that definitely
will not be accepted need not be transmitted at all.
The wording that follows also specifies a particular order for the
acceptance tests. While this order is the obvious one, the tests MAY
be done in any order.
First, the relayer MUST verify that the article is a legal news
article, with all mandatory headers present with legal contents.
NOTE: This check in principle is done by the first relayer to see
an article, so an article received from another relayer should
always be legal, but there is enough old software still
operational that this cannot be taken for granted; see the
discussion of the Internet Robustness Principle in Section 9.1.
Spencer Historic [Page 80]
^L
RFC 1849 Son of 1036 March 2010
Second, the relayer MUST determine whether it has already seen this
article (identified by its message ID). This is normally done by
retaining a history of all article message IDs seen in the last
N days, where the value of N is decided by the relayer's
administrator but SHOULD be at least 7. Since N cannot practically
be infinite, articles whose Date content indicates that they are
older than N days are declared "stale" and are deemed to have been
seen already.
NOTE: This check is important because news propagation topology is
typically redundant, often highly so, and it is not at all
uncommon for a relayer to receive the same article from several
neighbors. The history of already-seen message IDs can get quite
large, hence, the desire to limit its length, but it is important
that it be long enough that slowly propagating articles are not
classed as stale. News propagation within the Internet is
normally very rapid, but when UUCP links are involved, end-to-end
delays of several days are not rare, so a week is not a
particularly generous minimum.
NOTE: Despite generally more rapid propagation in recent times, it
is still not unheard of for some propagation paths to be very
slow. This can introduce the possibility of old articles arriving
again after they are gone from the history, hence the "stale"
rule.
Third, the relayer MUST determine whether any of the article's
newsgroups are "subscribed to" by the host, i.e., fit a description
of what hierarchies or newsgroups the site wants to receive.
NOTE: This check is significant because information on what
newsgroups a relayer wishes to receive is often stored at its
neighbors, who may not have up-to-date information or may simplify
the rules for implementation reasons. As a hedge against the
possibility of missed or delayed newgroup control messages,
relayers may wish to observe a notion of a newsgroup subscription
that is independent of the list of newsgroups actually known to
the relayer. This would permit reception and relaying of articles
in newsgroups that the relayer is not (yet) aware of, subject to
more general criteria indicating that they are likely to be of
interest.
Once an article has been accepted, it may be passed on to other
relayers. The fundamental news propagation rule is a flooding
algorithm: on receiving and accepting an article, send it to all
neighboring relayers not already in its path list that are sent its
newsgroup(s) and distribution(s).
Spencer Historic [Page 81]
^L
RFC 1849 Son of 1036 March 2010
NOTE: The path list's role in loop prevention may appear
relatively unimportant, given that looping articles would
typically be rejected as duplicates anyway. However, the path
list's role in preventing superfluous transmissions is not
trivial. In particular, the path list is the only thing that
prevents relayer X, on receiving an article from relayer Y, from
sending it back to Y again. (Indeed, the usual symptom of
confusion about relayer names is that incoming news loops back in
this manner.) The looping articles would be rejected as
duplicates, but doubling the communications load on every news
transmission path is not to be taken lightly!
In general, relayers SHOULD NOT make propagation decisions by
"anticipation": relayer X, noting that the article's path list
already contains relayer Y, decides not to send it to relayer Z
because X anticipates that Z will get the article by a better path.
If that is generally true, then why is there a news feed from X to Z
at all? In fact, the "better path" may be running slowly or may be
down. News propagation is very robust precisely because some
redundant transmission is done "just in case". If it is imperative
to limit unnecessary traffic on a path, use of NNTP [RFC977] or
ihave/sendme (see Section 7.2) to pass articles only when necessary
is better than arbitrary decisions not to pass articles at all.
Anticipation is occasionally justified in special cases. Such cases
should involve both (1) a cooperating subnet whose propagation paths
are well-understood and well-monitored, with failures and slowdowns
noticed and dealt with promptly, and (2) a persistent pattern of
heavy unnecessary traffic on a path that is either slow or costly.
In addition, there should be some reason why neither NNTP nor
ihave/sendme is suitable as a solution to the problem.
9.3. Administrator Contact
It is desirable to have a standardized contact address for a
relayer's administrators, in the spirit of the "postmaster" address
for mail administrators. Mail addressed to "newsmaster" on a
relayer's host MUST go to the administrator(s) of that relayer. Mail
addressed to "usenet" on the relayer's host SHOULD be handled
likewise. Mail addressed to either address on other hosts using the
same news database SHOULD be handled likewise.
NOTE: These addresses are case-sensitive, although it would be
desirable for sequences equivalent to them using case-insensitive
comparison to be handled likewise. While "newsmaster" seems the
preferred network-independent address, by analogy to "postmaster",
there is an existing practice of using "usenet" for this purpose,
Spencer Historic [Page 82]
^L
RFC 1849 Son of 1036 March 2010
and so "usenet" should be supported if at all possible (especially
on hosts belonging to Usenet!). The address "news" is also
sometimes used for purposes like this, but less consistently.
10. Gatewaying
Gatewaying of traffic between news networks using this Draft and
those using other exchange mechanisms can be useful but must be done
cautiously. Gateway administrators are taking on significant
responsibilities and must recognize that the consequences of error
can be quite serious.
10.1. General Gatewaying Issues
This section will primarily address the problems of gatewaying
traffic INTO news networks. Little can be said about the other
direction without some specific knowledge of the network(s) involved.
However, the two issues are not entirely independent: if a non-news
network is gatewayed into a news network at more than one point,
traffic injected into the non-news network by one gateway may appear
at another as a candidate for injection back into the news network.
This raises a more general principle, the single most important issue
for gatewaying:
Above all, prevent loops.
The normal loop prevention of news transmission is vitally dependent
on the Message-ID header. Any gateway that finds it necessary to
remove this header, alter it, or supersede it (by moving it into the
body) MUST take equally effective precautions against looping.
NOTE: There are few things more effective at turning news readers
into a lynch mob than a malfunctioning gateway, or pair of
gateways, that takes in news articles, mangles them just enough to
prevent news relayers from recognizing them as duplicates, and
regurgitates them back into the news stream. This happens rather
too often.
Gateway implementors should realize that gateways have all of the
responsibilities of relayers, plus the added complications introduced
by transformations between different information formats. Much of
the discussion in Section 9 about relayer issues is relevant to
gateways as well. In particular, gateways SHOULD keep a history of
recently seen articles, as described in Section 9.2, and not assume
that articles will never reappear. This is particularly important
for networks that have their own concept analogous to message IDs: a
gateway should keep a history of traffic seen from BOTH directions.
Spencer Historic [Page 83]
^L
RFC 1849 Son of 1036 March 2010
If at all possible, articles entering the non-news network SHOULD be
marked in some way so that they will NOT be re-gatewayed back into
news. Multiple gateways obviously must agree on the marking method
used; if it is done by having them know each others' names, name
changes MUST be coordinated with great care. If marking cannot be
done, all transformations MUST be reversible so that a re-gatewayed
article is identical to the original (except perhaps for a longer
Path header).
Gateways MUST NOT pass control messages (articles containing Control,
Also-Control, or Supersedes headers) without removing the headers
that make them control messages, unless there are compelling reasons
to believe that they are relevant to both sides and that conventions
are compatible. If it is truly desirable to pass them unaltered,
suitable precautions MUST be taken to ensure that there is NO
POSSIBILITY of a looping control message.
NOTE: The damage done by looping articles is multiplied a
thousandfold if one of the affected articles is something like a
sendsys message (see Section 7.5) that requests multiple automatic
replies. Most gateways simply should not pass control messages at
all. If some unusual reason dictates doing so, gateway
implementors and administrators are urged to consider bulletproof
rate-limiting measures for the more destructive ones like sendsys,
e.g., passing only one per hour no matter how many are offered.
Gateways, like relayers, SHOULD make determined efforts to avoid
mangling articles unnecessarily. In the case of gateways, some
transformations may be inevitable, but keeping them to a minimum and
ensuring that they are reversible is still highly desirable.
Gateways MUST avoid destroying information. In particular, the
restrictions of Section 4.2.2 are best taken with a grain of salt in
the context of gateways. Information that does not translate
directly into news headers SHOULD be retained, perhaps in "X-"
headers, both because it may be of interest to sophisticated readers
and because it may be crucial to tracing propagation problems.
Gateway implementors should take particular note of the discussion of
mailed replies, or more precisely the ban on same, in Section 9.1.
Gateway problems MUST be reported to the local administration, not to
the innocent originator of traffic. "Gateway problems" here includes
all forms of propagation anomaly on the non-news side of the gateway,
e.g., unreachable addresses on a mailing list. Note that this
requires consideration of possible misbehavior of "downstream" hosts,
not just the gateway host.
Spencer Historic [Page 84]
^L
RFC 1849 Son of 1036 March 2010
10.2. Header Synthesis
News articles prepared by gateways MUST be legal news articles. In
particular, they MUST include all of the mandatory headers (see
Section 5) and MUST fully conform to the restrictions on said
headers. This often requires that a gateway function not only as a
relayer but also partly as a posting agent, aiding in the synthesis
of a conforming article from non-conforming input.
NOTE: The full-conformance requirement needs particularly careful
attention when gatewaying mailing lists to news, because a number
of constructs that are legal in MAIL headers are NOT permissible
in news headers. (Note also that not all mail traffic fully
conforms to even the MAIL specification.) The rest of this
section will be phrased in terms of mail-to-news gatewaying, but
most of it is more generally applicable.
The mandatory headers generally present few problems.
If no date information is available, the gateway should supply a Date
header with the gateway's current date. If only partial information
is available (e.g., date but not time), this should be fleshed out to
a full Date header by adding default values, not by mixing in parts
of the gateway's current date. (Defaults should be chosen so that
fleshed-out dates will not be in the future!) It may be necessary to
map time zone information to the restricted forms permitted in the
news Date header. See Section 5.1.
NOTE: The prohibition of mixing dates is on the theory that it is
better to admit ignorance than to lie.
If the author's address as supplied in the original message is not
suitable for inclusion in a From header, the gateway MUST transform
it so it is (for example, by use of the "% hack" and the domain
address of the gateway). The desire to preserve information is NOT
an excuse for violating the rules. If the transformation is drastic
enough that there is reason to suspect loss of information, it may be
desirable to include the original form in an "X-" header, but the
From header's contents MUST be as specified in Section 5.2.
If the message contains a Message-ID header, the contents should be
dealt with as discussed in Section 10.3. If there is no message ID
present, it will be necessary to synthesize one, following the news
rules (see Section 5.3).
Every effort should be made to produce a meaningful Subject header;
see Section 5.4. Many news readers select articles to read based on
Subject headers, and inserting a placeholder like "<no subject
Spencer Historic [Page 85]
^L
RFC 1849 Son of 1036 March 2010
available>" is considered highly objectionable. Even synthesizing a
Subject header by picking out the first half-dozen nouns and
adjectives in the article body is better than using a placeholder,
since it offers SOME indication of what the article might contain.
The contents of the Newsgroups header (Section 5.5) are usually
predetermined by gateway configuration, but a gateway to a network
that has its own concept of newsgroups or discussions might have to
make transformations. Such transformations should be reversible;
otherwise, confusion is likely on both sides.
It will rarely be possible for gateways to provide a Path header that
is both an accurate history of the relayers the article has passed
through AS NEWS and a usable reply address. The history function
MUST be given priority; see the discussion in Section 5.6. It will
usually be necessary for a gateway to supply an empty path list,
abandoning the reply function.
It is desirable for gatewayed articles to convey as much useful
information as possible, e.g., by use of optional news headers (see
Section 6) when the relevant information is available. Synthesis of
optional headers can generally follow similar rules.
Software synthesizing References headers should note the discussion
in Section 6.5 concerning the incompatibility between MAIL and news.
Also of interest is the possibility of incorporating information from
In-Reply-To headers and from attribution lines in the body; an
incomplete or somewhat conjectural References header is much better
than none at all, and reading agents already have to cope with
incomplete or slightly erroneous References lists.
10.3. Message ID Mapping
This section, like the previous one, is phrased in terms of mail
being gatewayed into news, but most of the discussion should be more
generally applicable.
A particularly sticky problem of gatewaying mail into news is
supplying legal news message IDs. Note, in particular, that not all
MAIL message IDs are legal in news; the news syntax (specified in
Section 5.3, with related material in Section 5.2) is more
restrictive. Generating a fully conforming news article from a mail
message may require transforming the message ID somewhat.
Generation and transformation of message IDs assumes particular
importance if a given mailing list (or whatever) is being handled by
more than one gateway. It is highly desirable that the same article
contents not appear twice in the same newsgroup, which requires that
Spencer Historic [Page 86]
^L
RFC 1849 Son of 1036 March 2010
they receive the same message ID from all gateways. Gateways SHOULD
use the following algorithm (possibly modified by the later
discussion of gatewaying into more than one newsgroup) unless local
considerations dictate another:
1. Separate message ID from surroundings, if necessary. A
plausible method for this is to start at the first "<", end at
the next ">", and reject the message if no ">" is found or a
second "<" is seen before the ">". Also reject the message if
the message ID contains no "@" or more than one "@", or if it
contains no ".". Also reject the message if the message ID
contains non-ASCII characters, ASCII control characters, or
white space.
NOTE: Any legitimate domain will include at least one ".".
[RFC822], Section 6.2.2, forbids white space in this context
when passing mail on to non-MAIL software.
2. Delete the leading "<" and trailing ">". Separate message ID
into local part and domain at the "@".
3. In both components, transliterate leading dots (".", ASCII 46),
trailing dots, and dots after the first in sequences of two or
more consecutive dots, into underscores (ASCII 95).
4. In both components, transliterate disallowed characters other
than dots (see the definition of <unquoted-char> in
Section 5.2) to underscores (ASCII 95).
5. Form the message ID as
"<" local-part "@" domain ">"
NOTE: This algorithm is approximately that of Rich Salz's
successful gatewaying package.
Despite the desire to keep message IDs consistent across multiple
gateways, there is also a more subtle issue that can require a
different approach. If the same articles are being gatewayed into
more than one newsgroup, and it is not possible to arrange that all
gateways gateway them to the same cross-posted set of newsgroups,
then the message IDs in the different newsgroups MUST be DIFFERENT.
NOTE: Otherwise, arrival of an article in one newsgroup will
prevent it from appearing in another, and which newsgroup a
particular article appears in will be an accident of which
direction it arrives from first. It is very difficult to maintain
a coherent discussion when each participant sees a randomly
Spencer Historic [Page 87]
^L
RFC 1849 Son of 1036 March 2010
selected 50% of the traffic. The fundamental problem here is that
the basic assumption behind message IDs is being violated: the
gateways are assigning the same message ID to articles that differ
in an important respect (Newsgroups header).
In such cases, it is suggested that the newsgroup name, or an agreed-
on abbreviation thereof, be prepended to the local part of the
message ID (with a separating ".") by the gateway. This will ensure
that multiple gateways generate the same message ID, while also
ensuring that different newsgroups can be read independently.
NOTE: It is preferable to have the gateway(s) cross-post the
article, avoiding the issue altogether, but this may not be
feasible, especially if one newsgroup is widespread and the other
is purely local.
10.4. Mail to and from News
Gatewaying mail to news, and vice versa, is the most obvious form of
news gatewaying. It is common to set up gateways between news and
mail rather too casually.
It is hard to go very wrong in gatewaying news into a mailing list,
except for the non-trivial matter of making sure that error reports
go to the local administration rather than to the authors of news
articles. (This requires attention to the "envelope address" as well
as to the message headers.) Doing the reverse connection correctly
is much harder than it looks.
NOTE: In particular, just feeding the mail message to "inews -h"
or the equivalent is NOT, repeat NOT, adequate to gateway mail to
news. Significant gatewaying software is necessary to do it
right. Not all headers of mail messages conform to even the MAIL
specifications, never mind the stricter rules for news.
It is useful to distinguish between two different forms of
mail-to-news gatewaying: gatewaying a mailing list into a newsgroup,
and operating a "post-by-mail" service in which individual articles
can be posted to a newsgroup by mailing them to a specific address.
In the first case, the message is already being "broadcast", and the
situation can be viewed as gatewaying one form of news into another.
The second case is closer to that of a moderator posting submissions
to a moderated newsgroup.
In either case, the discussions in the preceding two sections are
relevant, as is the Hippocratic Principle of Section 9. However,
some additional considerations are specific to mail-to-news
gatewaying.
Spencer Historic [Page 88]
^L
RFC 1849 Son of 1036 March 2010
As mentioned in Section 6, point-to-point headers like To and Cc
SHOULD NOT appear as such in news, although it is suggested that they
be transformed to "X-" headers, e.g., X-To and X-Cc, to preserve
their information content for possible use by readers or
troubleshooters. The Received header is entirely specific to MAIL
and SHOULD be deleted completely during gatewaying, except perhaps
for the Received header supplied by the gateway host itself.
The Sender header is a tricky case, one where mailing-list and post-
by-mail practice should differ. For gatewaying mailing lists, the
mailing-list host should be considered a relayer, and the From and
Sender headers supplied in its transmissions left strictly untouched.
For post-by-mail, as for a moderator posting a mailed submission, the
Sender header should reflect the poster rather than the author. If a
post-by-mail gateway receives a message with its own Sender header,
it might wish to preserve the content in an X-Sender header.
It will generally be necessary to transform between mail's
In-Reply-To/References convention and news's References/See-Also
convention, to preserve correct semantics of cross references. This
also requires attention when going the other way, from news to mail.
See the discussion of the difference in Section 6.5.
10.5. Gateway Administration
Any news system will benefit from an attentive administrator,
preferably assisted by automated monitoring for anomalies. This is
particularly true of gateways. Gateway software SHOULD be
instrumented so that unusual occurrences, such as sudden massive
surges in traffic, are reported promptly. It is desirable, in fact,
to go further: gateway software SHOULD endeavor to limit damage in
the event that the administrator does not respond promptly.
NOTE: For example, software might limit the gatewaying rate by
queueing incoming traffic and emptying the queue at a finite
maximum rate (well below the maximum that the host is capable of!)
that is set by the administrator and is not raised automatically.
Traffic gatewayed into a news network SHOULD include a suitable
header, perhaps X-Gateway-Administrator, giving an electronic address
that can be used to report problems. This SHOULD be an address that
goes directly to a human, and not to a "routine administrative
issues" mailbox that is examined only occasionally, since the point
is to be able to reach the administrator quickly in an emergency.
Gateway administrators SHOULD arrange substitutes to cover gateway
operation (with suitable redirection of mail) when they are on
vacation, etc.
Spencer Historic [Page 89]
^L
RFC 1849 Son of 1036 March 2010
11. Security and Related Issues
Although the interchange format itself raises no significant security
issues, the wider context does.
11.1. Leakage
The most obvious form of security problem with news is "leakage" of
articles that are intended to have only restricted circulation. The
flooding algorithm is EXTREMELY good at finding any path by which
articles can leave a subnet with supposedly restrictive boundaries.
Substantial administrative effort is required to ensure that local
newsgroups remain local, unless connections to the outside world are
tightly restricted.
A related problem is that the sendme control message can be used to
ask for any article by its message ID. The usefulness of this has
declined as message-ID generation algorithms have become less
predictable, but it remains a potential problem for "secure"
newsgroups. Hosts with such newsgroups may wish to disable the
sendme control message entirely.
The sendsys, version, and whogets control messages also allow
"outsiders" to request information from "inside", which may reveal
details of internal topology (etc.) that are considered
confidential. (Note that at least limited openness about such
matters may be a condition of membership in such networks, e.g.,
Usenet.)
Organizations wishing to control these forms of leakage are strongly
advised to designate a small number of "official gateway" hosts to
handle all news exchange with the outside world, so that a bounded
amount of administrative effort is needed to control propagation and
eliminate problems. Attempts to keep news out entirely, by refusing
to support an official gateway, typically result in large numbers of
unofficial partial gateways appearing over time. Such a
configuration is much more difficult to troubleshoot.
A somewhat related problem is the possibility of proprietary material
being disclosed unintentionally by a poster who does not realize how
far his words will propagate, either from sheer misunderstanding or
because of errors made (by human or software) in followup
preparation. There is little that can be done about this except
education.
Spencer Historic [Page 90]
^L
RFC 1849 Son of 1036 March 2010
11.2. Attacks
Although the limitations of the medium restrict what can be done to
attack a host via news, some possibilities exist, most of them
problems news shares with mail.
If reading agents are careless about transmitting non-printable
characters to output devices, malicious posters may post articles
containing control sequences ("letterbombs") meant to have various
destructive effects on output devices. Possible effects depend on
the device, but they can include hardware damage (e.g., by repeated
writing of values into configuration memories that can tolerate only
a limited number of write cycles) and security violation (e.g., by
reprogramming function keys potentially used by privileged readers).
A more sophisticated variation on the letterbomb is inclusion of
"Trojan horses" in programs. Obviously, readers must be cautious
about using software found in news, but more subtly, reading agents
must also exercise care. MIME messages can include material that is
executable in some sense, such as PostScript documents (which are
programs!), and letterbombs may be introduced into such material.
Given the presence of finite resources and other software
limitations, some degree of system disruption can be achieved by
posting otherwise-innocent material in great volume, either in single
huge articles (see Section 4.6) or in a stream of modest-sized
articles. (Some would say that the steady growth of Usenet volume
constitutes a subtle and unintentional attack of the latter type;
certainly it can have disruptive effects if administrators are
inattentive.) Systems need some ability to cope with surges, because
single huge articles occur occasionally as the result of software
error, innocent misunderstanding, or deliberate malice; and downtime
at upstream hosts can cause droughts, followed by floods, of
legitimate articles. (There is also a certain amount of normal
variation; for example, Usenet traffic is noticeably lighter on
weekends and during Christmas holidays, and rises noticeably at the
start of the school term of North American universities.) However, a
site that normally receives little traffic may be quite vulnerable to
"swamping" attack if its software is insufficiently careful.
In general, careless implementation may open doors that are not
intrinsic to news. In particular, implementation of control messages
(see Sections 6.6 and 7) and unbatchers (see Sections 8.1 and 8.2)
via a command interpreter requires substantial precautions to ensure
that only the intended capabilities are available. Care must also be
taken that article-supplied text is not fed to programs that have
escapes to command interpreters.
Spencer Historic [Page 91]
^L
RFC 1849 Son of 1036 March 2010
Finally, there is considerable potential for malice in the sendsys,
version, and whogets control messages. They are not harmful to the
hosts receiving them as news, but they can be used to enlist those
hosts (by the thousands) as unwitting allies in a mail-swamping
attack on a victim who may not even receive news. The precautions
discussed in Section 7.5 can reduce the potential for such attacks
considerably, but the hazard cannot be eliminated as long as these
control messages exist.
11.3. Anarchy
The highly distributed nature of news propagation, and the lack of
adequate authentication protocols (especially for use over the less-
interactive transport mechanisms such as UUCP), make article forgery
relatively straightforward. It may be possible to at least track a
forgery to its source, once it is recognized as such, but clever
forgers can make even that relatively difficult. The assumption that
forgeries will be recognized as such is also not to be taken for
granted; readers are notoriously prone to blindly assuming
authenticity. If a forged article's initial path list includes the
relayer name of the supposed poster's host, the article will never be
sent to that host, and the alleged author may learn about the forgery
secondhand or not at all.
A particularly noxious form of forgery is the forged "cancel" control
message. Notably, it is relatively straightforward to write software
that will automatically send out a (forged) cancel message for any
article meeting some criterion, e.g., written by a specific author.
The authentication problems discussed in Section 7.1 make it
difficult to solve this without crippling cancel's important
functionality.
A related problem is the possibility of disagreements over newsgroup
creation, on networks where such things are not decided by central
authorities. There have been cases of "rmgroup wars", where one
poster persistently sends out newgroup messages to create a newsgroup
and another, equally persistently, sends out rmgroup messages asking
that it be removed. This is not particularly damaging, if relayers
are configured to be cautious, but it can cause serious confusion
among innocent third parties who just want to know whether or not
they can use the newsgroup for communication.
11.4. Liability
News shares the legal uncertainty surrounding other forms of
electronic communication: what rules apply to this new medium of
information exchange? News is a particularly problematic case
Spencer Historic [Page 92]
^L
RFC 1849 Son of 1036 March 2010
because it is a broadcast medium rather than a point-to-point one
like mail, and analogies to older forms of communication are
particularly weak.
Are news-carrying hosts common carriers, like the phone companies,
providing communications paths without having either authority over
or responsibility for content? Or are they publishers, responsible
for the content regardless of whether they are aware of it or not?
Or something in between? Such questions are particularly significant
when the content is technically criminal, e.g., some types of
sexually oriented material in some jurisdictions, in which case
ignorance of its presence may not be an adequate defense.
Even in milder situations such as libel or copyright violation, the
responsibilities of the poster, his host, and other hosts carrying
the traffic are unclear. Note, in particular, the problems arising
when the article is a forgery, or when the alleged author claims it
is a forgery but cannot prove this.
12. References
[ISO/IEC9899] "Information technology - Programming Language C",
ISO/IEC 9899:1990 {more recently 9899:1999}, 1990.
[Metamail] Borenstein, N.,
<http://ftp.funet.fi/pub/unix/mail/metamail/ANNOUNCE>,
February 1994.
[RFC821] Postel, J., "Simple Mail Transfer Protocol", STD 10,
RFC 821, August 1982.
[RFC822] Crocker, D., "STANDARD FOR THE FORMAT OF ARPA INTERNET
TEXT MESSAGES", STD 11, RFC 822, August 1982.
[RFC850] Horton, M., "Standard for interchange of Usenet
messages", RFC 850, June 1983.
[RFC977] Kantor, B. and P. Lapsley, "Network News Transfer
Protocol - A Proposed Standard for the Stream-Based
Transmission of News", RFC 977, February 1986.
[RFC1036] Horton, M. and R. Adams, "Standard for interchange of
USENET Messages", RFC 1036, December 1987.
[RFC1123] Braden, R., Ed., "Requirements for Internet Hosts -
Application and Support", STD 3, RFC 1123,
October 1989.
Spencer Historic [Page 93]
^L
RFC 1849 Son of 1036 March 2010
[RFC1341] Borenstein, N. and N. Freed, "MIME (Multipurpose
Internet Mail Extensions): Mechanisms for Specifying
and Describing the Format of Internet Message Bodies",
RFC 1341, June 1992.
[RFC1342] Moore, K., "Representation of Non-ASCII Text in
Internet Message Headers", RFC 1342, June 1992.
[RFC1345] Simonsen, K., "Character Mnemonics and Character
Sets", RFC 1345, June 1992.
[RFC1413] St. Johns, M., "Identification Protocol", RFC 1413,
February 1993.
[RFC1456] Vietnamese Standardization Working Group, "Conventions
for Encoding the Vietnamese Language", RFC 1456,
May 1993.
[RFC1544] Rose, M., "The Content-MD5 Header Field", RFC 1544,
November 1993.
[RFC1896] Resnick, P. and A. Walker, "The text/enriched MIME
Content-type", RFC 1896, February 1996.
[RFC2045] Freed, N. and N. Borenstein, "Multipurpose Internet
Mail Extensions (MIME) Part One: Format of Internet
Message Bodies", RFC 2045, November 1996.
[RFC2046] Freed, N. and N. Borenstein, "Multipurpose Internet
Mail Extensions (MIME) Part Two: Media Types",
RFC 2046, November 1996.
[RFC2047] Moore, K., "MIME (Multipurpose Internet Mail
Extensions) Part Three: Message Header Extensions for
Non-ASCII Text", RFC 2047, November 1996.
[RFC2049] Freed, N. and N. Borenstein, "Multipurpose Internet
Mail Extensions (MIME) Part Five: Conformance Criteria
and Examples", RFC 2049, November 1996.
[RFC2822] Resnick, P., Ed., "Internet Message Format", RFC 2822,
April 2001.
[RFC3977] Feather, C., "Network News Transfer Protocol (NNTP)",
RFC 3977, October 2006.
Spencer Historic [Page 94]
^L
RFC 1849 Son of 1036 March 2010
[RFC5322] Resnick, P., Ed., "Internet Message Format", RFC 5322,
October 2008.
[RFC5536] Murchison, K., Ed., Lindsey, C., and D. Kohn, "Netnews
Article Format", RFC 5536, November 2009.
[RFC5537] Allbery, R., Ed., and C. Lindsey, "Netnews
Architecture and Protocols", RFC 5537, November 2009.
[Sanderson] David Sanderson, Smileys, O'Reilly & Associates Ltd.,
1993.
[UUCP] Tim O'Reilly and Grace Todino, Managing UUCP and
Usenet, O'Reilly & Associates Ltd., January 1992.
[X3.4] "American National Standard for Information Systems -
Coded Character Sets - 7-Bit American National
Standard Code for Information Interchange (7-Bit
ASCII)", ANSI X3.4, March 1986.
Spencer Historic [Page 95]
^L
RFC 1849 Son of 1036 March 2010
Appendix A. Archaeological Notes
A.1. "A News" Article Format
The obsolete "A News" article format consisted of exactly five lines
of header information, followed by the body. For example:
Aeagle.642
news.misc
cbosgd!mhuxj!mhuxt!eagle!jerry
Fri Nov 19 16:14:55 1982
Usenet Etiquette - Please Read
body
body
body
The first line consisted of an "A" followed by an article ID
(analogous to a message ID and used for similar purposes). The
second line was the list of newsgroups. The third line was the path.
The fourth was the date, in the format above (all fields fixed
width), resembling an Internet date but not quite the same. The
fifth was the subject.
This format is documented for archaeological purposes only. Do not
generate articles in this format.
A.2. Early "B News" Article Format
This obsolete pseudo-Internet article format, used briefly during the
transition between the A News format and the modern format, followed
the general outline of a MAIL message but with some non-standard
headers. For example:
From: cbosgd!mhuxj!mhuxt!eagle!jerry (Jerry Schwarz)
Newsgroups: news.misc
Title: Usenet Etiquette -- Please Read
Article-I.D.: eagle.642
Posted: Fri Nov 19 16:14:55 1982
Received: Fri Nov 19 16:59:30 1982
Expires: Mon Jan 1 00:00:00 1990
body
body
body
The From header contained the information now found in the Path
header, plus possibly the full name now typically found in the From
header. The Title header contained what is now the Subject content.
Spencer Historic [Page 96]
^L
RFC 1849 Son of 1036 March 2010
The Posted header contained what is now the Date content. The
Article-I.D. header contained an article ID, analogous to a message
ID and used for similar purposes. The Newsgroups and Expires headers
were approximately as they are now. The Received header contained
the date when the latest relayer to process the article first saw it.
All dates were in the above format, with all fields fixed width,
resembling an Internet date but not quite the same.
This format is documented for archaeological purposes only. Do not
generate articles in this format.
A.3. Obsolete Headers
Early versions of news software following the modern format sometimes
generated headers like the following:
Relay-Version: version B 2.10 2/13/83; site cbosgd.UUCP
Posting-Version: version B 2.10 2/13/83; site eagle.UUCP
Date-Received: Friday, 19-Nov-82 16:59:30 EST
Relay-Version contained version information about the relayer that
last processed the article. Posting-Version contained version
information about the posting agent that posted the article. Date-
Received contained the date when the last relayer to process the
article first saw it (in a slightly nonstandard format).
These headers are documented for archaeological purposes only. Do
not generate articles using them.
A.4. Obsolete Control Messages
There once was a senduuname control message, resembling sendsys but
requesting transmission of the list of hosts to which the receiving
host had UUCP connections. This rapidly ceased to be of much use,
and many organizations consider information about their internal
connectivity to be confidential.
Historically, a checkgroups body consisting of one or two lines, the
first of the form "-n newsgroup", caused checkgroups to apply to only
that single newsgroup. This form is documented for archaeological
purposes only; do not use it.
Historically, an article posted to a newsgroup whose name had exactly
three components of which the third was "ctl" signified that article
was to be taken as a control message. The Subject header specified
the actions in the same way the Control header does now. This form
is documented for archaeological purposes only; do not use it; do not
implement it.
Spencer Historic [Page 97]
^L
RFC 1849 Son of 1036 March 2010
Appendix B. A Quick Tour of MIME
(The editor wishes to thank Luc Rooijakkers; most of this appendix is
a lightly edited version of a summary he kindly supplied.)
MIME (Multipurpose Internet Mail Extensions) is an upward-compatible
set of extensions to [RFC822], currently documented in [RFC2045],
[RFC2046], and [RFC2047]. This appendix summarizes these documents.
See the MIME RFCs for more information; they are very readable.
UNRESOLVED ISSUE: These RFC numbers (here and elsewhere in this
Draft) need updating when the new MIME RFCs come out {now
resolved!}.
MIME defines the following new headers:
MIME-Version
Content-Type
Content-Transfer-Encoding
Content-ID
Content-Description
The MIME-Version header is mandatory for all messages conforming to
the MIME specification and carries the version number of the MIME
specification. Example:
MIME-Version: 1.0
The Content-Type header indicates the content type of the message.
Content types are split into a top-level type and a subtype,
separated by a slash. Auxiliary information can also be supplied,
using an attribute-value notation. Example:
Content-Type: text/plain; charset=us-ascii
(In the absence of a Content-Type header this is in fact the default
content type.)
Important type/subtype combinations are:
text/plain Plain text, possibly in a non-ASCII character
set.
text/enriched A very simple wordprocessor-like language
supporting character attributes (e.g.,
underlining), justification control, and
multiple character sets. (This proposal has
Spencer Historic [Page 98]
^L
RFC 1849 Son of 1036 March 2010
gone through several iterations and has
recently split off from the main MIME RFCs
into a separate document [RFC1896].)
message/rfc822 A mail message conforming to a slightly
relaxed version of [RFC822].
message/partial Part of a message (supporting the transparent
splitting and joining of messages when they
are too large to be handled by some transport
agent).
message/external-body A message whose body is external. Possible
access methods include via mail, FTP, local
file, etc.
multipart/mixed A message whose body consists of multiple
parts, possibly of different types, intended
to be viewed in serial order. Each part
looks like an [RFC822] message, consisting of
headers and a body. Most of the [RFC822]
headers have no defined semantics for body
parts.
multipart/parallel Likewise, except that the parts are intended
to be viewed in parallel (on user agents that
support it).
multipart/alternative Likewise, except that the parts are intended
to be semantically equivalent such that the
part that best matches the capabilities of
the environment should be displayed. For
example, a message may include plain-text,
enriched-text, and postscript versions of
some document.
multipart/digest A variant of multipart/mixed especially
intended for message digests (the default
type of the parts is message/rfc822 instead
of text/plain, saving on the number of
headers for the parts).
application/postscript A PostScript document. (PostScript is a
trademark of Adobe.)
Other top-level types exist for still images, audio, and video
samples.
Spencer Historic [Page 99]
^L
RFC 1849 Son of 1036 March 2010
Some of the above types require the ability to transport binary data.
Since the existing message systems usually do not support this, MIME
provides a Content-Transfer-Encoding header to indicate the kind of
encoding used. The possible encodings are:
7bit No encoding; the data consists of short (less than
1000 characters) lines of 7-bit ASCII data,
delimited by EOL sequences. This is the default
encoding.
8bit Like 7bit, except that bytes with the high-order
bit set may be present. Many transmission paths
are incapable of carrying messages that use this
encoding.
binary No encoding; any sequence of bytes may be present.
Many transmission paths are incapable of carrying
messages that use this encoding.
base64 The data is encoded by representing every group of
3 bytes as 4 characters from the alphabet
"A-Za-z0-9+/", which was chosen for its high
robustness through mail gateways (the alphabet used
by uuencode does not survive ASCII-EBCDIC-ASCII
translations). In the final group of 4 characters,
"=" is used for those characters not representing
data bytes. Line length is limited, and EOLs in
the encoded form are ignored.
quoted-printable Any byte can be represented by a three-character
"=XX" sequence where the X's are uppercase
hexadecimal digits. Bytes representing printable
7-bit US-ASCII characters except "=" may be
represented literally. Tabs and blanks may be
represented literally if not at the end of a line.
Line length is limited, and an EOL preceded by "="
was inserted for this purpose and is not present in
the original.
The base64 and quoted-printable encodings are applied to data in
Internet canonical form, which means that any EOL encoded as anything
but EOL must be an Internet canonical EOL: CR followed by LF.
The Content-Description header allows further description of a body
part, analogous to the use of Subject for messages.
Spencer Historic [Page 100]
^L
RFC 1849 Son of 1036 March 2010
Finally, the Content-ID header can be used to assign an
identification to body parts, analogous to the assignment of
identifications to messages by Message-ID.
Note that most of these headers are structured header fields, as
defined in [RFC822]. Consequently, comments are allowed in their
values. The following is a legal MIME header:
Content-Type: (a comment) text (yeah) /
plain (and now some params:) ; charset= (guess what)
iso-8859-1 (we don't have iso-10646 yet, pity)
NOTE: Although the MIME specification was developed for mail,
there is nothing precluding its use for news as well. While it
might simplify implementation to restrict the MIME headers
somewhat, in the same way that other news headers (e.g., From) are
restricted subsets of the [RFC822] originals, this would add yet
another divergence between two formats that ought to be as
compatible as possible. In the case of the MIME headers, there is
no body of existing code posing compatibility concerns. A full-
featured MIME reading agent needs a full [RFC822] parser anyway,
to properly handle body parts of types like message/rfc822, so
there is little gain from restricting MIME headers. Adopting the
MIME specification unchanged seems best. However, article-level
MIME headers must still comply with the overall news header syntax
given in Section 4, so that news software that is NOT interested
in MIME need not contain a full [RFC822] parser.
"MIME (Multipurpose Internet Mail Extensions) Part Three: Message
Header Extensions for Non-ASCII Text" [RFC2047] addresses the problem
of non-ASCII characters in headers. An example of a header using the
[RFC2047] mechanism is
From: =?ISO-8859-1?Q?Andr=E9_?= Pirard <PIRARD@vm1.ulg.ac.be>
Such encodings are allowed in selected headers, subject to the
restrictions listed in [RFC2047].
The MIME effort has also produced an RFC defining a Content-MD5
header [RFC1544] containing an MD5-based "checksum" of the contents
of an article or body part, giving high confidence of detecting
accidental modifications to the contents.
The "metamail" software package [Metamail] helps provide MIME support
with minimal changes to mailers and may also be relevant to news
reading agents.
Spencer Historic [Page 101]
^L
RFC 1849 Son of 1036 March 2010
The PEM (Privacy Enhanced Mail) effort is pursuing analogous
facilities to offer stronger guarantees against malicious
modifications, unauthorized eavesdropping, and forgery. This work
too may be applicable to news, once it is reconciled with MIME (by
efforts now underway).
Spencer Historic [Page 102]
^L
RFC 1849 Son of 1036 March 2010
Appendix C. Summary of Changes Since RFC 1036
This Draft is much longer than [RFC1036], so there is obviously much
change in content. Much of this is just increased precision and
rigor. Noteworthy changes and additions include:
+ restrictions on article bodies (Section 4.3)
+ all references to MIME facilities
+ size limits on articles
+ precise specification of Date-content syntax
+ message IDs must never be re-used, ever
+ "!" is the only Path delimiter
+ multiple moderators in the Approved header
+ rules on References trimming, and the _-_ mechanism
+ generalization of the Xref rules
+ multiple message IDs in Cancel and Supersedes
+ Also-Control
+ See-Also
+ Article-Names
+ Article-Updates
+ more precise rules for cancellation
+ cancellation authorization based on From, not Sender
+ "unmoderated" and descriptors in newgroup messages
+ restrictive rules on handling of sendsys and version messages
+ the whogets control message
+ precise specification of checkgroups messages
+ compression type preferably specified out-of-band
Spencer Historic [Page 103]
^L
RFC 1849 Son of 1036 March 2010
+ rules for encapsulating news in MIME mail
+ tighter specification of relayer functioning (Section 9.1)
+ the "newsmaster" contact address
+ rules for gatewaying (Section 10)
+ discussion of security issues (Section 11)
Spencer Historic [Page 104]
^L
RFC 1849 Son of 1036 March 2010
Appendix D. Summary of Completely New Features
Most of this Draft merely documents existing practice, preferred
versions thereof, or straightforward generalizations of it, but there
are a few outright inventions. These are:
+ the _-_ mechanism for References trimming
+ Also-Control
+ See-Also
+ Article-Names
+ Article-Updates
+ the whogets control message
Spencer Historic [Page 105]
^L
RFC 1849 Son of 1036 March 2010
Appendix E. Summary of Differences from RFCs 822 and 1123
The following are noteworthy differences between this Draft's
articles and MAIL messages:
+ generally less-permissive header syntax
+ notably, limited From syntax
+ MAIL header comments allowed in only a few contexts
+ slightly more restricted message-ID syntax
+ several more mandatory headers
+ duplicate headers forbidden
+ References/See-Also versus In-Reply-To/References (Section 6.5)
+ case sensitivity in some contexts
+ point-to-point headers, e.g., To and Cc, forbidden (Section 6)
+ several new headers
Author's Address
Henry Spencer
SP Systems
Box 280 Stn. A
Toronto, Ontario M5W1B2
Canada
EMail: henry@zoo.utoronto.ca
Spencer Historic [Page 106]
^L
|