summaryrefslogtreecommitdiffstats
path: root/patches/ssmtp-2.61/generic/ssmtp_2.61-5.diff
blob: 31c0edb9bdb5a7634f4526e029c5407deecd4284 (plain)
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
--- ssmtp-2.61.orig/configure
+++ ssmtp-2.61/configure
@@ -743,7 +743,7 @@
   CFLAGS="$ac_save_CFLAGS"
 elif test $ac_cv_prog_cc_g = yes; then
   if test "$GCC" = yes; then
-    CFLAGS="-g -O2"
+    CFLAGS="-g -O2 -Wall"
   else
     CFLAGS="-g"
   fi
--- ssmtp-2.61.orig/ssmtp.conf
+++ ssmtp-2.61/ssmtp.conf
@@ -36,3 +36,8 @@
 
 # Use this RSA certificate.
 #TLSCert=/etc/ssl/certs/ssmtp.pem
+
+# Get enhanced (*really* enhanced) debugging information in the logs
+# If you want to have debugging of the config file parsing, move this option
+# to the top of the config file and uncomment
+#Debug=YES
--- ssmtp-2.61.orig/ssmtp.8
+++ ssmtp-2.61/ssmtp.8
@@ -1,4 +1,4 @@
-.TH SSMTP 8 "Last change: 5 February 2000"
+.TH SSMTP 8 "Last change: 4 February 2005"
 .SH NAME
 ssmtp, sendmail \- send a message using smtp
 .SH SYNOPSIS
@@ -103,7 +103,7 @@
 
 .TP
 \fB\-C\fP\fIfile\fP 
-(ignored) Use alternate configuration file.
+Use alternate configuration file.
 
 .TP
 \fB\-d\fP\fIX\fP
@@ -273,7 +273,7 @@
  /etc/ssmtp/revaliases - reverse aliases file
 
 .SH SEE ALSO
-RFC821, RFC822.
+RFC821, RFC822, ssmtp.conf(5).
 
 .SH AUTHORS
 Matt Ryan (mryan@debian.org)
--- ssmtp-2.61.orig/ssmtp.c
+++ ssmtp-2.61/ssmtp.c
@@ -37,7 +37,7 @@
 #include "md5auth/hmac_md5.h"
 #endif
 #include "ssmtp.h"
-
+#include <fcntl.h>
 
 bool_t have_date = False;
 bool_t have_from = False;
@@ -51,6 +51,7 @@
 bool_t use_tls = False;			/* Use SSL to transfer mail to HUB */
 bool_t use_starttls = False;		/* SSL only after STARTTLS (RFC2487) */
 bool_t use_cert = False;		/* Use a certificate to transfer SSL mail */
+bool_t use_oldauth = False;		/* use old AUTH LOGIN username style */
 
 #define ARPADATE_LENGTH 32		/* Current date in RFC format */
 char arpadate[ARPADATE_LENGTH];
@@ -68,6 +69,7 @@
 char *root = NULL;
 char *tls_cert = "/etc/ssl/certs/ssmtp.pem";	/* Default Certificate */
 char *uad = (char)NULL;
+char *config_file = (char)NULL;		/* alternate configuration file */
 
 headers_t headers, *ht;
 
@@ -93,6 +95,7 @@
 static char hextab[]="0123456789abcdef";
 #endif
 
+ssize_t outbytes;
 
 /*
 log_event() -- Write event to syslog (or log file if defined)
@@ -129,7 +132,7 @@
 #endif
 }
 
-void smtp_write(int fd, char *format, ...);
+ssize_t smtp_write(int fd, char *format, ...);
 int smtp_read(int fd, char *response);
 int smtp_read_all(int fd, char *response);
 int smtp_okay(int fd, char *response);
@@ -150,7 +153,7 @@
 	if(isatty(fileno(stdin))) {
 		if(log_level > 0) {
 			log_event(LOG_ERR,
-				"stdin is a TTY - not saving to %s/dead.letter, pw->pw_dir");
+				"stdin is a TTY - not saving to %s/dead.letter", pw->pw_dir);
 		}
 		return;
 	}
@@ -778,6 +781,36 @@
 
 		l = c;
 	}
+	if(in_header) {
+		if(l == '\n') {
+			switch(c) {
+				case ' ':
+				case '\t':
+						/* Must insert '\r' before '\n's embedded in header
+						   fields otherwise qmail won't accept our mail
+						   because a bare '\n' violates some RFC */
+						
+						*(q - 1) = '\r';	/* Replace previous \n with \r */
+						*q++ = '\n';		/* Insert \n */
+						len++;
+						
+						break;
+
+				case '\n':
+						in_header = False;
+
+				default:
+						*q = (char)NULL;
+						if((q = strrchr(p, '\n'))) {
+							*q = (char)NULL;
+						}
+						header_save(p);
+
+						q = p;
+						len = 0;
+			}
+		}
+	}
 	(void)free(p);
 }
 
@@ -789,7 +822,14 @@
 	char buf[(BUF_SZ + 1)], *p, *q, *r;
 	FILE *fp;
 
-	if((fp = fopen(CONFIGURATION_FILE, "r")) == NULL) {
+	if(config_file == (char *)NULL) {
+		config_file = strdup(CONFIGURATION_FILE);
+		if(config_file == (char *)NULL) {
+			die("parse_config() -- strdup() failed");
+		}
+	}
+
+	if((fp = fopen(config_file, "r")) == NULL) {
 		return(False);
 	}
 
@@ -964,6 +1004,31 @@
 					log_event(LOG_INFO, "Set AuthMethod=\"%s\"\n", auth_method);
 				}
 			}
+			else if(strcasecmp(p, "UseOldAUTH") == 0) {
+				if(strcasecmp(q, "YES") == 0) {
+					use_oldauth = True;
+				}
+				else {
+					use_oldauth = False;
+				}
+ 
+				if(log_level > 0) {
+					log_event(LOG_INFO,
+						"Set UseOldAUTH=\"%s\"\n",
+						use_oldauth ? "True" : "False");
+				}
+			}
+			else if (strcasecmp(p, "Debug") == 0)
+			{
+				if (strcasecmp(q, "YES") == 0)
+				{
+					log_level = 1;
+				}
+				else
+				{
+					log_level = 0;
+				}
+			}
 			else {
 				log_event(LOG_INFO, "Unable to set %s=\"%s\"\n", p, q);
 			}
@@ -1232,10 +1297,11 @@
 /*
 smtp_write() -- A printf to an fd and append <CR/LF>
 */
-void smtp_write(int fd, char *format, ...)
+ssize_t smtp_write(int fd, char *format, ...)
 {
 	char buf[(BUF_SZ + 1)];
 	va_list ap;
+	ssize_t outbytes = 0;
 
 	va_start(ap, format);
 	if(vsnprintf(buf, (BUF_SZ - 2), format, ap) == -1) {
@@ -1252,7 +1318,9 @@
 	}
 	(void)strcat(buf, "\r\n");
 
-	(void)fd_puts(fd, buf, strlen(buf));
+	outbytes = fd_puts(fd, buf, strlen(buf));
+	
+	return (outbytes >= 0) ? outbytes : 0;
 }
 
 /*
@@ -1281,6 +1349,9 @@
 	struct passwd *pw;
 	int i, sock;
 	uid_t uid;
+	int timeout = 0;
+
+	outbytes = 0;
 
 	uid = getuid();
 	if((pw = getpwuid(uid)) == (struct passwd *)NULL) {
@@ -1289,7 +1360,7 @@
 	get_arpadate(arpadate);
 
 	if(read_config() == False) {
-		log_event(LOG_INFO, "%s/ssmtp.conf not found", SSMTPCONFDIR);
+		log_event(LOG_INFO, "%s not found", config_file);
 	}
 
 	if((p = strtok(pw->pw_gecos, ";,"))) {
@@ -1335,10 +1406,10 @@
 
 	/* If user supplied username and password, then try ELHO */
 	if(auth_user) {
-		smtp_write(sock, "EHLO %s", hostname);
+		outbytes += smtp_write(sock, "EHLO %s", hostname);
 	}
 	else {
-		smtp_write(sock, "HELO %s", hostname);
+		outbytes += smtp_write(sock, "HELO %s", hostname);
 	}
 	(void)alarm((unsigned) MEDWAIT);
 
@@ -1353,8 +1424,8 @@
 			auth_pass = strdup("");
 		}
 
