File: ChangeLog

package info (click to toggle)
fidogate 4.2.8-3
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 5,804 kB
  • ctags: 2,843
  • sloc: ansic: 22,020; perl: 2,885; sh: 1,550; yacc: 671; makefile: 582
file content (1844 lines) | stat: -rw-r--r-- 61,458 bytes parent folder | download | duplicates (3)
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
Sun Nov  2 15:40:37 1997  Martin Junius  <mj@fido.de>

	======= Release 4.2.8 ================================================
	------- CVS ci, tag R428 ---------------------------------------------

	* README: update, changes 4.2.2+ moved to ANNOUNCE.

	* ANNOUNCE: update, all changes 4.2.2+.

Sat Nov  1 15:13:28 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* fidogate.lsm: updated.

	* ANNOUNCE (Internet): updated.

	* examples/orodruin/routing: added bossroute example.

	* doc/fidogate.texi (Routing): documented xroute (not yet
	  implemented) and bossroute.

	* src/toss/ftnroute.c (do_cmd): CMD_BOSSROUTE implemented. If
	  r->flav matches packet flavour, then the packet will be routed
	  to the boss node (point = 0).

	* test/tc.route/run: new test case for ftnroute.

	* src/toss/ftnroute.c (do_cmd): added CMD_XROUTE, CMD_BOSSROUTE.

	* src/common/routing.c (parse_cmd): new commands "xroute",
	  "bossroute". 

	* src/include/structs.h (CMD_BOSSROUTE): new routing command.

	* scripts/filebase/fb-filelist.pl: new version, lists file areas
	  read from FIDOGATE's fareas.bbs.

Sun Oct 26 11:07:42 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* ANNOUNCE: updated.

	* version.h (PATCHLEVEL): set to 8 (version 4.2.8)

	------- CVS ci -------------------------------------------------------

	* test/tc.bounce2/run: new test case, bounces by ftn2rfc.

	* src/common/bounce.c (bounce_header): must use mail_file('m') for
	  bounce_cc_mail.

	* test/tc.gateway/run: new test case for ^AGATEWAY, X-Gateway.

	* src/gate/rfc2ftn.c (snd_message): output ^AGATEWAY kludge, using
	  X-Gateway header if present.

	* src/gate/ftn2rfc.c (unpack): if ^AGATEWAY is present in FTN
	  message, add FIDOGATE entry in front and output as X-Gateway
	  header. Removed ".." from X-Gateway header.

Wed Oct 22 21:14:20 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* scripts/maintenance/logdaily.sh: new script for daily log
	  maintenance, running logcheck for last rotated sendmail maillog.

	* scripts/maintenance/logcheck.pl: added news postings and mail
	  features like logreport.pl.

Tue Oct 21 22:25:37 1997  Martin Junius  <mj@fido.de>

	* scripts/maintenance/logcheck.pl: new scripts generating report
	  of sendmail's check_mail reject activities.

Sun Oct 19 18:16:34 1997  Martin Junius  <mj@fido.de>

	* test/tc.aliases/run: new tests for aliases.

	------- CVS ci -------------------------------------------------------

	* src/gate/rfc2ftn.c (main): implemented new ReplyAddrIfMailTX
	  config option.
	  (snd_message): if replyaddr_ifmail_tx is set, generate
	  ^AREPLYADDR <user@do.main>.

	* doc/fidogate.texi (Config): documented new ReplyAddrIfMailTX.

Tue Oct 14 19:28:20 1997  Martin Junius  <mj@fido.de>

	======= Release 4.2.7 ================================================
	------- CVS ci, tag R427 ---------------------------------------------

	* doc/fidogate.texi (Config): documented RFCAddrMode.

	* src/gate/ftn2rfc.c (main): dito.

	* src/gate/rfc2ftn.c (main): new config.gate option RFCAddrMode,
	  setting mode for rfcaddr_to_asc(), see below.

	* src/common/rfcaddr.c (rfcaddr_mode): new function setting
	  rfcaddr_to_asc() mode:
	      0 = user@do.main (Real Name)
	      1 = Real Name <user@do.main>
	      2 = user@do.main
	  (rfcaddr_to_asc): if addr_mode==1, then use the format
	      Real Name <user@do.main>
	  for RFC addresses with real name.

