This file is indexed.

/usr/share/debian-reference/ch06.en.html is in debian-reference-en 2.68.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Chapter 6. Network applications</title>
    <link rel="stylesheet" type="text/css" href="debian-reference.css"/>
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link rel="home" href="index.en.html" title="Debian Reference"/>
    <link rel="up" href="index.en.html" title="Debian Reference"/>
    <link rel="prev" href="ch05.en.html" title="Chapter 5. Network setup"/>
    <link rel="next" href="ch07.en.html" title="Chapter 7. The X Window System"/>
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">Chapter 6. Network applications</th>
        </tr>
        <tr>
          <td align="left"><a accesskey="p" href="ch05.en.html"><img src="images/prev.png" alt="Prev"/></a> </td>
          <th width="60%" align="center"> </th>
          <td align="right"> <a accesskey="n" href="ch07.en.html"><img src="images/next.png" alt="Next"/></a></td>
        </tr>
      </table>
      <hr/>
    </div>
    <div class="chapter">
      <div class="titlepage">
        <div>
          <div>
            <h1 class="title"><a id="_network_applications"/>Chapter 6. Network applications</h1>
          </div>
        </div>
      </div>
      <div class="toc">
        <p>
          <strong>Table of Contents</strong>
        </p>
        <dl class="toc">
          <dt>
            <span class="section">
              <a href="ch06.en.html#_web_browsers">6.1. Web browsers</a>
            </span>
          </dt>
          <dd>
            <dl>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_browser_configuration">6.1.1. Browser configuration</a>
                </span>
              </dt>
            </dl>
          </dd>
          <dt>
            <span class="section">
              <a href="ch06.en.html#_the_mail_system">6.2. The mail system</a>
            </span>
          </dt>
          <dd>
            <dl>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_email_basics">6.2.1. Email basics</a>
                </span>
              </dt>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_modern_mail_service_basics">6.2.2. Modern mail service basics</a>
                </span>
              </dt>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_the_mail_configuration_strategy_for_workstation">6.2.3. The mail configuration strategy for workstation</a>
                </span>
              </dt>
            </dl>
          </dd>
          <dt>
            <span class="section">
              <a href="ch06.en.html#_mail_transport_agent_mta">6.3. Mail transport agent (MTA)</a>
            </span>
          </dt>
          <dd>
            <dl>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_the_configuration_of_exim4">6.3.1. The configuration of exim4</a>
                </span>
              </dt>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_the_configuration_of_postfix_with_sasl">6.3.2. The configuration of postfix with SASL</a>
                </span>
              </dt>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_the_mail_address_configuration">6.3.3. The mail address configuration</a>
                </span>
              </dt>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_basic_mta_operations">6.3.4. Basic MTA operations</a>
                </span>
              </dt>
            </dl>
          </dd>
          <dt>
            <span class="section">
              <a href="ch06.en.html#_mail_user_agent_mua">6.4. Mail user agent (MUA)</a>
            </span>
          </dt>
          <dd>
            <dl>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_basic_mua_mutt">6.4.1. Basic MUA — Mutt</a>
                </span>
              </dt>
            </dl>
          </dd>
          <dt>
            <span class="section">
              <a href="ch06.en.html#_the_remote_mail_retrieval_and_forward_utility">6.5. The remote mail retrieval and forward utility</a>
            </span>
          </dt>
          <dd>
            <dl>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_getmail_configuration">6.5.1. getmail configuration</a>
                </span>
              </dt>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_fetchmail_configuration">6.5.2. fetchmail configuration</a>
                </span>
              </dt>
            </dl>
          </dd>
          <dt>
            <span class="section">
              <a href="ch06.en.html#_mail_delivery_agent_mda_with_filter">6.6. Mail delivery agent (MDA) with filter</a>
            </span>
          </dt>
          <dd>
            <dl>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_maildrop_configuration">6.6.1. maildrop configuration</a>
                </span>
              </dt>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_procmail_configuration">6.6.2. procmail configuration</a>
                </span>
              </dt>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_redeliver_mbox_contents">6.6.3. Redeliver mbox contents</a>
                </span>
              </dt>
            </dl>
          </dd>
          <dt>
            <span class="section">
              <a href="ch06.en.html#_pop3_imap4_server">6.7. POP3/IMAP4 server</a>
            </span>
          </dt>
          <dt>
            <span class="section">
              <a href="ch06.en.html#_the_print_server_and_utilities">6.8. The print server and utilities</a>
            </span>
          </dt>
          <dt>
            <span class="section">
              <a href="ch06.en.html#_the_remote_access_server_and_utilities_ssh">6.9. The remote access server and utilities (SSH)</a>
            </span>
          </dt>
          <dd>
            <dl>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_basics_of_ssh">6.9.1. Basics of SSH</a>
                </span>
              </dt>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_port_forwarding_for_smtp_pop3_tunneling">6.9.2. Port forwarding for SMTP/POP3 tunneling</a>
                </span>
              </dt>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_connecting_without_remote_passwords">6.9.3. Connecting without remote passwords</a>
                </span>
              </dt>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_dealing_with_alien_ssh_clients">6.9.4. Dealing with alien SSH clients</a>
                </span>
              </dt>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_setting_up_ssh_agent">6.9.5. Setting up ssh-agent</a>
                </span>
              </dt>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_how_to_shutdown_the_remote_system_on_ssh">6.9.6. How to shutdown the remote system on SSH</a>
                </span>
              </dt>
              <dt>
                <span class="section">
                  <a href="ch06.en.html#_troubleshooting_ssh">6.9.7. Troubleshooting SSH</a>
                </span>
              </dt>
            </dl>
          </dd>
          <dt>
            <span class="section">
              <a href="ch06.en.html#_other_network_application_servers">6.10. Other network application servers</a>
            </span>
          </dt>
          <dt>
            <span class="section">
              <a href="ch06.en.html#_other_network_application_clients">6.11. Other network application clients</a>
            </span>
          </dt>
          <dt>
            <span class="section">
              <a href="ch06.en.html#_the_diagnosis_of_the_system_daemons">6.12. The diagnosis of the system daemons</a>
            </span>
          </dt>
        </dl>
      </div>
      <p>After establishing network connectivity (see <a class="xref" href="ch05.en.html" title="Chapter 5. Network setup">Chapter 5, <em>Network setup</em></a>), you can run various network applications.</p>
      <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
        <table border="0" summary="Tip">
          <tr>
            <td rowspan="2" align="center" valign="top">
              <img alt="[Tip]" src="images/tip.png"/>
            </td>
            <th align="left">Tip</th>
          </tr>
          <tr>
            <td align="left" valign="top">
              <p>For modern Debian specific guide to the network infrastructure, read <a class="ulink" href="https://www.debian.org/doc/manuals/debian-handbook/network-infrastructure">The Debian Administrator's Handbook — Network Infrastructure</a>.</p>
            </td>
          </tr>
        </table>
      </div>
      <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
        <table border="0" summary="Warning">
          <tr>
            <td rowspan="2" align="center" valign="top">
              <img alt="[Warning]" src="images/warning.png"/>
            </td>
            <th align="left">Warning</th>
          </tr>
          <tr>
            <td align="left" valign="top">
              <p>This chapter is getting outdated since this is based on Debian 7.0 (<code class="literal">Wheezy</code>) released in 2013.</p>
            </td>
          </tr>
        </table>
      </div>
      <div class="section">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title"><a id="_web_browsers"/>6.1. Web browsers</h2>
            </div>
          </div>
        </div>
        <p>There are many <a class="ulink" href="http://en.wikipedia.org/wiki/Web_Browsers">web browser</a> packages to access remote contents with <a class="ulink" href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">Hypertext Transfer Protocol</a> (HTTP).</p>
        <div class="table">
          <a id="listofwebbrowsers"/>
          <p class="title">
            <strong>Table 6.1. List of web browsers</strong>
          </p>
          <div class="table-contents">
            <table class="table" summary="List of web browsers" border="1">
              <colgroup>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
              </colgroup>
              <thead>
                <tr>
                  <th style="text-align: left">
    package
    </th>
                  <th style="text-align: left">
    popcon
    </th>
                  <th style="text-align: left">
    size
    </th>
                  <th style="text-align: left">
    type
    </th>
                  <th style="text-align: left">
    description of web browser
    </th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/chromium">
                <code class="literal">chromium</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=chromium">V:67, I:148</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/c/chromium.html">191705</a>
                  </td>
                  <td style="text-align: left">
    X
    </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Chromium_(web_browser)">Chromium</a>, (open-source browser from Google)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/iceweasel">
                <code class="literal">iceweasel</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=iceweasel">V:210, I:450</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/i/iceweasel.html">232</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/Mozilla_Corporation_software_rebranded_by_the_Debian_project">unbranded</a>
                <a class="ulink" href="http://en.wikipedia.org/wiki/Mozilla_Firefox">Mozilla Firefox</a>
              </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                <code class="literal">iceape-browser</code>
              </td>
                  <td style="text-align: left">
    N/A
    </td>
                  <td style="text-align: left">
    N/A
    </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Mozilla_Corporation_software_rebranded_by_the_Debian_project">unbranded</a><a class="ulink" href="http://en.wikipedia.org/wiki/Mozilla">Mozilla</a>, removed due to security concerns <a class="ulink" href="http://bugs.debian.org/505565">bug#505565</a></td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/epiphany-browser">
                <code class="literal">epiphany-browser</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=epiphany-browser">V:10, I:41</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/e/epiphany-browser.html">2145</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/GNOME">GNOME</a>, <a class="ulink" href="http://en.wikipedia.org/wiki/Human_interface_guidelines">HIG</a> compliant, <a class="ulink" href="http://en.wikipedia.org/wiki/Epiphany_(browser)">Epiphany</a>
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/konqueror">
                <code class="literal">konqueror</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=konqueror">V:28, I:114</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/k/konqueror.html">3543</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/KDE">KDE</a>, <a class="ulink" href="http://en.wikipedia.org/wiki/Konqueror">Konqueror</a></td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/dillo">
                <code class="literal">dillo</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=dillo">V:0, I:5</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/d/dillo.html">1504</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Dillo">Dillo</a>, (light weight browser, <a class="ulink" href="http://en.wikipedia.org/wiki/FLTK">FLTK</a> based)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/w3m">
                <code class="literal">w3m</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=w3m">V:212, I:813</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/w/w3m.html">2294</a>
                  </td>
                  <td style="text-align: left">
    text
    </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/W3m">w3m</a>
              </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/lynx">
                <code class="literal">lynx</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=lynx">V:32, I:104</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/l/lynx.html">1901</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/Lynx_(web_browser)">Lynx</a>
              </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/elinks">
                <code class="literal">elinks</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=elinks">V:14, I:32</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/e/elinks.html">1587</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/ELinks">ELinks</a>
              </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/links">
                <code class="literal">links</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=links">V:17, I:46</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/l/links.html">2149</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Links_(web_browser)">Links</a> (text only)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/links2">
                <code class="literal">links2</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=links2">V:2, I:17</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/l/links2.html">5392</a>
                  </td>
                  <td style="text-align: left">
    graphics
    </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Links_(web_browser)">Links</a> (console graphics without X)
    </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <br class="table-break"/>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_browser_configuration"/>6.1.1. Browser configuration</h3>
              </div>
            </div>
          </div>
          <p>You may be able to use following special URL strings for some browsers to confirm their settings.</p>
          <div class="itemizedlist">
            <ul class="itemizedlist">
              <li class="listitem">
                <p>
"<code class="literal">about:</code>"
</p>
              </li>
              <li class="listitem">
                <p>
"<code class="literal">about:config</code>"
</p>
              </li>
              <li class="listitem">
                <p>