-		if(strcasecmp(auth_method, "cram-md5") == 0) {
-			smtp_write(sock, "AUTH CRAM-MD5");
+		if(auth_method && strcasecmp(auth_method, "cram-md5") == 0) {
+			outbytes += smtp_write(sock, "AUTH CRAM-MD5");
 			(void)alarm((unsigned) MEDWAIT);
 
 			if(smtp_read(sock, buf) != 3) {
@@ -1369,7 +1440,20 @@
 #endif
 		memset(buf, 0, sizeof(buf));
 		to64frombits(buf, auth_user, strlen(auth_user));
-		smtp_write(sock, "AUTH LOGIN %s", buf);
+		if (use_oldauth) {
+			outbytes += smtp_write(sock, "AUTH LOGIN %s", buf);
+		}
+		else {
+			outbytes += smtp_write(sock, "AUTH LOGIN");
+			(void)alarm((unsigned) MEDWAIT);
+			if(smtp_read(sock, buf) != 3) {
+				die("Server didn't like our AUTH LOGIN (%s)", buf);
+			}
+			/* we assume server asked us for Username */
+			memset(buf, 0, sizeof(buf));
+			to64frombits(buf, auth_user, strlen(auth_user));
+			outbytes += smtp_write(sock, buf);
+		}
 
 		(void)alarm((unsigned) MEDWAIT);
 		if(smtp_read(sock, buf) != 3) {
@@ -1381,7 +1465,7 @@
 #ifdef MD5AUTH
 		}
 #endif
-		smtp_write(sock, "%s", buf);
+		outbytes += smtp_write(sock, "%s", buf);
 		(void)alarm((unsigned) MEDWAIT);
 
 		if(smtp_okay(sock, buf) == False) {
@@ -1390,7 +1474,7 @@
 	}
 
 	/* Send "MAIL FROM:" line */
-	smtp_write(sock, "MAIL FROM:<%s>", uad);
+	outbytes += smtp_write(sock, "MAIL FROM:<%s>", uad);
 
 	(void)alarm((unsigned) MEDWAIT);
 
@@ -1408,7 +1492,7 @@
 
 		while(rt->next) {
 			p = rcpt_remap(rt->string);
-			smtp_write(sock, "RCPT TO:<%s>", p);
+			outbytes += smtp_write(sock, "RCPT TO:<%s>", p);
 
 			(void)alarm((unsigned)MEDWAIT);
 
@@ -1425,7 +1509,7 @@
 			while(p) {
 				/* RFC822 Address -> "foo@bar" */
 				q = rcpt_remap(addr_parse(p));
-				smtp_write(sock, "RCPT TO:<%s>", q);
+				outbytes += smtp_write(sock, "RCPT TO:<%s>", q);
 
 				(void)alarm((unsigned) MEDWAIT);
 
@@ -1439,7 +1523,7 @@
 	}
 
 	/* Send DATA */
-	smtp_write(sock, "DATA");
+	outbytes += smtp_write(sock, "DATA");
 	(void)alarm((unsigned) MEDWAIT);
 
 	if(smtp_read(sock, buf) != 3) {
@@ -1447,59 +1531,77 @@
 		die("%s", buf);
 	}
 
-	smtp_write(sock,
+	outbytes += smtp_write(sock,
 		"Received: by %s (sSMTP sendmail emulation); %s", hostname, arpadate);
 
 	if(have_from == False) {
-		smtp_write(sock, "From: %s", from);
+		outbytes += smtp_write(sock, "From: %s", from);
 	}
 
 	if(have_date == False) {
-		smtp_write(sock, "Date: %s", arpadate);
+		outbytes += smtp_write(sock, "Date: %s", arpadate);
 	}
 
 #ifdef HASTO_OPTION
 	if(have_to == False) {
-		smtp_write(sock, "To: postmaster");
+		outbytes += smtp_write(sock, "To: postmaster");
 	}
 #endif
 
 	ht = &headers;
 	while(ht->next) {
-		smtp_write(sock, "%s", ht->string);
+		outbytes += smtp_write(sock, "%s", ht->string);
 		ht = ht->next;
 	}
 
 	(void)alarm((unsigned) MEDWAIT);
 
 	/* End of headers, start body */
-	smtp_write(sock, "");
+	outbytes += smtp_write(sock, "");
 
-	while(fgets(buf, sizeof(buf), stdin)) {
+	/*prevent blocking on pipes, we really shouldnt be using
+	  stdio functions like fgets in the first place */
+	fcntl(STDIN_FILENO,F_SETFL,O_NONBLOCK);
+
+	/* don't hang forever when reading from stdin */
+	while(!feof(stdin) && timeout < MEDWAIT) {
+		if (!fgets(buf, sizeof(buf), stdin)) {
+			/* if nothing was received, then no transmission
+			 * over smtp should be done */
+			sleep(1);
+			timeout++;
+			continue;
+		}
 		/* Trim off \n, double leading .'s */
 		standardise(buf);
 
-		smtp_write(sock, "%s", buf);
+		outbytes += smtp_write(sock, "%s", buf);
 
 		(void)alarm((unsigned) MEDWAIT);
 	}
 	/* End of body */
 
-	smtp_write(sock, ".");
+	if (timeout >= MEDWAIT) {
+		log_event(LOG_ERR, "killed: timeout on stdin while reading body -- message saved to dead.letter.");
+		die("Timeout on stdin while reading body");
+	}
+
+	outbytes += smtp_write(sock, ".");
 	(void)alarm((unsigned) MAXWAIT);
 
 	if(smtp_okay(sock, buf) == 0) {
 		die("%s", buf);
 	}
 
-	/* Close conection */
+	/* Close connection */
 	(void)signal(SIGALRM, SIG_IGN);
 
-	smtp_write(sock, "QUIT");
+	outbytes += smtp_write(sock, "QUIT");
 	(void)smtp_okay(sock, buf);
 	(void)close(sock);
 
-	log_event(LOG_INFO, "Sent mail for %s (%s)", from_strip(uad), buf);
+	log_event(LOG_INFO, "Sent mail for %s (%s) uid=%d username=%s outbytes=%d", 
+		from_strip(uad), buf, uid, pw->pw_name, outbytes);
 
 	return(0);
 }
@@ -1640,6 +1742,19 @@
 
 			/* Configfile name */
 			case 'C':
+				if((!argv[i][(j + 1)]) && argv[(i + 1)]) {
+					config_file = strdup(argv[(i + 1)]);
+					if(config_file == (char *)NULL) {
+						die("parse_options() -- strdup() failed");
+					}
+					add++;
+				}
+				else {
+					config_file = strdup(argv[i]+j+1);
+					if(config_file == (char *)NULL) {
+						die("parse_options() -- strdup() failed");
+					}
+				}
 				goto exit;
 
 			/* Debug */
--- ssmtp-2.61.orig/Makefile.in
+++ ssmtp-2.61/Makefile.in
@@ -36,7 +36,7 @@
 -DREVALIASES_FILE=\"$(REVALIASES_FILE)\" \
 
 
-CFLAGS=-Wall @DEFS@ $(EXTRADEFS) @CFLAGS@
+CFLAGS=@DEFS@ $(EXTRADEFS) @CFLAGS@
 
 .PHONY: all
 all: ssmtp
@@ -79,7 +79,7 @@
 
 # Binaries:
 ssmtp: $(OBJS)
-	$(CC) -o ssmtp $(OBJS) @LIBS@
+	$(CC) -o ssmtp $(OBJS) @LIBS@ $(CFLAGS)
 
 .PHONY: clean
 clean:
--- ssmtp-2.61.orig/configure.in
+++ ssmtp-2.61/configure.in
@@ -24,8 +24,8 @@
 AC_STRUCT_TM
 
 dnl Checks for libraries.
-AC_CHECK_LIB(nsl, gethostname)
-AC_CHECK_LIB(socket, socket)
+AC_SEARCH_LIBS(gethostname, nsl)
+AC_SEARCH_LIBS(socket, socket)
 
 dnl Checks for library functions.
 AC_TYPE_SIGNAL
--- ssmtp-2.61.orig/ssmtp.h
+++ ssmtp-2.61/ssmtp.h
@@ -22,6 +22,12 @@
 #define MAXARGS  _POSIX_ARG_MAX
 #endif
 
+/* ssmtp assumes MAXHOSTNAMELEN is alwyas in sys/param.h this is
+   not always the case (System V/Solaris) */
+#ifndef MAXHOSTNAMELEN
+#define MAXHOSTNAMELEN 256
+#endif
+
 typedef enum {False, True} bool_t;
 
 struct string_list {
--- ssmtp-2.61.orig/debian/po/templates.pot
+++ ssmtp-2.61/debian/po/templates.pot
@@ -0,0 +1,145 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-07-23 16:09+1000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid "Automatically overwrite config files?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid ""
+"The mail configuration file /etc/ssmtp/ssmtp.conf can be automatically "
+"updated on each upgrade with the information supplied to the debconf "
+"database. If you do not want this to happen (ie/ you want to maintain "
+"control of this file yourself) then set this option to have the program "
+"never touch this file."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:14
+msgid "Who gets mail for userids < 1000?"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:14
+msgid ""
+"Mail sent to a local user whose UID is less than 1000 will instead be sent "
+"here. This is useful for daemons which mail reports to root and other system "
+"UIDs. Make this empty to disable rewriting."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:23
+msgid "Name of your mailhub?"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:23
+msgid ""
+"This sets the host to which mail is delivered. The actual machine name is "
+"required; no MX records are consulted. Commonly, mailhosts are named \"mail."
+"domain.com\"."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:31
+msgid "Remote SMTP port number"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:31
+msgid ""
+"If your remote SMTP server listens on a port other than 25 (Standard/RFC) "
+"then set it here."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:37
+msgid "What domain to masquerade as?"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:37
+msgid ""
+"ssmtp will use \"username@REWRITEDOMAIN\" as the default From: address for "
+"outgoing mail which contains only a local username."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:43
+msgid "What name to store in /etc/mailname"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:43
+msgid ""
+"This is the portion of the address after the '@' sign to be shown on "
+"outgoing news and mail messages."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:49
+msgid "Fully qualified hostname?"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:49
+msgid ""
+"This should specify the real hostname of this machine, and will be sent to "
+"the mailhub when delivering mail."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:56
+msgid "Allow override of From: line in email header?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:56
+msgid ""
+"A \"positive\" response will permit local users to enter any From: line in "
+"their messages without it being mangled, and cause ssmtp to rewrite the "
+"envelope header with that address. A \"negative\" response will disallow "
+"this, and use only the default address or addresses set in /etc/ssmtp/"
+"revaliases."
+msgstr ""
--- ssmtp-2.61.orig/debian/po/de.po
+++ ssmtp-2.61/debian/po/de.po
@@ -0,0 +1,171 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans#
+#    Developers do not need to manually edit POT or PO files.
+# Erik Schanze <mail@erikschanze.de>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ssmtp_2.61-1_de\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-07-23 16:09+1000\n"
+"PO-Revision-Date: 2004-11-14 16:32+0100\n"
+"Last-Translator: Erik Schanze <mail@erikschanze.de>\n"
+"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+"Plural-Forms:  nplurals=2; plural=(n != 1);\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid "Automatically overwrite config files?"
+msgstr "Konfigurationsdateien automatisch überschreiben?"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid ""
+"The mail configuration file /etc/ssmtp/ssmtp.conf can be automatically "
+"updated on each upgrade with the information supplied to the debconf "
+"database. If you do not want this to happen (ie/ you want to maintain "
+"control of this file yourself) then set this option to have the program "
+"never touch this file."
+msgstr ""
+"Die Konfigurationsdatei /etc/ssmtp/ssmtp.conf kann bei jeder Aktualisierung "
+"automatisch erneuert werden. Wenn Sie das nicht möchten (z.B. weil Sie "
+"diese Datei selbst anpassen wollen), dann sollten Sie diese Option nicht "
+"wählen."
+
+#. Type: string
+#. Description
+#: ../templates:14
+msgid "Who gets mail for userids < 1000?"
+msgstr "Wer erhält E-Mails für Benutzer-IDs < 1000?"
+
+#. Type: string
+#. Description
+#: ../templates:14
+msgid ""
+"Mail sent to a local user whose UID is less than 1000 will instead be sent "
+"here. This is useful for daemons which mail reports to root and other system "
+"UIDs. Make this empty to disable rewriting."
+msgstr ""
+"E-Mails für lokale Benutzer mit einer UID kleiner 1000 können an einen anderen "
+"Benutzer umgeleitet werden. Dies ist nützlich bei Diensten, die Reports an "
+"den Benutzer root oder andere System-Benutzer senden. Wenn das Feld leer "
+"bleibt, wird nichts umgeleitet."
+
+#. Type: string
+#. Description
+#: ../templates:23
+msgid "Name of your mailhub?"
+msgstr "Name Ihres Mailhubs?"
+
+#. Type: string
+#. Description
+#: ../templates:23
+msgid ""
+"This sets the host to which mail is delivered. The actual machine name is "
+"required; no MX records are consulted. Commonly, mailhosts are named \"mail."
+"domain.com\"."
+msgstr ""
+"Dies ist die Maschine, zu der E-Mails geliefert werden. Es wird der komplette "
+"Name benötigt. MX-Einträge werden nicht beachtet. Normalerweise ist dies ein "
+"Rechner mit dem Namen \"mail.domain.com\"."
+
+#. Type: string
+#. Description
+#: ../templates:31
+msgid "Remote SMTP port number"
+msgstr "Ferner SMTP-Port:"
+
+#. Type: string
+#. Description
+#: ../templates:31
+msgid ""
+"If your remote SMTP server listens on a port other than 25 (Standard/RFC) "
+"then set it here."
+msgstr ""
+"Wenn der ferne SMTP-Server auf einem anderen als dem Standard-SMTP-Port 25 "
+"(Standard/RFC) läuft, dann geben Sie den Port hier an."
+
+#. Type: string
+#. Description
+#: ../templates:37
+msgid "What domain to masquerade as?"
+msgstr "Als welche Domain maskieren?"
+
+#. Type: string
+#. Description
+#: ../templates:37
+msgid ""
+"ssmtp will use \"username@REWRITEDOMAIN\" as the default From: address for "
+"outgoing mail which contains only a local username."
+msgstr ""
+"Ssmtp benutzt das Schema \"Benutzername@REWRITEDOMAIN\" in der Absenderzeile "
+"für ausgehende E-Mails, die nur einen lokalen Benutzernamen als Absender "
+"enthalten."
+
+#. Type: string
+#. Description
+#: ../templates:43
+msgid "What name to store in /etc/mailname"
+msgstr "Welchen Namen in der Datei /etc/mailname speichern?"
+
+#. Type: string
+#. Description
+#: ../templates:43
+msgid ""
+"This is the portion of the address after the '@' sign to be shown on "
+"outgoing news and mail messages."
+msgstr ""
+"Dies ist der Teil der Adresse nach dem '@', der für alle ausgehenden E-Mails "
+"und News verwendet wird."
+
+#. Type: string
+#. Description
+#: ../templates:49
+msgid "Fully qualified hostname?"
+msgstr "Vollständiger Hostname?"
+
+#. Type: string
+#. Description
+#: ../templates:49
+msgid ""
+"This should specify the real hostname of this machine, and will be sent to "
+"the mailhub when delivering mail."
+msgstr ""
+"Dies sollte der richtige Hostname Ihrer Maschine sein. Er wird beim Senden der "
+"E-Mail an den Mailhub übermittelt."
+
+#. Type: boolean
+#. Description
+#: ../templates:56
+msgid "Allow override of From: line in email header?"
+msgstr "Überschreiben der From:-Zeile erlauben?"
+
+#. Type: boolean
+#. Description
+#: ../templates:56
+msgid ""
+"A \"positive\" response will permit local users to enter any From: line in "
+"their messages without it being mangled, and cause ssmtp to rewrite the "
+"envelope header with that address. A \"negative\" response will disallow "
+"this, and use only the default address or addresses set in /etc/ssmtp/"
+"revaliases."
+msgstr ""
+"Wenn Sie zustimmen, wird lokalen Benutzern erlaubt, jede From:-Zeile "
+"in ausgehenden Nachrichten zu verwenden, ohne das sie verändert wird und ssmtp "
+"wird auch die Envelope-Kopfzeile mit dieser Adresse überschreiben. "
+"Wenn Sie ablehnen, verhindern Sie dies und lassen nur die Standard-Adresse "
+"oder eine aus der Datei /etc/ssmtp/revaliases zu."
+
--- ssmtp-2.61.orig/debian/po/cs.po
+++ ssmtp-2.61/debian/po/cs.po
@@ -0,0 +1,166 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ssmtp\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-07-23 16:09+1000\n"
+"PO-Revision-Date: 2004-12-31 16:22+0100\n"
+"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
+"Language-Team: Czech <provoz@debian.cz>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid "Automatically overwrite config files?"
+msgstr "Automaticky pepsat konfiguran soubory?"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid ""
+"The mail configuration file /etc/ssmtp/ssmtp.conf can be automatically "
+"updated on each upgrade with the information supplied to the debconf "
+"database. If you do not want this to happen (ie/ you want to maintain "
+"control of this file yourself) then set this option to have the program "
+"never touch this file."
+msgstr ""
+"Konfiguran soubor /etc/ssmtp/ssmtp.conf me bt automaticky aktualizovn "
+"informacemi zadanmi v databzi debconfu. Pokud nechcete, aby se tak dlo "
+"(tj. chcete soubor spravovat sami), odpovzdte zde, e nechcete, aby systm "
+"aktualizoval konfiguran soubor."
+
+#. Type: string
+#. Description
+#: ../templates:14
+msgid "Who gets mail for userids < 1000?"
+msgstr "Kdo bude dostvat potu pro uivatele s uid < 1000?"
+
+#. Type: string
+#. Description
+#: ../templates:14
+msgid ""
+"Mail sent to a local user whose UID is less than 1000 will instead be sent "
+"here. This is useful for daemons which mail reports to root and other system "
+"UIDs. Make this empty to disable rewriting."
+msgstr ""
+"Pota zaslan uivateli s UID menm ne 1000 skon prv zde. To je "
+"uiten pro daemony, kter poslaj emaily rootovi a jinm systmovm "
+"uivatelm. Pokud ponechte przdn, zakete pepisovn."
+
+#. Type: string
+#. Description
+#: ../templates:23
+msgid "Name of your mailhub?"
+msgstr "Jmno potovn centrly?"
+
+#. Type: string
+#. Description
+#: ../templates:23
+msgid ""
+"This sets the host to which mail is delivered. The actual machine name is "
+"required; no MX records are consulted. Commonly, mailhosts are named \"mail."
+"domain.com\"."
+msgstr ""
+"Tmto nastavte pota, ktermu se bude pota doruovat. Je vyadovno "
+"konkrtn jmno potae, MX zznamy nejsou konzultovny. Obvykl potovn "
+"jmna pota bvaj \"mail.domena.cz\"."
+
+#. Type: string
+#. Description
+#: ../templates:31
+msgid "Remote SMTP port number"
+msgstr "slo vzdlenho SMTP portu"
+
+#. Type: string
+#. Description
+#: ../templates:31
+msgid ""
+"If your remote SMTP server listens on a port other than 25 (Standard/RFC) "
+"then set it here."
+msgstr ""
+"Pokud v vzdlen SMTP server poslouch na jinm portu ne 25 (dle RFC), "
+"zadejte jej zde."
+
+#. Type: string
+#. Description
+#: ../templates:37
+msgid "What domain to masquerade as?"
+msgstr "Tvit se jako kter domna?"
+
+#. Type: string
+#. Description
+#: ../templates:37
+msgid ""
+"ssmtp will use \"username@REWRITEDOMAIN\" as the default From: address for "
+"outgoing mail which contains only a local username."
+msgstr ""
+"Pro odchoz potu, kter obsahuje v hlavice From: pouze mstn jmno "
+"uivatele, pepe ssmtp hlaviku do podoby \"uzivatel@PREPSANADOMENA\"."
+
+#. Type: string
+#. Description
+#: ../templates:43
+msgid "What name to store in /etc/mailname"
+msgstr "Jak jmno uloit do /etc/mailname?"
+
+#. Type: string
+#. Description
+#: ../templates:43
+msgid ""
+"This is the portion of the address after the '@' sign to be shown on "
+"outgoing news and mail messages."
+msgstr ""
+"Toto je st adresy za znakem '@', kter se bude objevovat na odchoz "
+"pot a news pspvcch."
+
+#. Type: string
+#. Description
+#: ../templates:49
+msgid "Fully qualified hostname?"
+msgstr "Pln kvalifikovan domnov jmno?"
+
+#. Type: string
+#. Description
+#: ../templates:49
+msgid ""
+"This should specify the real hostname of this machine, and will be sent to "
+"the mailhub when delivering mail."
+msgstr ""
+"Zde byste mli zadat opravdov jmno tohoto potae. Pi doruovn poty "
+"se toto jmno zale va potovn centrle."
+
+#. Type: boolean
+#. Description
+#: ../templates:56
+msgid "Allow override of From: line in email header?"
+msgstr "Povolit pepisovn pole From: v hlavikch email?"
+
+#. Type: boolean
+#. Description
+#: ../templates:56
+msgid ""
+"A \"positive\" response will permit local users to enter any From: line in "
+"their messages without it being mangled, and cause ssmtp to rewrite the "
+"envelope header with that address. A \"negative\" response will disallow "
+"this, and use only the default address or addresses set in /etc/ssmtp/"
+"revaliases."
+msgstr ""
+"Odpovte-li kladn, povolte loklnm uivatelm zadat do jejich zprv "
+"libovoln pole From:. Toto pole nebude nijak zmnno a ssmtp touto adresou "
+"pepe hlaviku oblky. Zpornou odpovd toto zakete a pouije se "
+"pouze adresa (nebo adresy) z /etc/ssmtp/revaliases."
--- ssmtp-2.61.orig/debian/po/fr.po
+++ ssmtp-2.61/debian/po/fr.po
@@ -0,0 +1,172 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: 2.60.3\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-07-23 16:09+1000\n"
+"PO-Revision-Date: 2004-08-16 13:23+0200\n"
+"Last-Translator: Michel Grentzinger <mic.grentz@online.fr>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid "Automatically overwrite config files?"
+msgstr "Reconstituer automatiquement les fichiers de configuration?"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid ""
+"The mail configuration file /etc/ssmtp/ssmtp.conf can be automatically "
+"updated on each upgrade with the information supplied to the debconf "
+"database. If you do not want this to happen (ie/ you want to maintain "
+"control of this file yourself) then set this option to have the program "
+"never touch this file."
+msgstr ""
+"Le fichier de configuration du courriel (/etc/ssmtp/ssmtp.conf) peut tre "
+"automatiquement adapt  chaque mise  niveau d'aprs les "
+"informations fournies dans la base de donnes de debconf. Si vous ne voulez "
+"pas que cela arrive (c.--d. que vous souhaitez gardez le contrle de ce "
+"fichier), rpondez ngativement  cette question afin que le programme ne "
+"modifie jamais ce fichier."
+
+#. Type: string
+#. Description
+#: ../templates:14
+msgid "Who gets mail for userids < 1000?"
+msgstr ""
+"Destinataire des courriels pour les utilisateurs dont l'UID est infrieur "
+" 1000:"
+
+#. Type: string
+#. Description
+#: ../templates:14
+msgid ""
+"Mail sent to a local user whose UID is less than 1000 will instead be sent "
+"here. This is useful for daemons which mail reports to root and other system "
+"UIDs. Make this empty to disable rewriting."
+msgstr ""
+"Les courriels envoys  un utilisateur local dont l'UID est infrieur  1000 "
+"seront envoys  l'adresse indique ici. C'est utile pour les dmons qui "
+"expdient des rapports au super-utilisateur et aux autres UID systme. "
+"Veuillez laisser ce champ vide pour dsactiver la rcriture d'adresse."
+
+#. Type: string
+#. Description
+#: ../templates:23
+msgid "Name of your mailhub?"
+msgstr "Nom de votre concentrateur de courriel (mail hub):"
+
+#. Type: string
+#. Description
+#: ../templates:23
+msgid ""
+"This sets the host to which mail is delivered. The actual machine name is "
+"required; no MX records are consulted. Commonly, mailhosts are named \"mail."
+"domain.com\"."
+msgstr ""
+"Ce paramtre dfinit l'hte vers lequel le courriel est distribu. Le nom de "
+"la machine concerne est ncessaire. Les enregistrements MX ne seront pas "
+"utiliss. Gnralement, les htes de courriel sont nomms mail.domain."
+"com."
+
+#. Type: string
+#. Description
+#: ../templates:31
+msgid "Remote SMTP port number"
+msgstr "Numro du port SMTP distant:"
+
+#. Type: string
+#. Description
+#: ../templates:31
+msgid ""
+"If your remote SMTP server listens on a port other than 25 (Standard/RFC) "
+"then set it here."
+msgstr ""
+"Si votre serveur SMTP distant coute sur un autre port que le 25 (port "
+"standard selon les RFC), veuillez l'indiquer ici."
+
+#. Type: string
+#. Description
+#: ../templates:37
+msgid "What domain to masquerade as?"
+msgstr "Domaine de masquage (masquerade):"
+
+#. Type: string
+#. Description
+#: ../templates:37
+msgid ""
+"ssmtp will use \"username@REWRITEDOMAIN\" as the default From: address for "
+"outgoing mail which contains only a local username."
+msgstr ""
+"Ssmtp utilisera username@REWRITEDOMAIN comme champ d'adresse From: "
+"pour les courriels sortants contenant uniquement un nom d'utilisateur local."
+
+#. Type: string
+#. Description
+#: ../templates:43
+msgid "What name to store in /etc/mailname"
+msgstr "Nom d'hte  utiliser dans /etc/mailname:"
+
+#. Type: string
+#. Description
+#: ../templates:43
+msgid ""
+"This is the portion of the address after the '@' sign to be shown on "
+"outgoing news and mail messages."
+msgstr ""
+"Veuillez indiquer la partie de l'adresse aprs le signe @ qui sera affiche dans les "
+"messages sortants (courriels et nouvelles)."
+
+#. Type: string
+#. Description
+#: ../templates:49
+msgid "Fully qualified hostname?"
+msgstr "Nom de domaine pleinement qualifi:"
+
+#. Type: string
+#. Description
+#: ../templates:49
+msgid ""
+"This should specify the real hostname of this machine, and will be sent to "
+"the mailhub when delivering mail."
+msgstr ""
+"Veuille zindiquer le nom rel de cette machine : il sera envoy vers le "
+"concentrateur de courriels lors de la distribution des messages."
+
+#. Type: boolean
+#. Description
+#: ../templates:56
+msgid "Allow override of From: line in email header?"
+msgstr "Autoriser le remplacement de l'en-tte From: dans les messages?"
+
+#. Type: boolean
+#. Description
+#: ../templates:56
+msgid ""
+"A \"positive\" response will permit local users to enter any From: line in "
+"their messages without it being mangled, and cause ssmtp to rewrite the "
+"envelope header with that address. A \"negative\" response will disallow "
+"this, and use only the default address or addresses set in /etc/ssmtp/"
+"revaliases."
+msgstr ""
+"Cette option permettra aux utilisateurs locaux de saisir n'importe "
+"quelle ligne From: dans leurs messages sans qu'elle ne soit rcrite et "
+"obligera ssmtp  rcrire les en-ttes d'enveloppe avec cette adresse. Une "
+"rponse ngative dsactivera cela, et l'adresse par dfaut ou celles dfinies "
+"dans /etc/ssmtp/revaliases seront utilises."
+
--- ssmtp-2.61.orig/debian/po/ja.po
+++ ssmtp-2.61/debian/po/ja.po
@@ -0,0 +1,167 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ssmtp 2.60.11\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-07-23 16:09+1000\n"
+"PO-Revision-Date: 2004-08-01 01:39+0900\n"
+"Last-Translator: Hideki Yamane <henrich@samba.gr.jp>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid "Automatically overwrite config files?"
+msgstr "եưŪ˾񤭤ޤ?"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid ""
+"The mail configuration file /etc/ssmtp/ssmtp.conf can be automatically "
+"updated on each upgrade with the information supplied to the debconf "
+"database. If you do not want this to happen (ie/ you want to maintain "
+"control of this file yourself) then set this option to have the program "
+"never touch this file."
+msgstr ""
+"᡼ե /etc/ssmtp/ssmtp.conf Υåץ졼ɻ "
+"debconf ǡ١Ϳ줿ǼưŪ˹Ǥޤ줬ʾ "
+"(ĤޤꡢեʬȤꤷĤŤ)Υץꤷ"
+"ץबΥե򿨤ʤ褦ˤƤ"
+
+#. Type: string
+#. Description
+#: ../templates:14
+msgid "Who gets mail for userids < 1000?"
+msgstr "桼 ID  1000 ̤Υ᡼ïޤ?"
+
+#. Type: string
+#. Description
+#: ../templates:14
+msgid ""
+"Mail sent to a local user whose UID is less than 1000 will instead be sent "
+"here. This is useful for daemons which mail reports to root and other system "
+"UIDs. Make this empty to disable rewriting."
+msgstr ""
+"UID  1000 ̤Υ桼ؤΥ᡼ϡˤǻꤷɥ쥹"
+"ޤϡroot ۤΥƥ UID ؤΥ᡼ݡȤǡ"
+"ˤȤäΩޤˤƤȾ񤭤Ϥޤ"
+
+#. Type: string
+#. Description
+#: ../templates:23
+msgid "Name of your mailhub?"
+msgstr "᡼ϥ֤̾ϲǤ?"
+
+#. Type: string
+#. Description
+#: ../templates:23
+msgid ""
+"This sets the host to which mail is delivered. The actual machine name is "
+"required; no MX records are consulted. Commonly, mailhosts are named \"mail."
+"domain.com\"."
+msgstr ""
+"᡼뤬ۥȤ򤳤ꤷޤºݤΥޥ̾ɬפǤ: MX "
+"ɤϹθޤξ硢᡼ۥȤ̾ \"mail.domain.com\" "
+"Ǥ"
+
+#. Type: string
+#. Description
+#: ../templates:31
+msgid "Remote SMTP port number"
+msgstr "⡼ SMTP ФΥݡֹϲǤ?"
+
+#. Type: string
+#. Description
+#: ../templates:31
+msgid ""
+"If your remote SMTP server listens on a port other than 25 (Standard/RFC) "
+"then set it here."
+msgstr ""
+"⡼ SMTP Ф 25  (ɸࡦRFCǵ) ʳΥݡȤ listen Ƥ"
+"硢ǻꤷƤ"
+
+#. Type: string
+#. Description
+#: ../templates:37
+msgid "What domain to masquerade as?"
+msgstr "ɤΥɥᥤȤƥ᡼ޤ?"
+
+#. Type: string
+#. Description
+#: ../templates:37
+msgid ""
+"ssmtp will use \"username@REWRITEDOMAIN\" as the default From: address for "
+"outgoing mail which contains only a local username."
+msgstr ""
+"ssmtp ϥ桼̾Τߤdz᡼Фɸ From: "
+"쥹Ȥ \"username@REWRITEDOMAIN\" Ѥޤ"
+
+#. Type: string
+#. Description
+#: ../templates:43
+msgid "What name to store in /etc/mailname"
+msgstr "/etc/mailname ˤɤ̾򵭽Ҥޤ"
+
+#. Type: string
+#. Description
+#: ../templates:43
+msgid ""
+"This is the portion of the address after the '@' sign to be shown on "
+"outgoing news and mail messages."
+msgstr ""
+"ϳ˥塼ȥ᡼ǻȤ '@' θ˵Ҥ륢ɥ쥹"
+"ʬǤ"
+
+#. Type: string
+#. Description
+#: ../templates:49
+msgid "Fully qualified hostname?"
+msgstr "FQDN ϲǤ?"
+
+#. Type: string
+#. Description
+#: ../templates:49
+msgid ""
+"This should specify the real hostname of this machine, and will be sent to "
+"the mailhub when delivering mail."
+msgstr ""
+"ǤϡΥޥμºݤΥۥ̾ꤷ᡼˥᡼ϥ֤"
+"ޤ"
+
+#. Type: boolean
+#. Description
+#: ../templates:56
+msgid "Allow override of From: line in email header?"
+msgstr "᡼إå From: Ԥξ񤭤Ĥޤ?"
+
+#. Type: boolean
+#. Description
+#: ../templates:56
+msgid ""
+"A \"positive\" response will permit local users to enter any From: line in "
+"their messages without it being mangled, and cause ssmtp to rewrite the "
+"envelope header with that address. A \"negative\" response will disallow "
+"this, and use only the default address or addresses set in /etc/ssmtp/"
+"revaliases."
+msgstr ""
+"֤Ϥפȡ桼ϥå From: Ԥͳ˵ҤǤ"
+"ssmtp ˤ뤳ȤϤޤssmtp  envelope 򤽤Υɥ쥹ǽ񤭴"
+"ޤ֤פȤΤ褦ưϤǥեȤΥɥ쥹 /"
+"etc/ssmtp/revaliases ǻꤵ줿ɥ쥹ΤߤȤޤ"
--- ssmtp-2.61.orig/debian/po/vi.po
+++ ssmtp-2.61/debian/po/vi.po
@@ -0,0 +1,137 @@
+# Vietnamese translation for ssmtp.
+# Copyright © 2005 Free Software Foundation, Inc.
+# Clytie Siddall <clytie@riverland.net.au>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ssmtp 2.61-3\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-07-23 16:09+1000\n"
+"PO-Revision-Date: 2005-07-25 13:15+0930\n"
+"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
+"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+"X-Generator: LocFactoryEditor 1.2.2\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid "Automatically overwrite config files?"
+msgstr "Tự động ghi đè lên tập tin cấu hình không?"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid ""
+"The mail configuration file /etc/ssmtp/ssmtp.conf can be automatically "
+"updated on each upgrade with the information supplied to the debconf "
+"database. If you do not want this to happen (ie/ you want to maintain "
+"control of this file yourself) then set this option to have the program "
+"never touch this file."
+msgstr "Tập tin cấu hình thư « /etc/ssmtp/ssmtp.conf » có thể được cập nhật tự động mỗi lần nâng cấp, dùng thông tin được cung cấp vào cơ sở dữ liệu debconf. Nếu bạn không muốn cho phép tiến trình này (tức là bạn muốn tự điều khiển tập tin này) thì hãy lập tùy chọn là không bao giờ cho phép trình này sửa đổi tập tin cấu hình."
+
+#. Type: string
+#. Description
+#: ../templates:14
+msgid "Who gets mail for userids < 1000?"
+msgstr "Ai nhận thư cho UID dưới 1000?"
+
+#. Type: string
+#. Description
+#: ../templates:14
+msgid ""
+"Mail sent to a local user whose UID is less than 1000 will instead be sent "
+"here. This is useful for daemons which mail reports to root and other system "
+"UIDs. Make this empty to disable rewriting."
+msgstr "Mọi thư được gởi cho người dùng địa phương có UID (mã nhận diện người dùng) dưới 1000 sẽ được gởi vào đây thay thế. Tùy chọn này có ích cho trình nền gởi thông báo cho người chủ và ID hệ thống khác. Hãy bỏ trường này rỗng để vô hiệu hóa khả năng ghi lại."
+
+#. Type: string
+#. Description
+#: ../templates:23
+msgid "Name of your mailhub?"
+msgstr "Thiết bị trung tâm mạng thư bạn có tên nào?"
+
+#. Type: string
+#. Description
+#: ../templates:23
+msgid ""
+"This sets the host to which mail is delivered. The actual machine name is "
+"required; no MX records are consulted. Commonly, mailhosts are named \"mail."
+"domain.com\"."
+msgstr "Giá trị này lập máy sẽ nhận thư. Cần thiết tên máy thật: sẽ không đọc mục ghi MX nào. Thường, máy thư có tên « mail.miền.com »."
+
+#. Type: string
+#. Description
+#: ../templates:31
+msgid "Remote SMTP port number"
+msgstr "Số hiệu cổng SMTP ở xa"
+
+#. Type: string
+#. Description
+#: ../templates:31
+msgid ""
+"If your remote SMTP server listens on a port other than 25 (Standard/RFC) "
+"then set it here."
+msgstr "Nếu trình phục vụ SMTP ở xa có lắng nghe trên một cổng khác với 25 (chuẩn/RFC) thì hãy lập nó vào đây."
+
+#. Type: string
+#. Description
+#: ../templates:37
+msgid "What domain to masquerade as?"
+msgstr "Sẽ giả trang là miền nào?"
+
+#. Type: string
+#. Description
+#: ../templates:37
+msgid ""
+"ssmtp will use \"username@REWRITEDOMAIN\" as the default From: address for "
+"outgoing mail which contains only a local username."
+msgstr "Trình ssmtp sẽ dùng « username@REWRITEDOMAIN » (tên_người_dùng@GHI_LẠI_MIỀN) là địa chỉ « Từ: » (From:) mặc định cho các thư gởi đi chứa chỉ một tên người dùng địa phương."
+
+#. Type: string
+#. Description
+#: ../templates:43
+msgid "What name to store in /etc/mailname"
+msgstr "Cất giữ tên nào vào « /etc/mailname »?"
+
+#. Type: string
+#. Description
+#: ../templates:43
+msgid ""
+"This is the portion of the address after the '@' sign to be shown on "
+"outgoing news and mail messages."
+msgstr "Đây là phần địa chỉ sau dấu a-còng « @ », để được hiển thị trên các thông điệp tin và thư được gởi đi."
+
+#. Type: string
+#. Description
+#: ../templates:49
+msgid "Fully qualified hostname?"
+msgstr "Tên miền khả năng đầy đủ?"
+
+#. Type: string
+#. Description
+#: ../templates:49
+msgid ""
+"This should specify the real hostname of this machine, and will be sent to "
+"the mailhub when delivering mail."
+msgstr "Giá trị này nên ghi rõ tên máy thật của máy này, và sẽ được gởi cho thiết bị trung tâm mạng thư khi phát thư."
+
+#. Type: boolean
+#. Description
+#: ../templates:56
+msgid "Allow override of From: line in email header?"
+msgstr "Cho phép đè dòng « Từ: » (From:) trong phần đầu thư không?"
+
+#. Type: boolean
+#. Description
+#: ../templates:56
+msgid ""
+"A \"positive\" response will permit local users to enter any From: line in "
+"their messages without it being mangled, and cause ssmtp to rewrite the "
+"envelope header with that address. A \"negative\" response will disallow "
+"this, and use only the default address or addresses set in /etc/ssmtp/"
+"revaliases."
+msgstr "Trả lời « Có » (yes) tại đây sẽ cho phép người dùng địa phương nhập mọi dòng « Từ: » (From:) vào đây, mà không bị hỏng, và gây ra trình ssmtp ghi lại phần đầu bao dùng địa chỉ này. Còn trả lời « Không » (no) sẽ không cho phép tùy chọn này nên dùng chỉ địa chỉ mặc định hoặc địa chỉ được lập trong « /etc/ssmtp/revaliases »."
--- ssmtp-2.61.orig/debian/po/POTFILES.in
+++ ssmtp-2.61/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] templates
--- ssmtp-2.61.orig/debian/README.debian
+++ ssmtp-2.61/debian/README.debian
@@ -0,0 +1,12 @@
+ssmtp for DEBIAN
+----------------
+
+This is a secure, minimal mail sender.
+
+There is one configuration file in /etc/ssmtp/ssmtp.conf where all parameters
+are set. Support for debconf has been added, so to change the parameters use
+the command "dpkg-reconfigure ssmtp".
+
+SSMTP also supports reverse aliases if the file /etc/ssmtp/revaliases is
+present. See ssmtp(8) for details. 
+
--- ssmtp-2.61.orig/debian/control
+++ ssmtp-2.61/debian/control
@@ -0,0 +1,22 @@
+Source: ssmtp
+Section: mail
+Priority: extra
+Maintainer: Anibal Monsalve Salazar <anibal@debian.org>
+Uploaders: Santiago Ruano Rincon <santiago@unicauca.edu.co>
+Build-Depends: po-debconf, libssl-dev
+Standards-Version: 3.6.2
+
+Package: ssmtp
+Architecture: any
+Depends: ${shlibs:Depends}, debconf
+Conflicts: mail-transport-agent
+Provides: mail-transport-agent
+Replaces: mail-transport-agent
+Description: extremely simple MTA to get mail off the system to a mail hub
+ A secure, effective and simple way of getting mail off a system to your
+ mail hub. It contains no suid-binaries or other dangerous things - no mail
+ spool to poke around in, and no daemons running in the background. Mail is
+ simply forwarded to the configured mailhost. Extremely easy configuration.
+ .
+ WARNING: the above is all it does; it does not receive mail, expand aliases
+ or manage a queue. That belongs on a mail hub with a system administrator.
--- ssmtp-2.61.orig/debian/changelog
+++ ssmtp-2.61/debian/changelog
@@ -0,0 +1,715 @@
+ssmtp (2.61-5) unstable; urgency=high
+
+  * Fixed "broken pipe -- ssmtp exits before end of input", closes:
+    #310327, #316254. Patches by Aidas Kasparas <a.kasparas@gmc.lt>,
+    Wouter Van Hemel <debian@publica.duodecim.org> and John Eikenberry
+    <jae@zhar.net>.
+
+ -- Anibal Monsalve Salazar <anibal@debian.org>  Fri, 09 Sep 2005 22:15:56 +1000
+
+ssmtp (2.61-4) unstable; urgency=low
+
+  * Added Vietnamese translation for debconf template, Closes: #319835
+  * Added an ignore script for logcheck, Closes: #319942
+
+ -- Santiago Ruano Rincon <santiago@unicauca.edu.co>  Mon, 25 Jul 2005 14:26:18 -0500
+
+ssmtp (2.61-3) unstable; urgency=low
+
+  * Fixed "help ssmtp compile and run properly on other platforms",
+    closes: #273268. Patch by talon <talon@cosmic-cow.net>.
+  * Fixed "Could include a config file example or manual page with all the
+    options", closes: #261976. Patch by Reuben Thomas <rrt@sc3d.org>.
+  * Fixed "ssmtp SIGSEGV unexpectly using PLAIN authentication", closes:
+    #280531. Patch by Alessio Orlandi <alessio.orlandi@lamortenera.it>.
+  * Updated German translation of the debconf templates, closes: #281216.
+    Patch by Erik Schanze <schanzi_usenet@gmx.de>.
+  * Added Czech translation of ssmtp debconf templates, closes: #288020.
+    Patch by Miroslav Kure <kurem@upcase.inf.upol.cz>.
+  * Added support for the new style of AUTH LOGIN usage, closes: #284410.
+    Patch by Jan L Peterson <jlp@softhome.net>.
+  * Fixed "Specify alternate configuration file", closes: #294157.
+    Patch by Rudy Taraschi <rudy@cae.com>.
+
+ -- Anibal Monsalve Salazar <anibal@debian.org>  Sun, 08 May 2005 22:18:44 +1000
+
+ssmtp (2.61-2) unstable; urgency=low
+
+  * New maintainer's email address.
+
+ -- Anibal Monsalve Salazar <anibal@debian.org>  Thu, 10 Feb 2005 21:39:05 +1100
+
+ssmtp (2.61-1) unstable; urgency=low
+
+  * Unnecessary links against libnsl (Closes: #263497).
+    Patch by Zack Weinberg <zack@codesourcery.com>
+  * Misplaced quote (Closes: #271507).
+    Patch by Thomas Kaehn <tk@westend.com>
+  * debian/rules clean target should not depend on do_cfg (Closes: #263499).
+    Patch by Zack Weinberg <zack@codesourcery.com>
+  * Debug config file option (Closes: #266492).
+    Patch by Matthew Palmer <mpalmer@debian.org>
+  * Update of the French translation of the debconf templates (Closes: #267576).
+    Patch by Michel Grentzinger <mic.grentz@online.fr>
+  * Additional information (UID, name, outgoing bytes) in logfile (Closes: #271511).
+    Patch by Thomas Kaehn <tk@westend.com>
+
+ -- Anibal Monsalve Salazar <A.Monsalve.Salazar@IEEE.org>  Fri, 17 Sep 2004 22:22:04 +1000
+
+ssmtp (2.60.12) unstable; urgency=low
+
+  * Segfaults when trying to send mail with authenticated smtp (Closes: #261975)
+    Changed debian/rules to remove --enable-md5auth (it will not be enabled during the build).
+  * Changing FromLineOverride with dpkg-reconfigure doesn't work (Closes: #262146)
+    Changed debian/postinst.
+  * Japanese po-debconf template translation (Closes: #262747)
+    Patch by Hideki Yamane <henrich@samba.gr.jp>
+
+ -- Anibal Monsalve Salazar <A.Monsalve.Salazar@IEEE.org>  Mon, 02 Aug 2004 09:58:19 +1000
+
+ssmtp (2.60.11) unstable; urgency=low
+
+  * md5auth/md5c.o: could not read symbols: File in wrong format (Closes: #261445)
+    Changed Makefile.in to remove md5auth/*.o.
+
+ -- Anibal Monsalve Salazar <A.Monsalve.Salazar@IEEE.org>  Mon, 26 Jul 2004 15:42:15 +1000
+
+ssmtp (2.60.10) unstable; urgency=low
+
+  * Make address rewriting possible to disable (Closes: #146238)
+    Patch contributed by Eric Lammerts <eric@lammerts.org>
+    Patch applied was contributed by Arthur de Jong <arthur@west.nl>
+  * Include TLS in /usr/share/doc/ssmtp (Closes: #249895)
+    Changed debian/rules.
+  * Add AuthUser, AuthPass, AuthMethod to configuration file (Closes: #249905)
+    Patch by Jim Paris <jim@jtan.com>
+  * Logic to choose cram-md5 authentication is backwards (Closes: #249907)
+    Patch by Jim Paris <jim@jtan.com>
+    Changed configure.in to replace "md5suth" with "md5auth".
+    Changed debian/rules to add --enable-md5auth to be enabled during the build.
+
+ -- Anibal Monsalve Salazar <A.Monsalve.Salazar@IEEE.org>  Fri, 23 Jul 2004 16:11:45 +1000
+
+ssmtp (2.60.9) unstable; urgency=low
+
+  * Can not execute generate_config (Closes: #246225)
+    Changed generate_config permissions.
+  * Following INSTALL docs does build sSMTP on a Fedora Core 1 system (Closes: #246226)
+    Changed INSTALL file. Patch by Sven Heinicke <sven@nec-labs.com>
+  * ssmtp-2.60.4 does not compile if --enable-md5suth is set (Closes: #213194)
+    Patch by Brandy Westcott <brandy@gentoo.org>
+  * SSMTP builds with MD5 support but during the exchange it segfaults (Closes: #249203)
+    Patch by Paul Davis <pdd@lucent.com>
+  * Build system ignores CC environment (Closes: #198764)
+    Patch by Moritz Barsnick <moritz+deb@barsnick.net>
+  * Possible better config-file-generator (Closes: #245870)
+    Included in the source root directory as generate_config_alt so people could try it.
+    Patch by Jari Aalto and submitted by Robert R Schneck-McConnell <schneck@Math.Berkeley.EDU>
+
+ -- Anibal Monsalve Salazar <A.Monsalve.Salazar@IEEE.org>  Sun, 16 May 2004 12:50:54 +1000
+
+ssmtp (2.60.8) unstable; urgency=low
+
+  * Added CFLAGS to debian/rules
+  * Documentation error - 4K limitation or not? (Closes: #220542)
+    Updated debian/README.debian
+  * SSL support not compiled in (Closes: #244660)
+    Changed debian/rules. Patch by jacob@internet24.de
+  * The source compilaton fails if ./configure --enable-logfile is selected (Closes: #242905)
+    Changed ssmtp.c. Patch by Jari Aalto.
+  * SSL/TLS support cannot handle STARTTLS (Closes: #244666)
+    Changed ssmtp.c and TLS. Patch by jacob@internet24.de
+  * generate_config has syntax errors (Closes: #245083)
+    Changed generate_config. Patch by Sven Heinicke <sven@nec-labs.com>
+
+ -- Anibal Monsalve Salazar <A.Monsalve.Salazar@IEEE.org>  Sat, 24 Apr 2004 14:29:58 +1000
+
+ssmtp (2.60.7) unstable; urgency=high
+
+  * Fixed two format string vulnerabilities (die() and log_event()) (Closes: #243945)
+    discovered by Max Vozeler <max@hinterhof.net> (CAN-2004-0156)
+  * Creates bad date headers on some systems (Closes: #230864)
+    Changed README file to warn Cygwin porters that they may need to #define USE_OLD_ARPADATE
+
+ -- Anibal Monsalve Salazar <A.Monsalve.Salazar@IEEE.org>  Fri, 16 Apr 2004 08:01:40 +1000
+
+ssmtp (2.60.6) unstable; urgency=low
+
+  * Added "Build-Depends: po-debconf" (Closes: #243260)
+
+ -- Anibal Monsalve Salazar <A.Monsalve.Salazar@IEEE.org>  Mon, 12 Apr 2004 15:05:23 +1000
+
+ssmtp (2.60.5) unstable; urgency=low
+
+  * New Maintainer (Closes: #241775)
+  * Shouldn't overwrite configuration by default (Closes: #233556)
+  * Switched to gettext for the debconf templates (Closes: #201795)
+    Patch by Michel Grentzinger <mic.grentz@online.fr>
+  * Added french translation of the debconf templates (Closes: #202274)
+    Patch by Michel Grentzinger <mic.grentz@online.fr>
+    
+ -- Anibal Monsalve Salazar <A.Monsalve.Salazar@IEEE.org>  Sat, 10 Apr 2004 09:41:51 +1000
+
+ssmtp (2.60.4) unstable; urgency=low
+
+  * Fix 'MAIL FROM' problems with cron and the like setting bad 'From:'
+    address when FromLineOverride=YES is set (Closes: #205513)
+  * Update version string in ssmtp.c (Closes: #198763)
+  * Work around missing spaces in headers (Closes: #192445)
+  * Duplicate of 169931 (Closes: #183189)
+
+ -- Matt Ryan <mryan@debian.org>  Sun, 17 Aug 2003 15:14:01 +0100
+
+ssmtp (2.60.3) unstable; urgency=low
+
+  * Check for overflow in gethostbyname() - thanks to Stephan Erickson
+  * Fixes for SSL compilation from Tomas Nejedlik
+  * TZ problem fix from Paul Eggert (Closes: #169931)
+  * Unused variable bug fixed in previous version (Closes: #171146)
+  * Fixed in earlier version (Closes: #168397)
+
+ -- Matt Ryan <mryan@debian.org>  Sun,  8 Dec 2002 17:37:17 +0000
+
+ssmtp (2.60.2) unstable; urgency=low
+
+  * Header code fixes have not generated more bug reports (Closes: #161821)
+  * Another crack at fixing cron related mail errors (Closes: #163747)
+  * Use correct variable in from_format function (Closes: #166276)
+  * Fix build problem on non-i386 platforms (Closes: #165007)
+  * Never got around to closing this after answer given (Closes: #154908)
+
+ -- Matt Ryan <mryan@debian.org>  Fri, 27 Sep 2002 14:22:21 +0100
+
+ssmtp (2.60.1) unstable; urgency=low
+
+  * New version
+
+ -- Matt Ryan <mryan@debian.org>  Fri, 27 Sep 2002 14:22:21 +0100
+
+ssmtp (2.50.10) unstable; urgency=low
+
+  * Added patch from Thatcher Ulrich to correctly terminate multi-line
+    headers with \r\n
+  * The code for undisclosed-recipients has been integrated for a number
+    of release with no bugs reported (Closes: #136787)
+  * No new reports of problems with the new From: rewrite code added over
+    the last few point releases (Closes: #132424)
+  * This appears to have been a debconf issue, but was never formally closed
+    until now (Closes: #111951)
+
+ -- Matt Ryan <mryan@debian.org>  Sat, 27 Jul 2002 13:52:36 +0100
+
+ssmtp (2.50.9) unstable; urgency=low
+
+  * Added patch from Cr33p to compile with SSL
+  * Added fix from Mark Ferlatte for TZ offset (Closes: #148608)
+
+ -- Matt Ryan <mryan@debian.org>  Mon,  3 Jun 2002 13:00:27 +0100
+
+ssmtp (2.50.8) unstable; urgency=low
+
+  * Better description of FromLineOverride in config file and some fixes
+    to the code to better handle the From: override cases (Closes: #143903)
+  * Added fix for MAIL FROM when supplied From: line is NULL (Closes: #145640)
+
+ -- Matt Ryan <mryan@debian.org>  Tue,  7 May 2002 14:23:20 +0100
+
+ssmtp (2.50.7) unstable; urgency=low
+
+  * Workaround incorrect RewriteDomain settings
+
+ -- Matt Ryan <mryan@debian.org>  Mon,  6 May 2002 21:06:55 +0100
+
+ssmtp (2.50.6) unstable; urgency=low
+
+  * More problems with the header rewriting code (Closes: #140741)
+  * Added nasty botch to work around group addreses not working
+
+ -- Matt Ryan <mryan@debian.org>  Mon,  1 Apr 2002 14:08:04 +0100
+
+ssmtp (2.50.5) unstable; urgency=low
+
+  * Generate MAIL FROM from From: line if present (Closes: #139946)
+
+ -- Matt Ryan <mryan@debian.org>  Fri, 29 Mar 2002 14:45:11 +0000
+
+ssmtp (2.50.4) unstable; urgency=low
+
+  * Make sure that from.c is checked out of RCS (Closes: #134440)
+
+ -- Matt Ryan <mryan@debian.org>  Sun, 17 Feb 2002 22:56:21 +0000
+
+ssmtp (2.50.3) unstable; urgency=low
+
+  * Botch fix comes back to bite, patch from Jason Thomas hopefully fixes
+    this problem (Closes: #133995)
+
+ -- Matt Ryan <mryan@debian.org>  Fri, 15 Feb 2002 19:59:42 +0000
+
+ssmtp (2.50.2) unstable; urgency=low
+
+  * Botch fix for From: line mangling - proper fix will close bug report
+
+ -- Matt Ryan <mryan@debian.org>  Wed, 13 Feb 2002 22:42:17 +0000
+
+ssmtp (2.50.1) unstable; urgency=low
+
+  * Remove debug code
+
+ -- Matt Ryan <mryan@debian.org>  Sun, 10 Feb 2002 21:37:32 +0000
+
+ssmtp (2.50) unstable; urgency=low
+
+  * New version with candidate bug fixes
+
+ -- Matt Ryan <mryan@debian.org>  Sun, 10 Feb 2002 21:05:57 +0000
+
+ssmtp (2.48.3) unstable; urgency=low
+
+  * Apply spelling fixes (Closes: #127419)
+
+ -- Matt Ryan <mryan@debian.org>  Wed,  2 Jan 2002 19:39:14 +0000
+
+ssmtp (2.48.2) unstable; urgency=low
+
+  * Apply spelling fixes (Closes: #125381)
+
+ -- Matt Ryan <mryan@debian.org>  Sat, 22 Dec 2001 11:58:12 +0000
+
+ssmtp (2.48.1) unstable; urgency=low
+
+  * No longer add symlink into /usr/doc (Closes: #123939)
+
+ -- Matt Ryan <mryan@debian.org>  Sat, 15 Dec 2001 11:43:03 +0000
+
+ssmtp (2.48) unstable; urgency=low
+
+  * Fixed buffer overrun (Closes: #117713)
+
+ -- Matt Ryan <mryan@debian.org>  Fri,  2 Nov 2001 10:58:46 +0000
+
+ssmtp (2.47) unstable; urgency=low
+
+  * Fix for dynamic header allocation code from Sam Couter (Closes: #115935)
+
+ -- Matt Ryan <mryan@debian.org>  Wed, 17 Oct 2001 16:24:02 +0100
+
+ssmtp (2.46) unstable; urgency=low
+
+  * Fix new email address parsing code added in 2.45
+
+ -- Matt Ryan <mryan@debian.org>  Tue, 16 Oct 2001 15:39:42 +0100
+
+ssmtp (2.45) unstable; urgency=low
+
+  * Added German debconf translations from Sebastian Felten (Closes: #114295)
+  * Fixed parsing of -oeX options (Closes: #114162)
+  * New email address parsing code
+
+ -- Matt Ryan <mryan@debian.org>  Mon, 15 Oct 2001 19:42:48 +0100
+
+ssmtp (2.44) unstable; urgency=low
+
+  * Added support for '-f' specified email address with no '@domain.com'
+    part (Closes: #108094)
+
+ -- Matt Ryan <mryan@debian.org>  Fri, 10 Aug 2001 16:24:03 +0100
+
+ssmtp (2.43) unstable; urgency=low
+
+  * Major code reorganisation to cleanup and seperate into more logical parts.
+  * Patched to allow From: with no domain part (Closes: #106994)
+
+ -- Matt Ryan <mryan@debian.org>  Mon, 30 Jul 2001 12:43:27 +0100
+
+ssmtp (2.40) unstable; urgency=low
+
+  * Fix To/Cc/Bcc to handle multiple line entries (Closes: #105748)
+  * Updated the 'verbose' and 'debug' options to give more information.
+  * Changed to make package (more) Debian native.
+
+ -- Matt Ryan <mryan@debian.org>  Sat, 21 Jul 2001 12:45:53 +0100
+
+ssmtp (2.39-4) unstable; urgency=low
+
+  * Check for SYSLOG properly to make sure we don't spam all users
+    with syslog() messages (Closes: #103960)
+
+ -- Matt Ryan <mryan@debian.org>  Mon,  9 Jul 2001 16:34:37 +0100
+
+ssmtp (2.39-3) unstable; urgency=low
+
+  * Fixup the syslog message to be more infomative (Closes: #100871)
+
+ -- Matt Ryan <mryan@debian.org>  Fri,  6 Jul 2001 18:40:45 +0100
+
+ssmtp (2.39-2) unstable; urgency=low
+
+  * Reword debconf question on From: line override (Closes: #100433)
+
+ -- Matt Ryan <mryan@debian.org>  Fri,  6 Jul 2001 17:59:37 +0100
+
+ssmtp (2.39-1) unstable; urgency=low
+
+  * Split up ssmtp.c into multiple logical pieces. Also support autoconf
+    for application build.
+
+ -- Matt Ryan <mryan@debian.org>  Tue,  8 May 2001 13:34:39 +0100
+
+ssmtp (2.38-14) unstable; urgency=low
+
+  * Added patch for alternate SMTP port selection
+
+ -- Matt Ryan <mryan@debian.org>  Mon, 16 Apr 2001 12:50:23 +0100
+
+ssmtp (2.38-13) unstable; urgency=low
+
+  * Don't ask unnecessary questions on install/upgrade (Closes: #84770)
+
+ -- Matt Ryan <mryan@debian.org>  Thu, 22 Mar 2001 12:35:07 +0000
+
+ssmtp (2.38-12) unstable; urgency=low
+
+  * Don't barf on preinst after broken NMU (Closes: #90367)
+
+ -- Matt Ryan <mryan@debian.org>  Wed, 21 Mar 2001 20:43:58 +0000
+
+ssmtp (2.38-11) unstable; urgency=low
+
+  * Ask whether to overwrite config file (Closes: #84770)
+
+ -- Matt Ryan <matt@banana.org.uk>  Mon, 19 Mar 2001 13:07:52 +0000
+
+ssmtp (2.38-10) unstable; urgency=low
+
+  * Backout non-maintainer changes (Closes: #90161)
+  * Fix system UID check (Closes: #90029)
+
+ -- Matt Ryan <matt@banana.org.uk>  Mon, 19 Mar 2001 12:50:48 +0000
+
+ssmtp (2.38-9.1) unstable; urgency=low
+
+  * Non-maintainer upload
+  * Keeps an md5sum of auto-generated ssmtp.conf, and does not overwrite
+    local admin's changes to this file. Fixes: #84770
+  * Added /usr/doc symlink code to postinst and prerm.
+  * Fixed permissions on install scripts to lintian's liking.
+  * Added "-isp" flags to dpkg-gencontrol.
+
+ -- Paul Martin <pm@debian.org>  Sat, 17 Mar 2001 12:42:12 +0000
+
+ssmtp (2.38-9) unstable; urgency=low
+
+  * /etc/mailname logic fix (Closes: #71632)
+  * Patch for 'dot-stuffing' bug (Closes: #72348)
+  * Americanised spelling cleanup
+
+ -- Matt Ryan <matt@banana.org.uk>  Fri, 29 Sep 2000 15:22:44 +0100
+
+ssmtp (2.38-8) unstable; urgency=low
+
+  * Patch to fix reference to pointer which has been freed (Closes: #71245)
+
+ -- Matt Ryan <matt@banana.org.uk>  Sun, 10 Sep 2000 10:51:48 +0100
+
+ssmtp (2.38-7) unstable; urgency=low
+
+  * Added extended and reworded descriptions for debconf (Closes: #70733)
+
+ -- Matt Ryan <matt@banana.org.uk>  Sat,  2 Sep 2000 12:46:28 +0100
+
+ssmtp (2.38-6) unstable; urgency=low
+
+  * Fixed problem with timezone offset (Closes: #67385)
+  * Fixes uncompressed manpages (Closes: #67606)
+  * Fixes broken address parsing (Closes: #69759)
+  * Fixed config file option FromLineOverride missing from debconf
+    (Closes: #65195)
+
+ -- Matt Ryan <matt@banana.org.uk>  Tue, 29 Aug 2000 11:37:12 +0100
+
+ssmtp (2.38-5) unstable; urgency=low
+
+  * Added patch to fixed problems when using "FromLineOverride=yes"
+    (Closes: #64724)
+
+ -- Matt Ryan <matt@banana.org.uk>  Thu,  1 Jun 2000 20:16:40 +0100
+
+ssmtp (2.38-4) unstable; urgency=low
+
+  * Changed debian/rules to allow build on other architectures (Closes: #63896)
+
+ -- Matt Ryan <matt@banana.org.uk>  Thu,  1 Jun 2000 20:04:55 +0100
+
+ssmtp (2.38-3) unstable; urgency=high
+
+  * Added patch from Joel Rosdahl to accept mail addresses that cross <NL>
+    boundaries (Closes: #61206)
+  * Added fix for stripping of last character in messages when no <NL> is
+    present (Closes: #63481)
+  * Added fix to append rewrite domain or hostname when missing from address
+    (Closes: #63447)
+
+ -- Matt Ryan <matt@banana.org.uk>  Fri,  5 May 2000 17:20:43 +0100
+
+ssmtp (2.38-2) unstable; urgency=high
+
+  * New maintainer, added debconf support.
+
+ -- Matt Ryan <matt@banana.org.uk>  Sat,  4 Mar 2000 15:26:22 +0000
+
+ssmtp (2.38-1) unstable; urgency=high
+
+  * New upstream version (closes: #58863).
+
+ -- Hugo Haas <hugo@debian.org>  Thu, 24 Feb 2000 09:25:32 -0500
+
+ssmtp (2.37-1) unstable; urgency=low
+
+  * New upstream version (closes: #54817). 
+
+ -- Hugo Haas <hugo@debian.org>  Sun, 20 Feb 2000 22:37:20 -0500
+
+ssmtp (2.36-1) unstable; urgency=low
+
+  * New upstream release: option -f works as expected (closes: #53313). 
+
+ -- Hugo Haas <hugo@debian.org>  Sat,  5 Feb 2000 15:10:43 -0500
+
+ssmtp (2.35-1) unstable; urgency=low
+
+  * New upstream release: patch from Michael Luxton for per-user mailhub
+    specification in the revaliases file.
+  * Pointing to the right location of the GPL license.
+
+ -- Hugo Haas <hugo@debian.org>  Sun, 16 Jan 2000 13:56:04 -0500
+
+ssmtp (2.34-1) unstable; urgency=low
+
+  * Support for plaintext (base64) login authorization by Grant Edwards
+    <grante@comtrol.com>.
+  * Fix for buffer offerflow problems by Andreas Trottmann
+    <andreas.trottmann@werft22.com>.
+
+ -- Hugo Haas <hugo@debian.org>  Sun, 14 Nov 1999 23:03:25 -0500
+
+ssmtp (2.33-1) unstable; urgency=low
+
+  * New upstream version, closes: bug #38795.
+
+ -- Hugo Haas <hugo@debian.org>  Sun, 14 Nov 1999 23:03:03 -0500
+
+ssmtp (2.32-2) unstable; urgency=low
+
+  * Updated debian/postinst (patch from Joel Rosdahl <joel@debian.org>)
+
+ -- Hugo Haas <hugo@debian.org>  Fri, 12 Mar 1999 18:01:25 +0000
+
+ssmtp (2.32-1) unstable; urgency=low
+
+  * New upstream version: included patch from Joel Rosdahl <joel@debian.org>
+    adding "FromLineOverride" option in ssmtp.conf. (#34342)
+  * Added German control file by Marcel <dedmoros@gmx.de>.
+
+ -- Hugo Haas <hugo@debian.org>  Thu, 11 Mar 1999 12:10:51 -0600
+
+ssmtp (2.31-1) unstable; urgency=low
+
+  * New upstream version: fixes -R option parsing bug. (#32572)
+
+ -- Hugo Haas <hugo@debian.org>  Sat, 30 Jan 1999 14:43:04 +0000
+
+ssmtp (2.30-1) unstable; urgency=low
+
+  * New upstream version:
+    . fixes a bug in argument parsing
+    . supports -f, -F and -r options
+
+ -- Hugo Haas <hugo@debian.org>  Fri, 23 Oct 1998 10:20:54 -0500
+
+ssmtp (2.29-2) unstable; urgency=low
+
+  * --help
+  * Previous build was looking for configuration files in the wrong place
+
+ -- Hugo Haas <hugo@debian.org>  Sun, 28 Jun 1998 12:45:20 +0100
+
+ssmtp (2.29-1) unstable; urgency=low
+
+  * Cleaned up code
+  * Updated to standards 2.4.1.2
+
+ -- Hugo Haas <hugo@debian.org>  Fri, 26 Jun 1998 15:57:30 +0100
+
+ssmtp (2.28-1) unstable; urgency=low
+
+  * New upstream version: supports non-separated options (fixes #22691)
+
+ -- Hugo Haas <hugo@debian.org>  Thu, 11 Jun 1998 21:23:27 +0100
+
+ssmtp (2.27-2) frozen unstable; urgency=low
+
+  * Now refers to the correct configuration file in the postinst script
+    (fixes #21848)
+
+ -- Hugo Haas <hugo@debian.org>  Wed, 29 Apr 1998 21:42:59 +0100
+
+ssmtp (2.27-1) frozen unstable; urgency=low
+
+  * 'Root' option now works (fixes #21335)
+  * Fixed a problem due to null real names
+
+ -- Hugo Haas <hugo@debian.org>  Sat, 18 Apr 1998 12:41:02 +0100
+
+ssmtp (2.26-4) frozen unstable; urgency=low
+
+  * Updated to standards 2.4.1.0
+  * Modified /etc/mailname usage in postinst script
+
+ -- Hugo Haas <hugo@debian.org>  Fri, 17 Apr 1998 12:26:33 +0100
+
+ssmtp (2.26-3) frozen unstable; urgency=low
+
+  * Removed debugging information (Oops!)
+
+ -- Hugo Haas <hugo@debian.org>  Thu,  9 Apr 1998 15:09:01 +0100
+
+ssmtp (2.26-2) frozen unstable; urgency=low
+
+  * Ignored DSN options. Now works with mutt. :-)
+
+ -- Hugo Haas <hugo@debian.org>  Tue,  7 Apr 1998 14:14:40 +0100
+
+ssmtp (2.26-1) frozen unstable; urgency=low
+
+  * New upstream version: removed "horrible trick" used to get RFC822 date
+  * Source and installation clean-up
+
+ -- Hugo Haas <hugo@debian.org>  Sat,  4 Apr 1998 01:08:52 +0100
+
+ssmtp (2.25-5) frozen unstable; urgency=low
+
+  * Removed quotes in the From: line
+
+ -- Hugo Haas <hugo@debian.org>  Fri,  3 Apr 1998 21:31:29 +0100
+
+ssmtp (2.25-4) unstable; urgency=low
+
+  * Corrected a typo
+
+ -- Hugo Haas <hugo@debian.org>  Thu, 19 Mar 1998 08:49:13 +0000
+
+ssmtp (2.25-3) unstable; urgency=low
+
+  * Moved configuration files to /etc/ssmtp
+
+ -- Hugo Haas <hugo@debian.org>  Wed, 18 Mar 1998 18:38:04 +0000
+
+ssmtp (2.25-2) unstable; urgency=low
+
+  * Changed manpage
+
+ -- Hugo Haas <hugo@debian.org>  Sat, 14 Mar 1998 02:43:35 +0000
+
+ssmtp (2.25-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- Hugo Haas <hugo@debian.org>  Sat, 14 Mar 1998 02:03:02 +0000
+
+ssmtp (2.24-4) unstable; urgency=low
+
+  * Updated to standards 2.4.0.0
+  * Removed debhelper's dh_du
+
+ -- Hugo Haas <hugo@debian.org>  Sun, 22 Feb 1998 11:13:43 +0000
+
+ssmtp (2.24-3) unstable; urgency=low
+
+  * README file modified: incompatibility with Pine explained
+
+ -- Hugo Haas <hugo@debian.org>  Thu, 29 Jan 1998 18:23:47 +0000
+
+ssmtp (2.24-2) unstable; urgency=low
+
+  * Modified the manpage
+  * Added a link to sendmail manpage
+
+ -- Hugo Haas <hugo@debian.org>  Wed, 28 Jan 1998 20:54:16 +0000
+
+ssmtp (2.24-1) unstable; urgency=low
+
+  * New upstream version: configuration parsing changed (#17470)
+  * Declared configuration files as conffiles
+  * Changed the Makefile
+  * Changed the logging verbosity
+
+ -- Hugo Haas <hugo@debian.org>  Mon, 26 Jan 1998 22:40:49 +0000
+
+ssmtp (2.23-1) unstable; urgency=low
+
+  * New upstream version (#17240)
+  * Enabled RewriteDomain option
+  * Enabled Syslog option
+
+ -- Hugo Haas <hugo@debian.org>  Mon, 19 Jan 1998 15:18:53 +0000
+
+ssmtp (2.22-2) unstable; urgency=low
+
+  * Add /usr/lib/sendmail symlink (#17178)
+
+ -- Hugo Haas <hugo@debian.org>  Fri, 16 Jan 1998 14:27:37 +0000
+
+ssmtp (2.22-1) unstable; urgency=high
+
+  * New upstream version (#15690)
+  * Correct typo in /etc/ssmtp.conf (#15690)
+
+ -- Hugo Haas <hugo@debian.org>  Sun, 21 Dec 1997 17:49:05 +0100
+
+ssmtp (2.21-1) unstable; urgency=low
+
+  * New upstream version (RCPT bug fixed)
+
+ -- Hugo Haas <hugo@debian.org>  Tue, 11 Nov 1997 15:14:19 +0000
+
+ssmtp (2.2-1) unstable; urgency=low
+
+  * New maintainer
+  * New upstream version
+
+ -- Hugo Haas <hugo@debian.org>  Sun, 26 Oct 1997 12:08:24 +0100
+
+ssmtp (2.1) unstable; urgency=low
+
+  * Make it a native package. I am the upstream maintainer also now.
+  * Change Copyright to GPL
+  * Remove old documentation
+
+ -- Christoph Lameter <clameter@debian.org>  Mon, 29 Sep 1997 17:42:50 -0700
+
+ssmtp (2.0-4) unstable; urgency=low
+
+  * Fix manpage
+
+ -- Christoph Lameter <clameter@debian.org>  Mon, 29 Sep 1997 08:04:58 -0700
+
+ssmtp (2.0-3) unstable; urgency=low
+
+  * Implement the sendmail -t option (limited!)
+  * Limit header size to 4K (easier programming, spam protection)
+
+ -- Christoph Lameter <clameter@debian.org>  Sun, 28 Sep 1997 20:50:35 -0700
+
+ssmtp (2.0-2) unstable; urgency=low
+
+  * Changes to documentation
+  * Move config file to /etc/ssmtp.conf
+
+ -- Christoph Lameter <clameter@debian.org>  Sun, 28 Sep 1997 14:53:36 -0700
+
+ssmtp (2.0-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Christoph Lameter <clameter@debian.org>  Thu, 22 May 1997 22:18:24 -0700
--- ssmtp-2.61.orig/debian/rules
+++ ssmtp-2.61/debian/rules
@@ -0,0 +1,82 @@
+#!/usr/bin/make -f
+#
+# Rules for making sSMTP - Matt Ryan
+# Copyright (C) 2004-2005 Anibal Monsalve Salazar <anibal@debian.org>
+#
+SHELL=/bin/bash
+CC=gcc
+CFLAGS=-O2 -g -Wall
+
+do_cfg:
+	test -f Makefile || ./configure --exec-prefix="/usr" --prefix="" --enable-ssl --with-cflags="$(CFLAGS)"
+
+build:	do_cfg
+	make
+
+binary:	binary-arch binary-indep
+
+binary-arch:	checkroot configure build
+	-rm -rf debian/tmp
+
+	dpkg-shlibdeps ssmtp
+
+	install -d -m 755 -o root -g root debian/tmp/DEBIAN
+	dpkg-gencontrol -isp
+	po2debconf --podir=debian/po debian/templates > debian/tmp/DEBIAN/templates
+	install -m 644 debian/conffiles debian/tmp/DEBIAN
+	install -m 755 debian/preinst debian/tmp/DEBIAN
+	install -m 755 debian/postinst debian/tmp/DEBIAN
+	install -m 755 debian/postrm debian/tmp/DEBIAN
+	install -m 755 debian/config debian/tmp/DEBIAN
+
+	install -d -m 755 debian/tmp/usr/sbin
+	install -s -m 755 ssmtp debian/tmp/usr/sbin/ssmtp
+	install -d -m 755 debian/tmp/usr/share/man/man8
+	install -m 644 ssmtp.8 debian/tmp/usr/share/man/man8/ssmtp.8
+	install -d -m 755 debian/tmp/usr/share/man/man5
+	install -m 644 ssmtp.conf.5 debian/tmp/usr/share/man/man5/ssmtp.conf.5
+	install -d -m 755 debian/tmp/etc/ssmtp
+	install -m 644 revaliases debian/tmp/etc/ssmtp/revaliases
+
+	-cd debian/tmp/usr/sbin && ln -sf ssmtp sendmail
+	install -d -m 755 -o root -g root debian/tmp/usr/lib
+	-cd debian/tmp/usr/lib && ln -sf ../sbin/sendmail .
+
+	-cd debian/tmp/usr/sbin && ln -sf ssmtp newaliases
+	install -m 644 debian/newaliases.8 debian/tmp/usr/share/man/man8
+	-cd debian/tmp/usr/sbin && ln -sf ssmtp mailq
+	install -m 644 debian/mailq.8 debian/tmp/usr/share/man/man8
+
+	gzip -9v debian/tmp/usr/share/man/man5/*
+	gzip -9v debian/tmp/usr/share/man/man8/*
+	-cd debian/tmp/usr/share/man/man8 && ln -sf ssmtp.8.gz sendmail.8.gz
+
+	install -d -m 755 -o root -g root debian/tmp/usr/share/doc/ssmtp
+	install -m 644 TLS debian/tmp/usr/share/doc/ssmtp
+	install -m 644 README debian/tmp/usr/share/doc/ssmtp
+	install -m 644 debian/README.debian debian/tmp/usr/share/doc/ssmtp/README.Debian
+	install -m 644 debian/copyright debian/tmp/usr/share/doc/ssmtp
+	install -m 644 debian/changelog debian/tmp/usr/share/doc/ssmtp/changelog.Debian
+	install -m 644 CHANGELOG_OLD debian/tmp/usr/share/doc/ssmtp/changelog
+	gzip -9 debian/tmp/usr/share/doc/ssmtp/{changelog.Debian,changelog}
+
+	install -d -m 755 debian/tmp/etc/logcheck/ignore.d.server
+	install -m 640 debian/logcheck.server \
+		debian/tmp/etc/logcheck/ignore.d.server/ssmtp
+	
+	install -d -m 755 debian/tmp/usr/share/lintian/overrides/
+	install -m 644 debian/ssmtp.lintian debian/tmp/usr/share/lintian/overrides/ssmtp
+
+	dpkg --build debian/tmp ..
+
+binary-indep:
+
+clean:
+	test \! -f Makefile || make distclean
+	-rm -rf debian/tmp
+	-rm -f debian/{files,substvars}
+
+checkroot:
+	test root = "`whoami`"
+
+.PHONY: build binary clean checkroot
--- ssmtp-2.61.orig/debian/conffiles
+++ ssmtp-2.61/debian/conffiles
@@ -0,0 +1,2 @@
+/etc/ssmtp/revaliases
+/etc/logcheck/ignore.d.server/ssmtp
--- ssmtp-2.61.orig/debian/ssmtp.lintian
+++ ssmtp-2.61/debian/ssmtp.lintian
@@ -0,0 +1 @@
+ssmtp: non-standard-file-perm etc/logcheck/ignore.d.server/ssmtp 0640 != 0644
--- ssmtp-2.61.orig/debian/mailq.8
+++ ssmtp-2.61/debian/mailq.8
@@ -0,0 +1,17 @@
+.TH MAILQ 8 "July 2001" "Debian GNU/Linux"
+.SH NAME
+mailq \- show contents of the mail queue
+.SH SYNOPSIS
+.B mailq
+.SH DESCRIPTION
+This is a link to the ssmtp binary. It invokes
+.B /usr/sbin/sendmail
+with the
+.B -q
+option. It is provided for compatibility with the sendmail program.
+.P
+In this case it does absolutely nothing since sSMTP does not support
+mail queues and is just there to avoid programs returning error messages.
+.SH AUTHOR
+This manual page was written by Matt Ryan <mryan@debian.org> for the
+Debian GNU/Linux system.
--- ssmtp-2.61.orig/debian/postinst
+++ ssmtp-2.61/debian/postinst
@@ -0,0 +1,94 @@
+#!/bin/sh -e
+#
+# $Id: postinst,v 1.14 2002/10/25 09:36:19 matt Exp $
+#
+
+if test -L /usr/doc/ssmtp
+then
+	rm -f /usr/doc/ssmtp 2>/dev/null || true
+fi
+
+. /usr/share/debconf/confmodule
+
+db_get ssmtp/root
+root="$RET"
+
+db_get ssmtp/mailhub
+mailhub="${RET:-mail}"
+
+db_get ssmtp/port
+port="$RET"
+
+db_get ssmtp/hostname
+hostname="${RET:-`hostname --fqdn`}"
+
+db_get ssmtp/rewritedomain
+rewritedomain="$RET"
+
+if test -s /etc/mailname
+then
+	:
+else
+	test -n "$hostname" && MailName="$hostname"
+	test -n "$rewritedomain" && MailName="$rewritedomain"
+
+	touch /etc/mailname
+	chmod 644 /etc/mailname
+	echo "$MailName" > /etc/mailname
+fi
+
+db_get ssmtp/fromoverride
+test "$RET" = "true" && FromOverride=YES
+
+test -d /etc/ssmtp || exit 1
+
+if test -s /etc/ssmtp/ssmtp.conf
+then
+	if test "$port" = "25" -o -z "$port"
+	then
+		:
+	else
+		mailhub=${mailhub}:$port
+	fi
+	test -z "$FromOverride" && FromOverride=NO
+	touch /etc/ssmtp/ssmtp.conf.tmp
+	chmod 644 /etc/ssmtp/ssmtp.conf.tmp
+	sed "s/^root=.*/root=$root/;s/^mailhub=.*/mailhub=$mailhub/;s/^rewriteDomain=.*/rewriteDomain=$rewritedomain/;s/^hostname=.*/hostname=$hostname/;s/^FromLineOverride=.*/FromLineOverride=$FromOverride/;s/^#FromLineOverride=.*/FromLineOverride=$FromOverride/" /etc/ssmtp/ssmtp.conf > /etc/ssmtp/ssmtp.conf.tmp
+	mv -f /etc/ssmtp/ssmtp.conf.tmp /etc/ssmtp/ssmtp.conf
+else
+	touch /etc/ssmtp/ssmtp.conf
+	chmod 644 /etc/ssmtp/ssmtp.conf
+	exec 1>/etc/ssmtp/ssmtp.conf
+
+	echo "#"
+	echo "# Config file for sSMTP sendmail"
+	echo "#"
+	echo "# The person who gets all mail for userids < 1000"
+	echo "# Make this empty to disable rewriting."
+	echo "root=$root"
+	echo
+	echo "# The place where the mail goes. The actual machine name is required no "
+	echo "# MX records are consulted. Commonly mailhosts are named mail.domain.com"
+	if test "$port" = "25" -o -z "$port"
+	then
+		echo "mailhub=$mailhub"
+	else
+		echo "mailhub=${mailhub}:$port"
+	fi
+	echo
+	echo "# Where will the mail seem to come from?"
+	test -z "$rewritedomain" && echo -n "#"
+	echo "rewriteDomain=$rewritedomain"
+	echo ""
+	echo "# The full hostname"
+	echo "hostname=$hostname"
+	echo
+	echo "# Are users allowed to set their own From: address?"
+	echo "# YES - Allow the user to specify their own From: address"
+	echo "# NO - Use the system generated From: address"
+	test -z "$FromOverride" && echo -n "#"
+	echo "FromLineOverride=YES"
+fi
+
+# Program End
+exit 0
--- ssmtp-2.61.orig/debian/config
+++ ssmtp-2.61/debian/config
@@ -0,0 +1,65 @@
+#!/bin/sh -e
+#
+# $Id: config,v 1.7 2001/04/16 12:09:00 matt Exp $
+#
+
+. /usr/share/debconf/confmodule
+
+if [ -f /etc/ssmtp/ssmtp.conf ]
+then
+	for v in `grep -E "^(root|mailhub|rewriteDomain|hostname|FromLineOverride)=" /etc/ssmtp/ssmtp.conf`
+	do
+		export $v
+	done
+
+	db_set ssmtp/root "$root"
+	if [ -n "$mailhub" ]
+	then
+		if [ `expr index "$mailhub" :` -ne 0 ]
+		then
+			db_set ssmtp/port "${mailhub#*:}"
+			db_set ssmtp/mailhub "${mailhub%:*}"
+		else
+			db_set ssmtp/port 25
+			db_set ssmtp/mailhub "$mailhub"
+		fi
+	fi
+	if [ -n "$rewriteDomain" ]
+	then
+		db_set ssmtp/rewritedomain "$rewriteDomain"
+	fi
+	if [ -n "$hostname" ]
+	then
+		db_set ssmtp/hostname "$hostname"
+	fi
+	if [ -n "$FromLineOverride" ]
+	then
+		if [ "$FromLineOverride" = "YES" ]
+		then
+			db_set ssmtp/fromoverride true
+		else
+			db_set ssmtp/fromoverride false
+		fi
+	fi
+fi
+
+db_input medium ssmtp/root || true
+db_go
+
+db_input medium ssmtp/mailhub || true
+db_go
+
+db_input low ssmtp/port || true
+db_go
+
+db_input medium ssmtp/rewritedomain || true
+db_go
+
+db_input low ssmtp/hostname || true
+db_go
+
+db_input medium ssmtp/fromoverride || true
+db_go
+
+# Program End
+exit 0
--- ssmtp-2.61.orig/debian/newaliases.8
+++ ssmtp-2.61/debian/newaliases.8
@@ -0,0 +1,17 @@
+.TH NEWALIASES 8 "September 2000" "Debian GNU/Linux"
+.SH NAME
+newaliases \- update /etc/aliases database
+.SH SYNOPSIS
+.B newaliases
+.SH DESCRIPTION
+This is a link to the ssmtp binary. It invokes
+.B /usr/sbin/sendmail
+with the
+.B -bi
+option. It is provided for compatibility with the sendmail program.
+.P
+In this case it does absolutely nothing since sSMTP does not support
+/etc/aliases and is just there to avoid programs returning error messages.
+.SH AUTHOR
+This manual page was written by Christoph Lameter <clameter@debian.org>,
+for the Debian GNU/Linux system. Minor fixes by Matt Ryan <mryan@debian.org>
--- ssmtp-2.61.orig/debian/postrm
+++ ssmtp-2.61/debian/postrm
@@ -0,0 +1,27 @@
+#!/bin/sh -e
+#
+# $Id: postrm,v 1.3 2001/03/21 21:16:25 matt Exp $
+#
+
+if test "$1" = "purge"
+then
+	if test -e /usr/share/debconf/confmodule
+	then
+		. /usr/share/debconf/confmodule
+		db_purge
+	fi
+
+	rm -r /etc/ssmtp 2>/dev/null || true
+	if test "$?" = 1
+	then
+		echo "/etc/ssmtp not empty -- not removed"
+	fi
+
+	if test -L /usr/doc/ssmtp
+	then
+		rm -f /usr/doc/ssmtp 2>/dev/null || true
+	fi
+fi
+
+# Program End
+exit 0
--- ssmtp-2.61.orig/debian/copyright
+++ ssmtp-2.61/debian/copyright
@@ -0,0 +1,17 @@
+This package is now maintained by Anibal Monsalve Salazar <anibal@debian.org>
+and co-maintained by Santiago Ruano Rincon <santiago@unicauca.edu.co>.
+
+This package was maintained by Matt Ryan.
+
+This package was maintained by Hugo Haas.
+and was put under the GPL in version 2.1.
+Version 2.1 was maintained by Christophe Lameter.
+
+Versions up to version 2.0 were maintained by  David Collier-Brown
+and available as "Public Domain" (whatever that means).
+
+You should have received a copy of the GNU General Public License with
+your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or with
+the ssmtp source package as the file COPYING.  If not, write to the Free
+Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA.
--- ssmtp-2.61.orig/debian/preinst
+++ ssmtp-2.61/debian/preinst
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+#
+# $Id: preinst,v 1.4 2001/03/21 20:29:27 matt Exp $
+#
+
+if test -s /etc/ssmtp.conf
+then
+	echo "Configuration files found in /etc, moving them to /etc/ssmtp"
+
+	mkdir /etc/ssmtp 2>/dev/null || true
+	mv -f /etc/ssmtp.conf /etc/ssmtp 2>/dev/null || true
+
+fi
+
+if test -s /etc/revaliases
+then
+	mkdir /etc/ssmtp 2>/dev/null || true
+	mv -f /etc/revaliases /etc/ssmtp 2>/dev/null || true
+fi
+
+# Program End
+exit 0
--- ssmtp-2.61.orig/debian/logcheck.server
+++ ssmtp-2.61/debian/logcheck.server
@@ -0,0 +1 @@
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sSMTP\[[0-9]+\]: Sent mail for .* \([0-9]+ Bye\) uid=[0-9]+ username=[\._[:alnum:]-]+ outbytes=[0-9]+$
--- ssmtp-2.61.orig/debian/templates
+++ ssmtp-2.61/debian/templates
@@ -0,0 +1,61 @@
+Template: ssmtp/overwriteconfig
+Type: boolean
+Default: true
+_Description: Automatically overwrite config files?
+ The mail configuration file /etc/ssmtp/ssmtp.conf can be automatically
+ updated on each upgrade with the information supplied to the debconf
+ database. If you do not want this to happen (ie/ you want to maintain
+ control of this file yourself) then set this option to have the program
+ never touch this file.
+
+Template: ssmtp/root
+Type: string
+Default: postmaster
+_Description: Who gets mail for userids < 1000?
+ Mail sent to a local user whose UID is less than 1000 will instead be
+ sent here. This is useful for daemons which mail reports to root and
+ other system UIDs.
+ Make this empty to disable rewriting.
+
+Template: ssmtp/mailhub
+Type: string
+Default: mail
+_Description: Name of your mailhub?
+ This sets the host to which mail is delivered. The actual machine
+ name is required; no MX records are consulted. Commonly, mailhosts
+ are named "mail.domain.com".
+
+Template: ssmtp/port
+Type: string
+Default: 25
+_Description: Remote SMTP port number
+ If your remote SMTP server listens on a port other than 25 (Standard/RFC)
+ then set it here.
+
+Template: ssmtp/rewritedomain
+Type: string
+_Description: What domain to masquerade as?
+ ssmtp will use "username@REWRITEDOMAIN" as the default From: address
+ for outgoing mail which contains only a local username.
+
+Template: ssmtp/mailname
+Type: string
+_Description: What name to store in /etc/mailname
+ This is the portion of the address after the '@' sign to be shown on
+ outgoing news and mail messages.
+
+Template: ssmtp/hostname
+Type: string
+_Description: Fully qualified hostname?
+ This should specify the real hostname of this machine, and will be
+ sent to the mailhub when delivering mail.
+
+Template: ssmtp/fromoverride
+Type: boolean
+Default: false
+_Description: Allow override of From: line in email header?
+ A "positive" response will permit local users to enter any From: line
+ in their messages without it being mangled, and cause ssmtp to rewrite
+ the envelope header with that address. A "negative" response will
+ disallow this, and use only the default address or addresses set in
+ /etc/ssmtp/revaliases.
--- ssmtp-2.61.orig/ssmtp.conf.5
+++ ssmtp-2.61/ssmtp.conf.5
@@ -0,0 +1,81 @@
+.\"/* Copyright 2004 Reuben Thomas
+.\" * All rights reserved
+.\" *
+.\" This man page is distributed under the GNU General Public License
+.\" version 2, or at your option, any later version. There is no warranty.
+.\"
+.Dd October 7, 2004
+.Dt SSMTP.CONF 5
+.Os
+.Sh NAME
+.Nm ssmtp.conf
+.Nd ssmtp configuration file
+.Sh DESCRIPTION
+.Nm ssmtp
+reads configuration data from
+.Pa /etc/ssmtp/ssmtp.conf
+The file contains keyword-argument pairs, one per line.
+Lines starting with
+.Ql #
+and empty lines are interpreted as comments.
+.Pp
+The possible keywords and their meanings are as follows (both are case-insensitive):
+.Bl -tag -width Ds
+.It Cm Root
+The user that gets all mail for userids less than 1000. If blank, address rewriting is disabled.
+.Pp
+.It Cm Mailhub
+The host to send mail to, in the form
+.Ar host No | Ar IP_addr No Oo : Ar port Oc .
+The default port is 25.
+.Pp
+.It Cm RewriteDomain
+The domain from which mail seems to come.
+for user authentication.
+.Pp
+.It Cm Hostname
+The full qualified name of the host.
+If not specified, the host is queried for its hostname.
+.Pp
+.It Cm FromLineOverride
+Specifies whether the From header of an email, if any, may override the default domain.
+The default is
+.Dq no .
+.Pp
+.It Cm UseTLS
+Specifies whether ssmtp uses TLS to talk to the SMTP server.
+The default is
+.Dq no .
+.Pp
+.It Cm UseSTARTTLS
+Specifies whether ssmtp does a EHLO/STARTTLS before starting SSL negotiation.
+See RFC 2487.
+.Pp
+.It Cm TLSCert
+The file name of an RSA certificate to use for TLS, if required.
+.Pp
+.It Cm AuthUser
+The user name to use for SMTP AUTH.
+The default is blank, in which case SMTP AUTH is not used.
+sent without
+.Pp
+.It Cm AuthPass
+The password to use for SMTP AUTH.
+.Pp
+.It Cm AuthMethod
+The authorization method to use.
+If unset, plain text is used.
+May also be set to
+.Dq cram-md5 .
+.Sh FILES
+.Bl -tag -width Ds
+.It Pa /etc/ssmtp/ssmtp.conf
+Contains configuration data for
+.Nm ssmtp .
+.El
+.Sh SEE ALSO
+.Xr ssmtp 8
+.Sh AUTHORS
+Matt Ryan (mryan@debian.org), Hugo Haas (hugo@debian.org), Christoph Lameter (clameter@debian.org)
+and Dave Collier-Brown (davecb@hobbes.ss.org).
+Reuben Thomas (rrt@sc3d.org) wrote the man page.