                         
                         REPLYCHK.EXE  VERSION 3.00
                         ==========================

                             By: James Goldbloom
                              1:109/611@Fidonet
                           Optimized Software (tm)
                              (C)opyright 1995




 FILES IN THE INET ARCHIVE
 -------------------------

 REPLYCHK.EXE  ->  Main executable (the program)
 REPLYCHK.DOC  ->  Detailed instructions and setup information
 REPLYCHK.CFG  ->  Sample configuration file, please edit the file.
 REPLYCHK.NEW  ->  This file - fixes and features!
 REPLYCHK.BAT  ->  Sample batch file on how to use ERRORLEVEL features

 Mark Williamson may include additional files as he sees necessary.
 This program replaces all previous versions of REPLYCHK, FIXMSG and
 CHKMSG, in earlier INETxx.ZIP archives.  This program is necessary
 to utilize the /REPLY feature of The Internet Connection, for any
 version past or including 2.x.   Programmed for INET 3.x and later.


 NEW FEATURES and FIXES IN 3.00
 ------------------------------

 Please read this entire file, since this version is feature packed...

 * Errorlevels now dropped to system after each session run!  See the
   batch file called REPLYCHK.BAT to see how the 4 errorlevels
   can be used in conjunction with your setup!  They are:

   ErrorLevel     Explanation
   ----------     ------------------------------------------------
   0              Clean exit - no messages formatted
   1              Clean exit - formatting was done for messages
   2              Error - session halted with internal errors
   3              Semaphore found - another copy of REPLYCHK is running

 * LOGLEVEL keyword now exists in the configuration file.  This will
   determine which information may be optionally written to the
   system log!  The possibilites are:

   Level          Explanation
   -----------    ------------------------------------------------
   0              None - no log will be written (overrides all settings)
   1              Normal - Session info, errors and all messages scanned
   2              Reduced - Session info, errors and ONLY formatted messages

   Please see REPLYCHK.CFG for adjusting this keyword...

 * Automatic semaphore checking!  The program creates a tiny file
   called REPLYCHK.SEM in the current directory (or system path
   as pointed to by the REPLYCHK environment variable, new in 3.00)
   and deletes it after a session is completed.  If this file is
   discovered to exist *during* a session initiation, it halts and
   reports accordingly.  Prevents message grunging in multitasking
   platforms of certain users.  Fully automatic.  For an explanation
   of the new REPLYCHK environment variable, see later in this file.

 * Proper checking of REPLYCHK.CFG or alernative configuration
   by searching first for file specified in commmand line, then
   second for REPLYCHK.CFG in current directory, then finally
   REPLYCHK.CFG in directory pointed to by REPLYCHK environement
   variable if defined (see below).

 * Proper checking of command line parameters for validity.  If you
   type in:  "REPLYCHK eat me" you'll see what I mean.  <smile>

 * Removed "INET" environment variable check and *replaced* with
   "REPLYCHK" environment variable, used to find log, semaphore and
   configuration file(s) if path(s) are not specified.  Please *REPLACE*
   "SET INET=" in your batch file(s) with "SET REPLYCHK=" and
   include the path.  For example, in autoexec.bat add:

   SET REPLYCHK=C:\INET            <---- (example only)

 * REPLYCHK now checks netmail, write-to and log paths at startup
   and reports any path problem before session run of netmails.

 * Full support added for PARTITIONS and DIFFERENT DRIVES if you
   have multiple disk drives or partitioned drives on your system!
   You can examine netmails in "C:\NETMAIL" and save them to "E:\MAIL"
   for example, without any difficulties.  This is a welcomed fix!

 * It no longer goes nuts when LOGFILE path is invalid.  Fixed!

 * Log support increased - more options and settings will be logged

 * Many cosmetic changes to the screen display - looks nice!

 * Error reports are even more detailed - but hope you don't SEE THEM!

 * REPLYCHK checks properly for "already formatted" messages now!

   Thanks to Moe Lanza and others for their help with this problem.
   The program properly scans for "@INETADDR" and creates it properly
   during its session runs in the proper place.  Much improved over
   version 1.00.  Ya live and ya learn, right?  2.0 should fix it well.

 * Alternative WRITE-TO path for any netmails formatted by REPLYCHK!

   I consider this modification a MAJOR one, worthy of changing
   version numbers for REPLYCHK, due to its complexity and ease
   of use for the end user.  Making this was NOT easy, so I will
   proudly describe what this modification does, in detail:

   This is both a command line parameter and a REPLYCHK.CFG keyword
   in version 2.0.  This option allows message which are formatted
   by REPLYCHK to be written to an *alternative* path, different from
   the netmail path from which the message came.  The original message
   will be deleted, and the newly formatted one will live in this path.

   If the path specified does not exist - REPLYCHK will halt the
   session, prompt you to enter a valid path, and create it for you
   with proper logging of what happened - just incase!  Obviously
   you need to be around if this happens!

   How's that for friendly?  Hmm, you may be wondering how REPLYCHK
   will number the messages, especially if some sit around in the
   WriteTo path and some newer ones need to go there, also...

   Hmmmm....  It took many tries, and I think I got a solution!

   Check THIS OUT:  REPLYCHK will scan the WriteTo path to see if
                    netmails already exist there.  If so, it will
                    located the HIGHEST numbered netmail, and
                    place any formatted netmails properly numbered.
                    For example, if netmail 30.msg exists in
                    the WriteTo path, then 31.msg will be created
                    there if one gets added to the path!  Also,
                    if no netmails exist in the WriteTo path,
                    REPLYCHK will start any formatted messages
                    numbered as 1.MSG, and increment accordingly.

                    REPLYCHK always finds the HIGHEST numbered
                    netmail in the path, even if netmails are
                    out of sequence, missing, etc.  It's smart,
                    and the search process is lightning fast,
                    as you'll clearly discover.  I used a quick
                    directory search, an even faster sort, and
                    smart algorithms for reducing overhead.

                    THIS IS *AUTOMATIC* - No configuration necessary
                    if WriteTo path is enabled!  It's THAT EASY!


   A formatted message may appear this way in the log:

   "Formatted: {2.MSG) {From: ADBBS@aol.com} (15.MSG)"

   This means 2.MSG in your netmail directory was saved as 15.MSG
   in your WriteTo directory.  Simple, and to the point.


   WHY DO YOU NEED THIS OPTION?  Some ideas and suggestions of the
   powerful nature of this optional command:

   This option is excellent for those who wish to either special toss
   or process their inbound Internet netmails, or those who wish to
   simply "store" the messages in a unique directory for whatever
   reason.  Or, whatever crazy scheme you desire!  <smile>  One
   suggestion is to send Internet netmails to a directory defined
   by this command, and call your netmail tosser to send such
   messages from this directory into "x" message area on your BBS.
   This means Fidonet mail goes to the usual place, but Internet
   mail goes to its own unique place!  Like, COOL, huh?!

   See the keyword "WRITETO" in REPLYCHK.CFG, and issue the command line
   parameter "/W=[drive:]\path" to if desired.

   THE COMMAND LINE PARAMETER OVERRIDES ANY SETTING IN THE CONFIG FILE.

   Okay, enough of me bragging.  This is new, so report bugs if you
   find 'em, and compliments if you don't!  Send logs, if bugs.

 * MYDOMAIN keyword in configuration file added in 2.0!

   This is another way to make sure REPLYCHK does not format messages
   which are outbound from your users TO internet which may be sitting
   in your netmail directory waiting for delivery.  Basically you
   put in your UUCP style domain, such as "@F611.N109.Z1.FIDONET.ORG"
   for example (using my node, 1:109/611 as an example) and REPLYCHK
   will scan first for any line(s) starting with "From:" or "By:" or
   the Fidonet compliant "Reply-To:" keywords found in the body text
   then only check those line(s) for your domain at any position in
   the line(s).  If found, REPLYCHK will report accordingly and skip
   the message.  This is certainly not required, but does offer
   additional security on top of the MSGID, PrimaryNode and AkaNode
   keywords.  Hey - the more the better, to prevent unecessary
   formatting, right?  This actually speeds up the sessions.  Make
   sure you spell this right, include the "@" symbol, and do NOT
   include any user names.  Just the domain, please, only.


 Okay, that does it for the changes in this version...

 In later versions, I'm gonna tackle "*.PKT" files, to automatically
 unpack them, process any netmails in them, and repack them so your
 tosser can do its thing normally.  That's a version or two away,
 and will NOT be rushed as I want to get it right.

 Betas for PACKET detection will be presented to anyone who asks
 and understands the concepts of beta testing and its dangers.

 Thanks to Moe Lanza, Paul Andries, Bruce Bowman and John Mudge for
 their tremendous support and beta testing.  They're all heroes.

 Please send netmail to one of the addresses below for bug reports and
 suggestions you may have on future versions of REPLYCHK!  Always
 send your logs to me if you get errors, etc.  I need the logs.

 Please read REPLYCHK.DOC, make changes in REPLYCHK.CFG and enjoy!

                                        Sincerely,

                                        James Goldbloom
                                        Optimized Software (c) (tm) 1995
                                        Data: (703) 998-2958
                                        Fax : (703) 998-7033
                                        Fido: 1:109/611
                                        Int.: Denied1@blkcat.com