"<code class="literal">about:plugins</code>"
</p>
              </li>
            </ul>
          </div>
          <p>Debian offers many free browser plugin packages in the main archive area which can handle not only <a class="ulink" href="http://en.wikipedia.org/wiki/Java_(software_platform)">Java (software platform)</a> and <a class="ulink" href="http://en.wikipedia.org/wiki/Adobe_Flash">Flash</a> but also <a class="ulink" href="http://en.wikipedia.org/wiki/MPEG-1">MPEG</a>, <a class="ulink" href="http://en.wikipedia.org/wiki/MPEG-2">MPEG2</a>, <a class="ulink" href="http://en.wikipedia.org/wiki/MPEG-4">MPEG4</a>, <a class="ulink" href="http://en.wikipedia.org/wiki/DivX">DivX</a>, <a class="ulink" href="http://en.wikipedia.org/wiki/Windows_Media_Video">Windows Media Video (.wmv)</a>, <a class="ulink" href="http://en.wikipedia.org/wiki/QuickTime">QuickTime (.mov)</a>, <a class="ulink" href="http://en.wikipedia.org/wiki/MP3">MP3 (.mp3)</a>, <a class="ulink" href="http://en.wikipedia.org/wiki/Vorbis">Ogg/Vorbis</a> files, DVDs, VCDs, etc.  Debian also offers helper programs to install non-free browser plugin packages as contrib or non-free archive area.</p>
          <div class="table">
            <a id="listofbrowserpluginpackages"/>
            <p class="title">
              <strong>Table 6.2. List of browser plugin packages</strong>
            </p>
            <div class="table-contents">
              <table class="table" summary="List of browser plugin packages" border="1">
                <colgroup>
                  <col style="text-align: left"/>
                  <col style="text-align: left"/>
                  <col style="text-align: left"/>
                  <col style="text-align: left"/>
                  <col style="text-align: left"/>
                </colgroup>
                <thead>
                  <tr>
                    <th style="text-align: left">
    package
    </th>
                    <th style="text-align: left">
    popcon
    </th>
                    <th style="text-align: left">
    size
    </th>
                    <th style="text-align: left">
    area
    </th>
                    <th style="text-align: left">
    description
    </th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td style="text-align: left">
                      <a class="ulink" href="http://packages.debian.org/sid/icedtea-plugin">
                  <code class="literal">icedtea-plugin</code>
                </a>
                    </td>
                    <td style="text-align: left">
                      <a class="ulink" href="http://qa.debian.org/popcon.php?package=icedtea-plugin">I:24</a>
                    </td>
                    <td style="text-align: left">
                      <a class="ulink" href="http://packages.qa.debian.org/i/icedtea-plugin.html">19</a>
                    </td>
                    <td style="text-align: left">
    main
    </td>
                    <td style="text-align: left">
    Java plugin based on OpenJDK and IcedTea
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                      <a class="ulink" href="http://packages.debian.org/sid/mozilla-plugin-gnash">
                  <code class="literal">mozilla-plugin-gnash</code>
                </a>
                    </td>
                    <td style="text-align: left">
                      <a class="ulink" href="http://qa.debian.org/popcon.php?package=mozilla-plugin-gnash">I:2</a>
                    </td>
                    <td style="text-align: left">
                      <a class="ulink" href="http://packages.qa.debian.org/m/mozilla-plugin-gnash.html">39</a>
                    </td>
                    <td style="text-align: left">
    main
    </td>
                    <td style="text-align: left">
    Flash plugin based on Gnash
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                      <a class="ulink" href="http://packages.debian.org/sid/flashplugin-nonfree">
                  <code class="literal">flashplugin-nonfree</code>
                </a>
                    </td>
                    <td style="text-align: left">
                      <a class="ulink" href="http://qa.debian.org/popcon.php?package=flashplugin-nonfree">V:9, I:148</a>
                    </td>
                    <td style="text-align: left">
                      <a class="ulink" href="http://packages.qa.debian.org/f/flashplugin-nonfree.html">71</a>
                    </td>
                    <td style="text-align: left">
    contrib
    </td>
                    <td style="text-align: left">
    Flash plugin helper to install Adobe Flash Player (i386, amd64 only)
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                      <a class="ulink" href="http://packages.debian.org/sid/browser-plugin-vlc">
                  <code class="literal">browser-plugin-vlc</code>
                </a>
                    </td>
                    <td style="text-align: left">
                      <a class="ulink" href="http://qa.debian.org/popcon.php?package=browser-plugin-vlc">V:5, I:17</a>
                    </td>
                    <td style="text-align: left">
                      <a class="ulink" href="http://packages.qa.debian.org/b/browser-plugin-vlc.html">202</a>
                    </td>
                    <td style="text-align: left">
    main
    </td>
                    <td style="text-align: left">
    Multimedia plugin based on <a class="ulink" href="http://en.wikipedia.org/wiki/VLC_media_player">VLC media player</a>
    </td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
          <br class="table-break"/>
          <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Tip]" src="images/tip.png"/>
                </td>
                <th align="left">Tip</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>Although use of above Debian packages are much easier, browser plugins can be still manually enabled by installing "*.so" into plugin directories (e.g., "<code class="literal">/usr/lib/iceweasel/plugins/</code>") and restarting browsers.</p>
                </td>
              </tr>
            </table>
          </div>
          <p>Some web sites refuse to be connected based on the user-agent string of your browser.  You can work around this situation by <a class="ulink" href="http://www.mozilla.org/unix/customizing.html#prefs">spoofing the user-agent string</a>.  For example, you can do this by adding following line into user configuration files such as "<code class="literal">~/.gnome2/epiphany/mozilla/epiphany/user.js</code>" or "<code class="literal">~/.mozilla/firefox/*.default/user.js</code>".</p>
          <pre class="screen">user_pref{"general.useragent.override","Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)"};</pre>
          <p>Alternatively, you can add and reset this variable by typing "<code class="literal">about:config</code>" into URL and right clicking its display contents.</p>
          <div class="caution" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Caution">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Caution]" src="images/caution.png"/>
                </td>
                <th align="left">Caution</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>Spoofed user-agent string may cause <a class="ulink" href="https://bugzilla.mozilla.org/show_bug.cgi?id=83376">bad side effects with Java</a>.</p>
                </td>
              </tr>
            </table>
          </div>
        </div>
      </div>
      <div class="section">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title"><a id="_the_mail_system"/>6.2. The mail system</h2>
            </div>
          </div>
        </div>
        <div class="caution" style="margin-left: 0.5in; margin-right: 0.5in;">
          <table border="0" summary="Caution">
            <tr>
              <td rowspan="2" align="center" valign="top">
                <img alt="[Caution]" src="images/caution.png"/>
              </td>
              <th align="left">Caution</th>
            </tr>
            <tr>
              <td align="left" valign="top">
                <p>If you are to set up the mail server to exchange mail directly with the Internet, you should be better than reading this elementary document.</p>
              </td>
            </tr>
          </table>
        </div>
        <p>The mail system involves many server programs and many client programs running on multiple hosts.  From the functionarity, there are 3 types of mail agent programs:</p>
        <div class="itemizedlist">
          <ul class="itemizedlist">
            <li class="listitem">
              <p>
The mail transport agent (<a class="ulink" href="http://en.wikipedia.org/wiki/Message_transfer_agent">MTA</a>, see <a class="xref" href="ch06.en.html#_mail_transport_agent_mta" title="6.3. Mail transport agent (MTA)">Section 6.3, “Mail transport agent (MTA)”</a>) is a program for transferring mails between different hosts.
</p>
            </li>
            <li class="listitem">
              <p>
The mail delivery agent (<a class="ulink" href="http://en.wikipedia.org/wiki/Mail_delivery_agent">MDA</a>, see <a class="xref" href="ch06.en.html#_mail_delivery_agent_mda_with_filter" title="6.6. Mail delivery agent (MDA) with filter">Section 6.6, “Mail delivery agent (MDA) with filter”</a>) is a program for delivering messages to the users' mailboxes within a host.
</p>
            </li>
            <li class="listitem">
              <p>
The mail user agent (MUA, also known as <a class="ulink" href="http://en.wikipedia.org/wiki/Email_client">email client</a>, see <a class="xref" href="ch06.en.html#_mail_user_agent_mua" title="6.4. Mail user agent (MUA)">Section 6.4, “Mail user agent (MUA)”</a>) is the program to generate messages and to access delivered messages.
</p>
            </li>
          </ul>
        </div>
        <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
          <table border="0" summary="Note">
            <tr>
              <td rowspan="2" align="center" valign="top">
                <img alt="[Note]" src="images/note.png"/>
              </td>
              <th align="left">Note</th>
            </tr>
            <tr>
              <td align="left" valign="top">
                <p>The following configuration examples are only valid for the typical mobile workstation on consumer grade Internet connections.</p>
              </td>
            </tr>
          </table>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_email_basics"/>6.2.1. Email basics</h3>
              </div>
            </div>
          </div>
          <p>An <a class="ulink" href="http://en.wikipedia.org/wiki/Email">email</a> message consists of three components, the message envelope, the message header, and the message body.</p>
          <p>The "To" and "From" information in the message envelope is used by the <a class="ulink" href="http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol">SMTP</a> to deliver the email. (The "From" information in the message envelope is also called <a class="ulink" href="http://en.wikipedia.org/wiki/Bounce_address">bounce address</a>, From_, etc.).</p>
          <p>The "To" and "From" information in the message header is displayed by the <a class="ulink" href="http://en.wikipedia.org/wiki/Email_client">email client</a>. (While it is most common for these to be the same as ones in the message envelope, such is not always the case.)</p>
          <p>The <a class="ulink" href="http://en.wikipedia.org/wiki/Email_client">email client</a> (MUA) needs to interpret the message header and body data using <a class="ulink" href="http://en.wikipedia.org/wiki/MIME">Multipurpose Internet Mail Extensions (MIME)</a> to deal the content data type and encoding.</p>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_modern_mail_service_basics"/>6.2.2. Modern mail service basics</h3>
              </div>
            </div>
          </div>
          <p>In order to minimize exposure to the spam (unwanted and unsolicited email) problems, many ISPs which provide consumer grade Internet connections are implementing counter measures.</p>
          <div class="itemizedlist">
            <ul class="itemizedlist">
              <li class="listitem">
                <p>
The smarthost service for their customers to send message uses the message submission port (587) specified in <a class="ulink" href="http://tools.ietf.org/html/rfc4409">rfc4409</a> with the password (<a class="ulink" href="http://en.wikipedia.org/wiki/SMTP-AUTH">SMTP AUTH</a> service) specified in <a class="ulink" href="http://tools.ietf.org/html/rfc4954">rfc4954</a>.
</p>
              </li>
              <li class="listitem">
                <p>
The <a class="ulink" href="http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol">SMTP</a> port (25) connection from their internal network hosts (except ISP's own outgoing mail server) to the Internet are blocked.
</p>
              </li>
              <li class="listitem">
                <p>
The <a class="ulink" href="http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol">SMTP</a> port (25) connection to the ISP's incoming mail server from some suspicious external network hosts are blocked.  (The connection from hosts on the dynamic IP address range used by the dial-up and other consumer grade Internet connections are the first ones to be blocked.)
</p>
              </li>
              <li class="listitem">
                <p><a class="ulink" href="http://en.wikipedia.org/wiki/Anti-spam_techniques">Anti-spam techniques</a> such as <a class="ulink" href="http://en.wikipedia.org/wiki/DomainKeys_Identified_Mail">DomainKeys Identified Mail (DKIM)</a> and <a class="ulink" href="http://en.wikipedia.org/wiki/Sender_Policy_Framework">Sender_Policy_Framework (SPF)</a> are widely used for the <a class="ulink" href="http://en.wikipedia.org/wiki/Email_filtering">email filtering</a>.
</p>
              </li>
              <li class="listitem">
                <p>
The <a class="ulink" href="http://en.wikipedia.org/wiki/DomainKeys_Identified_Mail">DomainKeys Identified Mail</a> service may be provided for your mail sent through the smarthost.
</p>
              </li>
            </ul>
          </div>
          <p>When configuring your mail system or resolving mail delivery problems, you must consider these new limitations.</p>
          <p>In light of these hostile Internet situation and limitations, some independent Internet mail ISPs such as Yahoo.com and Gmail.com offer the secure mail service which can be connected from anywhere on the Internet using <a class="ulink" href="http://en.wikipedia.org/wiki/Transport_Layer_Security">Transport Layer Security (TLS) and its predecessor, Secure Sockets Layer (SSL)</a>.</p>
          <div class="itemizedlist">
            <ul class="itemizedlist">
              <li class="listitem">
                <p>
The smarthost service on port 465 with the deprecated SMTP over SSL (<a class="ulink" href="http://en.wikipedia.org/wiki/SMTPS">SMTPS</a> protocol).
</p>
              </li>
              <li class="listitem">
                <p>
The smarthost service on port 587 with the <a class="ulink" href="http://en.wikipedia.org/wiki/STARTTLS">STARTTLS</a>.
</p>
              </li>
              <li class="listitem">
                <p>
The incoming mail is accessible at the TLS/POP3 port (995) with <a class="ulink" href="http://en.wikipedia.org/wiki/Post_Office_Protocol">POP3</a>.
</p>
              </li>
            </ul>
          </div>
          <div class="caution" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Caution">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Caution]" src="images/caution.png"/>
                </td>
                <th align="left">Caution</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>It is not realistic to run SMTP server on consumer grade network to send mail directly to the remote host reliably.  They are very likely to be rejected.  You must use some smarthost services offered by your connection ISP or independent mail ISPs.</p>
                </td>
              </tr>
            </table>
          </div>
          <p>For the simplicity, I assume that the smarthost is located at "<code class="literal">smtp.hostname.dom</code>", requires <a class="ulink" href="http://en.wikipedia.org/wiki/SMTP_Authentication">SMTP Authentication</a>, and uses the message submission port (587) with the <a class="ulink" href="http://en.wikipedia.org/wiki/STARTTLS">STARTTLS</a> in the following text.</p>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_the_mail_configuration_strategy_for_workstation"/>6.2.3. The mail configuration strategy for workstation</h3>
              </div>
            </div>
          </div>
          <p>The most simple mail configuration is that the mail is sent to the ISP's smarthost and received from ISP's POP3 server by the MUA (see <a class="xref" href="ch06.en.html#_mail_user_agent_mua" title="6.4. Mail user agent (MUA)">Section 6.4, “Mail user agent (MUA)”</a>) itself. This type of configuration is popular with full featured GUI based MUA such as <span class="citerefentry"><span class="refentrytitle">icedove</span>(1)</span>, <span class="citerefentry"><span class="refentrytitle">evolution</span>(1)</span>, etc. If you need to filter mail by their types, you use MUA's filtering function. For this case, the local MTA (see <a class="xref" href="ch06.en.html#_mail_transport_agent_mta" title="6.3. Mail transport agent (MTA)">Section 6.3, “Mail transport agent (MTA)”</a>) need to do local delivery only (when sender and receiver are on the same host).</p>
          <p>Please note that the Debian system is the multiuser system.  Even if you are the only user, there are many programs running as root and they may send you a mail.</p>
          <p>The alternative mail configuration is that the mail is sent via local MTA to the ISP's smarthost and received from ISP's POP3 by the mail retriever (see <a class="xref" href="ch06.en.html#_the_remote_mail_retrieval_and_forward_utility" title="6.5. The remote mail retrieval and forward utility">Section 6.5, “The remote mail retrieval and forward utility”</a>) to the local mailbox.  If you need to filter mail by their types, you use MDA with filter (see <a class="xref" href="ch06.en.html#_mail_delivery_agent_mda_with_filter" title="6.6. Mail delivery agent (MDA) with filter">Section 6.6, “Mail delivery agent (MDA) with filter”</a>) to filter mail into separate mailboxes.  This type of configuration is popular with simple console based MUA such as <span class="citerefentry"><span class="refentrytitle">mutt</span>(1)</span>, <span class="citerefentry"><span class="refentrytitle">mew</span>(1)</span>, etc., although this is possible with any MUAs (see <a class="xref" href="ch06.en.html#_mail_user_agent_mua" title="6.4. Mail user agent (MUA)">Section 6.4, “Mail user agent (MUA)”</a>). For this case, the local MTA (see <a class="xref" href="ch06.en.html#_mail_transport_agent_mta" title="6.3. Mail transport agent (MTA)">Section 6.3, “Mail transport agent (MTA)”</a>) need to do both smarthost delivery and local delivery.  Since mobile workstation does not have valid FQDN, you must configure the local MTA to hide and spoof the real local mail name in outgoing mail to avoid mail delivery errors (see <a class="xref" href="ch06.en.html#_the_mail_address_configuration" title="6.3.3. The mail address configuration">Section 6.3.3, “The mail address configuration”</a>).</p>
          <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Tip]" src="images/tip.png"/>
                </td>
                <th align="left">Tip</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>You may wish to configure MUA/MDA to use <a class="ulink" href="http://en.wikipedia.org/wiki/Maildir">Maildir</a> for storing email messages somewhere under your home directory.</p>
                </td>
              </tr>
            </table>
          </div>
        </div>
      </div>
      <div class="section">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title"><a id="_mail_transport_agent_mta"/>6.3. Mail transport agent (MTA)</h2>
            </div>
          </div>
        </div>
        <p>For normal workstation, the popular choice for Mail transport agent (MTA) is either <code class="literal">exim4-*</code> or <code class="literal">postfix</code> packages.  It is really up to you.</p>
        <div class="table">
          <a id="listofbasicmailtesforworkstation"/>
          <p class="title">
            <strong>Table 6.3. List of basic mail transport agent related packages for workstation</strong>
          </p>
          <div class="table-contents">
            <table class="table" summary="List of basic mail transport agent related packages for workstation" border="1">
              <colgroup>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
              </colgroup>
              <thead>
                <tr>
                  <th style="text-align: left">
    package
    </th>
                  <th style="text-align: left">
    popcon
    </th>
                  <th style="text-align: left">
    size
    </th>
                  <th style="text-align: left">
    description
    </th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/exim4-daemon-light">
                <code class="literal">exim4-daemon-light</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=exim4-daemon-light">V:604, I:691</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/e/exim4-daemon-light.html">1167</a>
                  </td>
                  <td style="text-align: left">
    Exim4 mail transport agent (MTA: Debian default)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/exim4-base">
                <code class="literal">exim4-base</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=exim4-base">V:614, I:703</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/e/exim4-base.html">1561</a>
                  </td>
                  <td style="text-align: left">
    Exim4 documentation (text) and common files
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/exim4-doc-html">
                <code class="literal">exim4-doc-html</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=exim4-doc-html">I:1</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/e/exim4-doc-html.html">3454</a>
                  </td>
                  <td style="text-align: left">
    Exim4 documentation (html)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/exim4-doc-info">
                <code class="literal">exim4-doc-info</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=exim4-doc-info">I:1</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/e/exim4-doc-info.html">588</a>
                  </td>
                  <td style="text-align: left">
    Exim4 documentation (info)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/postfix">
                <code class="literal">postfix</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=postfix">V:149, I:165</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/p/postfix.html">3916</a>
                  </td>
                  <td style="text-align: left">
    Postfix mail transport agent (MTA: alternative)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/postfix-doc">
                <code class="literal">postfix-doc</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=postfix-doc">I:10</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/p/postfix-doc.html">4038</a>
                  </td>
                  <td style="text-align: left">
    Postfix documentation (html+text)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/sasl2-bin">
                <code class="literal">sasl2-bin</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=sasl2-bin">V:7, I:25</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/s/sasl2-bin.html">410</a>
                  </td>
                  <td style="text-align: left">
    Cyrus SASL API implementation (supplement postfix for SMTP AUTH)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/cyrus-sasl2-doc">
                <code class="literal">cyrus-sasl2-doc</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=cyrus-sasl2-doc">I:2</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/c/cyrus-sasl2-doc.html">247</a>
                  </td>
                  <td style="text-align: left">
    Cyrus SASL - documentation
    </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <br class="table-break"/>
        <p>Although the popcon vote count of <code class="literal">exim4-*</code> looks several times popular than that of <code class="literal">postfix</code>, this does not mean <code class="literal">postfix</code> is not popular with Debian developers.  The Debian server system uses both <code class="literal">exim4</code> and <code class="literal">postfix</code>.  The <a class="ulink" href="http://wiki.debian.org/DefaultMTA">mail header analysis</a> of mailing list postings from prominent Debian developers also indicate both of these MTAs are as popular.</p>
        <p>The <code class="literal">exim4-*</code> packages are known to have very small memory consumption and very flexible for its configuration.  The <code class="literal">postfix</code> package is known to be compact, fast, simple, and secure.  Both come with ample documentation and are as good in quality and license.</p>
        <p>There are many choices for mail transport agent (MTA) packages with different capability and focus in Debian archive.</p>
        <div class="table">
          <a id="listofchoicesforsindebianarchive"/>
          <p class="title">
            <strong>Table 6.4. List of choices for mail transport agent (MTA) packages in Debian archive</strong>
          </p>
          <div class="table-contents">
            <table class="table" summary="List of choices for mail transport agent (MTA) packages in Debian archive" border="1">
              <colgroup>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
              </colgroup>
              <thead>
                <tr>
                  <th style="text-align: left">
    package
    </th>
                  <th style="text-align: left">
    popcon
    </th>
                  <th style="text-align: left">
    size
    </th>
                  <th style="text-align: left">
    capability and focus
    </th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/exim4-daemon-light">
                <code class="literal">exim4-daemon-light</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=exim4-daemon-light">V:604, I:691</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/e/exim4-daemon-light.html">1167</a>
                  </td>
                  <td style="text-align: left">
    full
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/postfix">
                <code class="literal">postfix</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=postfix">V:149, I:165</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/p/postfix.html">3916</a>
                  </td>
                  <td style="text-align: left">
    full (security)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/exim4-daemon-heavy">
                <code class="literal">exim4-daemon-heavy</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=exim4-daemon-heavy">V:9, I:10</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/e/exim4-daemon-heavy.html">1300</a>
                  </td>
                  <td style="text-align: left">
    full (flexible)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/sendmail-bin">
                <code class="literal">sendmail-bin</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=sendmail-bin">V:10, I:11</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/s/sendmail-bin.html">1806</a>
                  </td>
                  <td style="text-align: left">
    full (only if you are already familiar)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/nullmailer">
                <code class="literal">nullmailer</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=nullmailer">V:5, I:8</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/n/nullmailer.html">372</a>
                  </td>
                  <td style="text-align: left">
    strip down, no local mail
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/ssmtp">
                <code class="literal">ssmtp</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=ssmtp">V:13, I:20</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/s/ssmtp.html">2</a>
                  </td>
                  <td style="text-align: left">
    strip down, no local mail
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/courier-mta">
                <code class="literal">courier-mta</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=courier-mta">V:0, I:0</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/c/courier-mta.html">1950</a>
                  </td>
                  <td style="text-align: left">
    very full (web interface etc.)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/masqmail">
                <code class="literal">masqmail</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=masqmail">V:0, I:0</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/m/masqmail.html">337</a>
                  </td>
                  <td style="text-align: left">
    light
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/esmtp">
                <code class="literal">esmtp</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=esmtp">V:0, I:0</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/e/esmtp.html">124</a>
                  </td>
                  <td style="text-align: left">
    light
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/esmtp-run">
                <code class="literal">esmtp-run</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=esmtp-run">V:0, I:0</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/e/esmtp-run.html">32</a>
                  </td>
                  <td style="text-align: left">
    light (sendmail compatibility extension to <code class="literal">esmtp</code>)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/msmtp">
                <code class="literal">msmtp</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=msmtp">V:2, I:7</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/m/msmtp.html">260</a>
                  </td>
                  <td style="text-align: left">
    light
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/msmtp-mta">
                <code class="literal">msmtp-mta</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=msmtp-mta">V:1, I:1</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/m/msmtp-mta.html">35</a>
                  </td>
                  <td style="text-align: left">
    light (sendmail compatibility extension to <code class="literal">msmtp</code>)
    </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <br class="table-break"/>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_the_configuration_of_exim4"/>6.3.1. The configuration of exim4</h3>
              </div>
            </div>
          </div>
          <p>For the Internet mail via smarthost, you (re)configure <code class="literal">exim4-*</code> packages as the following.</p>
          <pre class="screen">$ sudo /etc/init.d/exim4 stop