Mon Oct 13 20:32:58 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* fidogate.lsm: updated.

	* ANNOUNCE: updated.

	* src/tick/ftntick.c (process_tic): fixed unknown_tick_area
	  processing, don't replace, don't forward file to downlink. The
	  file will be just moved to the unknown area directory.

	* src/common/areasbbs.c (areasbbs_init): strip_crlf(buffer) after
	  reading line from file.

	* test/tc.tick/run: added test6.tic with unkown file area.

	* examples/orodruin/config.main: dito.

	* test/cf/config.main: added UnknownTickArea.

	* src/tick/ftntick.c (process_tic): if unknown_tic_area is set,
	  try to use this area, if area from TIC file can't be found.

	* doc/fidogate.texi (Config): documented new UnknownTickArea.

	* src/tick/ftntick.c (main): new config.main option
	  UnknownTickArea, sets entry from fareas.bbs to be used for
	  unknown areas.

	* src/common/tick.c (tick_get): if Desc is empty, set to "--no
	  description--".

	* src/tick/ftntick.c (add_files_bbs): changed "--no description--"
	  text (actually, this won't be use, but anyway ...)

Sun Oct 12 00:02:28 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* doc/fidogate.texi (Config): documented DontUseReplyTo.

	* examples/win32/config.gate: added XFlagsPolicy a, DontUseReplyTo
	  for test configuration.

	* ANNOUNCE: updated.

	------- CVS ci -------------------------------------------------------

	* src/gate/rfc2ftn.c (snd_mail): check x_flags_policy for
	  processing X-Flags, log all X-Flags going thru rfc2ftn.
	  (main): added DontUseReplyTo config.gate command.
	  (rfc_sender): don't try to get real name from Reply-To header,
	  if DontUseReplyTo is set.

	* doc/fidogate.texi (Config): documented XFlagsPolicy.

	* src/gate/rfc2ftn.c (snd_message): new vars x_flags_f, x_flags_m,
	  x_flags_n for corresponding X-Flags settings.
	  (snd_message): don't output ^ARFC headers, if x_flags_n is set.
	  (main): new config.gate command XFlagsPolicy,
	      n, N, 0    -    No X-Flags processing at all,
	      s, S, 1    -    X-Flags processing for local sender,
	      a, A, 2    -    X-Flags processing for all.

	* src/toss/history.c: added #include "getopt.h" for test program.

	* examples/win32/: added various example configuration files and
	  README.WIN32 for WIN32 binary test distribution.

	* examples/win32/config.make: use -O2.

	* doc/fidogate.texi (Introduction): new mailing list.

	------- CVS ci -------------------------------------------------------

	* doc/howto/: added Fido-Node-HOWTO contributed by
	  Matthias Schniedermeyer <ms@citd.owl.de> (not yet complete).

Sat Oct 11 19:39:08 1997  Martin Junius  <mj@fido.de>

	* fidogate.lsm: updated.

	* ANNOUNCE: updated size.

	------- CVS ci, tag R427test -----------------------------------------

	* ANNOUNCE: updated.

	------- CVS ci -------------------------------------------------------

	* doc/fidogate.texi (Config files): added include command for all
	  config files.
	  (Config): new FTNInSendmail configuration.

	* src/common/log.c (strerror): #ifndef DO_HAVE_STRERROR around
	  this function.

	* config.h (DO_HAVE_STRERROR): added new configuration #define for
	  Standard C function strerror() (not necessarily available on
	  older Unix variants like SunOS).

	* doc/qmail.txt: added comments from Frank Drolshagen
	  <Frank_Drolshagen@p1.f6369.n244.z2.fidonet.org>.

	* doc/fidogate.texi (Config files): added FIDOGATE env var.
	  (ftn2rfc): added -1 --single-articles option.
	  (Config): added SingleArticles.
	  (Example Point 2): added packer configuration help.

	* src/toss/Makefile (install): dito.

	* src/tick/Makefile (install): dito.

	* src/gate/Makefile (install): dito.

	* src/ffx/Makefile (install): dito.

	* scripts/run/Makefile (install): dito.

	* scripts/nodelist/Makefile (install): dito.

	* scripts/maintenance/Makefile (install): dito.

	* scripts/inn/Makefile (install): dito.

	* doc/html/Makefile (install): dito.

	* doc/gatebau/Makefile (install): dito.

	* doc/Makefile (install): dito.

	* Makefile (install): added PREFIX to install destinations.

	* config.make: added PREFIX macro.

Fri Oct 10 20:39:54 1997  Martin Junius  <mj@fido.de>

	* src/gate/ftninpost.pl: fixed run ftninrecomb, using system with
	  @cmd list.

Sun Oct  5 13:10:17 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* sendmail/hack/: added HACKs from Claus Assman, see
	  sendmail/README.check. 

	* sendmail/: some documentation for check-HACKs by
	  Claus Assmann <ca@informatik.uni-kiel.de>, HTML files and m4
	  configuration files from
	  http://www.informatik.uni-kiel.de/~ca/email/check.html

	* sendmail/cf/Makefile: added *-check, removed install-* targets.

	* sendmail/cf/junk: example filter data.

	* sendmail/cf/orodruin-check.mc: dito.

	* sendmail/cf/morannon-check.mc: new config file using check_mail3
	  to check for SPAM.

	* doc/rfc/: added new directory with mail/news message format
	  related RFCs. 

	* config.h (RFC_LVL_1_HEADERS): added Return-Path (envelope sender).

Fri Oct  3 14:10:39 1997  Martin Junius  <mj@fido.de>

	* README: new mailing list.

	* sendmail/cf/morannon.mc: dito.

	* sendmail/cf/orodruin.mc: added majordomo aliases, added
	  majordomo to list of trusted users.

Thu Sep 25 21:09:40 1997  Martin Junius  <mj@fido.de>

	* src/toss/rununpack.sh: same.

	* src/toss/runtoss.sh: allow input directory as argument to
	  runtoss (must start with /).

Sat Sep 20 09:10:03 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* version.h (PATCHLEVEL): set to 7 (version 4.2.7).

Sat Sep 13 22:31:49 1997  Martin Junius  <mj@fido.de>

	* src/common/routing.c (routing_parse_line): type variable must be
	  static, it will be changed by the NetMail/EchoMail routing
	  commands. 

Wed Aug 20 22:22:31 1997  Martin Junius  <mj@fido.de>

	======= Release 4.2.6 ================================================
	------- CVS ci, tag R426 ---------------------------------------------

	* ANNOUNCE: update.

	* fidogate.lsm: update.

	* README: update.

	* examples/README: update.

	* examples/win32/: new example dir for win32 configuration,
	  containing modified config.make.

	* */Makefile (veryclean): added veryclean target to all of them.

	* Makefile (install-dirs): new target, checking directory for
	  existence before creating it, added BINDIR and INFODIR.

	* test/tc.passthru/run: fixed using in/tmpnews.

	* test/tc.nomsgid/run: fixed using in/tmpnews, only first message
	  file from in/tmpnews.

	* test/tc.bounce/run: added exit 0 to continue loop in Makefile.

Sun Aug 17 11:26:47 1997  Martin Junius  <mj@fido.de>

	* src/tick/ftntick.c (add_files_bbs): empty change to "-no
	  description-". 

	* src/common/tick.c (tick_get): if arg is NULL, set to "".
	  (tick_put): check tic->desc.first.

	------- CVS ci -------------------------------------------------------

	* src/include/structs.h (AREASBBS_READONLY): new #define for
	  read-only areas.

	* src/common/areasbbs.c (areasbbs_add): new function adding entry
	  to areas.bbs list in memory.

	* src/toss/ftnaf.c (main): init output for command line operation.

	* test/tc.af/run: added test for create, vacation commands.

	* src/toss/ftnaf.c (main): authorized_create is TRUE when called
	  from command line.
	  (main): use BUF_APPEND().
	  (cmd_help): updated help text.
	  (CMD_CREATE): new command.
	  (CMD_VACATION): new command.
	  (do_command): implemented create, vacation commands.
	  (cmd_vacation): new function implementing vacation command.
	  (cmd_create): new function implementing create command.

	* src/gate/rfc2ftn.c (snd_mail): mime_deheader() subj before
	  calling snd_message().

	* test/tc.gate7/run: added test with MIME umlauts in Subject.

	* src/toss/ftntoss.c (rename_bad): changed log() message.

	* src/gate/ftn2rfc.c (rename_bad): changed log() message.

	* src/gate/ftninpost.pl: improved post processing script, now
	  passing command line options as an array to system, avoiding
	  potential problems with shell meta characters (and improving
	  security of course).

Thu Aug 14 21:50:49 1997  Martin Junius  <mj@fido.de>

	* test/tc.tick/run: added new test5.tic (Desc empty).

	* src/tick/ftntick.c (add_files_bbs): check that tic->desc isn't
	  empty. 

Wed Aug 13 19:23:47 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* src/common/passwd.c (passwd_parse_line): same for passwd.
	  (passwd_do_file): same for passwd.
	  (passwd_init): same for passwd.

	* src/common/hosts.c (hosts_parse_line): same for hosts.
	  (hosts_do_file): same for hosts.
	  (hosts_init): same for hosts.

	* src/common/aliases.c (alias_parse_line): same for aliases.
	  (alias_do_file): same for aliases.
	  (alias_init): same for aliases.

	* src/toss/ftnpack.c (packing_parse_line): same for packing.
	  (packing_do_file): same for packing.
	  (packing_init): same for packing.

	* src/common/routing.c (routing_parse_line): new function parsing
	  routing command line from file, additionally implementing the new
	  "include" command.
	  (routing_do_file): new function doing the file processing for
	  the routing config file.
	  (routing_init): changed to call new routing_do_file().
	  debug() level changed to 15.

	------- CVS ci -------------------------------------------------------

	* src/common/areas.c (areas_parse_line): new function doing the
	  line parsing part of the old areas_init() function, additionally
	  implementing an "include" command.
	  (areas_do_file): new function doing the file processing part of
	  the old areas_init() function.
	  (areas_init): changed to call new areas_do_file().

	* src/include/node.h (st_node): added flags field to Node struct.
	  (NODE_*): #define's for node flags.

Mon Aug 11 21:23:06 1997  Martin Junius  <mj@fido.de>

	* README: added some rules for supplying patches.

Sun Aug 10 18:18:41 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* src/gate/ftn2rfc.c (unpack): pass 'm' / 'n' to mail_*().

	* src/common/bounce.c (bounce_mail): pass 'm' to mail_*().

	* src/common/mail.c (mail_kill): removed.
	  (mail_name): added sel argument.
	  (mail_file): same.
	  (mail_close): same.

	* src/common/bounce.c (bounce_header): pass 'm' to mail_*().

	------- CVS ci -------------------------------------------------------

	* src/gate/ftninrecomb.pl: same.

	* src/gate/ftninpost.pl: use new in/tmpmail, in/tmpnews.

	* test/tc.gate1/run: added test run with ftn2rfc -1.

	* test/tr.init: create new in/tmpmail, in/tmpnews.

	* src/gate/ftn2rfc.c (unpack): removed early open of news output file.
	  (unpack): new output file code, also support single news article
	  files.

	* src/common/mail.c (mail_open): added new sel argument, sel='m'
	  creates mail file, sel='n' creates news file.

	* config.h (INDIR_MAIL): changed to tmpmail.
	  (INDIR_NEWS): change to tmpnews.

	* src/common/mail.c: news_dir[] moved from ftn2rfc.c to mail.c.

	* src/gate/ftn2rfc.c (unpack): added area name to "skipping
	  message from gateway ..." log().
	  (usage): new -1 --single-articles option.
	  (main): implemented -1 --single-articles option, also enabled by
	  config.gate SingleArticles.

Sun Aug  3 09:47:38 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* ANNOUNCE: update.

	* scripts/nodelist/nl-diff.pl: fixed severe error in CRC check,
	  the too well known = versus ==. :-(

	* scripts/nodelist/nl-check.pl: new script checking CRC of nodelist.

	* src/common/config.c (cf_initialize): use environment var
	  FIDOGATE to initialize scf_libdir[], use BUF_COPY().
	  (cf_do_line): use BUF_COPY(), BUF_APPEND().
	  (cf_set_libdir): same.
	  (cf_set_spooldir): same.
	  (cf_set_logdir): same.
	  (cf_unix_xlate): make comparison case-insensitive.

	* test/tc.tick/run: added TIC test with missing file.

	* src/toss/ftntoss.c (do_netmail): changed log() message.

Fri Jul 25 22:01:56 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* version.h (PATCHLEVEL): set to 6 (version 4.2.6).

	* doc/info2txt.pl: changed name to .pl.

	* doc/Makefile (fidogate.txt): use $(PERL) to run info2txt.pl
	  script, #! path name may be wrong while compiling.

	* config.make.WIN32: updated. Please note that path names do not
	  contain a drive. If a drive must be specified, use the //D/PATH
	  notation, because D:/PATH will fail for executing programs and
	  scripts.

	* src/*/Makefile (install): updated install targets to include
	  $(EXE) macro for program files.

	* config.make: INSTALL defines install program, EXE defines
	  program file name extension (.exe for MSDOS, OS2, WIN32).

	* src/common/misc.c (is_digit): new signed char-safe version of
	  isdigit() to prevent possible problems with <ctype.h>
	  implementations. 

	* src/*/*.c: replaced all calls to isdigit() with is_digit().

	* src/include/prototypes.h: use #ifdef DO_DOSIFY to enable
	  str_dosify() in DOSIFY_IF_NEEDED() macro.

	* config.h (DO_DOSIFY): new #define for enabling
 	  DOSIFY_IF_NEEDED() macro.

	* src/common/lock.c (lock_fd): replace old #ifdef with #ifndef
	  DO_HAVE_FCNTL_LOCK.
	  (unlock_fd): same.

	* config.h (DO_HAVE_FCNTL_LOCK): new #define for file locking with
	  fcntl(), see lock.c.
	  Standard #define for POSIX UNIX before system specific #define. 

Sun Jul 20 16:56:51 1997  Martin Junius  <mj@fido.de>

	* scripts/nodelist/latest.pl: several changes to be used with
	  nl-autoupd. 

	* scripts/nodelist/nl-autoupd.pl: new script for automatically
 	  searching and applying nodediffs (not yet complete).

Tue Jul  8 20:14:14 1997  Martin Junius  <mj@fido.de>

	======= Release 4.2.5 ================================================
	------- CVS ci, tag R425 ---------------------------------------------

	* ANNOUNCE: updated.

	* fidogate.lsm: updated.

	* scripts/run/runpoll.sh: run ffxqt directly, not ffxrun.

	------- CVS ci -------------------------------------------------------

	* examples/orodruin/config.gate: changed FTNInSendmail.

	* src/ffx/ffxrmail.pl: added -L, -S options. FFXRmailSendmail
	  config statement will be used for the sendmail command.

	* examples/orodruin/config.ffx: added FFXRmailSendmail.

	* sendmail/mailer/ftn.m4: add -- before $u to all rfc2ftn command
	  line, preventing possible problems with -some@thing.

Tue Jul  1 21:28:35 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* src/include/prototypes.h (DOSIFY_IF_NEEDED): fixed typo, define
 	  macro to str_dosify(s) for MSDOS/OS2. This shouldn't be needed
	  for the GNU-WIN32 port, as the system() function should be happy
	  with '/'s in program names.

Sun Jun 29 12:30:27 1997  Martin Junius  <mj@fido.de>

	* src/gate/ftn2rfc.c (unpack_file): changed log() message.

Sat Jun 28 18:04:34 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* src/gate/rfc2ftn.c (snd_message): if Content-Transfer-Encoding
	  is QUOTED-PRINTABLE, change it to 8BIT.

	* config.h (RFC_LVL_1_HEADERS): added MIME-Version, Content-Type,
	  Content-Transfer-Encoding, Next-Attachment.

	* src/common/log.c (log): set debugfile to stderr if NULL.
	  (debug): set debugfile to stderr if NULL. debugfile is now
 	  initialized with NULL to avoids portability problems with stderr
 	  not being const.

	* src/toss/ftnaf.c (do_mail): set output to stdout, if not
	  connected to mailer pipe. output is now initialized with NULL to
	  avoids portability problems with stdout not being const.

	* config.make.WIN32: config.make for GNU-WIN32.

	* config.h: added GNU-WIN32 port (#ifdef __CYGWIN32__)

Fri Jun 27 21:31:00 1997  Martin Junius  <mj@fido.de>

	* sendmail/ostype/aux.m4: removed, name conflicts with
	  MSDOS/Windows95. 

	* ANNOUNCE: updated, changes < 4.2.4 moved to README.

	* fidogate.lsm: updated.

	* README: added porting information, including the new GNU-WIN32
 	  port.

	* version.h (PATCHLEVEL): set to 5 (version 4.2.5).

	* src/util/ftnflo.c (do_flo): replace truncate() with
	  open(,O_TRUNC) because it is not a POSIX function.

Mon Jun 23 21:23:41 1997  Martin Junius  <mj@fido.de>

	* scripts/run/runpoll.sh: use rununpack/runtoss directly, not runin.

Sun Jun 22 12:13:12 1997  Martin Junius  <mj@fido.de>

	* scripts/maintenance/rc.fidogate.sh: renamed old rc.fidonet.sh.

	======= Release 4.2.4 ================================================
	------- CVS ci, tag R424 ---------------------------------------------

	* ANNOUNCE: updated.

	* README: updated.

	* fidogate.lsm: updated.

	* scripts/nodelist/template.html: sample template.html for nl-html.

	* scripts/nodelist/html-tmpl.pl: perl support functions for nl-html.

	* scripts/nodelist/nl-html.pl: totally new version of nodelist to
	  HTML converter.

Sat Jun 21 22:00:23 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* src/gate/rfc2ftn.c (mail_receiver): add address_error[] string
	  to BOUNCE message.

	* test/tc.bounce/run: new test case for rfc2ftn BOUNCE messages.

	* scripts/run/runpoll.sh: run runin before ffxrun.

	* scripts/run/run1.sh: formatting changes, added send-ffx, ftnpack
	  -f 242:1000/5.

	* scripts/run/run2.sh: formatting changes, added ftntick.

	* src/tick/ftntick.c (process_tic): check that old file (Replaces)
	  exists before copying it to TickReplacedDir.

Wed Jun 11 22:33:01 1997  Martin Junius  <mj@fido.de>

	* src/toss/rununpack.sh: changed $INPUT/tmp directory to
	  $INPUT/tmpunpack to avoid conflicts with ifcico's inbound tmp
	  directory.

Sun Jun  8 10:25:22 1997  Martin Junius  <mj@fido.de>

	* scripts/nodelist/nl-del.pl: new options -l, -c, usage text.

	------- CVS ci -------------------------------------------------------

	* doc/fidogate.texi (config.h): new PASSTHRU_ECHOMAIL description.

	* config.h (PASSTHRU_NETMAIL): default: switched off.
	  (PASSTHRU_ECHOMAIL): default: switched off.

	* test/tc.passthru/run: new test case for PASSTHRU_ECHOMAIL.

	* src/gate/rfc2ftn.c (print_tear_line): implemented
	  PASSTHRU_ECHOMAIL, tear line from X-FTN-Tearline header.
	  (print_origin): implemented PASSTHRU_ECHOMAIL, using
	  X-FTN-Origin, X-FTN-Seen-By, X-FTN-Path headers. ftntoss must be
	  run afterwards to sort / compact SEEN-BY and ^APATH.

	* config.h (PASSTHRU_ECHOMAIL): now implemented.

	* src/common/rfcheader.c (rfcheader_geth): new function unifying
	  the various *header_get*().
	  (header_geth): new wrapper function for rfcheader_geth(), using
	  Textlist header.
	  (main): added TEST main program.

	* src/: started to integrate PASSTHRU_ECHOMAIL patches contributed
	  by Jean-Louis Noel <jln@stben.be>.

	* examples/: update to new fgatecfg.tgz by Andreas Braukmann.

Sun Jun  1 18:04:04 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* version.h (PATCHLEVEL): set to 4 (version 4.2.4).

	* ANNOUNCE: updated.

	* config.make: added CFLAGS, LFLAGS for NextStep.

	* src/common/rfcheader.c (header_hops): if RECEIVED_BY_MAILER is
	  defined, ignore those Received lines while counting.

	* config.h (DO_HAVE_SYSEXISTS_H): fixed silly spellung mistuk.
	  (__Next__): added port to NextStep 3.3 contributed by
	  <Holger_Graudejus@p17.f6666.n245.z2.fidonet.org>.
	  (RECEIVED_BY_MAILER): new #define used by header_hops().

Sun May 18 21:05:57 1997  Martin Junius  <mj@fido.de>

	* test/tc.gatenode/config.gate: special for test case.

	* test/tc.gatenode/run: new test case, tosser and gateway under
	  the same *node* address.

Wed May 14 19:59:28 1997  Martin Junius  <mj@fido.de>

	* fidogate.lsm: some corrections.

	* ANNOUNCE: some corrections.

	======= Release 4.2.3 ================================================
	------- CVS ci, tag R423 ---------------------------------------------

	* fidogate.lsm: updated.

	* ANNOUNCE: updated.

	* version.h (PATCHLEVEL): set to 3 (version 4.2.3).

	* src/common/tick.c (tick_get): convert area name to upper case.

	* src/common/areasbbs.c (areasbbs_lookup): make comparison
	  case-insensitive using stricmp().

Sun May 11 21:23:01 1997  Martin Junius  <mj@fido.de>

	* sendmail/cf/morannon.mc: added FEATURE(local_procmail), updated
	  confCF_VERSION to 4.4.

	======= Release 4.2.2 ================================================
	------- CVS ci, tag R422 ---------------------------------------------

	* fidogate.lsm: updated.

	* ANNOUNCE: updated.

	* test/tc.nomsgid/run: use new test packet.

	* test/ti.pkt-misc/t-gw-nomsgid.pkt: new test packet.

	------- CVS ci -------------------------------------------------------

	* examples/abis.abra.de, nambi.north.de: updated example
	  configuration files from Andreas Braukmann <andy@Abra.DE>.

Sat May 10 22:33:13 1997  Martin Junius  <mj@fido.de>

	* src/toss/rununpack.sh: use unzip -ojL for unpacking ZIP archives.

	* src/ffx/ffxqt.c (exec_ffx): use dir_search() to find data file,
	  ignoring case.

	------- CVS ci -------------------------------------------------------

	* ANNOUNCE (Subject): updated.

	* config.h (FTN_RFC_HEADERS): added "Header-To:", "Header-Cc"
	  generated by rfc2ftn for mailing lists.

Thu May  8 22:42:08 1997  Martin Junius  <mj@fido.de>

	* src/gate/ftn2rfc.c (unpack): changed to call new msgid_default().
	  (unpack): check for ^AMSGID: <NOMSGID_...> and don't gate
	  it. This is a message originally from Fido without a MSGID, then
	  gated to RFC and gated back to FTN without removing the
	  <NOMSGID_...> Message-ID generated by the 1st gateway.

	* src/common/msgid.c (msgid_default): new argument Message *msg
	  replacing single fields.

	* test/tc.ml/run: new test case for mails from mailing lists.

	* src/gate/rfc2ftn.c (snd_message): changes to RFC text header
	  inclusion, the From and Reply-To line now shows the original RFC
	  headers. Previously, the From contained the return address which
	  could be the one from Reply-To. Additionally, if the Sender or
	  Resent-From header is present (very likely a mailing list), the
	  original RFC To and Cc headers will be included as Header-To and
	  Header-Cc.

Thu May  1 11:22:21 1997  Martin Junius  <mj@fido.de>

	* doc/gatebau/msgid.lyx: updated version number, date.

	* doc/gatebau/post-html.pl: new post processing script for sgml2html.

	* doc/qmail.txt: posting from LINUX.GER describing how to
	  interface qmail to FIDOGATE.

	* src/toss/rununpack.sh: added RAR support.

	* src/toss/magic: added RAR support.

Sun Apr 27 09:56:05 1997  Martin Junius  <mj@fido.de>

	* src/toss/ftnexpire.c (main): added start/stop time.
	  (main): statistics moved main(), added time and ids/s.

	* src/toss/ftntoss.c (main): moved start time after initialization.

	* src/ffx/ffxqt.c (do_ffx): small change to log() message.

	------- CVS ci -------------------------------------------------------

	* ANNOUNCE: updated.

	* src/common/log.c (strerror): added new #ifndef __FreeBSD__ for
	  sys_errlist[] declaration.

	* config.h: added new #ifdef __FreeBSD__ section.

	* config.make (INSTALL_*): added -c to make old BSD install happy.

	* src/toss/ftntoss.c (do_echomail): add message sender/recipient
	  to SEEN-BY if not already there. Hopefully avoids problems with
	  EchoMail if sender doesn't do SEEN-BYs as we expect them.
	  (do_echomail): message from current AKA is not insecure.

	* version.h (PATCHLEVEL): set to 2 (version 4.2.2).

	* ANNOUNCE: "Changes in ..." moved to README.

Sat Apr 19 10:38:58 1997  Martin Junius  <mj@fido.de>

	* doc/fidogate.texi (Example Point 2): areas.bbs must have an
	  entry in the 1st col.

	* Makefile (install): install ANNOUNCE into HTMLDIR.

	======= Release 4.2.1 ================================================
	------- CVS ci, tag R421 ---------------------------------------------

	* scripts/maintenance/logmaint.sh: complete rewrite using
	  functions from newsyslog.sh.

	* ANNOUNCE: updated.

	* fidogate.lsm: updated.

	* src/toss/rununpack.sh: yet another fix to the rename loop.

Fri Apr 18 15:14:04 1997  Martin Junius  <mj@fido.de>

	* src/toss/rununpack.sh: fixed rename loop, remove unpack.out.

	* src/gate/rfc2ftn.c (snd_message): don't print_local_msgid(), if
	  msgid_rfc_to_fido() returns NULL.

	* test/tc.nomsgid/run: new test case for Message-ID: <NOMSGID_...>.

	------- CVS ci -------------------------------------------------------

	* doc/fidogate.texi (Programs): added %X.
	  (Config files): added %X.
	  (ftnpack): added -f --ffx.
	  (Config): added LimitMsgSize.
	  (Areas): added -L.
	  (config.h): added DO_HAVE_SYSEXITS_H.
	  (Usage): added new usage chapter.
	  (RFC Headers in FTN Messages): added new section documenting the
 	  RFC header in FTN messages.
	  (X Headers in RFC Messages): added new section documenting the
	  X-Comment-To and X-Flags headers.

	* src/util/ftnflo.c (do_flo): use new run_system().

	* src/toss/ftnpack.c (do_arcmail): use new run_system().
	  (do_prog): use new run_system().

	* src/gate/ftn2rfc.c (main): use new run_system().

	* src/ffx/ffxqt.c (exec_ffx): use new run_system().

	* src/ffx/ffx.c (ffx): use new run_system().

	* src/ffx/ffxbatch.c (pack_batch): use new run_system().

	* src/gate/ftnin.c (do_packets): used new run_system().
	  (exec_ftn2rfc): use new run_system().

	* src/common/misc.c (run_system): new wrapper function for
	  system(), runs DOSIFY_IF_NEEDED and extract exit code.

	* src/include/prototypes.h (DOSIFY_IF_NEEDED): new macro
	  translates to str_dosify() only if MSDOS or OS2 are defined.

	* src/gate/ftnin.c (main): removed MSDOS/OS2 code for cmd[], will
	  be handled by str_dosify() before running system().

	------- CVS ci -------------------------------------------------------

	* sendmail/README.FIDOGATE: updated.

	* sendmail/: updated config files to sendmail-cf 8.8.5, rebuild
	  sample .cf files.

	* src/gate/ftn2rfc.c (check_valid_domain): new function checking
	  for valid Internet domain name string, [a-zA-Z0-9.-]+.
	  (unpack): if address in the FTN to field are allowed, check for
	  user@do.main or user%do.main with a valid Internet domain
	  address and put into mail_to[]. Avoids "..." around the address.
	  Several strncpy()'s replaced with BUF_COPY().

	* src/toss/rununpack.sh: move all files in tmp directory to ..,
	  not just *.pkt's. Rename file from ArcMail packet to <1..n>file,
	  if it already exists in the inbound directory.

Sat Apr 12 09:22:58 1997  Martin Junius  <mj@fido.de>

	* scripts/run/run2.sh: some changes.

	* scripts/run/run1.sh: some changes.

	* config.make (IFMAILDIR): added ifmail directory.

	------- CVS ci -------------------------------------------------------

	* scripts/inn/viaffx: use $batch on ffx command line, set to "-b $1".

	* scripts/run/runpoll: using new send-ffx-b, ffxbatch replaced
	  with ftnpack -f.

	* src/toss/ftnpack.c (main): if ffx_flag, using directory pattern
	  "f???????*".

	* test/tc.ffx/ffxmail: special ffxmail for test case.

	* test/tc.ffx/run: new test case, testing ffx + new ftnpack -f.

	* src/toss/ftnpack.c (main): if ffx_flag is set, create/delete BSY
	  file for address ffx_node (option -f --ffx Z:N/F.P).
	  (do_file): if ffx_flag, set packet from/to = AKA/ffx_node,
	  pkt_file = NULL.
	  (main): create lock/BSY file *before* reading directory.
	  (do_dirpack): if ffx_flag, don't create/delete BSY file.
	  (do_pack): only create/delete BSY file for arcnode, if ffx_flag
	  is not set or arcnode != ffx_node.
	  (do_pack): if ffx_flag, always use do_arcmail().
	  (do_pack): only fclose(file), if file != NULL.
	  (do_arcmail): only rename/copy packet file, if not ffx_flag.

	* src/ffx/ffxbatch.c (main): use EXIT_xxxx codes.

	* src/toss/ftnpack.c (main): use BUF_EXPAND(), BUF_COPY().
	  (main): added Z:N/F.P address argument to -f --ffx.

	* examples/orodruin/config.common: added %X description.

	* src/common/misc.c (str_expand_name): now %G = LogDir, added %O =
	  Outbound, %I = Inbound, %P = PInbound, %U = UUInbound.

	* src/toss/ftnpack.c (usage): new option -f --ffx.
	  (main): new option -f --ffx, sets ffx_flag.

	------- CVS ci -------------------------------------------------------

	* version.h (PATCHLEVEL): set to 1 (version 4.2.1).

	* src/common/misc.c (str_dosify): new function converting string
	  with filename from UNIX `/' to MSDOS `\'.

	* src/common/binkley.c (bink_out_name): implemented
	  AMIGADOS_4D_OUTBOUND. 

	* src/toss/ftnpack.c (arcmail_name): implemented
	  AMIGADOS_4D_OUTBOUND. 

	* config.h (AMIGADOS_4D_OUTBOUND): new #define to enable
	  4D outbound filenames for AmigaDOS mailers, Z.N.F.P.flo /
	  Z.N.F.P.mo0. Patches supplied by James McOrmond <jam@jammys.net>.

Thu Apr 10 20:52:03 1997  Martin Junius  <mj@fido.de>

	* config.h (FTN_RFC_HEADERS): added ":" to last two strings.

	* examples/orodruin/hosts: updated.

	* examples/morannon/routing: updated.

	* examples/morannon/hosts: updated.

	* examples/morannon/aliases: updated, Fido.DE user aliases
	  removed.
	
	* ANNOUNCE: updated.

	* fidogate.lsm: updated.

	* test/tc.gate6/run: added exit 0 to continue in make check.

	======= Release 4.2.0 ================================================

	* Intermediate release for installing at morannon.fido.de, not
	  entirely suitable for public release.

	------- CVS ci, tag R420 ---------------------------------------------

Sun Mar 30 16:45:38 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* src/gate/ftn2rfc.c (unpack): if no 8bit characters are found in
	  the message body, don't use ISO-8859-1/8BIT either.

	* examples/morannon/: update of configuration files.

	------- CVS ci -------------------------------------------------------

	* src/toss/ftntoss.c (main): for statistics, the minimum time is
	  1s for the tosser run to avoid division by 0 errors.

	* src/util/pktdebug.c (main): implemented new -s --short
	  option. The new short format display only the filename, the
	  packet sender/recipient, and the number of NetMail/EchoMail
	  messages in the packet.

	* test/tc.boss/run: new test case, boss node tosser processing
	  EchoMail from/to points.

	------- CVS ci -------------------------------------------------------

	* examples/README: added new example dirs.

	* examples/namib.north.de: same.

	* examples/abis.abra.de: added new example configuration directory
	  from Andreas Braukmann's <andy@Abra.DE> fgate.tgz package.

Sat Mar 29 20:43:04 1997  Martin Junius  <mj@fido.de>

	* src/tick/ftntick.c (process_tic): no error if unlink(old_name)
	  fails, the file to be replaced may not exist.

Fri Mar 28 10:48:20 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* src/common/areas.c (area_build): copy limitsize.

	* test/tc.gate6/run: added test with config2, setting LimitMsgSize.

	* examples/orodruin/config.gate: added LimitMsgSize example.

	* examples/orodruin/areas: added -L to description in comment.

	* examples/orodruin/config.gate: added LimitMsgSize example.

	* src/include/sysexits.h: removed, #define's move to fidogate.h.

	* src/include/fidogate.h (EX_*): if DO_HAVE_SYSEXITS_H is defined
	  use sysexits.h system header file, else use the local
	  definitions here.

	* src/gate/rfc2ftn.c (main): new LimitMsgSize config option.
	  (print_origin): use BUF_COPY(), str_append(), BUF_APPEND().
	  (snd_mail): check message size against limit, bounce/don't gate
	  if limit is exceeded.

	* src/common/areas.c (areas_init): added code for -L LIMITSIZE
	  option, use atol() for long values.
	  (areas_limitmsgsize): new function to set default limitmsgsize.
	  (areas_get_limitmsgsize): new function to get default limitmsgsize.

	* src/include/structs.h (Area): added limitsize field for -L option.

Wed Mar 26 21:26:18 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* src/gate/ftn2rfc.c (unpack): only set cc_line, bcc_line, if
	  there is a To: line in the message body. Avoids problems with
	  Fido type CC: lines.
	  (check_8bit): new function checking for 8bit characters in Textlist.
	  (unpack): check for 8bit characters in message body. If none are
	  found, don't use the quoted-printable encoding.

	------- CVS ci -------------------------------------------------------

	* src/gate/ftn2rfc.c (unpack): check for Content-Transfer-Encoding
	  in RFC headers or ^ARFC kludges and set cvt8 flag accordingly.

	* config.h (FTN_RFC_HEADERS): added Content-Transfer-Encoding.

	* scripts/maintenance/newsyslog.sh: rewrite, first rename log
	  files, then restart the daemons, then compress the old log
	  files. In particular crond doesn't like its log file being
	  compressed while still opened by crond.

Sun Mar 23 10:24:56 1997  Martin Junius  <mj@fido.de>

	* src/tick/ftntick.c (process_tic): Replaces handling done before
	  moving new file from inbound to file area. Avoids deleting the
	  new file, if the file name and Replaces name are the same.
	  (move): added log() for copy_file() errors.
	  (process_tic): added log() for Replaces handling errors.
	  (process_tic): added log() for Replaces operation.

	* src/common/tick.c (tick_get): use lon_add_string(), SeenBy may
	  contain more than one FTN address.

Sun Feb 23 11:53:39 1997  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* src/common/message.c (msg_body_parse_echomail): missing PATH
	  line is not an error.

	* examples/orodruin/config.main: added EchoMail4D, NoEmptyPath
	  examples. 

	* test/tc.toss1/config2: test config with KillOld.

	* test/tc.toss1/config1: test config with EchoMail4D, NoEmptyPath.

	* test/tc.toss1/run: added test run with EchoMail4D setting.

	* src/toss/ftntoss.c (node_eq3d): renamed to node_eq_echo().
	  (node_eq3da): renamed to node_eq_echo().
	  (lon_search3d): renamed to lon_search_echo_pa().
	  (main): added NoEmptyPath config option.
	  (lon_to_kludge): if echomail4d is TRUE, don't strip point addresses.
	  (lon_to_kludge_sorted): same.
	  (lon_to_kludge): return number of entries in output.
	  (lon_to_kludge_sorted): same.
	  (addtoseenby_init): replaced strncpy0()/strncat0() with
	  BUF_COPY()/BUF_APPEND().
	  (lon_to_kludge): same.
	  (lon_to_kludge_sorted): same.
	  (do_echomail): if no_empty_path is TRUE and number of entries is
	  PATH is 0 (stripped because it's a point address) then don't
	  create an empty PATH line.

	* doc/fidogate.texi (Config): added EchoMail4D.

	* src/toss/ftntoss.c (seenby_eq): renamed to node_eq3d().
	  (node_eq2d): new function, compare node ignoring zone and point.
	  (seenby_search): renamed to lon_search3d().
	  (do_echomail): call do_4point(), replacing old code.
	  (do_4dpoint): new function doing special processing if message
	  originates from a 4d point.
	  (lon_first): return first entry in LON.
	  (node_eq3d): check for NULL pointer.
	  (node_eq2d): check for NULL pointer.
	  (do_4dpoint): rewritten, changing the SEEN-BY / PATH entries to
	  full 3d/4d addresses if message comes from 
	  (node_eq2d): rename to node_eq3a().
	  (node_eq3da): only ignore point field, if a->point == 0.
	  (main): added EchoMail4D config option.

	------- CVS ci -------------------------------------------------------

	* src/toss/ftntoss.c (pkts_in, pkts_bytes): new global statistics.
	  (main): addded more statistics output: number of packets, time,
	  Kbyte/s, msgs/s.
	  (unpack_file): update pkts_in, pkts_bytes for each file.

Sun Feb 16 11:27:47 1997  Martin Junius  <mj@fido.de>

	* doc/fidogate.texi (Config): added KillSplit, KillOld.

	------- CVS ci -------------------------------------------------------

	* src/common/log.c (log): use new date_buf() with own buf[] for
	  output of log date to avoid problems if a call to date() is in
	  the argument list of log().

	* src/common/date.c (date_buf): new version of old date()
	  function, new argument passing pointer to string buffer.
	  (date): wrapper around date_buf(), using static buf[] for
	  compatibility with old date().

	* src/toss/ftntoss.c (unpack): if EchoMail, parse * Origin line.

	* config.h (DATE_FTS_0001): added date() definition for FTS-0001
	  message header date string.

	* test/tc.toss1/run: added tosser run with KillOld.

	* test/tc.toss1/config: special local config with KillOld.

	* src/toss/ftntoss.c: max_history, max_sec, now_sec, exp_sec
	  variables added as in ftnexpire.c.
	  (main): retrieve MaxHistory config value.
	  (unpack_file): update now_sec, max_sec, exp_sec for every packet
	  file.
	  (do_echomail): if kill_old is set, check message date. Messages
	  older than exp_sec will be treated as dupes.

	* version.h (VERSION, PATCHLEVEL): set to version 4.2.0.

	* src/toss/ftntoss.c (main): added KillOld config option, sets
	  kill_old flag.

	* src/gate/ftn2rfc.c (main): added KillSplit config option, sets
	  kill_split flag.
	  (unpack): if kill_split is set, skip all messages with a ^ASPLIT
	  kludge. This option helps to avoid dupes generated by the
	  PKTSORT utility, which splits large messages, but put the
	  original ^AMSGID in the part 2-n.

	* examples/orodruin/config.main: added KillOld example.

	* examples/orodruin/config.gate: added KillSplit example.

Sun Feb  9 10:40:31 1997  Martin Junius  <mj@fido.de>

	======= Release 4.1.6 ================================================
	------- CVS ci, tag R416 ---------------------------------------------

	* fidogate.lsm: update.

	* README: update.

	* ANNOUNCE: update.

	------- CVS ci -------------------------------------------------------

	* src/gate/ftnin.c (main): use '\' for OS2 and MSDOS when creating
	  ftn2rfc cmd[] string.

	* test/tc.gate11/config: set UseFTNToAddress.

	* test/tc.gate11/run: new test case, netmail processed by ftn2rfc.

	------- CVS ci -------------------------------------------------------

	* version.h (PATCHLEVEL): set to 6.

	* doc/fidogate.texi (Config): added UseFTNToAddress.

	* examples/morannon/config.gate: same.

	* examples/orodruin/config.gate: added UseFTNToAddress with some
	  description. 

	* src/gate/ftn2rfc.c (unpack): if use_ftn_to_address is TRUE
	  append @addr_to.addr, else append @cf_fqdn().
	  (main): process UseFTNToAddress config option.

Sat Feb  8 10:29:35 1997  Martin Junius  <mj@fido.de>

	* src/gate/rfc2ftn.c (snd_message): use header_getcomplete() for
	  Message-ID / References to process continuation lines.

Thu Feb  6 19:41:16 1997  Martin Junius  <mj@fido.de>

	* README: added warning for using old release 3.9.7 configuration
 	  files and scripts.

Sat Jan 18 18:27:27 1997  Martin Junius  <mj@fido.de>

	* README, ANNOUNCE: updated mailing list subscribe/unsubscribe.

	* examples/README: new README for examples directory.

Sun Jan  5 11:16:09 1997  Martin Junius  <mj@fido.de>

	* scripts/maintenance/newsyslog.sh: rewrite of script, now
	  compressing old log files.

Wed Jan  1 11:19:14 1997  Martin Junius  <mj@fido.de>

	* ANNOUNCE, README: some changes.

Tue Dec 31 13:42:37 1996  Martin Junius  <mj@fido.de>

	* src/common/misc.c (str_last): return s[l].

	* scripts/nodelist/Makefile (PROGS): added nl-2routing.

	* scripts/nodelist/nl-2routing.pl: added new script contributed by
	  Andreas Braukmann <andy@AbrA.DE>, converts nodelist to hub routing.

Sun Dec 29 13:14:46 1996  Martin Junius  <mj@fido.de>

	* scripts/misc/senduu.sh: fixed senduumail.

	======= Release 4.1.5 ================================================
	------- CVS ci, tag R415 ---------------------------------------------

	* ANNOUNCE: updated.

	* README: updated.

Fri Dec 27 22:58:56 1996  Martin Junius  <mj@fido.de>

	* scripts/misc/senduu.sh: rewritten to use the ftnflo utility.

	* src/util/Makefile (install): install ftnfattach, ftnflo in LIBDIR.

	* scripts/misc/Makefile (PROGS): added senduumail.

	* scripts/misc/senduumail.sh: new script for sending single file
	  as uuencoded mail.

Thu Dec 26 16:58:24 1996  Martin Junius  <mj@fido.de>

	* fidogate.lsm: updated.

	* ANNOUNCE: updated.

	* version.h (PATCHLEVEL): set to 5.

Tue Dec 24 18:53:58 1996  Martin Junius  <mj@fido.de>

	* sendmail/mailer/ftn.m4: removed ') after FTN_MAILER_ARGSA. Damn
	  copy&paste! ;-)

	* doc/gatebau/Makefile (install): must install msgid*.html.

Sun Dec 22 10:48:09 1996  Martin Junius  <mj@fido.de>

	* test/tc.gate7/config: added to CVS repository.

	======= Release 4.1.4 ================================================
	------- CVS ci, tag R414 ---------------------------------------------

	* ANNOUNCE: updated.

	* fidogate.lsm: updated.

	------- CVS ci -------------------------------------------------------

	------- CVS ci -------------------------------------------------------

	* sendmail/cf.ORIG/: removed entire directory.

	* doc/fidogate.texi (Sendmail): added sendmail configuration section.

	* doc/gatebau/Makefile: new Makefile for doc/gatebau/
	  sub-directory, creating HTML, LaTeX, plain text documentation
	  from SGML files.

	* doc/Makefile (SUBDIRS): added gatebau sub-directory.

Sat Dec 21 00:04:34 1996  Martin Junius  <mj@fido.de>

	* doc/fidogate.texi (Example Point 2): more information based on
 	  input from Stephan Zellerhoff <stephan@poi.westfalen.de>

Fri Dec 20 09:47:56 1996  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* fidogate.lsm: updated.

	* ANNOUNCE: updated.

	* sendmail/mailer/ftn.m4 (Mftna): changed FTN_MAILER_ARGSA to only
	  set -a and -u, not the output directory.
	  (Mftno): like ftna, but also sets -O output directory (same as
	  old ftna).

	* sendmail/cf/orodruin.mc: adapted to new RedHat release.

	* sendmail/cf.ORIG/obj/: removed entire directory.

	* sendmail/*: updated with new files from RedHat 4.0 / sendmail
	  8.8.4 configuration.

Tue Dec 17 15:42:11 1996  Martin Junius  <mj@fido.de>

	* version.h (PATCHLEVEL): set to 4.

	------- CVS ci -------------------------------------------------------

	* Updated copyright and address information in all source files.

	* doc/gatebau/msgid.sgml: LinuxDoc SGML version generated by LyX.

	* doc/gatebau/msgid.lyx: new version of msgid.doc converted to LyX.

	* doc/gatebau/: added new directory for "Gatebau" standard documents.

	* doc/msgid.doc: updated address, some editorial changes.

Fri Dec  6 08:16:28 1996  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* src/gate/rfc2ftn.c (rfc_parse): if node==NULL return OK after
	  MAUS parsing.
	  (mail_receiver): call rfc_parse() with gw==FALSE for EchoMail.

	* test/tc.gate7/run: added EchoMail tests with Gateway
 	  242:4900/99.

	* test/tc.gate7/config: added local config file setting Gateway
	  address. 

	* test/tc.gate7/run: added test with X-Comment-To: ().

Tue Dec  3 21:22:34 1996  Martin Junius  <mj@fido.de>

	======= Release 4.1.3 ================================================
	------- CVS ci, tag R413 ---------------------------------------------

	* examples/morannon/config.common: same.

	* examples/orodruin/config.common: added PInbound, UUInbound.

	* fidogate.lsm: updated.

	* README: updated.

	* ANNOUNCE (Subject): updated for new release.

Mon Dec  2 20:04:10 1996  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* doc/fidogate.texi (config.h): updated, DEF_HISTORY.
	  (Config): added History.

	* examples/orodruin/config.common: added History to example.

	* src/toss/history.c (hi_init): use new cf_p_history().

	* src/toss/ftnexpire.c (do_expire): use new cf_p_history() to get
	  complete history database file name.

	* src/include/prototypes.h (BUF_EXPAND): new wrapper for
	  str_expand_name(). 

	* src/common/config.c (cf_p_history): new function retrieving
	  History value from config file (default DEF_HISTORY).

	* config.h (DEF_HISTORY): old HISTORY changed to new default
	  value. Can be overwritten with History in config file.

	* src/toss/ftnexpire.c (do_expire): use dbzagain() to initialize
	  new history database. This should solve the performance problem.

Sun Dec  1 11:29:54 1996  Martin Junius  <mj@fido.de>

	* test/tc.history/rndmsgid: script for random msgid generation.

	* src/toss/history.c (main): new -t TIME option.
	  (hi_write_t): modified low-level version of hi_write(), taking
	  additional time of entry in history database.
	  (hi_write): use new hi_write_t().
	  (main): if no msgid on command line, read from stdin.

	* test/tc.history/run: new test case for history database.

	* src/toss/history.c (main): changed printf()s to debug().

	------- CVS ci -------------------------------------------------------

	* src/common/routing.c (parse_pkt_name): added sanity check for
	  grade/type/flavor taken from packet file name. If type or flavor
	  is invalid use default -/-/Normal.

	* src/common/binkley.c (flav_to_asc): return "Normal" for unknown
	  flavor code.

	* doc/fidogate.texi (ftnpack): added -F / and appropriate
	  warning.

Sat Nov 30 14:35:27 1996  Martin Junius  <mj@fido.de>

	* src/toss/ftnpack.c (do_noarc): call bink_attach() with mode==0,
	  not trying to delete the attachment.

	------- CVS ci -------------------------------------------------------

	* src/toss/runtoss.sh: outf uses FADIR=-F/

	* src/toss/ftnpack.c (do_noarc): if -F / is specified, treat file
	  attachment in subject as complete path, don't use
	  dir_search().

	------- CVS ci -------------------------------------------------------

	* config.h (FTN_RFC_HEADERS): added "Sender" to list of recognized
	  RFC headers.

	* test/tc.gate10/run: new test case, Sender for mailing lists.

	* src/gate/rfc2ftn.c (snd_message): add Sender line, if RFC
	  headers Sender or Resent-From are present. Typically, this will
	  be the case with mailing lists.

	* scripts/run/runpoll.sh: use runtoss outf.

	* src/toss/runtoss.sh: added new toss name "outf", running the
	  tosser for the rfc2ftn outbound with file attachments.

	* src/toss/runin.sh: add $$ to ftnlock command line.

	------- CVS ci -------------------------------------------------------

	* config.h (RFC_LVL_1_HEADERS): added "Sender", "Resent-From".

	* src/common/lock.c: all debug() levels set to 7.

	* doc/fidogate.texi (ftnlock): updated.

	* src/util/ftnlock.c (usage): new option -w --wait, new optional
	  parameter id.
	  (main): implemented new option -w --wait, use new
	  lock_program_id() with optional command line parameter id. This
	  allow scripts using the ftnlock utility to write the script PID
	  to the lock file, not the PID of the called ftnlock, e.g. by
	  executing ftnlock abcd $$.

	* src/common/lock.c (lock_lockfile_id): new version of old
	  lock_lockfile() function, using new id argument. If id!=NULL,
	  this string will be put into the lockfiles, else the PID.
	  (lock_lockfile): use new lock_lockfile_id() with id==NULL.
	  (lock_program_id): new variant of lock_program(), passing new
	  arg id to lock_lockfile_id().
	  (lock_program): use lock_lockfile_id() wiht id==NULL.

Fri Nov 29 22:17:54 1996  Martin Junius  <mj@fido.de>

	* src/toss/rununpack.sh (SPOOL): fixed to use same var name as
	  runtoss.

	------- CVS ci -------------------------------------------------------

	* examples/morannon, orodruin: updated example config files.
	
	* version.h (PATCHLEVEL): set to 3.

Mon Nov 25 19:34:09 1996  Martin Junius  <mj@fido.de>

	* src/gate/ftn2rfc.c (get_from): try to parse ^AREPLYADDR as an
	  FTN address. If it is an FTN address, don't return as Internet
	  address. 

	------- CVS ci -------------------------------------------------------

	* src/toss/runout.sh (LOGDIR): use ftnconfig.

	* src/toss/runin.sh (LOGDIR): use ftnconfig.

	* src/util/ftnconfig.c (do_para): added =inbound, =pinbound,
	  =uuinbound, =outbound to fixed parameters.

	* src/toss/rununpack.sh: same.

	* src/toss/runtoss.sh (SPOOL, OUTBOUND, INBOUND, PINBOUND,
	  UUINBOUND): use ftnconfig to get values.

	* src/util/ftnconfig.c (do_para): added =libdir, =spooldir,
	  =logdir to list of fixed parameters.

	* src/common/config.c (cf_origin, cf_organzation, cf_set_outbound,
	  cf_outbound, cf_set_inbound, cf_inbound)): removed.
	  (cf_do_line): removed special treatment for Origin,
	  Organization, Inbound, Outbound parameters (are now normal
	  string parameters).

	* src/include/prototypes.h
	  (cf_set_outbound): #define'd to cf_s_outbound(). 
	  (cf_outbound): #define'd to cf_p_outbound().
	  (cf_set_inbound): #define'd to cf_s_pinbound().
	  (cf_inbound): #define'd to cf_p_pinbound().
	  (cf_origin): #define'd to cf_p_origin().
	  (cf_organization): #define'd to cf_p_organization().

	* src/common/config.c (cf_p_s_pinbound): new version of old
	  cf_p_inbound(), allowing to set pval.
	  (cf_p_pinbound): use new cf_p_s_pinbound().
	  (cf_s_pinbound): new function setting PInbound value.
	  (cf_p_s_outbound): new function get/set Outbound value.
	  (cf_p_outbound): get Outbound parameter value.
	  (cf_s_outbound): set Outbound parameter value.
	  (cf_p_organization): new function get Organization parameter value.
	  (cf_p_origin): new function get Origin parameter value.

Sun Nov 17 12:47:41 1996  Martin Junius  <mj@fido.de>

	======= Release 4.1.2 ================================================
	------- CVS ci, tag R412 ---------------------------------------------

	* fidogate.lsm: updated.

	* ANNOUNCE: updated.

	* src/gate/ftn2rfc.c (unpack): initialize cvt8=0 for NetMail.
	  (unpack_file): remove debug() message, same as log().

	* src/common/kludge.c (kludge_getn): modified version of old
	  kludge_get() with new arg first. first==TRUE gets first kludge
	  from list, first==FALSE gets next one.
	  (kludge_get): use kludge_getn() with first==TRUE.

	* src/gate/ftn2rfc.c (unpack): don't delete when calling
	  kludge_pt_intl(). 

Wed Nov 13 22:14:55 1996  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* version.h (PATCHLEVEL): set to 2.

	* src/common/message.c (msg_xlate_line): must translate '=' to
	  '=3D' if using the MIME quoted-printable encoding.
	  (msg_xlate_line): AREA_QP has priority over AREA_8BIT.

	* test/tc.8bit/run: added another test mail, body2.

Sun Nov 10 11:37:44 1996  Martin Junius  <mj@fido.de>

	* src/toss/ftntoss.c (do_echomail): changed format of dupe log()
	  messages. 

	* ANNOUNCE, fidogate.lsm: updated file size.

	======= Release 4.1.1 ================================================
	------- CVS ci, tag R411 ---------------------------------------------

	* sendmail/cf/: rebuild .cf files.

	* mksubst.pl: removed.

	* README: updated.

	* fidogate.lsm: updated.

	* ANNOUNCE: updated for release 4.1.1

Sat Nov  9 17:26:07 1996  Martin Junius  <mj@fido.de>

	* src/toss/ftnaf.c (do_mail): ignore stuff aftern "-- " line
	  (start of signature).

	* src/toss/ftnafmail.c (main): initialize filefix = FALSE.

	* src/gate/ftninpost.pl: check that FTNInSendmail and FTNInRnews
	  is specified in config.gate.

	------- CVS ci -------------------------------------------------------

	* doc/fidogate.texi (Programs): added ftnafmail.
	  (ftnafmail): new node describing new ftnafmail program.

	* src/util/pktdebug.c (main): call kludge_pt_intl() to retrieve
	  complete address information.

	* src/toss/ftntoss.c (unpack): same.

	* src/toss/ftnroute.c (do_packet): same, removed #if 0 code.

	* src/toss/ftn2ftn.c (unpack): same.

	* src/gate/ftn2rfc.c (unpack): changed call to kludge_pt_intl().

	* src/common/kludge.c (kludge_pt_intl): new arg del, only call
	  tl_delete() if del == TRUE.
	  (kludge_pt_intl): strsave() ^AINTL line before running strtok().

	* src/gate/rfc2ftn.c (sendback): added va_end().

	* src/common/textlist.c (tl_appendf): added va_end().

	* src/common/log.c (log): added call to va_end().
	  (debug): error message, no output if no_debug == TRUE. Added
	  call to va_end().

	* src/common/config.c (cf_initialize): check for real uid !=
	  effective uid (setuid installed FIDOGATE programs) and set
	  no_debug=TRUE in this case.

	* src/toss/Makefile (install): install ftnaf as normal binary,
	  ftnafmail as setuid.

	* src/toss/ftnafmail.c: new setuid wrapper for ftnaf. Used for
	  sending mail to Areafix/Filefix.

	* src/toss/ftnaf.c (main): removed -x --exec-program option,
	  security problems.
	  (run_script): removed.
	  (cmd_add): removed call to run_script().

Fri Nov  1 13:25:29 1996  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* doc/fidogate.texi (Example Point): added that EchoMail4D is
	  reqired.

	* src/toss/ftntoss.c (do_echomail): moved tl_clear() for SEEN-BY,
	  PATH after path check, so that bad messages still contain the
	  original SEEN-BYs and PATH.

	* sendmail/mailer/ftn.m4: mailer ftna runs
	      rfc2ftn -a $h -u $h -O %S/out/$h 
	  writing output packets in a separate directory. This requires
	  running the tosser afterwards because from/to addresses of the
	  packet are the same ($h).
    	
	* src/gate/ftn2rfc.c (main): use str_expand_name() for -I.

	* src/toss/ftnpack.c (main): same + use BUF_COPY3(), also for -O.

	* src/toss/ftnroute.c (main): same + use BUF_COPY3().

	* src/toss/ftntoss.c (main): use str_expand_name() for -I.

	* src/common/packet.c (pkt_outdir): use str_expand_name(), so that
	  %S/%L/%O can be used.
	  (pkt_baddir): same.

	* src/toss/runtoss.sh: added -p for "runtoss out".

	* doc/fidogate.texi (ftntoss): added -p --passthru option.

	* src/toss/ftntoss.c (usage): new -p --passthru option.
	  (main): implemented -p --passthru.
	  (do_echomail): only toss for own address if p_flag is FALSE.

	* doc/fidogate.texi (Example Point 2): new section for setup with
	  2 point addresses. Not yet complete.

	------- CVS ci -------------------------------------------------------

	* src/gate/rfc2ftn.c (rfc_parse): new argument gw, if TRUE enables
	  cf_gateway() checking and address/name replacement.
	  (mail_receiver): call rfc_parse() with gw=TRUE.
	  (mail_sender): call rfc_parse() with gw=FALSE, fixing the bug
	  that also the sender was set to UUCP when Gateway Z:N/F.P was
	  enabled in config.gate.

	* test/tc.gate9/run (Subject): new test case for "Gateway" config
	  statement. 

Mon Oct 28 22:04:56 1996  Martin Junius  <mj@fido.de>

	* test/tc.point2/run: new test case to setup with 2 different
	  point addresses and 2 different uplinks.

Sun Oct 27 13:33:33 1996  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* test/tc.8bit/run: new test case for testing char conversion
 	  quoted-printable -> rfc2ftn -> ftn2rfc ->
 	  ascii/8bit/quoted-printable.

	* src/common/charset.c (xtab[][][]): improved ISO LATIN-1 ->
	  ASCII/8BIT/QP conversion table.

	* src/toss/rununpack.sh: check that an archiver program for the
	  archiver type was found.

	* src/common/config.c (cf_p_aliases, areas, hosts, passwd,
	  packing, routing): char buf[] replaced with
	  char *pval.
	  (cf_p_inbound): new function returning config Inbound.
	  (cf_p_pinbound): new function returning config PInbound,
	  fallback is Inbound.
	  (cf_p_uuinbound): new function returning config UUInbound,
	  fallback is Inbound.

	* doc/fidogate.texi (Areas): added -Q.
	  (Config): added NetMail8bit, NetMailQuotedPrintable.
	  (Config): changed Inbound, PInbound, added UUInbound.

	* config.h (CHARSET_8BIT): removed.

Tue Oct 22 20:52:14 1996  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* src/common/rfcaddr.c (rfcaddr_from_ftn): call charset_xlate()
	  with cidx=0.

	* src/common/charset.c (charset_xlate): additional arg cidx, used
	  as index for xtab[][][].

	* src/common/message.c (msg_xlate_line): call charset_xlate() with
	  new arg cidx.

	* src/common/charset.c (xtab): extended to 3d array, left index is
	  type of conversion 0=US-ASCII, 1=ISO-8859-1 8BIT, 2=ISO-8859-1 QP.

	* src/common/message.c (msg_xlate_line): new cvt8 argument.

	* src/gate/ftn2rfc.c (news_msg): initialize all Area fields.
	  (netmail_8bit, netmail_qp): new flags for config.gate
	  "NetMail8bit", "NetMailQuotedPrintable".
	  (main): get "NetMail8bit", "NetMailQuotedPrintable" from config.gate.
	  (unpack): output MIME-Version, Content-Type,
	  Content-Transfer-Encoding headers dependend on cvt8 flag
	  settings (AREA_8BIT | AREA_QP).
	  (unpack): moved check for mail or news before message body
	  conversion (must set cvt8 before).
	  (unpack): pass cvt8 / 0 as additional parameter to msg_xlate_line().

	* src/common/areas.c (areas_init): implemented -Q option.

	* src/include/structs.h (AREA_QP): new #define for -Q option.

Sun Oct 20 10:53:14 1996  Martin Junius  <mj@fido.de>

	------- CVS ci -------------------------------------------------------

	* test/tc.gate6/run: added test with a large mail message >660K to
	  test for correct computation of number of split messages.

	* version.h (PATCHLEVEL): set to 1.

	* src/gate/rfc2ftn.c (snd_mail): initialize from_is_local = FALSE.
	  (snd_message): run same algorithm to compute number of parts as
	  done for the actual splitting.

	* src/common/address.c (addr_is_domain): moved debug() after var
	  settings. 

	* src/ffx/ffxrmail.pl: if the From_ line does not contain an
	  envelope sender, set to news@localhost.

	* doc/fidogate.texi (ftnpack): added -F --file-dir option.

	======================================================================

	* Started new ChangeLog after release of 4.1.0, old ChangeLog
	  renamed to ChangeLog.O.