home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / ad109u11.zip / GATEKPR.DOC < prev    next >
Text File  |  1996-04-20  |  54KB  |  1,374 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.      ----------------------------------------------------------------------
  8.  
  9.  
  10.                               GateKeeper Documentation
  11.                                                   
  12.                         Copyright (c) 1993 - 1996 by AdeptSoft
  13.                       portions Copyright (c)  1991-1994 M. Kimes
  14.                                  All Rights Reserved
  15.  
  16.                          AdeptSoft, AdeptXBBS, GateKeeper,
  17.                             are trademarks of AdeptSoft.
  18.  
  19.        "XBBS"  Copyright (c) 1988 - 1994 by M. Kimes. The "XBBS" name is a
  20.                               Trademark of M. Kimes.
  21.  
  22.          
  23.      ----------------------------------------------------------------------
  24.  
  25.  
  26.  
  27.  
  28.  
  29.                                 TABLE OF CONTENTS
  30.      CONTACTING ADEPTSOFT.............................................1
  31.  
  32.      GATEKEEPER CONTROL DOCUMENTATION.................................2
  33.      COMMAND LINE OPTIONS FOR GATEKPR.EXE:............................2
  34.      THE AREA.CONTROL FILE............................................15
  35.      THE FILE.CONTROL FILE............................................18
  36.      OUTBOUND MAIL NAMING CONVENTIONS.................................22
  37.      AREAFIX TYPE COMMANDS............................................23
  38.      TEXT FILES USED WITH THE MAILER..................................25
  39.  
  40.       OK FILES:...................................................... 25
  41.       OTHER TEXT FILES USED WITH THE MAILER:......................... 25
  42.       CONFIGURABLE MAIL DIRECTORIES:................................. 25
  43.       BAD MAIL PACKET FILE DESCRIPTIONS:............................. 26
  44.      REPORTING BUGS...................................................27
  45.                                                                              
  46.  
  47.  
  48.  
  49.  
  50.      1
  51.      __________________________
  52.      _ _ CONTACTING AdeptSoft _
  53.      __________________________
  54.  
  55.      AdeptSoft can be reached via the following methods:
  56.      FTP   :     ftp.adeptsoft.com
  57.      WWW   :     WWW.adeptsoft.com
  58.  
  59.  
  60.      2
  61.      ______________________________________
  62.      _ _ GATEKEEPER CONTROL DOCUMENTATION _
  63.      ______________________________________
  64.  
  65.      GateKpr.Ctl is a control file that tells Gatekeeper how to behave.
  66.      You can put all your information into GateKpr.Ctl.   GateKpr.Ctl and
  67.      AREA.CONTROL are parsed in the exact same manner, and a keyword can be
  68.      placed in either.  We just cut most of the area stuff, and allowed
  69.      SysOps to place area info in the AREA.CONTROL file to make it easier to
  70.      keep organized.  Note: FILE.CONTROL is parse differently, so it must be
  71.      separate.
  72.  
  73.      Command Line Options for Gatekpr.Exe:
  74.  
  75.      /E                 - Do mail export
  76.      /I                 - Do mail import
  77.      /IP                - Set GateKeeper to run at Idle PrioritY
  78.      /C                 - Do group mail cleanup
  79.      /A                 - Do All (Import/Export/TIC)  <Default>
  80.      /MP                - Set GateKeeper to run at maximum priority
  81.      /NG                - No group mail processing
  82.      /NE                - No echo mail processing
  83.      /NP                - Set GateKeeper to run at normal priority
  84.      /F                 - Fully moderated group mail OK
  85.      /FI                - Do TIC processing
  86.      /P                 - Partially moderated group mail okay
  87.      /RO                - Do mail routing
  88.      /LP                - Set GateKeeper to run at Low priority
  89.      /HP                - Set GateKeeper to run at High Priority
  90.      /W                 - GateKeeper will normally shut itself down if a copy
  91.                          of itself is detected in memory, to keep the second
  92.                          task waiting till the first task has ended, use 
  93.                          this parameter
  94.  
  95.  
  96.      The following is a list of commands that can be in your GateKpr.Ctl
  97.      file.
  98.  
  99.      AREAFILE
  100.      This tells GateKeeper the name of your Area Control file.  See the 
  101.      section in this document that deals with the AREA.CONTROL file for more 
  102.      info on what it does.
  103.      Ex. AREAFILE AREA.CONTROL
  104.  
  105.      MAXDUPES ####
  106.      Dupe detection.  Adept uses two methods of dupe detection, both are 
  107.      extremely reliable and effective.  In order to turn dupe detection on,
  108.      you must specify the maximum number of dupe checking records to keep per
  109.      message area.  This keyword allows you to specify the number of dupe
  110.      records to keep per message area (including pass-through).  Each dupe
  111.      record requires 8 bytes of hard disk space and the higher the number,
  112.      the slower the tossing will be; 1000 should be sufficient. 
  113.      Ex. MAXDUPES 1024
  114.  
  115.  
  116.  
  117.  
  118.      3
  119.      KEEPDUPES
  120.      The KEEPDUPES keyword tells the BBS software to toss duplicate messages
  121.      to the file AREDUPES.$$$ if you rename this file to AREDUPES.PKT the BBS
  122.      software will toss the file, ignoring the duplicate messages.
  123.      Ex. KEEPDUPES
  124.  
  125.      NODUPECHECKING
  126.      The NODUPECHECKING keyword turns off dupe checking entirely, no matter
  127.      what other options are set.
  128.      Ex. NODUPECHECKING
  129.  
  130.      INBOUND
  131.      You can have as many inbound areas you want with Gate Keeper.  The
  132.      inbound area is where Gate Keeper will look for incoming .PKT's or
  133.      Archived mail packets.
  134.      Ex. INBOUND C:\ADEPT\MAILER\PUBLIC_INBOUND
  135.          INBOUND C:\ADEPT\MAILER\PRIVATE_INBOUND
  136.         INBOUND C:\ADEPT\MAILER\UNLISTED_INBOUND
  137.  
  138.      OUTBOUND
  139.      You can only have one outbound directory with Gate Keeper.  The outbound
  140.      directory is where Gate Keeper will place outgoing mail packets both
  141.      archived or otherwise.
  142.      Ex. OUTBOUND C:\ADEPT\OUTBOUND_MAIL
  143.  
  144.      MSGDIR
  145.      The MSGDIR is where adept will default to placing incoming messages for
  146.      your Adept Message base.  Please realize Gate Keeper also reads the
  147.      Adept Message_Areas control file so that it can check and see if you
  148.      chose another directory to place the messages in.
  149.      Ex. MSGDIR C:\ADEPT\MESSAGE_BASES
  150.  
  151.      ADDRESS
  152.      Gate Keeper requires a 5-D FidoNet style mail address.  YOU CAn have as
  153.      many addresses as you want.  Any domain name over 8 characters is not to
  154.      fido specs, and Gate Keeper may not operate as you expect.. Use large
  155.      domain names at your own risk.  At least the first 8 characters must be
  156.      unique.  The below example shows 3 addresses on a address line.
  157.      Multiple Address lines are allowed and each line can be up to 1024
  158.      chars.  Please remember to use a 5-D mail address.
  159.      Ex. ADDRESS  1:18/210.0@Fidonet 55:50/0.0@AdeptNet ##:##/##.##@OtherNet
  160.  
  161.      NETAREA <message area #> 
  162.      The NetArea tag sets the default message area in Adept that Gate Keeper
  163.      will scan for Net Mail.  This message area # must match an existing
  164.      message area in Adept.  Gate Keeper will place incoming NetMail into
  165.      this area also.
  166.      Ex. NETAREA 99
  167.  
  168.      LOGFILE
  169.      The logfile tag sets the name of the Gate Keeper Log File.  This keyword
  170.      should be at the top of your GateKpr.Ctl file.  When you specify the
  171.      LOGFILE keyword, Gate Keeper will immediately open the log file.  If you
  172.      specify the LOGFILE keyword again, it will close the open logfile, and
  173.  
  174.  
  175.  
  176.  
  177.      4
  178.      then open a new one. It would allow you to do something like:
  179.  
  180.      LOGFILE GateKprConfigErrors.Log
  181.  
  182.      .. Read in all control files
  183.  
  184.      .. at the end of the last control file (most likely AREA.CONTROL)
  185.      .. have this line
  186.  
  187.      LOGFILE GateKprRun.Log
  188.  
  189.      In this way you could log config errors to one file, and then log
  190.      the actual run time to another log.  You do not have to do this though,
  191.      you can have one log file that you open at the top of your GateKpr.Ctl
  192.      file and
  193.      be done with it. 
  194.      Ex. LOGFILE C:\Adept\GateKeeper.Log
  195.  
  196.      PACKSIZE
  197.      Smallest msg size that GateKeeper will try to pack into a smaller size
  198.      using 
  199.      LZSS compression (into the Adept message base). Any message smaller
  200.      than, say, 512 bytes doesn't get compressed much.
  201.      Ex. PACKSIZE 8192
  202.  
  203.      NOTINY
  204.      The NOTINY flag tells GateKeeper not to use TINY SEENBY's in mail
  205.      processing.  Regular SEENBY's are pretty much useless and just plain
  206.      extra baggage.  You only want to turn this on if you are SURE this is
  207.      what you want.  By default GateKeeper turns SEEN-BYs into 'tiny'
  208.      SEEN-BYs which remove most of the seen-bys. and just keep ones from the
  209.      local net.. and this can remove up to a 1/3 of a msgs size.  SEEN-BYs
  210.      are as useless as PATH statements, the only difference is that SEEN-BY
  211.      lines are required by FTSC spec, PATH lines aren't.
  212.      Ex. NOTINY
  213.  
  214.      NOFORWARD
  215.      Tells GateKeeper NOT to forward 'foreign' mail.  By 'foreign', we mean
  216.      mail not destined to any person in the current systems net.  'local' is
  217.      a node which is in the same net. 'Foreign' is anyone else.  Now, if the
  218.      SysOp chooses NOFORWARD, GateKeeper will put that routed netmail in a
  219.      FORWARD.$$$ packet.  If the SysOp adds the KEEPNOFORWARDS keyword, then
  220.      GateKeeper will not even bother to toss the routed netmail into the
  221.      FORWARD.$$$ file. In other words, it dissappears. If neither of those
  222.      keywords are in place, then netmail gets routed. This is the default.
  223.      If the SysOp does not want to forward 'local' routed netmail, they
  224.      should use the NOLOCALFORWARD keyword instead of the NOFORWARD keyword.
  225.      KEEPNOFORWARDS also works for local routed netmail.
  226.      Ex. NOFORWARD
  227.  
  228.      NOLOCALFORWARD
  229.      Tells GateKeeper not to forward local mail within your net.
  230.      Ex. NOLOCALFORWARD
  231.  
  232.  
  233.  
  234.  
  235.      5
  236.      NOUNKNOWN
  237.      Tells GateKeeper *NOT* to make UNKNOWN.PKT packets.  This option is
  238.      useful if you are tossing things like planet connect and have hundreds
  239.      of Echos you DON'T want sitting on your drive because they are 'UNKNOWN'
  240.      Ex. NOUNKNOWN
  241.  
  242.  
  243.      KEEPPATH
  244.      Tells GateKeeper to put 5D SPTH lines into your Adept messages. This
  245.      may or may not be a bad thing. It will take up more space in your
  246.      message bases. But does keep necessary info for FidoNet in the Adept
  247.      message base.
  248.      Ex. KEEPPATH
  249.  
  250.      KEEPSEENBYS
  251.      Tells GateKeeper to KEEP EchoMail SEENBY lines when importing them into
  252.      the message base.
  253.      Ex. KEEPSEENBYS
  254.  
  255.      TONAME "NAME" <OPTION>
  256.      The TONAME tag is a very special tag.  This tag allows you to turn on
  257.      special functions like Areafix. See the section in this document on
  258.      Areafix for more info on this subject.  The various options available
  259.      are listed
  260.      below:
  261.  
  262.          AREACNTL
  263.          This message is a Areafix Control Message.
  264.          Ex. TONAME "Areafix"  AREACNTL
  265.  
  266.          ROUTE
  267.          Means to forward this message to someone. The node to route this    
  268.          message to follows the ROUTE keyword. Use 5-D addressing.
  269.          Ex. TONAME "Gramps" ROUTE 1:213/760.0@FIDONET
  270.  
  271.          MSG
  272.          If message is TO this person, make a .MSG file containing the 
  273.          message.  This is a FIDO style .MSG file.  The directory where this 
  274.          message is put is specified with the MESSAGES keyword: MESSAGES 
  275.          C:\Adept\MsgFile
  276.          Ex. TONAME "Any Name" MSG
  277.          
  278.          PROG
  279.          This cause Gate Keeper to write this message as .MSG file, then will
  280.          run a specified program after it writes the msg file.
  281.          Ex. TONAME "Lisa" PROG ProcessMsg.Cmd
  282.  
  283.          The command line is executed as:
  284.  
  285.          CMD.EXE /c ProcessMsg.Cmd 1.MSG
  286.  
  287.  
  288.      KILLBADDATES
  289.      The KILLBADDATES flag tells GateKeeper to trash all messages with a bad
  290.  
  291.  
  292.  
  293.  
  294.      6
  295.      dates field.
  296.      Ex. KILLBADDATES
  297.  
  298.      ALLOWBADAREAS
  299.      The ALLOWBADAREAS tells GateKeeper to NOT delete messages with a BAD
  300.      AREA: tag.
  301.      Ex. ALLOWBADAREAS
  302.  
  303.      DELETEINSECURE
  304.      Variable that tells GateKeeper to send all INSECURE messages to the
  305.      digital trash can in the sky.
  306.      Ex. DELETEINSECURE
  307.  
  308.      ACKNOWLEDGERRQ
  309.      This stands for 'Acknowledge Receipt Request'  If a FidoNet message has
  310.      a MSGRRQ flag set (Receipt Request flag) then GateKeeper will
  311.      automatically send a message back to the sender which says "Your message
  312.      has been received.."  etc.  By default a message is not sent back to the
  313.      sender even when the MSGRRQ flag is set.
  314.      Ex. ACKNOWLEDGERRQ                               
  315.  
  316.      MAKEINTLKLUDGE
  317.      Will add the INTL kludge line to exported netmail bound for zone gates.
  318.      Ex. MAKEINTLKLUDGE
  319.  
  320.      POINTKLUDGE
  321.      Will add the TOPT (To Point) kludge in netmail messages if you running a
  322.      bossnode and sending to a point.  It will also insert a FMPT (From
  323.      Point) in netmails from an Adept System running as a point address.
  324.      Ex. POINTKLUDGE
  325.  
  326.      MAXTOHIBIT ##
  327.      The MAXTOHIBIT flag defines the maximum number of high bit characters to
  328.      allow in the To: field of a message before it's considered a trashed
  329.      message.
  330.      Ex. MAXTOHIBIT 5                  
  331.  
  332.      MAXFROMHIBIT
  333.      The MAXFROMHIBIT flag defines the maximum number of high bit characters
  334.      to allow in the To: field of a message before it's  considered a trashed
  335.      message.
  336.      Ex. MAXFROMHIBIT 5        
  337.  
  338.      MAXSUBJHIBIT - 
  339.      The MAXSUBJHIBIT flag defines the maximum number of high bit characters
  340.      to allow in the To: field of a message before it's considered a trashed
  341.      message.
  342.      Ex. MAXSUBJHIBIT 5        
  343.  
  344.      NOROUTENET
  345.      Tells GateKeeper not to pack NetMail with the rest of a node's mail.  If
  346.      the message is netmail, and the SysOp has chosen NOROUTENET, GateKeeper
  347.      will create a 'T' flavor packet, rather than a 'P' type (or regular
  348.      packet)  'T' packets aren't routed or packed. They are just sent to the
  349.  
  350.  
  351.  
  352.  
  353.      7
  354.      system as a plain packet. Consider the T type packet a unarchived
  355.      netmail packet. 
  356.      Ex. NOROUTENET                                            
  357.  
  358.      NOROUTEPOINTS
  359.      The NOROUTEPOINTS  keyword causes normal routing to take place,
  360.      (ie. thru the ROUTE command) to the points.  By default mail to points
  361.      is routed.  This means that mail being sent to points is sent to that
  362.      points boss node. ie. the .0 system.  If you set NOROUTEPOINTS
  363.      GateKeeper will route 'local' point mail directly to the point system.
  364.      No matter what, any point mail destined for a point that is not in the
  365.      current systems net is routed to the boss node.
  366.      Ex. NOROUTEPOINTS
  367.  
  368.  
  369.      ARCHIVE 
  370.      Sets the default archiving command for GateKeeper.
  371.      UNARCHIVE
  372.      Sets the default unarchiving command for GateKeeper.
  373.  
  374.      If GateKeeper finds the file type in the Archivers file, it will use the
  375.      archive and unarchive commands found in it. If not, it will try to use 
  376.      the default archive and unarchive commands on a file.
  377.  
  378.      The default ARCHIVE command is:  "ZIP.EXE -mj"
  379.      To change this, use the ARCHIVE keyword.
  380.  
  381.      The default UNARCHIVE command is: "UNZIP.EXE -oj"
  382.      To change this, use the UNARCHIVE keyword.
  383.  
  384.      The default UNARCHIVE command is overridden by information in the
  385.      Adept/GateKeeper "Archivers" file.  The default UNARCHIVE command is 
  386.      used only if:
  387.  
  388.      1) There is no "Archivers" file.
  389.      2) The archived mail bundle doesn't match any archive type found
  390.         in the "Archivers" file.
  391.      3) There is no 'extract' command for the archiver type found in the
  392.         "Archivers" file.
  393.  
  394.      The ARCHIVE command is always overridden by the information in the
  395.      ROUTE keyword.  
  396.  
  397.      ROUTE  <Address mask>   <type> <route to>  <archive command>
  398.  
  399.           <Address Mask>
  400.           Address mask is actually a filename mask. Any filename which fits
  401.           the address mask gets routed according to that entry. Basically,
  402.           if the address mask is:
  403.  
  404.           1.213.*.*.*
  405.  
  406.           GateKeeper will look for all files called  P.1.213.*.*.*  If you do
  407.           a directory from the command prompt you will see what files fit 
  408.  
  409.  
  410.  
  411.  
  412.      8
  413.           that:
  414.  
  415.           [C:] dir P.1.213.*.*.*
  416.  
  417.           That's basically what GateKeeper does.  So if you have a specific 
  418.           node which gets special treatment, it should go before the more 
  419.           generic address mask statement. For instance, if   1:213/761 needs 
  420.           LZH archiving you would want to put an entry for it before the 
  421.           generic 'all nodes in 213' statement.
  422.  
  423.           ROUTE 1.213.761.*.*   etc.   LH.EXE
  424.           ROUTE 1.213.*.*.*     etc.   ZIP.EXE
  425.  
  426.           If a packet (P.*.*.*.*.*) doesn't fit into a route statement, it 
  427.           won't be archived.
  428.  
  429.           <type>     can be "Crash", "Hold", "Direct", "Normal", "Manual"
  430.           Type is the flavor of attach should be used for this entry. This is
  431.           typical FidoNet stuff.  Crash, Direct, Hold, Normal. The first 
  432.           letter is all that counts here. C, D, H, N, M 
  433.           If the letter isn't one of those 5, the default changes it to Hold.
  434.           All this statement does is cause GateKeeper to create a file attach
  435.           with the flavor specified.  So if mail was packed for 
  436.           1:213/760.0.FIDONET and it was specified as Normal, then a file 
  437.           attach with the filename N.1.213.760.0.FIDONET would be created. 
  438.           The letter of the Type is the first letter of the attach.
  439.  
  440.           The file attach affects how Adept works. Normal flavor attaches 
  441.           should be sent during any session with a particular session whether
  442.           they called us, or we called them. Hold flavor attaches are only 
  443.           looked for if they called us.  If we are being called, or we are 
  444.           doing a poll (using the poll dialog.. not a regular call) then the 
  445.           M flavor attaches are looked for. M stands for Manual. A packet of 
  446.           this flavor is only sent if the receiver of the mail polls us, or 
  447.           that we 'manually' poll them   This mail is not sent during a 
  448.           normal call that we would make.  This would control when the mail 
  449.           is sent.  ie. the mail is only sent if we manually tell Adept to do
  450.           so. 
  451.           
  452.           <route to> can be 5D-Address, "Same", "PointRoute", "HostRoute"
  453.           This can be 4 different things:
  454.  
  455.           5D Address:  
  456.           Means that mail fitting the address mask is sent to this 5D 
  457.           address, whether or not it is the same system.  
  458.  
  459.           Same:        Means that mail fitting the address mask is sent to 
  460.                        the same address. ie. You want to route the mail to 
  461.                        the system it is intended for.
  462.  
  463.           Pointroute:  Means that for mail fitting the address mask, you 
  464.                        don't want to send mail to points, but that you want 
  465.                        to route it to the boss node..  ie.  Zone.Net.Node.0
  466.  
  467.  
  468.  
  469.  
  470.      9
  471.           Hostroute:   Means that mail fitting the address mask should be 
  472.                        routed to the Host system of the net.. ie.  
  473.                        Zone.Net.0.0
  474.                     
  475.           In most cases, you would want to use SAME
  476.  
  477.           <archive command>
  478.           The program and parameters you want to use to archive the mail.
  479.           When a ROUTE line contains no archive command, the file is renamed 
  480.           to a FTN style PKT name, then the filename is added to a file 
  481.           attach to the specified node in the flavor (C,D,H,M,N) asked for.
  482.           Ex. ZIP.EXE -m -j
  483.  
  484.      Questions and Examples of the ROUTE keyword:
  485.  
  486.      Q: Which of the following is correct, or does it matter:
  487.  
  488.         ROUTE 500.601.42.*.*   Crash   Same    ZIP.EXE -m -j
  489.         ROUTE 500.*.*.*.*      Hold    Same    ZIP.EXE -m -j
  490.  
  491.                            -or-
  492.  
  493.         ROUTE 500.*.*.*.*      Hold    Same    ZIP.EXE -m -j
  494.         ROUTE 500.601.42.*.*   Crash   Same    ZIP.EXE -m -j
  495.  
  496.      A: Both are correct, though the second won't work as planned.  If you 
  497.         have specific routing for a node, put it first, the do general 
  498.         routing second. So the first entry is more correct than the second.
  499.  
  500.      Q: Which of the following is correct, or does it matter:
  501.  
  502.         ROUTE 1.123.456.0.* Crash 1:123/0.0@Fidonet ZIP -m -j
  503.                          -or-
  504.         ROUTE 1.123.456.0.* Crash 1.123.0.0.* ZIP -m -j
  505.  
  506.      A: Again the first is correct.  You want a 5D address as the third  
  507.         parameter, not an address mask like the first parameter.
  508.  
  509.      Q. I have a point off my system, what should my ROUTE statement look 
  510.         like  for him?
  511.  
  512.      A: ROUTE 1.222.10.1.FIDONET HOLD POINTROUTE ZIP.EXE -m -j
  513.         ROUTE 1.222.10.2.FIDONET HOLD POINTROUTE ZIP.EXE -m -j
  514.         then in your AREA.CONTROL put
  515.         ECHO  AdeptSoft  5     1:222/10.1@FIDONET 1:222/10.2@FIDONET 
  516.  
  517.  
  518.      CHECKSEENBYS
  519.      Turns on SEEN-BY checking.
  520.      Ex. CHECKSEENBYS
  521.  
  522.      PVTECHOASNET
  523.      Tells GateKeeper to send private EchoMail as NetMail.
  524.      Ex. PVTECHOASNET
  525.  
  526.  
  527.  
  528.  
  529.      10
  530.  
  531.      GRUNGEATTEMPTS <number>
  532.      The maximum number of errors allowed in a packet before GateKeeper gives
  533.      up on the packet as bad.  The default is 48.  For instance, GateKeeper
  534.      will read a message from a packet.  If for some reason it doesn't find a
  535.      message where it expects it, it will go looking for one.  This first
  536.      retry would be a grunge attempt. If GateKeeper retries 48 times in a
  537.      single packet, GateKeeper will mark the packet as bad, and go to the
  538.      next packet.
  539.      Ex. GRUNGEATTEMPTS 10
  540.  
  541.      CACHEHANDLES <number>
  542.      Maximum number of message bases to keep open at one time. Minimum is 1, 
  543.      maximum is 10.  Default is 10.
  544.      Ex. CACHEHANDLES 5
  545.  
  546.      MESSAGES <path>
  547.      The above tag tells GateKeeper where to place .MSG messages.
  548.      This should be used in combination with TONAME "Any Name" MSG
  549.      Ex. NETPATH C:\Adept\MsgFiles                             
  550.  
  551.      HOLD <path>
  552.      The HOLD tag tells GateKeeper where to hold .TIC files.
  553.      Ex. HOLD C:\ADEPT\MAILER\TICS
  554.  
  555.      FLAGSPATH             
  556.      GateKeeper or Adept create flags which tell whether not a node number is
  557.      locked.  For instance GateKeeper will lock a node number when it is
  558.      creating a packet for that node. If Adept sees that a node is locked, it
  559.      will not send mail to that system. That way the integrity of the mail is
  560.      maintained.  FLAGSPATH tells GateKeeper where AdeptXBBS is keeping it's
  561.      flags for outgoing/incoming mail
  562.      Ex. FLAGSPATH C:\ADEPT\MAILER\FLAGS
  563.  
  564.      PKTSORTER
  565.      The PKTSORTER option tells GateKeeper the name and location of a packet
  566.      sort program to run before the processing of a mail packet.
  567.      Ex. PKTSORTER C:\UTILS\PKTSORT.EXE                       
  568.  
  569.      PASSWORD
  570.      The above tag lets you set a .PKT password.
  571.      Ex. PASSWORD 1:231/1320.0@Fidonet MYPASS
  572.  
  573.      IMPORTALLNETMAIL
  574.      This keyword causes any NetMail  going thru a system to be imported into
  575.      the NetMail area.  The NetMail will still go to the original recipient. 
  576.      If this keyword is not present, the current default behavior occurs
  577.      which is that only netmail sent to the current system is imported into
  578.      the netarea.  
  579.      Ex. IMPORTALLNETMAIL                                   
  580.  
  581.      NEWAREACREATE <address> 
  582.      Contains a list of FidoNet addresses which are allowed to create new
  583.      echo areas.  If this is remarked out, then ANY node can create new
  584.  
  585.  
  586.  
  587.  
  588.      11
  589.      areas.
  590.      Ex.  NEWAREACREATE 1:231/1320.0@Fidonet 1:18/232.0@Fidonet
  591.  
  592.      MAKENEWAREAS
  593.      Allows new echo areas to be created, and processed.  When this keyword
  594.      is enabled new areas are created and setup as 'passthru areas'.
  595.      Ex. MAKENEWAREAS 
  596.  
  597.      LISTOFAREAS <filename>
  598.      Allows you to specify a file which contains a list of all echo mail
  599.      areas on your system, and/or ones you can get. For instance, the Fido
  600.      back-bone list.
  601.      Ex. LISTOFAREAS fidonet.na
  602.  
  603.      FORWARDLIST <5D Addr> <List Name> <password[,lock]> <'To' name> [Addr]
  604.      Set up a list of files which contains echo areas you have access to.
  605.  
  606.      <5D Addr> System (Uplink) from which to request areas found in the list.
  607.  
  608.      <list name> Filename of a list which contains echo areas. This list is
  609.                  straight text each line contains an echo tag, followed by
  610.                  a description, like so:
  611.  
  612.                  ADEPTSOFT      AdeptSoft support echo
  613.  
  614.      <password[,lock] Areafix Password used by uplink. May also contain a
  615.      'lock' which allows access to the areas on the list only by those
  616.      systems which have a key that fits the lock. Specify the key with the
  617.      ADDRCONTROL line.
  618.  
  619.      Locking Mechanism: To put it simply, the nodes 'key' must contain all 
  620.      the characters contained in an areas 'lock'. No Lock?? Then, no key is
  621.      necessary. Valid characters in a lock will be: A-Z, a-z, 0-9
  622.      Locks can be up to 15 characters in length.
  623.  
  624.      <'To' name> This field specifies who to send an areafix message to at 
  625.      the uplink address.  Typically it is 'Areafix'
  626.  
  627.      [Addr] An optional field which specifies what address the message should
  628.      be sent from. By default it is the first of your addresses. You may
  629.      change that by specifying one of your 5D addresses here.
  630.      Ex. FORWARDLIST 1:213/760.0@fidonet FIDONET.NA  frank  Areafix
  631.  
  632.      NEWAREANODES  <5D FTN Address> [5D FTN Address] ... [5D FTN Address]
  633.      Addresses to automatically list in newly added areas.  Lines may be up
  634.      to 1020 bytes long, and multiple NEWAREANODES lines may be in the file.
  635.      Ex. NEWAREANODES 1:231/1320.0@FidoNet 
  636.  
  637.      UPLINK   <5D FTN Address> [5D FTN Address] ... [5D FTN Address]
  638.      Uplinks are used to determine who gets echos thru the forward lists,
  639.      or who theoretically already has the areas... Uplinks do not need to
  640.      go thru the forward lists to turn on (or create) areas.  They can do
  641.      that automatically. Multiple lines okay.
  642.      Ex. UPLINK 1:213/760.0@fidonet
  643.  
  644.  
  645.  
  646.  
  647.      12
  648.  
  649.      NUKEAREA
  650.      Delete areas from 'Area.Control' when there are no nodes receiving it.
  651.  
  652.      NUKEAREAFILE  <filename>
  653.      Deletions of passthru areas will be logged to 'filename' By default the
  654.      filename is 'Area.Control.Nuked.Areas'
  655.      Ex. NUKEAREAFILE Area.Control.Nuked.Areas
  656.  
  657.      NUKEREMOVE
  658.      Removes Adept message base files upon deletion of an echo area. If the
  659.      files are somehow made read-only, they are not deleted. If the files
  660.      are read-only, and the files cannot be deleted, this is not considered
  661.      an error.
  662.      Ex. NUKEREMOVE
  663.  
  664.      PERCENTFROM
  665.      This tells GateKeeper to allow a "%FROM <5D addr>" in an area control
  666.      message. The address must be in your list of nodes which can use area
  667.      control functions.  Several things can happen here. First you may
  668.      receive a message from an unknown node  (no password or security to use
  669.      area control on this node), but it contains a %FROM in it. If the
  670.      PERCENTFROM keyword is in your control file, GateKeeper will search for
  671.      the %FROM keyword and see if the '%FROM' node is valid. If so, all lines
  672.      following the %FROM will be processed. If the message is from a known
  673.      node (and the password and security levels are okay) GateKeeper will
  674.      process the contents as normal. If it finds a %FROM it will change the
  675.      'from' node and keep processing the message as if it was from the other
  676.      node. (this is not tested) 
  677.      For example: The message is from 1:213/760....
  678.  
  679.          +OS2
  680.          OS2PROG
  681.          -WIN95
  682.          %FROM 1:213/761.0@Fidonet
  683.          -WINDOWS
  684.          ---
  685.  
  686.          The first part is processed for 1:213/760 the second part is 
  687.          processed for 1:213/761 (note, both nodes would need to have the 
  688.          same areafix password for this to work).
  689.  
  690.          If the address after the %FROM is unknown, the message processing is
  691.          aborted.
  692.  
  693.          If you don't use this keyword, GateKeeper will not process the
  694.          contents of the message if they are from an unknown node.
  695.  
  696.      RESCAN
  697.      Allow rescanning in area control.  If this keyword is not present no 
  698.      rescanning can take place.  GateKeeper will do rescanning of message 
  699.      areas for a downlink (if the area exists on your system)
  700.  
  701.      GateKeeper recognizes these formats in an area control message as
  702.  
  703.  
  704.  
  705.  
  706.      13
  707.      rescan lines:
  708.  
  709.      %RESCAN   - All following areas are added (if necessary) and rescanned  
  710.                  (if possible)
  711.      %MSGS xx  - where 'xx' is the number of messages to rescan. This changes
  712.                  the default # of messages to rescan from an area. Default is
  713.                  ALL messages in an area.
  714.      NAME,R    - Rescan area 'NAME' This is on a message area by message area
  715.                  basis. (add area if necessary)
  716.      NAME,R=xx - Rescan 'xx' messages from area 'NAME'. Once again on a 
  717.                  message area by message area basis. Note, the ,R[=xx] 
  718.                  parameter takes precendence over the defaults, and only 
  719.                  works for the current line. 
  720.                  For example (comments on each line):
  721.  
  722.                  %RESCAN       ; add/rescan  all following areas
  723.                  %MSGS 500     ; set default # of msgs to rescan to 500
  724.                  OS2           ; Add/rescan area OS2. Rescan 500 messages.
  725.                  OS2PROG,R=250 ; add/rescan area OS2PROG. Rescan 250 msgs.
  726.                  OS2HW         ; Add rescan area OS2HW. Rescan 500 messages.
  727.  
  728.  
  729.      Sample GateKpr.Ctl File:
  730.  
  731.      LOGFILE   C:\ADEPT\LOGFILES\GateKpr.Log
  732.      ;
  733.      INBOUND   C:\ADEPT\MAILER\PASSWORD_INBOUND_MAIL
  734.      INBOUND   C:\ADEPT\MAILER\PUBLIC_INBOUND_MAIL
  735.      INBOUND   C:\ADEPT\MAILER\UNLISTED_INBOUND_MAIL
  736.      ;
  737.      OUTBOUND  C:\ADEPT\MAILER\OUTBOUND_MAIL
  738.      ;
  739.      MSGDIR    C:\ADEPT\MESSAGE_BASES
  740.      ;
  741.      ADDRESS   1:18/210.0@Fidonet
  742.      ;
  743.      NETAREA   99
  744.      ;
  745.      PACKSIZE  65535
  746.      ;
  747.      AREAFILE AREA.CONTROL
  748.      ;
  749.      TONAME "AreaFix" AREACNTL
  750.      TONAME "Area Control" AREACNTL
  751.      ;
  752.      ROUTE 1.142.*.*.*       Crash   Same    ZIP.EXE -m -j
  753.      ROUTE 1.320.*.*.*       Crash   Same    ZIP.EXE -m -j
  754.      ROUTE 3.800.887.0.*     Hold    Same    ZIP.EXE -m -j
  755.      ROUTE 1.*.*.*.*         Crash   Same    ZIP.EXE -m -j
  756.      ROUTE 2.*.*.*.*         Crash   Same    ZIP.EXE -m -j
  757.      ROUTE 3.*.*.*.*         Crash   Same    ZIP.EXE -m -j
  758.      ROUTE 4.*.*.*.*         Crash   Same    ZIP.EXE -m -j
  759.      ROUTE 5.*.*.*.*         Crash   Same    ZIP.EXE -m -j
  760.      ROUTE 6.*.*.*.*         Crash   Same    ZIP.EXE -m -j
  761.  
  762.  
  763.  
  764.  
  765.      14
  766.      ;
  767.  
  768.  
  769.  
  770.  
  771.      15
  772.      ___________________________
  773.      _ _ THE AREA.CONTROL FILE _
  774.      ___________________________
  775.  
  776.      The AREA.CONTROL file is a echomail control file that Gatekeeper reads.
  777.      It defines where echos are coming from and where they are going.
  778.  
  779.      Here are the keywords that are available to use in this file:
  780.  
  781.      DEFLOCK  <default lock>
  782.      Define Lock 
  783.      DEFLOCK and DEFKEY should come before any addresses in this file, if you
  784.      wish to use them.
  785.      ** Assign default lock to all areas not included in the PROTECT lines.
  786.      Any locks present on PROTECT lines will take precedence.
  787.      Ex. DEFLOCK Ab1
  788.  
  789.      DEFKEY <default key>
  790.      ** Assign default key to all addresses not included in the ADDRCONTROL
  791.      lines. Any keys present on ADDRCONTROL lines will take precedence.
  792.      Ex. DEFKEY Ab1
  793.  
  794.      ECHO <ECHOID> <msg area #> <5D FTN addr> [<5D FTN addr>] [<5D FTN addr>]
  795.      This keyword is used to list your fido echos, what message area # they
  796.      are, 
  797.      and your up/downlinks. The first node in an echo list must have all 5
  798.      dimensions, the rest just need to contain the info that changes from the
  799.      previous node.
  800.               
  801.           Ex.
  802.           ECHO    OS2 1   1:213/760.0@Fidonet 761 .4 245/76.0 2:234/12
  803.  
  804.           That line is perfectly valid. The nodes in the list are:
  805.  
  806.           1:213/760.0@Fidonet
  807.           1:213/761.0@Fidonet
  808.           1:213/761.4@Fidonet
  809.           1:245/76.0@Fidonet
  810.           2:234/12.0@Fidonet
  811.  
  812.      Also, echo control lines can be up to 1024 chars long, and if the sysop
  813.      needs more room than that for node numbers, they can put a + as the last
  814.      character of a line, and then the next line of text is considered a
  815.      continuation of the previous line and more addresses can be put on it.
  816.  
  817.      If you want to setup an echo as passthru, use 0 as the message area
  818.      number.
  819.  
  820.      Ex.
  821.      ECHO      ADEPT_BETA         1      1:213/760.0@fidonet
  822.      ECHO      AdeptSoft          2      1:213/760.0@fidonet
  823.      ECHO      OS2                3      1:213/760.0@fidonet
  824.      ECHO      C_ECHO             4      1:213/760.0@fidonet
  825.      ECHO      OS2BBS             5      1:213/760.0@fidonet
  826.  
  827.  
  828.  
  829.  
  830.      16
  831.      ECHO      OS2PROG            6      1:213/760.0@fidonet
  832.      ECHO      OS2HW              0      1:213/760.0@fidonet
  833.      ECHO      OS2LAN             0      1:213/760.0@fidonet
  834.  
  835.      GROUP <groupid> <msg area#> <numdays> <5D FTN address | !topstar option>
  836.      The above is the control statement outline for GROUP Mail.
  837.      Ex. GROUP
  838.  
  839.      PROTECT  <echo|group id> <seclevel[,lock]>
  840.  
  841.      ** Assign security level to an area for area control messages
  842.  
  843.      <echo|group id> Name of echo or group area to assign protection.
  844.  
  845.      <seclevel[,lock]>   Security level assigned to this node address.
  846.                  may also contain a 'lock' similar to used with Areafix.
  847.                  To secure the area with a lock, separate it with a comma
  848.                  from the security level.
  849.                  for example:  5,FgH
  850.  
  851.                  NOTE: You must include a security level before the comma,
  852.                  even if it is zero.
  853.  
  854.      Locking Mechanism: To put it simply, the nodes 'key' must contain all
  855.                         the characters contained in an areas 'lock'.
  856.                         No Lock?? Then, no key is necessary.
  857.  
  858.      Valid characters in a lock will be: A-Z, a-z, 0-9
  859.  
  860.      Locks can be up to 15 characters in length
  861.  
  862.      Ex. PROTECT   ADEPTBETA        6,GJk
  863.      Ex. PROTECT   OS2              5
  864.  
  865.      ADDRCONTROL   <5D FTN Address>  <password>  <seclevel[,key]> <flags>
  866.  
  867.      <password> 
  868.      Allows access to area control functions. A '.' can be used as a place
  869.      holder.
  870.         
  871.      <seclevel[,key]>  
  872.      Security level assigned to this node address.  This may also contain a
  873.      'key' similar to used with Areafix. To add a key, separate it with a
  874.      comma from the security level.
  875.           Ex. 5,DEFGH
  876.  
  877.           NOTE: To add a key, you must include a security level before the 
  878.                 comma, even if it is zero.
  879.  
  880.      Locking Mechanism: To put it simply, the nodes 'key' must contain
  881.                         all the characters contained in an areas 'lock'.
  882.  
  883.      Valid characters in a key will be: A-Z, a-z, 0-9
  884.  
  885.  
  886.  
  887.  
  888.      17
  889.      Keys Can be up to 19 characters in length
  890.  
  891.      <flags> 
  892.      Flags to set for this node address. Current valid flags are:
  893.              TYPE2      --  Build a type 2 packet for this node
  894.              TYPE2+     --  Build a type 2+ packet for this node
  895.              TYPE2QM    --  Build a type 2 packet w/QMail revisions for this 
  896.                             node
  897.              TYPE2+QM   --  Build a type 2+ packet w/QMail revisions for
  898.                             this node (default)
  899.              TYPE2DOT2  --  Built a type 2.2 packet for this node
  900.              @PATH      --  Means that this address requires echomail to   
  901.                             contain PATH lines.  This should be turned on 
  902.                             only for nodes which require PATH lines. If a 
  903.                             node doesn't need PATH lines, then don't use this
  904.                          flag.
  905.  
  906.       
  907.              NOTE: A security level must be on the line to set the flags
  908.  
  909.      There has to be some order when creating the ADDRCONTROL line.  For
  910.      instance. It is valid to have only two entries on this line, address,
  911.      and password. If you want to set a security level, you must 3 entries on
  912.      the line. If you want to set the flags, you must have 4 entries on the
  913.      line. 
  914.      Ex.
  915.      ; Valid
  916.      ADDRCONTROL 1:213/760.0@FIDONET JUNK
  917.      ADDRCONTROL 1:213/761.0@FIDONET FRITZ 80
  918.      ADDRCONTROL 1:213/762.0@FIDONET HANDS 99 @PATH
  919.      ADDRCONTROL 1:213/763.0@FIDONET . 100 TYPE2
  920.      ADDRCONTROL 1:213/763.0@FIDONET PASS 100 TYPE2+,@PATH
  921.      ; Invalid lines
  922.      ; Next line. GateKeeper thinks password is 75
  923.      ADDRCONTROL 1:213/760.0@FIDONET 75
  924.      ; Next line GateKeeper thinks password is TYPE2+
  925.      ADDRCONTROL 1:213/761.0@FIDONET TYPE2+
  926.      ; Next line GateKeeper thinks password is 99
  927.      ADDRCONTROL 1:213/762.0@FIDONET 99 TYPE2
  928.  
  929.  
  930.  
  931.  
  932.      18
  933.      ___________________________
  934.      _ _ THE FILE.CONTROL FILE _
  935.      ___________________________
  936.  
  937.      .TIC File Echo Configuration For GateKeeper
  938.      TIC-Style file areas are supported by GateKeeper. We call it
  939.      FILE.CONTROL.
  940.      The TZ environment variable should be set the same as if you were using
  941.      TICK.  i.e.:  SET TZ=PST8PDT                                     
  942.  
  943.      All file control information is normally stored in a file called
  944.      FILE.CONTROL  But you can specify any name you wish.  To specify a
  945.      name, use the FILEAREA keyword in GateKpr.Ctl:
  946.  
  947.      FILEAREA filename
  948.  
  949.      Ex. FILEAREA FILE.CONTROL
  950.  
  951.      NOTE: the FILEAREA keyword in GateKpr.Ctl is different than the FILEAREA
  952.      keyword when read from the FILE.CONTROL file.                   
  953.  
  954.      Other file control keywords are (found in GateKpr.Ctl):
  955.  
  956.      NOTICCRC
  957.      Don't check or generate CRC-32's for the files in this area. This will
  958.      only happen if the TIC file received also had no CRC-32 in it. If the
  959.      TIC had a CRC-32 in it, it is passed on to the downstream nodes. This
  960.      keyword is a global keyword. It causes ALL file control areas to bypass
  961.      generating and checking TIC CRC-32's.                              
  962.      Ex. NOTICCRC
  963.  
  964.      DELETEFILEDUPES
  965.      If you have TIC CRC-32 checking enabled and a file has the same name,
  966.      area and CRC as a previous file, it will be deleted. If this option is
  967.      off, then the TIC file is renamed and the duplicate is logged.  You can
  968.      then decide what needs to be done with the file. By default deleting is
  969.      off.
  970.      Ex. DELETEFILEDUPES
  971.  
  972.      FILECOLLISION [action]
  973.      A file collision happens when you try to add a file to an AdeptXBBS file
  974.      area which has the same filename as a file already in that area. The
  975.      FILECOLLISION keyword helps you tell Gatekeeper what to do in that
  976.      event. The following are the current available actions:
  977.  
  978.           OVERWRITE 
  979.           This deletes the entry for the old file and puts the new file in   
  980.           its place. Only the entry in the file system is deleted. The actual
  981.           file may not be deleted or overwritten if it is not in one of the  
  982.           directories specified for that file area.  OVERWRITE is the 
  983.           default.
  984.  
  985.           RENAMEOLD
  986.           This renames the older file to a unique name and adds the new file 
  987.  
  988.  
  989.  
  990.  
  991.      19
  992.           to the file area.                                       
  993.  
  994.           RENAMENEW
  995.           This renames the new file to a unique name and adds it to the file 
  996.           area.
  997.      Ex. FILECOLLISION RENAMEOLD
  998.  
  999.      HOLD [path]
  1000.      This is the file control hold path. Files and TICs are placed there
  1001.      while they are waiting to be sent. Dupe files are also stored here.
  1002.      Ex. HOLD C:\ADEPT\MAILER\HOLD
  1003.  
  1004.  
  1005.      FILEAREA AreaNum AreaName
  1006.      AreaNum  = Adept File Area Number
  1007.            0  = no corresponding AdeptXBBS file area, in other words a
  1008.                 passthru file area. If you have 0 specified, the incoming 
  1009.                 file will not stay on your system. It will go to your 
  1010.                 downlinks. If you have no downlinks, the file will be 
  1011.                 deleted.
  1012.  
  1013.                 When a corresponding AdeptXBBS file area is found, the file
  1014.                 is moved into the upload directory for that file area and the
  1015.                 file and its description are added to the file system in that
  1016.                 area.
  1017.  
  1018.      AreaName = TIC file area name 
  1019.      Corresponds to the file area found in the .TIC file.
  1020.      Ex. FILEAREA 2 Games
  1021.  
  1022.      FLAGS flag1 [flag2] [flag3]
  1023.      Flags control how this area is acted upon. Flags do not need to be
  1024.      included for each area. If you have a flags line, it should follow the
  1025.      FILEAREA line.  Valid flags are:
  1026.           DLDIR
  1027.           Instead of moving the file to that areas upload path, move it to   
  1028.           that areas download path.
  1029.  
  1030.           NOTICCRC
  1031.           Don't check or generate CRC-32's for the files in this area. This  
  1032.           will only happen if the TIC file received also had no CRC-32 in it.
  1033.           If the TIC had a CRC-32 in it, it is passed on to the downstream 
  1034.           nodes.
  1035.  
  1036.           CHECKDUPES
  1037.           Checks for TIC duplicates. This involves saving the file name, the 
  1038.           area it is associated with and the CRC-32 of the file.  You should 
  1039.           use this flag in each area where you wish to have checking for TIC 
  1040.           duplicates.  Gatekeeper also employs checking for AdeptXBBS style 
  1041.           duplicates.  These duplicates occur when a file goes into an 
  1042.           AdeptXBBS file area which already has a file of the same name. See 
  1043.           the FILECOLLISION keyword above to specify the action Gatekeeper 
  1044.           should take on AdeptXBBS duplicates.
  1045.  
  1046.  
  1047.  
  1048.  
  1049.      20
  1050.           NOTE: AdeptXBBS duplicate checking is employed at all times!  
  1051.                 AdeptXBBS allows for duplicate filenames in the file system, 
  1052.                 but they cannot be in the same file area.
  1053.  
  1054.      More flags will be supported in the future, along with more keywords
  1055.      for each file area.
  1056.  
  1057.      Following the FILEAREA and FLAGS keywords must be one or more nodes
  1058.      which may deal with this area. The first may be the node from which
  1059.      you received the file, the following nodes would be the nodes you are
  1060.      sending the file to. But, the order is not important.
  1061.  
  1062.      ADDRESS <Password> <Flags>          
  1063.      A Valid address, can be 3D, 4D or 5D address. TIC appears to work with
  1064.      3D addresses. Gate Keeper will do 5D.
  1065.  
  1066.           Password
  1067.           Password used when dealing with this node.  When receiving a file, 
  1068.           this password must match the password in the .TIC file or the .TIC 
  1069.           file is considered invalid. When sending to a node, password is put
  1070.           into the .TIC file. A password is required at this time.
  1071.  
  1072.           Flags
  1073.           Contains one or more flags. Valid flags are:
  1074.           S - Secure password mode. The password is sent in a numerical form,
  1075.               not as the password itself. Any nodes using the secure password
  1076.               option should have the S flag set for each node it is swapping 
  1077.               secure passwords with.  This will only work with systems 
  1078.               running GateKeeper!
  1079.           R - Node is Read-Only. In other words, we should only receive files
  1080.               from this node. We will not send any files to this node.
  1081.           W - Node is Write-Only. We should only send files to this node, we 
  1082.               will not receive any files from this node.  If we do receive a 
  1083.               file or files, we will ignore it.
  1084.                 H - Hold Flag.
  1085.                 C - Crash Flag.
  1086.                 D - Direct Flag.
  1087.                 N - Normal Flag.
  1088.                 5 - 5D address flag. Puts 5D addresses into .TIC file. Not
  1089.                     recommended unless you are sending to a system which
  1090.                     won't puke when it finds a 5D address in a .TIC file.
  1091.                     (i.e. Another AdeptXBBS system)
  1092.                     - NOT YET IMPLEMENTED -
  1093.                 Flags can be combined:
  1094.                 WH  = Write only, put files on hold.
  1095.                 WC5 = Write only, crash files to node, put 5D addresses in
  1096.                      .TIC file.
  1097.                     
  1098.      Format of FILE.CONTROL:
  1099.      FILEAREA AreaNum AreaName
  1100.      Address Password Flags
  1101.      ;
  1102.      ; this is a remark
  1103.      ;
  1104.  
  1105.  
  1106.  
  1107.  
  1108.      21
  1109.      FILEAREA AreaNum AreaName
  1110.      FLAGS DLDIR
  1111.      Address Password Flags
  1112.      Address Password Flags
  1113.      ;
  1114.      FILEAREA AreaNum AreaName
  1115.      Address Password Flags
  1116.      Address Password Flags
  1117.      ;
  1118.      ;
  1119.      ; etc.
  1120.  
  1121.      Example FILE.CONTROL File:
  1122.  
  1123.      FILEAREA    23    Games
  1124.      FLAGS DLDIR
  1125.      1:100/600     Hello  WH
  1126.      1:100/800     Wow    WH
  1127.      1:120/10      Floopy WH
  1128.      FILEAREA    1    AdNetUplink
  1129.      FLAGS DLDIR
  1130.      1:100/600     Hello  RH
  1131.      1:100/800     Wow    RH
  1132.      1:120/0       Floopy RH
  1133.  
  1134.  
  1135.  
  1136.  
  1137.      22
  1138.      ______________________________________
  1139.      _ _ OUTBOUND MAIL NAMING CONVENTIONS _
  1140.      ______________________________________
  1141.  
  1142.      AdeptXBBS uses long file names for it's mail packets.  The following
  1143.      is the basic outline for all Adept Mail Packets.
  1144.      TYPE.ZONE.NET.NODE.POINT.NETWORK
  1145.      TYPE Can be any of the following.
  1146.              A = Archived Mail Packet
  1147.              R = File Request
  1148.              H = Hold Mail
  1149.              C = Crash Mail
  1150.              D = Direct Mail
  1151.              N = Normal Mail
  1152.              P = Unarchived Packet
  1153.              M = Manual
  1154.              T = Unpacked Netmail
  1155.              B = Same as A type packets
  1156.  
  1157.      C, N, D, H, M are modifiers.  And can also contain the name of a file to
  1158.      be sent using that particular flavor.
  1159.  
  1160.      For example you can have a archived mail packet for me.
  1161.      1:142/210.0@Fidonet.
  1162.      A.1.142.210.0.Fidonet
  1163.  
  1164.      Now say you want to send it crash mail, you can then create a 0 byte
  1165.      file as 'C.1.142.210.0.Fidonet'.
  1166.  
  1167.      To send a file attach to me at 1:142/210.0@Fidonet.  You would create a
  1168.      file called 'C.1.142.210.0.Fidonet'  And on the first line of the file
  1169.      place the name of the file to crash mail to me. 
  1170.  
  1171.      C:\ADEPT\MYFILE.TXT
  1172.  
  1173.      If you append a ' before the name it will delete the file after it had
  1174.      been sent.
  1175.  
  1176.  
  1177.  
  1178.  
  1179.      23
  1180.      ___________________________
  1181.      _ _ AREAFIX TYPE COMMANDS _
  1182.      ___________________________
  1183.  
  1184.      In the \Adept\gatekpr.ctl add the following line to enable downlinks to 
  1185.      use AREAFIX commands:
  1186.  
  1187.      TONAME "AreaFix" AREACNTL
  1188.      "Areafix" can be anything, but Areacontrol is usually called AreaFix
  1189.      or AreaMgr.
  1190.  
  1191.      Also define your downlink's Areafix password's in the AREA.CONTROL
  1192.      file.  That is outlined in more detail in the section on AREA.CONTROL.
  1193.      Here is an example of a message that your downlink might write to
  1194.      'AreaFix' to tell AreaFix what it has to do for him/her.
  1195.  
  1196.      Ex.
  1197.       Msg  : 13 of 23               Uns Pvt Loc K/s
  1198.       From : Joe Smoe               1:282/9999       Wed 31 Dec 93 23:59
  1199.       To   : AreaFix                1:282/3029  <--Address of your BBS
  1200.       Subj : PASSWORD                           <- Your AreaFix password
  1201.       ---------------------------------------------------------------------
  1202.       +RA_UTIL                     <- Add (link) area
  1203.       -SYSOPS.024                  <- Remove (unlink) area
  1204.       %QUERY                       <- Ask for your active areas
  1205.       %LIST                        <- List available areas
  1206.  
  1207.       
  1208.      ----
  1209.       
  1210.      Gatekeeper accepts lines in an Areafix style message that begin with a
  1211.      '+' or '%' The key words recognized are:
  1212.  
  1213.      %FROM <5D Address>
  1214.      Ex. %FROM 1:231/1320.0@FidoNet
  1215.  
  1216.      %LIST
  1217.      Give list of available areas on your system
  1218.  
  1219.      %MSGS <default # msgs to rescan>
  1220.  
  1221.      %NOTE
  1222.      Means to ignore all lines after this one (Area control processing ends
  1223.      on this line)
  1224.      Ex. %NOTE
  1225.          Your bbs is really professional. Keep up the good work.
  1226.  
  1227.      %QUERY
  1228.      Gives a list of active areas
  1229.  
  1230.      %RESCAN
  1231.  
  1232.      %UNLINKED
  1233.      Gives a list of areas on your system that the downlink is not getting
  1234.  
  1235.  
  1236.  
  1237.  
  1238.      24
  1239.  
  1240.      %PAUSE
  1241.      If this keyword is seen in an area control message, GateKpr will set a 
  1242.      'Pause' flag in that nodes record, and also add that node to the 
  1243.      "GateKpr.Pse" file. GateKpr.Pse is an ASCII file with each line 
  1244.      containing a node number which is not to receive their echo mail. This
  1245.      can be used to turn mail off for a node that is taking their bbs down
  1246.      for a short period of time and does not want mail to accumulate on your
  1247.      system.
  1248.  
  1249.      %RESUME 
  1250.      If this keyword is seen in an area control message, GateKpr will turn 
  1251.      the 'pause' flag off, and remove that node from the GateKpr.Pse file.
  1252.      You can add or remove nodes to the GateKpr.Pse yourself. The format
  1253.      of each line is:
  1254.  
  1255.      zone:net/node.point@domain
  1256.  
  1257.      Don't try changing this manually while GateKeeper is running.  Your
  1258.      changes will dissappear.
  1259.  
  1260.  
  1261.      Area control also recognizes these switches in the SUBJECT field of the
  1262.      message following the password.
  1263.  
  1264.      -l    Same as %LIST
  1265.      -q    Same as %QUERY
  1266.      -r    Same as %RESCAN
  1267.      -u    Same as %UNLINKED
  1268.  
  1269.      GateKeeper recognizes wildcard characters for echo names in an area
  1270.      control message. For example the following are valid.
  1271.  
  1272.      OS*        ; add all areas beginning with 'OS'
  1273.      OS?PROG    ; add areas that match OS?PROG
  1274.      *          ; add all areas which node has access to
  1275.      -*         ; remove all areas.
  1276.  
  1277.  
  1278.  
  1279.  
  1280.      25
  1281.      _____________________________________
  1282.      _ _ TEXT FILES USED WITH THE MAILER _
  1283.      _____________________________________
  1284.  
  1285.      OK Files:
  1286.      An `OK' file is a file that tells your mailer which files are available
  1287.      for people to FREQ (File Request) from you.  Create a PUBLIC.OK file and
  1288.      place it in your \Adept\Mailer directory.  OK files follow the 'Binkley'
  1289.      style OK file format where MAGIC names have a `@' in front of them.
  1290.      Otherwise, the file path is listed so that any file in that path can be
  1291.      FREQed. In the example below, a person can FREQ SIO142.ZIP by using the
  1292.      magic name SIO
  1293.  
  1294.      @ADEPTXBBS C:\Files\Adept\Adept_90.Zip
  1295.      @SIO C:\Files\Comm\Sio142.Zip
  1296.      @NODELIST D:\fido\fidofile\Nodelist.A??
  1297.      @NODEDIFF D:\fido\fidofile\nodediff.A??
  1298.      D:\Files\netupld\*.*
  1299.      D:\Files\upload\*.*
  1300.      D:\Files\fidofile\*.*
  1301.      D:\Files\games\*.*
  1302.      D:\Files\utilities\*.*
  1303.  
  1304.  
  1305.      Other Text Files Used With The Mailer:
  1306.      These are looked for when your system gets a bad file request (FREQ).
  1307.      Create these files and place them in your \Adept directory.
  1308.  
  1309.      SYSTREQ.TXT
  1310.      System error (as in BBS program) Could have been, say, unable to
  1311.      allocate memory etc.
  1312.  
  1313.      SYSPREQ.TXT
  1314.      OK File list not found. Sysop hasn't created them or maybe in the wrong
  1315.      dir.                                                  
  1316.  
  1317.      BADPREQ.TXT
  1318.      Passwords don't match. Password on file request didn't match.
  1319.  
  1320.      BADFREQ.TXT
  1321.      File request not found on system. Pretty self explanatory :)
  1322.  
  1323.      GATEKPR.SF$
  1324.      A file which is used to recover from either a GateKeeper crash, or an
  1325.      OS/2 system crash. It basically helps GateKeeper remember where it was
  1326.      in a packet, so when it resumes, it starts from where it left off.  It
  1327.      is a harmless file which may be found in the Adept directory.  
  1328.  
  1329.      Configurable Mail Directories:
  1330.      There are three distinct inbound directories that can be used.
  1331.      They should, ideally, all be on the same drive (the default)
  1332.  
  1333.      The directories are for, in order:
  1334.       .\Mailer\Password_Inbound_Mail    --  Passworded connections
  1335.  
  1336.  
  1337.  
  1338.  
  1339.      26
  1340.       .\Mailer\Public_Inbound_Mail      --  Unpassworded but listed          
  1341.                                             connections
  1342.       .\Mailer\Unlisted_Inbound_Mail    --  Unlisted connections
  1343.  
  1344.      There are corresponding OkFile listings as well.
  1345.       .\Mailer\Password_File_List
  1346.       .\Mailer\Public_File_List
  1347.       .\Mailer\Unlisted_File_List
  1348.  
  1349.      The directory to be used is decided after the YooHoo packet is
  1350.      exchanged or after the introductory packet is received in an FTS-0001
  1351.      session.  When Adept starts a session with the ext(ernal)mail processor
  1352.      because mail was received, it passes the inbound directory currently in
  1353.      use (which is usually where the mail will be :-).  If you press M for
  1354.      Mail Processing at the "waiting" screen, the first outbound area will
  1355.      always be passed.  You can change these directories from Adepts setup
  1356.      dialog boxes.      
  1357.  
  1358.  
  1359.      Bad Mail Packet File Descriptions:
  1360.  
  1361.      Insecure.$$$
  1362.      ONLY created when you receive messages in a known message area from a
  1363.      node that is not defined in the AREA.CONTROL file.
  1364.  
  1365.      Unknown.$$$
  1366.      Created if the area does not exist.
  1367.  
  1368.  
  1369.      Mail.Cmd A Sample mail processing command file:
  1370.      The Mail.Cmd file is a sample batch file for handling incoming mail
  1371.      processing. 
  1372.  
  1373.           GateKpr.Exe GateKpr.Ctl A LP
  1374.