$ sudo dpkg-reconfigure exim4-config</pre>
          <p>Select "mail sent by smarthost; received via SMTP or fetchmail" for "General type of mail configuration".</p>
          <p>Set "System mail name:" to its default as the FQDN (see <a class="xref" href="ch05.en.html#_the_hostname_resolution" title="5.1.1. The hostname resolution">Section 5.1.1, “The hostname resolution”</a>).</p>
          <p>Set "IP-addresses to listen on for incoming SMTP connections:" to its default as "127.0.0.1 ; ::1".</p>
          <p>Unset contents of "Other destinations for which mail is accepted:".</p>
          <p>Unset contents of "Machines to relay mail for:".</p>
          <p>Set "IP address or host name of the outgoing smarthost:" to "smtp.hostname.dom:587".</p>
          <p>Select "&lt;No&gt;" for "Hide local mail name in outgoing mail?". (Use "<code class="literal">/etc/email-addresses</code>" as in <a class="xref" href="ch06.en.html#_the_mail_address_configuration" title="6.3.3. The mail address configuration">Section 6.3.3, “The mail address configuration”</a>, instead.)</p>
          <p>Reply to "Keep number of DNS-queries minimal (Dial-on-Demand)?" as one of the following.</p>
          <div class="itemizedlist">
            <ul class="itemizedlist">
              <li class="listitem">
                <p>
"No" if the system is connected to the Internet while booting.
</p>
              </li>
              <li class="listitem">
                <p>
"Yes" if the system is <span class="strong"><strong>not</strong></span> connected to the Internet while booting.
</p>
              </li>
            </ul>
          </div>
          <p>Set "Delivery method for local mail:" to "mbox format in /var/mail/".</p>
          <p>Select "&lt;Yes&gt;" for "Split configuration into small files?:".</p>
          <p>Create password entries for the smarthost by editing "<code class="literal">/etc/exim4/passwd.client</code>".</p>
          <pre class="screen">$ sudo vim /etc/exim4/passwd.client
 ...
$ cat /etc/exim4/passwd.client
^smtp.*\.hostname\.dom:username@hostname.dom:password</pre>
          <p>Start <code class="literal">exim4</code> by the following.</p>
          <pre class="screen">$ sudo /etc/init.d/exim4 start</pre>
          <p>The host name in "<code class="literal">/etc/exim4/passwd.client</code>" should not be the alias.  You check the real host name with the following.</p>
          <pre class="screen">$ host smtp.hostname.dom
smtp.hostname.dom is an alias for smtp99.hostname.dom.
smtp99.hostname.dom has address 123.234.123.89</pre>
          <p>I use regex in "<code class="literal">/etc/exim4/passwd.client</code>" to work around the alias issue.  SMTP AUTH probably works even if the ISP moves host pointed by the alias.</p>
          <p>You can manually update <code class="literal">exim4</code> configuration by the following:</p>
          <div class="itemizedlist">
            <ul class="itemizedlist">
              <li class="listitem">
                <p>
Update <code class="literal">exim4</code> configuration files in "<code class="literal">/etc/exim4/</code>".
</p>
                <div class="itemizedlist">
                  <ul class="itemizedlist">
                    <li class="listitem">
                      <p>
creating "<code class="literal">/etc/exim4/exim4.conf.localmacros</code>" to set MACROs and editing "<code class="literal">/etc/exim4/exim4.conf.template</code>". (non-split configuration)
</p>
                    </li>
                    <li class="listitem">
                      <p>
creating new files or editing existing files in the "<code class="literal">/etc/exim4/exim4.conf.d</code>" subdirectories. (split configuration)
</p>
                    </li>
                  </ul>
                </div>
              </li>
              <li class="listitem">
                <p>
Run "<code class="literal">invoke-rc.d exim4 reload</code>".
</p>
              </li>
            </ul>
          </div>
          <p>Please read the official guide at: "<code class="literal">/usr/share/doc/exim4-base/README.Debian.gz</code>" and <span class="citerefentry"><span class="refentrytitle">update-exim4.conf</span>(8)</span>.</p>
          <div class="caution" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Caution">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Caution]" src="images/caution.png"/>
                </td>
                <th align="left">Caution</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>Starting <code class="literal">exim4</code> takes long time if "No" (default value) was chosen for the debconf query of "Keep number of DNS-queries minimal (Dial-on-Demand)?" and the system is <span class="strong"><strong>not</strong></span> connected to the Internet while booting.</p>
                </td>
              </tr>
            </table>
          </div>
          <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Warning">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Warning]" src="images/warning.png"/>
                </td>
                <th align="left">Warning</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>It is insecure to use plain text password without encryption even if your ISP allows it.</p>
                </td>
              </tr>
            </table>
          </div>
          <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Tip]" src="images/tip.png"/>
                </td>
                <th align="left">Tip</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>Although use of <a class="ulink" href="http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol">SMTP</a> with <a class="ulink" href="http://en.wikipedia.org/wiki/STARTTLS">STARTTLS</a> on port 587 is recommended, some ISPs still use deprecated <a class="ulink" href="http://en.wikipedia.org/wiki/SMTPS">SMTPS</a> (SSL on port 465).  Exim4 after 4.77 supports this deprecated SMTPS protocol for both as client and as server.</p>
                </td>
              </tr>
            </table>
          </div>
          <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Tip]" src="images/tip.png"/>
                </td>
                <th align="left">Tip</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>If you are looking for a light weight MTA that respects "<code class="literal">/etc/aliases</code>" for your laptop PC, you should consider to configure <span class="citerefentry"><span class="refentrytitle">exim4</span>(8)</span> with "<code class="literal">QUEUERUNNER='queueonly'</code>", "<code class="literal">QUEUERUNNER='nodaemon'</code>", etc. in "<code class="literal">/etc/default/exim4</code>".</p>
                </td>
              </tr>
            </table>
          </div>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_the_configuration_of_postfix_with_sasl"/>6.3.2. The configuration of postfix with SASL</h3>
              </div>
            </div>
          </div>
          <p>For the Internet mail via smarthost, you should first read <a class="ulink" href="http://www.postfix.org/documentation.html">postfix documentation</a> and key manual pages.</p>
          <div class="table">
            <a id="listofimportantpstfixmanualpages"/>
            <p class="title">
              <strong>Table 6.5. List of important postfix manual pages</strong>
            </p>
            <div class="table-contents">
              <table class="table" summary="List of important postfix manual pages" border="1">
                <colgroup>
                  <col style="text-align: left"/>
                  <col style="text-align: left"/>
                </colgroup>
                <thead>
                  <tr>
                    <th style="text-align: left">
    command
    </th>
                    <th style="text-align: left">
    function
    </th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td style="text-align: left"><span class="citerefentry"><span class="refentrytitle">postfix</span>(1)</span>
    </td>
                    <td style="text-align: left">
    Postfix control program
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left"><span class="citerefentry"><span class="refentrytitle">postconf</span>(1)</span>
    </td>
                    <td style="text-align: left">
    Postfix configuration utility
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left"><span class="citerefentry"><span class="refentrytitle">postconf</span>(5)</span>
    </td>
                    <td style="text-align: left">
    Postfix configuration parameters
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left"><span class="citerefentry"><span class="refentrytitle">postmap</span>(1)</span>
    </td>
                    <td style="text-align: left">
    Postfix lookup table maintenance
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left"><span class="citerefentry"><span class="refentrytitle">postalias</span>(1)</span>
    </td>
                    <td style="text-align: left">
    Postfix alias database maintenance
    </td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
          <br class="table-break"/>
          <p>You (re)configure <code class="literal">postfix</code> and <code class="literal">sasl2-bin</code> packages as follows.</p>
          <pre class="screen">$ sudo /etc/init.d/postfix stop
$ sudo dpkg-reconfigure postfix</pre>
          <p>Chose "Internet with smarthost".</p>
          <p>Set "SMTP relay host (blank for none):" to "<code class="literal">[smtp.hostname.dom]:587</code>" and configure it by the following.</p>
          <pre class="screen">$ sudo postconf -e 'smtp_sender_dependent_authentication = yes'
$ sudo postconf -e 'smtp_sasl_auth_enable = yes'
$ sudo postconf -e 'smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd'
$ sudo postconf -e 'smtp_sasl_type = cyrus'
$ sudo vim /etc/postfix/sasl_passwd</pre>
          <p>Create password entries for the smarthost.</p>
          <pre class="screen">$ cat /etc/postfix/sasl_passwd
