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.