[smtp.hostname.dom]:587     username:password
$ sudo postmap hush:/etc/postfix/sasl_passwd</pre>
          <p>Start the <code class="literal">postfix</code> by the following.</p>
          <pre class="screen">$ sudo /etc/init.d/postfix start</pre>
          <p>Here the use of "<code class="literal">[</code>" and "<code class="literal">]</code>" in the <code class="literal">dpkg-reconfigure</code> dialog and "<code class="literal">/etc/postfix/sasl_passwd</code>" ensures not to check MX record but directly use exact hostname specified.  See "Enabling SASL authentication in the Postfix SMTP client" in "<code class="literal">/usr/share/doc/postfix/html/SASL_README.html</code>".</p>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_the_mail_address_configuration"/>6.3.3. The mail address configuration</h3>
              </div>
            </div>
          </div>
          <p>There are a few <a class="ulink" href="http://www.debian.org/doc/debian-policy/ch-customized-programs#s-mail-transport-agents">mail address configuration files for mail transport, delivery and user agents</a>.</p>
          <div class="table">
            <a id="listofmailaddresnfigurationfiles"/>
            <p class="title">
              <strong>Table 6.6. List of mail address related configuration files</strong>
            </p>
            <div class="table-contents">
              <table class="table" summary="List of mail address related configuration files" border="1">
                <colgroup>
                  <col style="text-align: left"/>
                  <col style="text-align: left"/>
                  <col style="text-align: left"/>
                </colgroup>
                <thead>
                  <tr>
                    <th style="text-align: left">
    file
    </th>
                    <th style="text-align: left">
    function
    </th>
                    <th style="text-align: left">
    application
    </th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">/etc/mailname</code>
                </td>
                    <td style="text-align: left">
    default host name for (outgoing) mail
    </td>
                    <td style="text-align: left">
    Debian specific, <span class="citerefentry"><span class="refentrytitle">mailname</span>(5)</span>
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">/etc/email-addresses</code>
                </td>
                    <td style="text-align: left">
    host name spoofing for outgoing mail
    </td>
                    <td style="text-align: left"><span class="citerefentry"><span class="refentrytitle">exim</span>(8)</span> specific, <span class="citerefentry"><span class="refentrytitle">exim4-config_files</span>(5)</span>
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">/etc/postfix/generic</code>
                </td>
                    <td style="text-align: left">
    host name spoofing for outgoing mail
    </td>
                    <td style="text-align: left"><span class="citerefentry"><span class="refentrytitle">postfix</span>(1)</span> specific, activated after <span class="citerefentry"><span class="refentrytitle">postmap</span>(1)</span> command execution.
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">/etc/aliases</code>
                </td>
                    <td style="text-align: left">
    account name alias for incoming mail
    </td>
                    <td style="text-align: left">
    general, activated after <span class="citerefentry"><span class="refentrytitle">newaliases</span>(1)</span> command execution.
    </td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
          <br class="table-break"/>
          <p>The <span class="strong"><strong>mailname</strong></span> in the "<code class="literal">/etc/mailname</code>" file is usually a fully qualified domain name (FQDN) that resolves to one of the host's IP addresses.  For the mobile workstation which does not have a hostname with resolvable IP address, set this <span class="strong"><strong>mailname</strong></span> to the value of "<code class="literal">hostname -f</code>". (This is safe choice and works for both <code class="literal">exim4-*</code> and <code class="literal">postfix</code>.)</p>
          <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Tip]" src="images/tip.png"/>
                </td>
                <th align="left">Tip</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>The contents of "<code class="literal">/etc/mailname</code>" is used by many non-MTA programs for their default behavior. For <code class="literal">mutt</code>, set "<code class="literal">hostname</code>" and "<code class="literal">from</code>" variables in <code class="literal">~/muttrc</code> file to override the <span class="strong"><strong>mailname</strong></span> value.  For programs in the <code class="literal">devscripts</code> package, such as <span class="citerefentry"><span class="refentrytitle">bts</span>(1)</span> and <span class="citerefentry"><span class="refentrytitle">dch</span>(1)</span>, export environment variables "<code class="literal">$DEBFULLNAME</code>" and "<code class="literal">$DEBEMAIL</code>" to override it.</p>
                </td>
              </tr>
            </table>
          </div>
          <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Tip]" src="images/tip.png"/>
                </td>
                <th align="left">Tip</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>The <code class="literal">popularity-contest</code> package normally send mail from root account with FQDN.  You need to set <code class="literal">MAILFROM</code> in <code class="literal">/etc/popularity-contest.conf</code> as described in the <code class="literal">/usr/share/popularity-contest/default.conf</code> file.  Otherwise, your mail will be rejected by the smarthost SMTP server. Although this is tedious, this approach is safer than rewriting the source address for all mails from root by MTA and should be used for other daemons and cron scripts.</p>
                </td>
              </tr>
            </table>
          </div>
          <p>When setting the <span class="strong"><strong>mailname</strong></span> to "<code class="literal">hostname -f</code>", the spoofing of the source mail address via MTA can be realized by the following.</p>
          <div class="itemizedlist">
            <ul class="itemizedlist">
              <li class="listitem">
                <p>
"<code class="literal">/etc/email-addresses</code>" file for <span class="citerefentry"><span class="refentrytitle">exim4</span>(8)</span> as explained in the <span class="citerefentry"><span class="refentrytitle">exim4-config_files</span>(5)</span>
</p>
              </li>
              <li class="listitem">
                <p>
"<code class="literal">/etc/postfix/generic</code>" file for <span class="citerefentry"><span class="refentrytitle">postfix</span>(1)</span> as explained in the <span class="citerefentry"><span class="refentrytitle">generic</span>(5)</span>
</p>
              </li>
            </ul>
          </div>
          <p>For <code class="literal">postfix</code>, the following extra steps are needed.</p>
          <pre class="screen"># postmap hash:/etc/postfix/generic
# postconf -e 'smtp_generic_maps = hash:/etc/postfix/generic'
# postfix reload</pre>
          <p>You can test mail address configuration using the following.</p>
          <div class="itemizedlist">
            <ul class="itemizedlist">
              <li class="listitem">
                <p><span class="citerefentry"><span class="refentrytitle">exim</span>(8)</span> with <code class="literal">-brw, -bf, -bF, -bV, …</code> options
</p>
              </li>
              <li class="listitem">
                <p><span class="citerefentry"><span class="refentrytitle">postmap</span>(1)</span> with <code class="literal">-q</code> option.
</p>
              </li>
            </ul>
          </div>
          <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Tip]" src="images/tip.png"/>
                </td>
                <th align="left">Tip</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>Exim comes with several utility programs such as <span class="citerefentry"><span class="refentrytitle">exiqgrep</span>(8)</span> and <span class="citerefentry"><span class="refentrytitle">exipick</span>(8)</span>.  See "<code class="literal">dpkg -L exim4-base|grep man8/</code>" for available commands.</p>
                </td>
              </tr>
            </table>
          </div>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_basic_mta_operations"/>6.3.4. Basic MTA operations</h3>
              </div>
            </div>
          </div>
          <p>There are several basic MTA operations.  Some may be performed via <span class="citerefentry"><span class="refentrytitle">sendmail</span>(1)</span> compatibility interface.</p>
          <div class="table">
            <a id="listofbasicmtaoperation"/>
            <p class="title">
              <strong>Table 6.7. List of basic MTA operation</strong>
            </p>
            <div class="table-contents">
              <table class="table" summary="List of basic MTA operation" border="1">
                <colgroup>
                  <col style="text-align: left"/>
                  <col style="text-align: left"/>
                  <col style="text-align: left"/>
                </colgroup>
                <thead>
                  <tr>
                    <th style="text-align: left">
    exim command
    </th>
                    <th style="text-align: left">
    postfix command
    </th>
                    <th style="text-align: left">
    description
    </th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">sendmail</code>
                </td>
                    <td style="text-align: left">
                  <code class="literal">sendmail</code>
                </td>
                    <td style="text-align: left">
    read mails from standard input and arrange for delivery (<code class="literal">-bm</code>)
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">mailq</code>
                </td>
                    <td style="text-align: left">
                  <code class="literal">mailq</code>
                </td>
                    <td style="text-align: left">
    list the mail queue with status and queue ID (<code class="literal">-bp</code>)
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">newaliases</code>
                </td>
                    <td style="text-align: left">
                  <code class="literal">newaliases</code>
                </td>
                    <td style="text-align: left">
    initialize alias database (<code class="literal">-I</code>)
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">exim4 -q</code>
                </td>
                    <td style="text-align: left">
                  <code class="literal">postqueue -f</code>
                </td>
                    <td style="text-align: left">
    flush waiting mails (<code class="literal">-q</code>)
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">exim4 -qf</code>
                </td>
                    <td style="text-align: left">
                  <code class="literal">postsuper -r ALL deferred; postqueue -f</code>
                </td>
                    <td style="text-align: left">
    flush all mails
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">exim4 -qff</code>
                </td>
                    <td style="text-align: left">
                  <code class="literal">postsuper -r ALL; postqueue -f</code>
                </td>
                    <td style="text-align: left">
    flush even frozen mails
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">exim4 -Mg queue_id</code>
                </td>
                    <td style="text-align: left">
                  <code class="literal">postsuper -h queue_id</code>
                </td>
                    <td style="text-align: left">
    freeze one message by its queue ID
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">exim4 -Mrm queue_id</code>
                </td>
                    <td style="text-align: left">
                  <code class="literal">postsuper -d queue_id</code>
                </td>
                    <td style="text-align: left">
    remove one message by its queue ID
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
    N/A
    </td>
                    <td style="text-align: left">
                  <code class="literal">postsuper -d ALL</code>
                </td>
                    <td style="text-align: left">
    remove all messages
    </td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
          <br class="table-break"/>
          <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Tip]" src="images/tip.png"/>
                </td>
                <th align="left">Tip</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>It may be a good idea to flush all mails by a script in "<code class="literal">/etc/ppp/ip-up.d/*</code>".</p>
                </td>
              </tr>
            </table>
          </div>
        </div>
      </div>
      <div class="section">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title"><a id="_mail_user_agent_mua"/>6.4. Mail user agent (MUA)</h2>
            </div>
          </div>
        </div>
        <p>If you subscribe to Debian related mailing list, it may be a good idea to use such MUA as <code class="literal">mutt</code> and <code class="literal">mew</code> which are the de facto standard for the participant and known to behave as expected.</p>
        <div class="table">
          <a id="listofmailuseragentmua"/>
          <p class="title">
            <strong>Table 6.8. List of mail user agent (MUA)</strong>
          </p>
          <div class="table-contents">
            <table class="table" summary="List of mail user agent (MUA)" border="1">
              <colgroup>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
              </colgroup>
              <thead>
                <tr>
                  <th style="text-align: left">
    package
    </th>
                  <th style="text-align: left">
    popcon
    </th>
                  <th style="text-align: left">
    size
    </th>
                  <th style="text-align: left">
    type
    </th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/evolution">
                <code class="literal">evolution</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=evolution">V:43, I:298</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/e/evolution.html">428</a>
                  </td>
                  <td style="text-align: left">
    X GUI program (GNOME3, groupware suite)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/icedove">
                <code class="literal">icedove</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=icedove">V:55, I:142</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/i/icedove.html">292</a>
                  </td>
                  <td style="text-align: left">
    X GUI program (GNOME2, <a class="ulink" href="http://en.wikipedia.org/wiki/Mozilla_Corporation_software_rebranded_by_the_Debian_project">unbranded</a> <a class="ulink" href="http://en.wikipedia.org/wiki/Mozilla_Thunderbird">Mozilla Thunderbird</a>)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/kmail">
                <code class="literal">kmail</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=kmail">V:43, I:98</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/k/kmail.html">6419</a>
                  </td>
                  <td style="text-align: left">
    X GUI program (KDE)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/mutt">
                <code class="literal">mutt</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=mutt">V:224, I:820</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/m/mutt.html">6163</a>
                  </td>
                  <td style="text-align: left">
    character terminal program probably used with <code class="literal">vim</code>
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/mew">
                <code class="literal">mew</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=mew">V:0, I:0</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/m/mew.html">2328</a>
                  </td>
                  <td style="text-align: left">
    character terminal program under <code class="literal">(x)emacs</code>
    </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <br class="table-break"/>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_basic_mua_mutt"/>6.4.1. Basic MUA — Mutt</h3>
              </div>
            </div>
          </div>
          <p>Customize "<code class="literal">~/.muttrc</code>" as the following to use <code class="literal">mutt</code> as the mail user agent (MUA) in combination with <code class="literal">vim</code>.</p>
          <pre class="screen">#
# User configuration file to override /etc/Muttrc
#
# spoof source mail address
set use_from
set hostname=example.dom
set from="Name Surname &lt;username@example.dom&gt;"
set signature="~/.signature"

# vim: "gq" to reformat quotes
set editor="vim -c 'set tw=72 et ft=mail'"

# "mutt" goes to Inbox, while "mutt -y" lists mailboxes
set mbox_type=Maildir           # use qmail Maildir format for creating mbox
set mbox=~/Mail                 # keep all mail boxes in $HOME/Mail/
set spoolfile=+Inbox            # mail delivered to $HOME/Mail/Inbox
set record=+Outbox              # save fcc mail to $HOME/Mail/Outbox
set postponed=+Postponed        # keep postponed in $HOME/Mail/postponed
set move=no                     # do not move Inbox items to mbox
set quit=ask-yes                # do not quit by "q" only
set delete=yes                  # always delete w/o asking while exiting
set fcc_clear                   # store fcc as non encrypted

# Mailboxes in Maildir (automatic update)
mailboxes `cd ~/Mail; /bin/ls -1|sed -e 's/^/+/' | tr "\n" " "`
unmailboxes Maillog *.ev-summary

## Default
#set index_format="%4C %Z %{%b %d} %-15.15L (%4l) %s"
## Thread index with senders (collapse)
set index_format="%4C %Z %{%b %d} %-15.15n %?M?(#%03M)&amp;(%4l)? %s"

## Default
#set folder_format="%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f"
## just folder names
set folder_format="%2C %t %N %f"</pre>
          <p>Add the following to "<code class="literal">/etc/mailcap</code>" or "<code class="literal">~/.mailcap</code>" to display HTML mail and MS Word attachments inline.</p>
          <pre class="screen">text/html; lynx -force_html %s; needsterminal;
application/msword; /usr/bin/antiword '%s'; copiousoutput; description="Microsoft Word Text"; nametemplate=%s.doc</pre>
          <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Tip]" src="images/tip.png"/>
                </td>
                <th align="left">Tip</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>Mutt can be used as the <a class="ulink" href="http://en.wikipedia.org/wiki/Internet_Message_Access_Protocol">IMAP</a> client and the mailbox format converter.  You can tag messages with "<code class="literal">t</code>", "<code class="literal">T</code>", etc.  These tagged messages can be copied with "<code class="literal">;C</code>" between different mailboxes and deleted with "<code class="literal">;d</code>" in one action.</p>
                </td>
              </tr>
            </table>
          </div>
        </div>
      </div>
      <div class="section">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title"><a id="_the_remote_mail_retrieval_and_forward_utility"/>6.5. The remote mail retrieval and forward utility</h2>
            </div>
          </div>
        </div>
        <p>Instead of running a MUA to access remote mails and to process them manually, you may wish to automate such process to have all the mails delivered to the local host.  The remote mail retrieval and forward utility is the tool for you.</p>
        <p>Although <span class="citerefentry"><span class="refentrytitle">fetchmail</span>(1)</span> has been de facto standard for the remote mail retrieval on GNU/Linux, the author likes <span class="citerefentry"><span class="refentrytitle">getmail</span>(1)</span> now.  If you want to reject mail before downloading to save bandwidth, <code class="literal">mailfilter</code> or <code class="literal">mpop</code> may be useful.  Whichever mail retriever utilities are used, it is a good idea to configure system to deliver retrieved mails to MDA, such as <code class="literal">maildrop</code>, via pipe.</p>
        <div class="table">
          <a id="listofremotemailforwardutilities"/>
          <p class="title">
            <strong>Table 6.9. List of remote mail retrieval and forward utilities</strong>
          </p>
          <div class="table-contents">
            <table class="table" summary="List of remote mail retrieval and forward utilities" border="1">
              <colgroup>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
              </colgroup>
              <thead>
                <tr>
                  <th style="text-align: left">
    package
    </th>
                  <th style="text-align: left">
    popcon
    </th>
                  <th style="text-align: left">
    size
    </th>
                  <th style="text-align: left">
    description
    </th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/fetchmail">
                <code class="literal">fetchmail</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=fetchmail">V:7, I:21</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/f/fetchmail.html">2343</a>
                  </td>
                  <td style="text-align: left">
    mail retriever (POP3, APOP, IMAP) (old)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/getmail4">
                <code class="literal">getmail4</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=getmail4">V:3, I:11</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/g/getmail4.html">637</a>
                  </td>
                  <td style="text-align: left">
    mail retriever (POP3, IMAP4, and SDPS) (simple, secure, and reliable)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/mailfilter">
                <code class="literal">mailfilter</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=mailfilter">V:0, I:0</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/m/mailfilter.html">274</a>
                  </td>
                  <td style="text-align: left">
    mail retriever (POP3) with with regex filtering capability
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/mpop">
                <code class="literal">mpop</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=mpop">V:0, I:0</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/m/mpop.html">222</a>
                  </td>
                  <td style="text-align: left">
    mail retriever (POP3) and MDA with filtering capability
    </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <br class="table-break"/>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_getmail_configuration"/>6.5.1. getmail configuration</h3>
              </div>
            </div>
          </div>
          <p><span class="citerefentry"><span class="refentrytitle">getmail</span>(1)</span> configuration is described in <a class="ulink" href="http://pyropus.ca/software/getmail/documentation.html">getmail documentation</a>. Here is my set up to access multiple POP3 accounts as user.</p>
          <p>Create "<code class="literal">/usr/local/bin/getmails</code>" as the following.</p>
          <pre class="screen">#!/bin/sh
set -e
if [ -f $HOME/.getmail/running ]; then
  echo "getmail is already running ... (if not, remove $HOME/.getmail/running)" &gt;&amp;2
  pgrep -l "getmai[l]"
  exit 1
else
  echo "getmail has not been running ... " &gt;&amp;2
fi
if [ -f $HOME/.getmail/stop ]; then
  echo "do not run getmail ... (if not, remove $HOME/.getmail/stop)" &gt;&amp;2
  exit
fi
if [ "x$1" = "x-l" ]; then
  exit
fi
rcfiles="/usr/bin/getmail"
for file in $HOME/.getmail/config/* ; do
  rcfiles="$rcfiles --rcfile $file"
done
date -u &gt; $HOME/.getmail/running
eval "$rcfiles $@"
rm $HOME/.getmail/running</pre>
          <p>Configure it as the following.</p>
          <pre class="screen">$ sudo chmod 755 /usr/local/bin/getmails
$ mkdir -m 0700 $HOME/.getmail
$ mkdir -m 0700 $HOME/.getmail/config
$ mkdir -m 0700 $HOME/.getmail/log</pre>
          <p>Create configuration files "<code class="literal">$HOME/.getmail/config/pop3_name</code>" for each POP3 accounts as the following.</p>
          <pre class="screen">[retriever]
type = SimplePOP3SSLRetriever
server = pop.example.com
username =  pop3_name@example.com
password = &lt;your-password&gt;

[destination]
type = MDA_external
path = /usr/bin/maildrop
unixfrom = True

[options]
verbose = 0
delete = True
delivered_to = False
message_log = ~/.getmail/log/pop3_name.log</pre>
          <p>Configure it as the following.</p>
          <pre class="screen">$ chmod 0600 $HOME/.getmail/config/*</pre>
          <p>Schedule "<code class="literal">/usr/local/bin/getmails</code>" to run every 15 minutes with <span class="citerefentry"><span class="refentrytitle">cron</span>(8)</span> by executing "<code class="literal">sudo crontab -e -u &lt;user_name&gt;</code>" and adding following to user's cron entry.</p>
          <pre class="screen">5,20,35,50 * * * * /usr/local/bin/getmails --quiet</pre>
          <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Tip]" src="images/tip.png"/>
                </td>
                <th align="left">Tip</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>Problems of POP3 access may not come from <code class="literal">getmail</code>. Some popular free POP3 services may be violating the POP3 protocol and their SPAM filter may not be perfect.  For example, they may delete messages just after receiving RETR command before receiving DELE command and may quarantined messages into Spam mailbox.  You should minimize damages by configuring them to archive accessed messages and not to delete them. See also <a class="ulink" href="http://mail.google.com/support/bin/answer.py?answer=13291&amp;topic=1555">"Some mail was not downloaded"</a>.</p>
                </td>
              </tr>
            </table>
          </div>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_fetchmail_configuration"/>6.5.2. fetchmail configuration</h3>
              </div>
            </div>
          </div>
          <p><span class="citerefentry"><span class="refentrytitle">fetchmail</span>(1)</span> configuration is set by "<code class="literal">/etc/default/fetchmail</code>", "<code class="literal">/etc/fetchmailrc</code>" and "<code class="literal">$HOME/.fetchmailrc</code>".  See its example in "<code class="literal">/usr/share/doc/fetchmail/examples/fetchmailrc.example</code>".</p>
        </div>
      </div>
      <div class="section">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title"><a id="_mail_delivery_agent_mda_with_filter"/>6.6. Mail delivery agent (MDA) with filter</h2>
            </div>
          </div>
        </div>
        <p>Most MTA programs, such as <code class="literal">postfix</code> and <code class="literal">exim4</code>, function as MDA (mail delivery agent). There are specialized MDA with filtering capabilities.</p>
        <p>Although <span class="citerefentry"><span class="refentrytitle">procmail</span>(1)</span> has been de facto standard for MDA with filter on GNU/Linux, author likes <span class="citerefentry"><span class="refentrytitle">maildrop</span>(1)</span> now.  Whichever filtering utilities are used, it is a good idea to configure system to deliver filtered mails to a <a class="ulink" href="http://en.wikipedia.org/wiki/Maildir">qmail-style Maildir</a>.</p>
        <div class="table">
          <a id="listofmdawithfilter"/>
          <p class="title">
            <strong>Table 6.10. List of MDA with filter</strong>
          </p>
          <div class="table-contents">
            <table class="table" summary="List of MDA with filter" border="1">
              <colgroup>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
              </colgroup>
              <thead>
                <tr>
                  <th style="text-align: left">
    package
    </th>
                  <th style="text-align: left">
    popcon
    </th>
                  <th style="text-align: left">
    size
    </th>
                  <th style="text-align: left">
    description
    </th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/procmail">
                <code class="literal">procmail</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=procmail">V:85, I:808</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/p/procmail.html">300</a>
                  </td>
                  <td style="text-align: left">
    MDA with filter (old)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/mailagent">
                <code class="literal">mailagent</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=mailagent">V:0, I:14</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/m/mailagent.html">1283</a>
                  </td>
                  <td style="text-align: left">
    MDA with Perl filter
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/maildrop">
                <code class="literal">maildrop</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=maildrop">V:1, I:3</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/m/maildrop.html">1091</a>
                  </td>
                  <td style="text-align: left">
    MDA with structured filtering language
    </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <br class="table-break"/>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_maildrop_configuration"/>6.6.1. maildrop configuration</h3>
              </div>
            </div>
          </div>
          <p><span class="citerefentry"><span class="refentrytitle">maildrop</span>(1)</span> configuration is described in <a class="ulink" href="http://www.courier-mta.org/maildrop/maildropfilter.html">maildropfilter documentation</a>.  Here is a configuration example for "<code class="literal">$HOME/.mailfilter</code>".</p>
          <pre class="screen"># Local configuration
MAILROOT="$HOME/Mail"
# set this to /etc/mailname contents
MAILHOST="example.dom"
logfile $HOME/.maildroplog

# rules are made to override the earlier value by the later one.

# mailing list mails ?
if (     /^Precedence:.*list/:h || /^Precedence:.*bulk/:h )
{
    # rules for mailing list mails
    # default mailbox for mails from mailing list
    MAILBOX="Inbox-list"
    # default mailbox for mails from debian.org
    if ( /^(Sender|Resent-From|Resent-Sender): .*debian.org/:h )
    {
        MAILBOX="service.debian.org"
    }
    # default mailbox for mails from bugs.debian.org (BTS)
    if ( /^(Sender|Resent-From|Resent-sender): .*@bugs.debian.org/:h )
    {
        MAILBOX="bugs.debian.org"
    }
    # mailbox for each properly maintained mailing list with "List-Id: foo" or "List-Id: ...&lt;foo.bar&gt;"
    if ( /^List-Id: ([^&lt;]*&lt;)?([^&lt;&gt;]*)&gt;?/:h )
    {
        MAILBOX="$MATCH2"
    }
}
else
{
    # rules for non-mailing list mails
    # default incoming box
    MAILBOX="Inbox-unusual"
    # local mails
    if ( /Envelope-to: .*@$MAILHOST/:h )
    {
        MAILBOX="Inbox-local"
    }
    # html mails (99% spams)
    if ( /DOCTYPE html/:b ||\
         /^Content-Type: text\/html/ )
    {
        MAILBOX="Inbox-html"
    }
    # blacklist rule for spams
    if ( /^X-Advertisement/:h ||\
         /^Subject:.*BUSINESS PROPOSAL/:h ||\
         /^Subject:.*URGENT.*ASISSTANCE/:h ||\
         /^Subject: *I NEED YOUR ASSISTANCE/:h )
    {
        MAILBOX="Inbox-trash"
    }
    # whitelist rule for normal mails
    if ( /^From: .*@debian.org/:h ||\
         /^(Sender|Resent-From|Resent-Sender): .*debian.org/:h ||\
         /^Subject: .*(debian|bug|PATCH)/:h )
    {
        MAILBOX="Inbox"
    }
    # whiltelist rule for BTS related mails
    if ( /^Subject: .*Bug#.*/:h ||\
         /^(To|Cc): .*@bugs.debian.org/:h )
    {
        MAILBOX="bugs.debian.org"
    }
    # whitelist rule for getmails cron mails
    if ( /^Subject: Cron .*getmails/:h )
    {
        MAILBOX="Inbox-getmails"
    }
}

# check existance of $MAILBOX
`test -d $MAILROOT/$MAILBOX`
if ( $RETURNCODE == 1 )
{
    # create maildir mailbox for $MAILBOX
    `maildirmake $MAILROOT/$MAILBOX`
}
# deliver to maildir $MAILBOX
to "$MAILROOT/$MAILBOX/"
exit</pre>
          <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Warning">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Warning]" src="images/warning.png"/>
                </td>
                <th align="left">Warning</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>Unlike <code class="literal">procmail</code>, <code class="literal">maildrop</code> does not create missing maildir directories automatically.  You must create them manually using <span class="citerefentry"><span class="refentrytitle">maildirmake</span>(1)</span> in advance as in the example "<code class="literal">$HOME/.mailfilter</code>".</p>
                </td>
              </tr>
            </table>
          </div>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_procmail_configuration"/>6.6.2. procmail configuration</h3>
              </div>
            </div>
          </div>
          <p>Here is a similar configuration with "<code class="literal">$HOME/.procmailrc</code>" for <span class="citerefentry"><span class="refentrytitle">procmail</span>(1)</span>.</p>
          <pre class="screen">MAILDIR=$HOME/Maildir
DEFAULT=$MAILDIR/Inbox/
LOGFILE=$MAILDIR/Maillog
# clearly bad looking mails: drop them into X-trash and exit
:0
* 1^0 ^X-Advertisement
* 1^0 ^Subject:.*BUSINESS PROPOSAL
* 1^0 ^Subject:.*URGENT.*ASISSTANCE
* 1^0 ^Subject: *I NEED YOUR ASSISTANCE
X-trash/

# Delivering mailinglist messages
:0
* 1^0 ^Precedence:.*list
* 1^0 ^Precedence:.*bulk
* 1^0 ^List-
* 1^0 ^X-Distribution:.*bulk
{
:0
* 1^0 ^Return-path:.*debian-devel-admin@debian.or.jp
jp-debian-devel/

:0
* ^Resent-Sender.*debian-user-request@lists.debian.org
debian-user/

:0
* ^Resent-Sender.*debian-devel-request@lists.debian.org
debian-devel/

:0
* ^Resent-Sender.*debian-announce-request@lists.debian.org
debian-announce

:0
mailing-list/
}

:0
Inbox/</pre>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_redeliver_mbox_contents"/>6.6.3. Redeliver mbox contents</h3>
              </div>
            </div>
          </div>
          <p>You need to manually deliver mails to the sorted mailboxes in your home directory from "<code class="literal">/var/mail/&lt;username&gt;</code>" if your home directory became full and <span class="citerefentry"><span class="refentrytitle">procmail</span>(1)</span> failed.  After making disk space in the home directory, run the following.</p>
          <pre class="screen"># /etc/init.d/${MAILDAEMON} stop
# formail -s procmail &lt;/var/mail/&lt;username&gt;
# /etc/init.d/${MAILDAEMON} start</pre>
        </div>
      </div>
      <div class="section">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title"><a id="_pop3_imap4_server"/>6.7. POP3/IMAP4 server</h2>
            </div>
          </div>
        </div>
        <p>If you are to run a private server on LAN, you may consider to run <a class="ulink" href="http://en.wikipedia.org/wiki/Post_Office_Protocol">POP3</a> / <a class="ulink" href="http://en.wikipedia.org/wiki/Internet_Message_Access_Protocol">IMAP4</a> server for delivering mail to LAN clients.</p>
        <div class="table">
          <a id="listofpopdimapeservers"/>
          <p class="title">
            <strong>Table 6.11. List of POP3/IMAP4 servers</strong>
          </p>
          <div class="table-contents">
            <table class="table" summary="List of POP3/IMAP4 servers" border="1">
              <colgroup>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
              </colgroup>
              <thead>
                <tr>
                  <th style="text-align: left">
    package
    </th>
                  <th style="text-align: left">
    popcon
    </th>
                  <th style="text-align: left">
    size
    </th>
                  <th style="text-align: left">
    type
    </th>
                  <th style="text-align: left">
    description
    </th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/courier-pop">
                <code class="literal">courier-pop</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=courier-pop">V:4, I:5</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/c/courier-pop.html">238</a>
                  </td>
                  <td style="text-align: left">
    POP3
    </td>
                  <td style="text-align: left">
    Courier mail server - POP3 server (maildir format only)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/cyrus-pop3d">
                <code class="literal">cyrus-pop3d</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=cyrus-pop3d">V:0, I:0</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/c/cyrus-pop3d.html">146</a>
                  </td>
                  <td style="text-align: left">
    POP3
    </td>
                  <td style="text-align: left">
    Cyrus mail system (POP3 support)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/courier-imap">
                <code class="literal">courier-imap</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=courier-imap">V:6, I:8</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/c/courier-imap.html">544</a>
                  </td>
                  <td style="text-align: left">
    IMAP
    </td>
                  <td style="text-align: left">
    Courier mail server - IMAP server (maildir format only)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/cyrus-imapd">
                <code class="literal">cyrus-imapd</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=cyrus-imapd">V:0, I:1</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/c/cyrus-imapd.html">331</a>
                  </td>
                  <td style="text-align: left">
    IMAP
    </td>
                  <td style="text-align: left">
    Cyrus mail system (IMAP support)
    </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <br class="table-break"/>
      </div>
      <div class="section">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title"><a id="_the_print_server_and_utilities"/>6.8. The print server and utilities</h2>
            </div>
          </div>
        </div>
        <p>In the old Unix-like system, the BSD <a class="ulink" href="http://en.wikipedia.org/wiki/Line_Printer_Daemon_protocol">Line printer daemon</a> was the standard.  Since the standard print out format of the free software is PostScript on the Unix like system, some filter system was used along with <a class="ulink" href="http://en.wikipedia.org/wiki/Ghostscript">Ghostscript</a> to enable printing to the non-PostScript printer.</p>
        <p>Recently, <a class="ulink" href="http://en.wikipedia.org/wiki/Common_Unix_Printing_System">Common UNIX Printing System</a> (CUPS) is the new de facto standard.  The CUPS uses <a class="ulink" href="http://en.wikipedia.org/wiki/Internet_Printing_Protocol">Internet Printing Protocol</a> (IPP). The IPP is now supported by other OSs such as Windows XP and Mac OS X and has became new cross-platform de facto standard for remote printing with bi-directional communication capability.</p>
        <p>The standard printable data format for the application on the Debian system is the <a class="ulink" href="http://en.wikipedia.org/wiki/PostScript">PostScript (PS)</a> which is a page description language.  The data in PS format is fed into the Ghostscript PostScript interpreter to produce the printable data specific to the printer.  See <a class="xref" href="ch11.en.html#_ghostscript" title="11.4.1. Ghostscript">Section 11.4.1, “Ghostscript”</a>.</p>
        <p>Thanks to the file format dependent auto-conversion feature of the CUPS system, simply feeding any data to the <code class="literal">lpr</code> command should generate the expected print output. (In CUPS, <code class="literal">lpr</code> can be enabled by installing the <code class="literal">cups-bsd</code> package.)</p>
        <p>The Debian system has some notable packages for the print servers and utilities.</p>
        <div class="table">
          <a id="listofprintserversandutilities"/>
          <p class="title">
            <strong>Table 6.12. List of print servers and utilities</strong>
          </p>
          <div class="table-contents">
            <table class="table" summary="List of print servers and utilities" border="1">
              <colgroup>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
              </colgroup>
              <thead>
                <tr>
                  <th style="text-align: left">
    package
    </th>
                  <th style="text-align: left">
    popcon
    </th>
                  <th style="text-align: left">
    size
    </th>
                  <th style="text-align: left">
    port
    </th>
                  <th style="text-align: left">
    description
    </th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/lpr">
                <code class="literal">lpr</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=lpr">V:8, I:10</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/l/lpr.html">324</a>
                  </td>
                  <td style="text-align: left">
    printer (515)
    </td>
                  <td style="text-align: left">
    BSD lpr/lpd (<a class="ulink" href="http://en.wikipedia.org/wiki/Line_Printer_Daemon_protocol">Line printer daemon</a>)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/lprng">
                <code class="literal">lprng</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=lprng">V:1, I:2</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/l/lprng.html">3852</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left">
    , , (Enhanced)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/cups">
                <code class="literal">cups</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=cups">V:217, I:451</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/c/cups.html">760</a>
                  </td>
                  <td style="text-align: left">
    IPP (631)
    </td>
                  <td style="text-align: left">
    Internet Printing CUPS server
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/cups-client">
                <code class="literal">cups-client</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=cups-client">V:80, I:500</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/c/cups-client.html">464</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/System_V_printing_system">System V printer commands</a> for CUPS: <span class="citerefentry"><span class="refentrytitle">lp</span>(1)</span>, <span class="citerefentry"><span class="refentrytitle">lpstat</span>(1)</span>, <span class="citerefentry"><span class="refentrytitle">lpoptions</span>(1)</span>, <span class="citerefentry"><span class="refentrytitle">cancel</span>(1)</span>, <span class="citerefentry"><span class="refentrytitle">lpmove</span>(8)</span>, <span class="citerefentry"><span class="refentrytitle">lpinfo</span>(8)</span>, <span class="citerefentry"><span class="refentrytitle">lpadmin</span>(8)</span>, …
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/cups-bsd">
                <code class="literal">cups-bsd</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=cups-bsd">V:42, I:423</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/c/cups-bsd.html">110</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Line_Printer_Daemon_protocol">BSD printer commands</a> for CUPS: <span class="citerefentry"><span class="refentrytitle">lpr</span>(1)</span>, <span class="citerefentry"><span class="refentrytitle">lpq</span>(1)</span>, <span class="citerefentry"><span class="refentrytitle">lprm</span>(1)</span>, <span class="citerefentry"><span class="refentrytitle">lpc</span>(8)</span>
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/printer-driver-gutenprint">
                <code class="literal">printer-driver-gutenprint</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=printer-driver-gutenprint">V:80, I:428</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/p/printer-driver-gutenprint.html">832</a>
                  </td>
                  <td style="text-align: left">
    Not applicable
    </td>
                  <td style="text-align: left">
    printer drivers for CUPS
    </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <br class="table-break"/>
        <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
          <table border="0" summary="Tip">
            <tr>
              <td rowspan="2" align="center" valign="top">
                <img alt="[Tip]" src="images/tip.png"/>
              </td>
              <th align="left">Tip</th>
            </tr>
            <tr>
              <td align="left" valign="top">
                <p>You can configure CUPS system by pointing your web browser to "<a class="ulink" href="http://localhost:631/">http://localhost:631/</a>" .</p>
              </td>
            </tr>
          </table>
        </div>
      </div>
      <div class="section">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title"><a id="_the_remote_access_server_and_utilities_ssh"/>6.9. The remote access server and utilities (SSH)</h2>
            </div>
          </div>
        </div>
        <p>The <a class="ulink" href="http://en.wikipedia.org/wiki/Secure_Shell">Secure SHell</a> (SSH) is the <span class="strong"><strong>secure</strong></span> way to connect over the Internet.  A free version of SSH called <a class="ulink" href="http://www.openssh.org/">OpenSSH</a> is available as <code class="literal">openssh-client</code> and <code class="literal">openssh-server</code> packages in Debian.</p>
        <div class="table">
          <a id="listofremoteaccerverandutilities"/>
          <p class="title">
            <strong>Table 6.13. List of remote access server and utilities</strong>
          </p>
          <div class="table-contents">
            <table class="table" summary="List of remote access server and utilities" border="1">
              <colgroup>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
              </colgroup>
              <thead>
                <tr>
                  <th style="text-align: left">
    package
    </th>
                  <th style="text-align: left">
    popcon
    </th>
                  <th style="text-align: left">
    size
    </th>
                  <th style="text-align: left">
    tool
    </th>
                  <th style="text-align: left">
    description
    </th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/openssh-client">
                <code class="literal">openssh-client</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=openssh-client">V:818, I:996</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/o/openssh-client.html">4106</a>
                  </td>
                  <td style="text-align: left"><span class="citerefentry"><span class="refentrytitle">ssh</span>(1)</span>
    </td>
                  <td style="text-align: left">
    Secure shell client
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/openssh-server">
                <code class="literal">openssh-server</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=openssh-server">V:677, I:807</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/o/openssh-server.html">883</a>
                  </td>
                  <td style="text-align: left"><span class="citerefentry"><span class="refentrytitle">sshd</span>(8)</span>
    </td>
                  <td style="text-align: left">
    Secure shell server
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/ssh-askpass-fullscreen">
                <code class="literal">ssh-askpass-fullscreen</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=ssh-askpass-fullscreen">V:0, I:1</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/s/ssh-askpass-fullscreen.html">42</a>
                  </td>
                  <td style="text-align: left"><span class="citerefentry"><span class="refentrytitle">ssh-askpass-fullscreen</span>(1)</span>
    </td>
                  <td style="text-align: left">
    asks user for a pass phrase for ssh-add (GNOME2)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/ssh-askpass">
                <code class="literal">ssh-askpass</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=ssh-askpass">V:3, I:44</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/s/ssh-askpass.html">102</a>
                  </td>
                  <td style="text-align: left"><span class="citerefentry"><span class="refentrytitle">ssh-askpass</span>(1)</span>
    </td>
                  <td style="text-align: left">
    asks user for a pass phrase for ssh-add (plain X)
    </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <br class="table-break"/>
        <div class="caution" style="margin-left: 0.5in; margin-right: 0.5in;">
          <table border="0" summary="Caution">
            <tr>
              <td rowspan="2" align="center" valign="top">
                <img alt="[Caution]" src="images/caution.png"/>
              </td>
              <th align="left">Caution</th>
            </tr>
            <tr>
              <td align="left" valign="top">
                <p>See <a class="xref" href="ch04.en.html#_extra_security_measures_for_the_internet" title="4.7.3. Extra security measures for the Internet">Section 4.7.3, “Extra security measures for the Internet”</a> if your SSH is accessible from the Internet.</p>
              </td>
            </tr>
          </table>
        </div>
        <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
          <table border="0" summary="Tip">
            <tr>
              <td rowspan="2" align="center" valign="top">
                <img alt="[Tip]" src="images/tip.png"/>
              </td>
              <th align="left">Tip</th>
            </tr>
            <tr>
              <td align="left" valign="top">
                <p>Please use the <span class="citerefentry"><span class="refentrytitle">screen</span>(1)</span> program to enable remote shell process to survive the interrupted connection (see <a class="xref" href="ch09.en.html#_the_screen_program" title="9.1. The screen program">Section 9.1, “The screen program”</a>).</p>
              </td>
            </tr>
          </table>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_basics_of_ssh"/>6.9.1. Basics of SSH</h3>
              </div>
            </div>
          </div>
          <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Warning">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Warning]" src="images/warning.png"/>
                </td>
                <th align="left">Warning</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>"<code class="literal">/etc/ssh/sshd_not_to_be_run</code>" must not be present if one wishes to run the OpenSSH server.</p>
                </td>
              </tr>
            </table>
          </div>
          <p>SSH has two authentication protocols.</p>
          <div class="table">
            <a id="listofsshauthenttocolsandmethods"/>
            <p class="title">
              <strong>Table 6.14. List of SSH authentication protocols and methods</strong>
            </p>
            <div class="table-contents">
              <table class="table" summary="List of SSH authentication protocols and methods" border="1">
                <colgroup>
                  <col style="text-align: left"/>
                  <col style="text-align: left"/>
                  <col style="text-align: left"/>
                </colgroup>
                <thead>
                  <tr>
                    <th style="text-align: left">
    SSH protocol
    </th>
                    <th style="text-align: left">
    SSH method
    </th>
                    <th style="text-align: left">
    description
    </th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td style="text-align: left">
    SSH-1
    </td>
                    <td style="text-align: left">
    "<code class="literal">RSAAuthentication</code>"
    </td>
                    <td style="text-align: left">
    RSA identity key based user authentication
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
    , ,
    </td>
                    <td style="text-align: left">
    "<code class="literal">RhostsAuthentication</code>"
    </td>
                    <td style="text-align: left">
    "<code class="literal">.rhosts</code>" based host authentication (insecure, disabled)
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
    , ,
    </td>
                    <td style="text-align: left">
    "<code class="literal">RhostsRSAAuthentication</code>"
    </td>
                    <td style="text-align: left">
    "<code class="literal">.rhosts</code>" based host authentication combined with RSA host key (disabled)
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
    , ,
    </td>
                    <td style="text-align: left">
    "<code class="literal">ChallengeResponseAuthentication</code>"
    </td>
                    <td style="text-align: left">
    RSA challenge-response authentication
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
    , ,
    </td>
                    <td style="text-align: left">
    "<code class="literal">PasswordAuthentication</code>"
    </td>
                    <td style="text-align: left">
    password based authentication
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
    SSH-2
    </td>
                    <td style="text-align: left">
    "<code class="literal">PubkeyAuthentication</code>"
    </td>
                    <td style="text-align: left">
    public key based user authentication
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
    , ,
    </td>
                    <td style="text-align: left">
    "<code class="literal">HostbasedAuthentication</code>"
    </td>
                    <td style="text-align: left">
    "<code class="literal">~/.rhosts</code>" or "<code class="literal">/etc/hosts.equiv</code>" based host authentication combined with public key client host authentication (disabled)
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
    , ,
    </td>
                    <td style="text-align: left">
    "<code class="literal">ChallengeResponseAuthentication</code>"
    </td>
                    <td style="text-align: left">
    challenge-response authentication
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
    , ,
    </td>
                    <td style="text-align: left">
    "<code class="literal">PasswordAuthentication</code>"
    </td>
                    <td style="text-align: left">
    password based authentication
    </td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
          <br class="table-break"/>
          <div class="caution" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Caution">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Caution]" src="images/caution.png"/>
                </td>
                <th align="left">Caution</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>Be careful about these differences if you are using a non-Debian system.</p>
                </td>
              </tr>
            </table>
          </div>
          <p>See "<code class="literal">/usr/share/doc/ssh/README.Debian.gz</code>", <span class="citerefentry"><span class="refentrytitle">ssh</span>(1)</span>, <span class="citerefentry"><span class="refentrytitle">sshd</span>(8)</span>, <span class="citerefentry"><span class="refentrytitle">ssh-agent</span>(1)</span>, and <span class="citerefentry"><span class="refentrytitle">ssh-keygen</span>(1)</span> for details.</p>
          <p>Following are the key configuration files.</p>
          <div class="table">
            <a id="listofsshconfigurationfiles"/>
            <p class="title">
              <strong>Table 6.15. List of SSH configuration files</strong>
            </p>
            <div class="table-contents">
              <table class="table" summary="List of SSH configuration files" border="1">
                <colgroup>
                  <col style="text-align: left"/>
                  <col style="text-align: left"/>
                </colgroup>
                <thead>
                  <tr>
                    <th style="text-align: left">
    configuration file
    </th>
                    <th style="text-align: left">
    description of configuration file
    </th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">/etc/ssh/ssh_config</code>
                </td>
                    <td style="text-align: left">
    SSH client defaults, see <span class="citerefentry"><span class="refentrytitle">ssh_config</span>(5)</span>
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">/etc/ssh/sshd_config</code>
                </td>
                    <td style="text-align: left">
    SSH server defaults, see <span class="citerefentry"><span class="refentrytitle">sshd_config</span>(5)</span>
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">~/.ssh/authorized_keys</code>
                </td>
                    <td style="text-align: left">
    default public SSH keys that clients use to connect to this account on this SSH server
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">~/.ssh/identity</code>
                </td>
                    <td style="text-align: left">
    secret SSH-1 RSA key of the user
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">~/.ssh/id_rsa</code>
                </td>
                    <td style="text-align: left">
    secret SSH-2 RSA key of the user
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">~/.ssh/id_dsa</code>
                </td>
                    <td style="text-align: left">
    secret SSH-2 DSA key of the user
    </td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
          <br class="table-break"/>
          <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Tip]" src="images/tip.png"/>
                </td>
                <th align="left">Tip</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>See <span class="citerefentry"><span class="refentrytitle">ssh-keygen</span>(1)</span>, <span class="citerefentry"><span class="refentrytitle">ssh-add</span>(1)</span> and <span class="citerefentry"><span class="refentrytitle">ssh-agent</span>(1)</span> for how to use public and secret SSH keys.</p>
                </td>
              </tr>
            </table>
          </div>
          <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Tip]" src="images/tip.png"/>
                </td>
                <th align="left">Tip</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>Make sure to verify settings by testing the connection.  In case of any problem, use "<code class="literal">ssh -v</code>".</p>
                </td>
              </tr>
            </table>
          </div>
          <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Tip]" src="images/tip.png"/>
                </td>
                <th align="left">Tip</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>You can change the pass phrase to encrypt local secret SSH keys later with "<code class="literal">ssh-keygen -p</code>".</p>
                </td>
              </tr>
            </table>
          </div>
          <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Tip]" src="images/tip.png"/>
                </td>
                <th align="left">Tip</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>You can add options to the entries in "<code class="literal">~/.ssh/authorized_keys</code>" to limit hosts and to run specific commands.  See <span class="citerefentry"><span class="refentrytitle">sshd</span>(8)</span> for details.</p>
                </td>
              </tr>
            </table>
          </div>
          <p>The following starts an <span class="citerefentry"><span class="refentrytitle">ssh</span>(1)</span> connection from a client.</p>
          <div class="table">
            <a id="listofsshclientstartupexamples"/>
            <p class="title">
              <strong>Table 6.16. List of SSH client startup examples</strong>
            </p>
            <div class="table-contents">
              <table class="table" summary="List of SSH client startup examples" border="1">
                <colgroup>
                  <col style="text-align: left"/>
                  <col style="text-align: left"/>
                </colgroup>
                <thead>
                  <tr>
                    <th style="text-align: left">
    command
    </th>
                    <th style="text-align: left">
    description
    </th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">ssh username@hostname.domain.ext</code>
                </td>
                    <td style="text-align: left">
    connect with default mode
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">ssh -v username@hostname.domain.ext</code>
                </td>
                    <td style="text-align: left">
    connect with default mode with debugging messages
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">ssh -1 username@hostname.domain.ext</code>
                </td>
                    <td style="text-align: left">
    force to connect with SSH version 1
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">ssh -1 -o RSAAuthentication=no -l username hostname.domain.ext</code>
                </td>
                    <td style="text-align: left">
    force to use password with SSH version 1
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
                  <code class="literal">ssh -o PreferredAuthentications=password -l username hostname.domain.ext</code>
                </td>
                    <td style="text-align: left">
    force to use password with SSH version 2
    </td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
          <br class="table-break"/>
          <p>If you use the same user name on the local and the remote host, you can eliminate typing "<code class="literal">username@</code>".  Even if you use different user name on the local and the remote host, you can eliminate it using "<code class="literal">~/.ssh/config</code>".  For <a class="ulink" href="http://alioth.debian.org/">Debian Alioth service</a> with account name "<code class="literal">foo-guest</code>", you set "<code class="literal">~/.ssh/config</code>" to contain the following.</p>
          <pre class="screen">Host alioth.debian.org svn.debian.org git.debian.org
    User foo-guest</pre>
          <p>For the user, <span class="citerefentry"><span class="refentrytitle">ssh</span>(1)</span> functions as a smarter and more secure <span class="citerefentry"><span class="refentrytitle">telnet</span>(1)</span>.  Unlike <code class="literal">telnet</code> command, <code class="literal">ssh</code> command does not stop on the <code class="literal">telnet</code> escape character (initial default CTRL-]).</p>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_port_forwarding_for_smtp_pop3_tunneling"/>6.9.2. Port forwarding for SMTP/POP3 tunneling</h3>
              </div>
            </div>
          </div>
          <p>To establish a pipe to connect to port 25 of <code class="literal">remote-server</code> from port 4025 of <code class="literal">localhost</code>, and to port 110 of <code class="literal">remote-server</code> from port 4110 of <code class="literal">localhost</code> through <code class="literal">ssh</code>, execute on the local host as the following.</p>
          <pre class="screen"># ssh -q -L 4025:remote-server:25 4110:remote-server:110 username@remote-server</pre>
          <p>This is a secure way to make connections to SMTP/POP3 servers over the Internet.  Set the "<code class="literal">AllowTcpForwarding</code>" entry to "<code class="literal">yes</code>" in "<code class="literal">/etc/ssh/sshd_config</code>" of the remote host.</p>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_connecting_without_remote_passwords"/>6.9.3. Connecting without remote passwords</h3>
              </div>
            </div>
          </div>
          <p>One can avoid having to remember passwords for remote systems by using "<code class="literal">RSAAuthentication</code>" (SSH-1 protocol) or "<code class="literal">PubkeyAuthentication</code>" (SSH-2 protocol).</p>
          <p>On the remote system, set the respective entries, "<code class="literal">RSAAuthentication yes</code>" or "<code class="literal">PubkeyAuthentication yes</code>", in "<code class="literal">/etc/ssh/sshd_config</code>".</p>
          <p>Generate authentication keys locally and install the public key on the remote system by the following.</p>
          <div class="itemizedlist">
            <ul class="itemizedlist">
              <li class="listitem">
                <p>
"<code class="literal">RSAAuthentication</code>": RSA key for SSH-1 (deprecated because it is superseded.)
</p>
              </li>
            </ul>
          </div>
          <pre class="screen">$ ssh-keygen
$ cat .ssh/identity.pub | ssh user1@remote "cat - &gt;&gt;.ssh/authorized_keys"</pre>
          <div class="itemizedlist">
            <ul class="itemizedlist">
              <li class="listitem">
                <p>
"<code class="literal">PubkeyAuthentication</code>": RSA key for SSH-2
</p>
              </li>
            </ul>
          </div>
          <pre class="screen">$ ssh-keygen -t rsa
$ cat .ssh/id_rsa.pub | ssh user1@remote "cat - &gt;&gt;.ssh/authorized_keys"</pre>
          <div class="itemizedlist">
            <ul class="itemizedlist">
              <li class="listitem">
                <p>
"<code class="literal">PubkeyAuthentication</code>": DSA key for SSH-2  (deprecated because it is slow.)
</p>
              </li>
            </ul>
          </div>
          <pre class="screen">$ ssh-keygen -t dsa
$ cat .ssh/id_dsa.pub | ssh user1@remote "cat - &gt;&gt;.ssh/authorized_keys"</pre>
          <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Tip]" src="images/tip.png"/>
                </td>
                <th align="left">Tip</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>Use of DSA key for SSH-2 is deprecated because key is smaller and slow. There are no more reasons to work around RSA patent using DSA since it has been expired.  DSA stands for <a class="ulink" href="http://en.wikipedia.org/wiki/Digital_Signature_Algorithm">Digital Signature Algorithm</a> and is slow. Also see <a class="ulink" href="http://www.debian.org/security/2008/dsa-1571">DSA-1571-1</a>.</p>
                </td>
              </tr>
            </table>
          </div>
          <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Note">
              <tr>
                <td rowspan="2" align="center" valign="top">
                  <img alt="[Note]" src="images/note.png"/>
                </td>
                <th align="left">Note</th>
              </tr>
              <tr>
                <td align="left" valign="top">
                  <p>For "<code class="literal">HostbasedAuthentication</code>" to work in SSH-2, you must adjust the settings of "<code class="literal">HostbasedAuthentication</code>" to "<code class="literal">yes</code>" in both "<code class="literal">/etc/ssh/sshd_config</code>" on the server host and "<code class="literal">/etc/ssh/ssh_config</code>" or "<code class="literal">~/.ssh/config</code>" on the client host.</p>
                </td>
              </tr>
            </table>
          </div>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_dealing_with_alien_ssh_clients"/>6.9.4. Dealing with alien SSH clients</h3>
              </div>
            </div>
          </div>
          <p>There are some free <a class="ulink" href="http://en.wikipedia.org/wiki/Secure_Shell">SSH</a> clients available for other platforms.</p>
          <div class="table">
            <a id="listoffreesshcliorotherplatforms"/>
            <p class="title">
              <strong>Table 6.17. List of free SSH clients for other platforms</strong>
            </p>
            <div class="table-contents">
              <table class="table" summary="List of free SSH clients for other platforms" border="1">
                <colgroup>
                  <col style="text-align: left"/>
                  <col style="text-align: left"/>
                </colgroup>
                <thead>
                  <tr>
                    <th style="text-align: left">
    environment
    </th>
                    <th style="text-align: left">
    free SSH program
    </th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td style="text-align: left">
    Windows
    </td>
                    <td style="text-align: left">
    puTTY (<a class="ulink" href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">http://www.chiark.greenend.org.uk/~sgtatham/putty/</a>) (GPL)
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
    Windows (cygwin)
    </td>
                    <td style="text-align: left">
    SSH in cygwin (<a class="ulink" href="http://www.cygwin.com/">http://www.cygwin.com/</a>) (GPL)
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
    Macintosh Classic
    </td>
                    <td style="text-align: left">
    macSSH (<a class="ulink" href="http://www.macssh.com/">http://www.macssh.com/</a>) (GPL)
    </td>
                  </tr>
                  <tr>
                    <td style="text-align: left">
    Mac OS X
    </td>
                    <td style="text-align: left">
    OpenSSH; use <code class="literal">ssh</code> in the Terminal application (GPL)
    </td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
          <br class="table-break"/>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_setting_up_ssh_agent"/>6.9.5. Setting up ssh-agent</h3>
              </div>
            </div>
          </div>
          <p>It is safer to protect your SSH authentication secret keys with a pass phrase.  If a pass phrase was not set, use "<code class="literal">ssh-keygen -p</code>" to set it.</p>
          <p>Place your public SSH key (e.g.  "<code class="literal">~/.ssh/id_rsa.pub</code>") into "<code class="literal">~/.ssh/authorized_keys</code>" on a remote host using a password-based connection to the remote host as described above.</p>
          <pre class="screen">$ ssh-agent bash
$ ssh-add ~/.ssh/id_rsa
Enter passphrase for /home/&lt;username&gt;/.ssh/id_rsa:
Identity added: /home/&lt;username&gt;/.ssh/id_rsa (/home/&lt;username&gt;/.ssh/id_rsa)</pre>
          <p>No remote password needed from here on for the next command.</p>
          <pre class="screen">$ scp foo &lt;username&gt;@remote.host:foo</pre>
          <p>Press ^D to terminating ssh-agent session.</p>
          <p>For the X server, the normal Debian startup script executes <code class="literal">ssh-agent</code> as the parent process.  So you only need to execute <code class="literal">ssh-add</code> once. For more, read <span class="citerefentry"><span class="refentrytitle">ssh-agent</span>(1)</span> and <span class="citerefentry"><span class="refentrytitle">ssh-add</span>(1)</span>.</p>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_how_to_shutdown_the_remote_system_on_ssh"/>6.9.6. How to shutdown the remote system on SSH</h3>
              </div>
            </div>
          </div>
          <p>You need to protect the process doing "<code class="literal">shutdown -h now</code>" (see <a class="xref" href="ch01.en.html#_how_to_shutdown_the_system" title="1.1.8. How to shutdown the system">Section 1.1.8, “How to shutdown the system”</a>) from the termination of SSH using the <span class="citerefentry"><span class="refentrytitle">at</span>(1)</span> command (see <a class="xref" href="ch09.en.html#_scheduling_tasks_once" title="9.3.13. Scheduling tasks once">Section 9.3.13, “Scheduling tasks once”</a>) by the following.</p>
          <pre class="screen"># echo "shutdown -h now" | at now</pre>
          <p>Running "<code class="literal">shutdown -h now</code>" in <span class="citerefentry"><span class="refentrytitle">screen</span>(1)</span> (see <a class="xref" href="ch09.en.html#_the_screen_program" title="9.1. The screen program">Section 9.1, “The screen program”</a>) session is another way to do the same.</p>
        </div>
        <div class="section">
          <div class="titlepage">
            <div>
              <div>
                <h3 class="title"><a id="_troubleshooting_ssh"/>6.9.7. Troubleshooting SSH</h3>
              </div>
            </div>
          </div>
          <p>If you have problems, check the permissions of configuration files and run <code class="literal">ssh</code> with the "<code class="literal">-v</code>" option.</p>
          <p>Use the "<code class="literal">-p</code>" option if you are root and have trouble with a firewall; this avoids the use of server ports 1 — 1023.</p>
          <p>If <code class="literal">ssh</code> connections to a remote site suddenly stop working, it may be the result of tinkering by the sysadmin, most likely a change in "<code class="literal">host_key</code>" during system maintenance.  After making sure this is the case and nobody is trying to fake the remote host by some clever hack, one can regain a connection by removing the "<code class="literal">host_key</code>" entry from "<code class="literal">~/.ssh/known_hosts</code>" on the local host.</p>
        </div>
      </div>
      <div class="section">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title"><a id="_other_network_application_servers"/>6.10. Other network application servers</h2>
            </div>
          </div>
        </div>
        <p>Here are other network application servers.</p>
        <div class="table">
          <a id="listofothernetwoplicationservers"/>
          <p class="title">
            <strong>Table 6.18. List of other network application servers</strong>
          </p>
          <div class="table-contents">
            <table class="table" summary="List of other network application servers" border="1">
              <colgroup>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
              </colgroup>
              <thead>
                <tr>
                  <th style="text-align: left">
    package
    </th>
                  <th style="text-align: left">
    popcon
    </th>
                  <th style="text-align: left">
    size
    </th>
                  <th style="text-align: left">
    protocol
    </th>
                  <th style="text-align: left">
    description
    </th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/telnetd">
                <code class="literal">telnetd</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=telnetd">V:1, I:3</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/t/telnetd.html">103</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/TELNET">TELNET</a>
              </td>
                  <td style="text-align: left">
    TELNET server
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/telnetd-ssl">
                <code class="literal">telnetd-ssl</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=telnetd-ssl">V:0, I:0</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/t/telnetd-ssl.html">154</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left">
    , , (SSL support)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/nfs-kernel-server">
                <code class="literal">nfs-kernel-server</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=nfs-kernel-server">V:28, I:95</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/n/nfs-kernel-server.html">326</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/Network_File_System_(protocol)">NFS</a>
              </td>
                  <td style="text-align: left">
    Unix file sharing
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/samba">
                <code class="literal">samba</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=samba">V:116, I:207</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/s/samba.html">10928</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/Server_Message_Block">SMB</a>
              </td>
                  <td style="text-align: left">
    Windows file and printer sharing
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/netatalk">
                <code class="literal">netatalk</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=netatalk">V:3, I:6</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/n/netatalk.html">3917</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/AppleTalk">ATP</a>
              </td>
                  <td style="text-align: left">
    Apple/Mac file and printer sharing (AppleTalk)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/proftpd-basic">
                <code class="literal">proftpd-basic</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=proftpd-basic">V:35, I:44</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/p/proftpd-basic.html">4431</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/File_Transfer_Protocol">FTP</a>
              </td>
                  <td style="text-align: left">
    General file download
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/apache2">
                <code class="literal">apache2</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=apache2">V:315, I:358</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/a/apache2.html">577</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">HTTP</a>
              </td>
                  <td style="text-align: left">
    General web server
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/squid">
                <code class="literal">squid</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=squid">V:11, I:14</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/s/squid.html">7093</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left">
    General web <a class="ulink" href="http://en.wikipedia.org/wiki/Proxy_server">proxy server</a>
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/squid3">
                <code class="literal">squid3</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=squid3">V:17, I:20</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/s/squid3.html">161</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left">
    , ,
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/slpd">
                <code class="literal">slpd</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=slpd">V:0, I:0</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/s/slpd.html">NOT_FOUND</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/Service_Location_Protocol">SLP</a>
              </td>
                  <td style="text-align: left"><a class="ulink" href="http://www.openslp.org/">OpenSLP</a> Server as <a class="ulink" href="http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol">LDAP</a> server
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/bind9">
                <code class="literal">bind9</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=bind9">V:56, I:86</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/b/bind9.html">1773</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/Domain_Name_System">DNS</a>
              </td>
                  <td style="text-align: left">
    IP address for other hosts
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/isc-dhcp-server">
                <code class="literal">isc-dhcp-server</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=isc-dhcp-server">V:25, I:63</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/i/isc-dhcp-server.html">1392</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol">DHCP</a>
              </td>
                  <td style="text-align: left">
    IP address of client itself
    </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <br class="table-break"/>
        <p>Common Internet File System Protocol (CIFS) is the same protocol as <a class="ulink" href="http://en.wikipedia.org/wiki/Server_Message_Block">Server Message Block (SMB)</a> and is used widely by Microsoft Windows.</p>
        <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
          <table border="0" summary="Tip">
            <tr>
              <td rowspan="2" align="center" valign="top">
                <img alt="[Tip]" src="images/tip.png"/>
              </td>
              <th align="left">Tip</th>
            </tr>
            <tr>
              <td align="left" valign="top">
                <p>See <a class="xref" href="ch04.en.html#_the_modern_centralized_system_management" title="4.5.2. The modern centralized system management">Section 4.5.2, “The modern centralized system management”</a> for integration of server systems.</p>
              </td>
            </tr>
          </table>
        </div>
        <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
          <table border="0" summary="Tip">
            <tr>
              <td rowspan="2" align="center" valign="top">
                <img alt="[Tip]" src="images/tip.png"/>
              </td>
              <th align="left">Tip</th>
            </tr>
            <tr>
              <td align="left" valign="top">
                <p>The hostname resolution is usually provided by the <a class="ulink" href="http://en.wikipedia.org/wiki/Domain_Name_System">DNS</a> server.  For the host IP address dynamically assigned by <a class="ulink" href="http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol">DHCP</a>, <a class="ulink" href="http://en.wikipedia.org/wiki/Dynamic_DNS">Dynamic DNS</a> can be set up for the hostname resolution using <code class="literal">bind9</code> and <code class="literal">isc-dhcp-server</code> as described in the <a class="ulink" href="http://wiki.debian.org/DDNS">DDNS page on the Debian wiki</a>.</p>
              </td>
            </tr>
          </table>
        </div>
        <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
          <table border="0" summary="Tip">
            <tr>
              <td rowspan="2" align="center" valign="top">
                <img alt="[Tip]" src="images/tip.png"/>
              </td>
              <th align="left">Tip</th>
            </tr>
            <tr>
              <td align="left" valign="top">
                <p>Use of proxy server such as <code class="literal">squid</code> is much more efficient for saving bandwidth than use of local mirror server with the full Debian archive contents.</p>
              </td>
            </tr>
          </table>
        </div>
      </div>
      <div class="section">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title"><a id="_other_network_application_clients"/>6.11. Other network application clients</h2>
            </div>
          </div>
        </div>
        <p>Here are other network application clients.</p>
        <div class="table">
          <a id="listofnetworkapplicationclients"/>
          <p class="title">
            <strong>Table 6.19. List of network application clients</strong>
          </p>
          <div class="table-contents">
            <table class="table" summary="List of network application clients" border="1">
              <colgroup>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
              </colgroup>
              <thead>
                <tr>
                  <th style="text-align: left">
    package
    </th>
                  <th style="text-align: left">
    popcon
    </th>
                  <th style="text-align: left">
    size
    </th>
                  <th style="text-align: left">
    protocol
    </th>
                  <th style="text-align: left">
    description
    </th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/netcat">
                <code class="literal">netcat</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=netcat">I:34</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/n/netcat.html">16</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/TCP/IP">TCP/IP</a>
              </td>
                  <td style="text-align: left">
    TCP/IP swiss army knife
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/openssl">
                <code class="literal">openssl</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=openssl">V:785, I:988</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/o/openssl.html">1255</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/Transport_Layer_Security">SSL</a>
              </td>
                  <td style="text-align: left">
    Secure Socket Layer (SSL) binary and related cryptographic tools
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/stunnel4">
                <code class="literal">stunnel4</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=stunnel4">V:4, I:20</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/s/stunnel4.html">456</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left">
    universal SSL Wrapper
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/telnet">
                <code class="literal">telnet</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=telnet">V:72, I:907</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/t/telnet.html">157</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/TELNET">TELNET</a>
              </td>
                  <td style="text-align: left">
    TELNET client
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/telnet-ssl">
                <code class="literal">telnet-ssl</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=telnet-ssl">V:1, I:6</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/t/telnet-ssl.html">208</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left">
    , , (SSL support)
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/nfs-common">
                <code class="literal">nfs-common</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=nfs-common">V:423, I:792</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/n/nfs-common.html">730</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/Network_File_System_(protocol)">NFS</a>
              </td>
                  <td style="text-align: left">
    Unix file sharing
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/smbclient">
                <code class="literal">smbclient</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=smbclient">V:21, I:239</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/s/smbclient.html">1460</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/Server_Message_Block">SMB</a>
              </td>
                  <td style="text-align: left">
    MS Windows file and printer sharing client
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/cifs-utils">
                <code class="literal">cifs-utils</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=cifs-utils">V:36, I:127</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/c/cifs-utils.html">230</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left">
    mount and umount commands for remote MS Windows file
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/ftp">
                <code class="literal">ftp</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=ftp">V:42, I:813</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/f/ftp.html">132</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/File_Transfer_Protocol">FTP</a>
              </td>
                  <td style="text-align: left">
    FTP client
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/lftp">
                <code class="literal">lftp</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=lftp">V:6, I:41</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/l/lftp.html">2188</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left">
    , ,
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/ncftp">
                <code class="literal">ncftp</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=ncftp">V:4, I:30</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/n/ncftp.html">1506</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left">
    full screen FTP client
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/wget">
                <code class="literal">wget</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=wget">V:313, I:998</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/w/wget.html">3053</a>
                  </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">HTTP</a> and <a class="ulink" href="http://en.wikipedia.org/wiki/File_Transfer_Protocol">FTP</a>
    </td>
                  <td style="text-align: left">
    web downloader
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/curl">
                <code class="literal">curl</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=curl">V:103, I:424</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/c/curl.html">346</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left">
    , ,
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/axel">
                <code class="literal">axel</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=axel">V:0, I:5</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/a/axel.html">153</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left">
    accelerated downloader
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/aria2">
                <code class="literal">aria2</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=aria2">V:2, I:15</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/a/aria2.html">4564</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left">
    accelerated downloader with <a class="ulink" href="http://en.wikipedia.org/wiki/BitTorrent_(protocol)">BitTorrent</a> and <a class="ulink" href="http://en.wikipedia.org/wiki/Metalink">Metalink</a> supports
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/bind9-host">
                <code class="literal">bind9-host</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=bind9-host">V:426, I:945</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/b/bind9-host.html">311</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/Domain_Name_System">DNS</a>
              </td>
                  <td style="text-align: left"><span class="citerefentry"><span class="refentrytitle">host</span>(1)</span> from bind9, "<code class="literal">Priority: standard</code>"
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/dnsutils">
                <code class="literal">dnsutils</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=dnsutils">V:80, I:876</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/d/dnsutils.html">518</a>
                  </td>
                  <td style="text-align: left">
    , ,
    </td>
                  <td style="text-align: left"><span class="citerefentry"><span class="refentrytitle">dig</span>(1)</span> from bind, "<code class="literal">Priority: standard</code>"
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/isc-dhcp-client">
                <code class="literal">isc-dhcp-client</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=isc-dhcp-client">V:406, I:963</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/i/isc-dhcp-client.html">649</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol">DHCP</a>
              </td>
                  <td style="text-align: left">
    obtain IP address
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.debian.org/sid/ldap-utils">
                <code class="literal">ldap-utils</code>
              </a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://qa.debian.org/popcon.php?package=ldap-utils">V:18, I:80</a>
                  </td>
                  <td style="text-align: left">
                    <a class="ulink" href="http://packages.qa.debian.org/l/ldap-utils.html">670</a>
                  </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol">LDAP</a>
              </td>
                  <td style="text-align: left">
    obtain data from LDAP server
    </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <br class="table-break"/>
      </div>
      <div class="section">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title"><a id="_the_diagnosis_of_the_system_daemons"/>6.12. The diagnosis of the system daemons</h2>
            </div>
          </div>
        </div>
        <p>The <code class="literal">telnet</code> program enables manual connection to the system daemons and its diagnosis.</p>
        <p>For testing plain <a class="ulink" href="http://en.wikipedia.org/wiki/Post_Office_Protocol">POP3</a> service, try the following</p>
        <pre class="screen">$ telnet mail.ispname.net pop3</pre>
        <p>For testing the <a class="ulink" href="http://en.wikipedia.org/wiki/Transport_Layer_Security">TLS</a>/SSL enabled <a class="ulink" href="http://en.wikipedia.org/wiki/Post_Office_Protocol">POP3</a> service by some ISPs, you need TLS/SSL enabled <code class="literal">telnet</code> client by the <code class="literal">telnet-ssl</code> or <code class="literal">openssl</code> packages.</p>
        <pre class="screen">$ telnet -z ssl pop.gmail.com 995</pre>
        <pre class="screen">$ openssl s_client -connect pop.gmail.com:995</pre>
        <p>The following <a class="ulink" href="http://www.ietf.org/rfc.html">RFCs</a> provide required knowledge to each system daemon.</p>
        <div class="table">
          <a id="listofpopularrfcs"/>
          <p class="title">
            <strong>Table 6.20. List of popular RFCs</strong>
          </p>
          <div class="table-contents">
            <table class="table" summary="List of popular RFCs" border="1">
              <colgroup>
                <col style="text-align: left"/>
                <col style="text-align: left"/>
              </colgroup>
              <thead>
                <tr>
                  <th style="text-align: left">
    RFC
    </th>
                  <th style="text-align: left">
    description
    </th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td style="text-align: left"><a class="ulink" href="http://tools.ietf.org/html/rfc1939">rfc1939</a> and <a class="ulink" href="http://tools.ietf.org/html/rfc2449">rfc2449</a>
    </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Post_Office_Protocol">POP3</a> service
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                <a class="ulink" href="http://tools.ietf.org/html/rfc3501">rfc3501</a>
              </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Internet_Message_Access_Protocol">IMAP4</a> service
    </td>
                </tr>
                <tr>
                  <td style="text-align: left"><a class="ulink" href="http://tools.ietf.org/html/rfc2821">rfc2821</a> (<a class="ulink" href="http://tools.ietf.org/html/rfc821">rfc821</a>)
    </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol">SMTP</a> service
    </td>
                </tr>
                <tr>
                  <td style="text-align: left"><a class="ulink" href="http://tools.ietf.org/html/rfc2822">rfc2822</a> (<a class="ulink" href="http://tools.ietf.org/html/rfc822">rfc822</a>)
    </td>
                  <td style="text-align: left">
    Mail file format
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                <a class="ulink" href="http://tools.ietf.org/html/rfc2045">rfc2045</a>
              </td>
                  <td style="text-align: left">
                <a class="ulink" href="http://en.wikipedia.org/wiki/MIME">Multipurpose Internet Mail Extensions (MIME)</a>
              </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                <a class="ulink" href="http://tools.ietf.org/html/rfc819">rfc819</a>
              </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Domain_Name_System">DNS</a> service
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                <a class="ulink" href="http://tools.ietf.org/html/rfc2616">rfc2616</a>
              </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">HTTP</a> service
    </td>
                </tr>
                <tr>
                  <td style="text-align: left">
                <a class="ulink" href="http://tools.ietf.org/html/rfc2396">rfc2396</a>
              </td>
                  <td style="text-align: left"><a class="ulink" href="http://en.wikipedia.org/wiki/Uniform_Resource_Identifier">URI</a> definition
    </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <br class="table-break"/>
        <p>The port usage is described in "<code class="literal">/etc/services</code>".</p>
      </div>
    </div>
    <div class="navfooter">
      <hr/>
      <table width="100%" summary="Navigation footer">
        <tr>
          <td align="left"><a accesskey="p" href="ch05.en.html"><img src="images/prev.png" alt="Prev"/></a> </td>
          <td align="center"> </td>
          <td align="right"> <a accesskey="n" href="ch07.en.html"><img src="images/next.png" alt="Next"/></a></td>
        </tr>
        <tr>
          <td align="left" valign="top">Chapter 5. Network setup </td>
          <td align="center">
            <a accesskey="h" href="index.en.html">
              <img src="images/home.png" alt="Home"/>
            </a>
          </td>
          <td align="right" valign="top"> Chapter 7. The X Window System</td>
        </tr>
      </table>
    </div>
  </body>
</html>