home *** CD-ROM | disk | FTP | other *** search
/ synchro.net / synchro.net.tar / synchro.net / modem.madness / SMMNETML / ARCML312.ZIP / ARCMAIL3.DOC next >
Encoding:
Text File  |  1993-04-11  |  41.7 KB  |  884 lines

  1.                         ARCMAIL 3 Revision Information
  2.  
  3. Note:  Changes are indicated in the left margin by the "|" character.
  4.  
  5. Rel 3.00
  6.        (betas)
  7.                 o  Added the ARCMAIL.CFG file to permit a variety of
  8.                    changes in the behaviour of the ARCMAIL 2.07 code
  9.                    from which this version is written.  See the contents
  10.                    of this file for full details.
  11.  
  12. Rel 3.01
  13.        (01/29/92)
  14.                 o  Due to a completely stupid error on my part, certain
  15.                    net/node combinations were causing improper attach
  16.                    messages to be built.  The error may have appeared at
  17.                    several points in the attach message.  I promise to 
  18.                    remember to open binary files in binary mode from now on!
  19.                    
  20. Rel 3.02
  21.        (02/19/92)
  22.                 o  ARCMAIL was ignoring the /0 or -0 on the command line,
  23.                    and only using a DEFAULT with DAY or specifying DAY
  24.                    in a TARGET would generate a "Version 0" (instead of
  25.                    base 36) archive name extension.
  26.  
  27.  
  28.  
  29.  
  30.                         ARCMAIL 3 Revision Information
  31.  
  32.  
  33. Rel 3.10
  34.        (02/15/93)
  35.                 o  Adds the NOALPHA verb to the ARCMAIL.CFG file.
  36.                    If NOALPHA is not found, the software will *now* create
  37.                    /0 file extensions of 0-9...A-W, one per hour.  Previously,
  38.                    it would run thru Z, and restart at 0 again at about 9:36pm,
  39.                    and run through 3 before resetting to 0 at midnight.
  40.  
  41.                    If NOALPHA *is* found, the software will now create
  42.                    /0 file extensions of 0-9, about one every 144 minutes.
  43.  
  44.                 o  When the message inside a packet is destined for another
  45.                    system, ARCMAIL used to say "Misrouted packet".  This was
  46.                    confusing some folks, so it now just says "Routed packet".
  47.  
  48.                 o  BADMSGS has been added to ARCMAIL.CFG.  Messages with
  49.                    year more than +/- one year from current are tossed here.
  50.                    Also, if BADMSGS is defined, all messages >32K in length
  51.                    will be tossed to this directory in deference to certain
  52.                    mail processors that choke on messages of > 32767 bytes.
  53.                   
  54.                 o  Verified and documented routing control and the use of
  55.                    a list file for ARCMAIL3 [<filelist>] TO syntax.
  56.  
  57. Rel 3.10 (continued)
  58.        (02/15/93)
  59.                 o  Error levels upon normal or abnormal termination have
  60.                    been modified:
  61.                                   0 = non-error exit
  62.                                   1 = fatal error (such as disk I/O)
  63.                                   2 = error on command line
  64.                                   9 = bad configuration file
  65.  
  66.                    Previous versions returned only the number of packets
  67.                    that had been packed or unpacked during the run of
  68.                    ARCMAIL, but this information was rarely being used,
  69.                    and the above was said to have been more useful to
  70.                    those sysops who commented upon it.
  71. Rel 3.11
  72.        (02/28/93)
  73.                 o  If a zone number is provided in either ARCMAIL.CFG
  74.                    or CONFIG.DOG, it will be used for the following only:
  75.  
  76.                    Packet headers will contain our zone for both the
  77.                    originating and destination zone numbers.
  78.  
  79.                 o  Attach messages will contain our zone for both the
  80.                    originating and destination zone numbers.
  81.  
  82.                 o  If available, our zone number is displayed along with
  83.                    our net/node during startup (i.e., zone:net/node).
  84.  
  85.                 o  MAXSIZE has been added to ARCMAIL.CFG.
  86.                    If BADMSGS is defined, all messages > MAXSIZE in
  87.                    length will be tossed to this directory in deference to
  88.                    certain mail processors that choke on messages of greater
  89.                    than some given number of bytes.  If BADMSGS is defined,
  90.                    but MAXSIZE is not, 3.11 will use 32,767 bytes for the
  91.                    maximum message size, just as 3.10 did.  In addition,
  92.                    the nature of any date or size error is displayed and
  93.                    will be part of any redirection to a file, if used.
  94.  
  95.                 o  Where possible, additional information about the failure
  96.                    of archiving attempts is provided.
  97.  
  98. Rel 3.12
  99.        (04/11/93)
  100.                 o  An exception to the +/- 1 year rule is made for BADMSGS
  101.                    when the date is 1980.  It is assumed that the sender's
  102.                    computer had a date problem, and had recently defaulted
  103.                    to 1-1-80.
  104.                    
  105.                 o  A bug was fixed that could cause all messages to be tossed
  106.                    to the BADMSGS directory unless some sort of MAXSIZE was
  107.                    specified in the ARCMAIL.CFG file.
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114. This software is offered free of charge for non-commercial use.  The original
  115. ARCMAIL program and this extension to it remain the property of System
  116. Enhancement Associates.  SEA, however, has not offered formal support for
  117. previous versions, and cannot offer *any* support for this revision of the
  118. software since I am in no way affiliated with SEA.  I will offer assistance 
  119. where possible.  All suggestions, problems and questions should be referred 
  120. to me at 1:104/114@FidoNet by NetMail, or by accessing the ARCMAIL support 
  121. section of my BBS at (303)652-3595, 24 hrs, HST/V.32.  First time callers are
  122. granted read and upload/download access, and write access on logoff message
  123. to the sysop and in the ARCMAIL area.
  124.  
  125. No guarantees are made by myself nor SEA that this software will function in 
  126. your particular application.  Reasonable care has been taken in its development
  127. to assure that it will function per this documentation, but the user of this
  128. software assumes all risks for its use.
  129.  
  130.  
  131.  
  132.  
  133.                         ARCMAIL 3 Docs (REALLY!)
  134.                        
  135.                           10/20/91 C. Anderson
  136.  
  137.  
  138.  
  139. The ARCMAIL 3 program is an extension of the previous 2.07 version.
  140. It allows for configuration of the use/non-use of attach messages, the
  141. subject line of the attach message, the archiver and unarchiver used,
  142. and the extension type.  Also included are configurable paths for mail,
  143. arcmail and files.  However, in absence of any special, new configuration 
  144. information for any or all of these items, ARCMAIL 3 will operate in
  145. exactly the same manner as did 2.07.
  146.  
  147. As there was no formal documentation for version 2.07, no knowledge of
  148. this software will be assumed in this documentation. 
  149.  
  150. If you are already familiar with ARCMAIL 2.07, you can "cut to the chase"
  151. and pages 10+ will cover the new ARCMAIL.CFG file.  Any information
  152. in this file will override information found in any other files and on the
  153. ARCMAIL command line.
  154.  
  155.  
  156. --------------------------------------------------------------------------
  157. What is ARCMAIL3, and why use it?
  158. --------------------------------------------------------------------------
  159.  
  160. The transfer of mail in *.MSG (or *.PKT, if you prefer) form is costly.
  161. ASCII data can be substantially compressed, but neither the *.MSG nor the
  162. resulting *.PKT packet data formats use any compression at all.  No
  163. compression means larger file storage requirements, and more important,
  164. longer connects via phone to transfer the data.
  165.  
  166. ARCMAIL looks into the *.MSG directory area and selectively creates
  167. archives from *.MSG files.  In the past, ARCMAIL has been bound to the
  168. use of ARC and ARCA/ARCE for its archiving and unarchiving utilities.
  169. This has recently caused a few problems since the advent of ARC version
  170. 7.X and the increasing use of other archivers.  The old ARC 5.x revision
  171. is STILL the defacto archiving technique between any two FidoNet nodes.
  172. Unless you have prearranged the use of any other format, it is considered
  173. bad form to spring a file on someone using any other archiving technique.
  174.  
  175. Many systems' utilities can't readily recognize or automatically extract
  176. version 7 ARC format files, and ARCMAIL made no provision to include the
  177. -5 switch when using ARC versions 6 or 7 to create mail archives.  In fact,
  178. there has been no new version of ARCMAIL since version 6 of ARC.EXE.
  179.  
  180. In addition, some systems prefer to use one of the many other archivers 
  181. and there was no straightforward way to convince prior versions of ARCMAIL 
  182. to accomodate these requirements.
  183.  
  184.  
  185.                                                            ARCMAIL 3.12    -2-
  186.  
  187.  
  188. --------------------------------------------------------------------------
  189. ARCMAIL 3.12 - WHAT IT DOES.
  190. --------------------------------------------------------------------------
  191.  
  192.      Here is a brief "map" to demonstrate the most common TO and FROM 
  193.      functions of ARCMAIL.
  194.  
  195.                               ARCMAIL  FROM
  196.  
  197.      ________________        ________________        ________________
  198.      |              |        |              |        |              |
  199.      |   Received   |        |   Current    |        |   Netmail    |
  200.      |     Files    |        |   Working    |        |   (MAIL)     |
  201.      |     Area     |        |  Directory   |        |  Directory   |
  202.      |              |        |              |        |              |
  203.      |--------------|        |--------------|        |--------------|
  204.      | 001F010A.MO1 | -----> | 02303447.PKT | -----> | 1.MSG  2.MSG |
  205.      |              |        | 02306825.PKT |        | 3.MSG  4.MSG |
  206.      ----------------        ----------------        ----------------
  207.          Archive                  Packets                 Messages
  208.             ^                       ^                        ^
  209.    Inbound archive is broken into Packets from which Messages are extracted.
  210.  
  211.                                ARCMAIL  TO
  212.  
  213.      ________________        ________________        ________________
  214.      |              |        |              |        |              |
  215.      |   Outbound   |        |   Current    |        |   Netmail    |
  216.      |     Files    |        |   Working    |        |   (MAIL)     |
  217.      |     Area     |        |  Directory   |        |  Directory   |
  218.      |              |        |              |        |              |
  219.      |--------------|        |--------------|        |--------------|
  220.      | 000000C6.MO2 | <----- | 04306888.PKT | <----- | 1.MSG  2.MSG |
  221.      |              |        |              |        | 3.MSG        |
  222.      ----------------        ----------------        ----------------
  223.             ^                       ^                       ^
  224.       Archiver called to archive packet files made up of messages.
  225.  
  226.  
  227.      As noted above, ARCMAIL packs and unpacks messages to and from
  228.      message archives.  The messages must conform to FTS (FidoNet
  229.      Technical Standards).  The packet files it creates are Type 2
  230.      FTS standard packets.  Packets found in inbound archives must
  231.      also be of Type 2, also a FidoNet standard.
  232.      
  233.      ARCMAIL has two modes of operation:
  234.      
  235.            ARCMAIL FROM    and
  236.            ARCMAIL TO
  237.            
  238.      When talking about archives we have received FROM someone, we
  239.      use the ARCMAIL FROM format with an assortment of other command
  240.      line options.  When talking about archive we are sending TO
  241.      someone, we use the ARCMAIL TO forms.
  242.  
  243.  
  244.                                                            ARCMAIL 3.12    -3-
  245.  
  246.  
  247.      First, ARCMAIL 3.12 will attempt to locate the configuration
  248.      information that it requires in several sources.  These include
  249.  
  250.      a) CONFIG.DOG.  This file is used with both new and old SEAdog 
  251.         software, and the recently introduced SEAmail software.  At
  252.         this time, however, version 1.00 of SEAmail does not support
  253.         all of the necessary information required by ARCMAIL (the
  254.         ARCMAIL configuration line is not supported).
  255.      
  256.         The useful information found in CONFIG.DOG will include:
  257.      
  258.         1) Our net and node number <NODE or ADDRESS>.
  259.         2) Our *.MSG directory path <MAIL>.
  260.         3) Our received files directory <FILES>, including the name
  261.            of any secure (session password verified) inbound area.
  262.            Note: SEAmail 1.00 does not support the verified files area,
  263.               although it may be returned in a future release.
  264.         4) Our outbound file area <ARCMAIL>.
  265.            Note: SEAmail 1.00 does not support the ARCMAIL verb at all.
  266.               This is handled differently in that any files created
  267.               by SEAMail's own archiver are placed in the PACKET
  268.               directory area.
  269.  
  270.      This is the minimum information necessary for a message archiving
  271.      program to operate.  Effectively, it has to know who we are, and
  272.      where to find and put things.
  273.      
  274.  
  275.      b) MAIL.SYS.  This file originated with the FIDO bulletin board and
  276.         mailer system.  This file is searched ONLY if CONFIG.DOG is not
  277.         found in the current directory or the SDCONFIG environment path.
  278.         (See your SEAdog documentation regarding SDCONFIG.)
  279.      
  280.         The useful information found in MAIL.SYS will include:
  281.      
  282.         1) Our net and node number.
  283.         2) Our *.MSG directory path.
  284.         3) Our files area.
  285.      
  286.      c) ARCMAIL.CFG.  This file comes into use with version 3.12 of
  287.         ARCMAIL.  It is read whether or not either of CONFIG.DOG or MAIL.SYS
  288.         have been successfully read.  If one of these files _has_ been read,
  289.         and corresponding information is also found in ARCMAIL.CFG, the
  290.         final configuration will that of the contents of ARCMAIL.CFG.  In
  291.         short, ARCMAIL.CFG will override data found anywhere else, and it
  292.         may be used by itself to supply all needed information.
  293.      
  294.         The information that can be provided in ARCMAIL.CFG is
  295.      
  296.         1) Our net and node number <NODE>.
  297.         2) Our *.MSG directory path <MAIL>.
  298.         3) Our received files directory <FILES>.  This is assumed to be
  299.            the name of any secure (session password verified) inbound area
  300.            if one is used.
  301.         4) Our outbound file area <ARCMAIL>.
  302.  
  303.  
  304.                                                            ARCMAIL 3.12    -4-
  305.    
  306.  
  307.      As you can see, this doesn't deviate from the old CONFIG.DOG
  308.      information thus far.  The following directives are all new with
  309.      ARCMAIL 3:
  310.  
  311.         5) Our mailer type (old SEAdog, more recent SEAdog, or SEAmail)
  312.            <MAILER>.  This will determine the type of attach message, if
  313.            any, that will be built for an archive file.
  314.         6) The nickname and full command line definition for up to 10
  315.            different archiver techniques and/or archivers <ARCHIVE>.
  316.         7) The nickname and full command line definition for up to 10
  317.            different unarchiving techniques and/or unarchivers <UNARCHIVE>.
  318.         8) The default archiver and unarchiver from items 6 and 7, above,
  319.            and the default extension type (base 36 or day - see below for
  320.            an explanation of these) where no specific information exists
  321.            for a given node.
  322.         9) The archiver, unarchiver and extension type to be used to create
  323.            an archive for any particular node <TARGET>.  (Maximum of
  324.            100 nodes).
  325.        10) <NOALPHA> permits you to use only digits in the last character
  326.            of an archive's file extension, rather than an alphanumeric, when
  327.            you specify a /0 style filename to be created.
  328.        11) A <BADMSGS> directory can be specified as a destination for
  329.            setting aside seriously grunged messages and those > 32K long.
  330.         
  331.      A complete explanation of the syntax of the ARCMAIL.CFG entries
  332.      follows at the end of this document.
  333.      
  334.  
  335. --------------------------------------------------------------------------
  336. ARCMAIL 3.12 - HOW TO USE IT - "FROM", THE LIST OF NODES
  337. --------------------------------------------------------------------------
  338.  
  339.      Each time ARCMAIL is run, you will supply a list of nodes, a file
  340.      containing such a list, or the word ALL or WHO, and any of a possible
  341.      assortment of switches.
  342.      
  343.      When ARCMAIL is requested to unpack received mail archives, it is
  344.      used with the FROM verb.  An example follows:
  345.      
  346.           ARCMAIL3 FROM 104/115
  347.           
  348.      This will unpack any mail found in our inbound file area from 104/115.
  349.      It is the difference between your net/node and the other fellow's 
  350.      net/node that causes specific filenames to be created.  By inspecting 
  351.      the filename on any inbound files, ARCMAIL can determine their source,
  352.      or on outbound files, their destination.  A quick tutorial, and we'll
  353.      get back to our FROM possibilities.
  354.      
  355.  
  356.                                                            ARCMAIL 3.12    -5-
  357.  
  358.  
  359. --------------------------------------------------------------------------
  360. ARCMAIL 3.12 - ARCHIVE NAMES, A QUICK TUTORIAL
  361. --------------------------------------------------------------------------
  362.  
  363.                AAAABBBB.CCC
  364.                ^^^^
  365.                 |___________ Net field.  This is a hexidecimal result
  366.                              of subtracting the sender's net number
  367.                              from the receiver's net number.  For
  368.                              example, a file sent by 104/114 going
  369.                              to 104/118 would contain 0000 here, or
  370.                              a file sent by 107/115 to 104/118 would
  371.                              contain a 0003 here.
  372.  
  373.                AAAABBBB.CCC
  374.                    ^^^^
  375.                     |_______ Node field.  This is a hexidecimal result
  376.                              of subtracting the sender's node number
  377.                              from the receiver's node number.  For
  378.                              example, a file sent by 104/114 going
  379.                              to 104/118 would contain FFFC here, or
  380.                              a file sent by 104/115 to 104/118 would
  381.                              contain a 0003 here.  Note that in four
  382.                              characters, a -1 is represented in hex
  383.                              as FFFF.
  384.  
  385.                AAAABBBB.CCC
  386.                         ^^^
  387.                          |_______ File extension.  This comes in several
  388.                                   different flavors, depending on the
  389.                                   program that created the file and how
  390.                                   the program may be configured.
  391.                                   
  392.      ARCMAIL TO will create either a "Base 36" format extension, or a 
  393.      "day-of-week" style extension depending on how you configure things.
  394.      
  395.      The Base 36 extension is literally that - the extension can contain
  396.      any number from 0-9 or letter from A-Z in any of the three positions.
  397.      ARCMAIL3 (and 2.x versions) uses the time of day and date to determine
  398.      the actual extension name.  That gives us 36x36x36 possible
  399.      extensions, or about 1 for every minute in a month!  Base 36
  400.      extensions were and are the default mode of operation for ARCMAIL.
  401.      
  402.      There are some other programs that cannot recognize files as archived
  403.      mail files if they contain this random collection of charcters in
  404.      the extension, which is why we also have the other type of extension
  405.      available - sometimes called the "version 0" naming convention after
  406.      the original ARCMAIL 0.xx version "day-of-week" archiver method.
  407.  
  408.                                                            ARCMAIL 3.12    -6-
  409.      
  410.  
  411.      The Version 0 method always begins the extension with the day of the
  412.      week (SU MO TU WE TH FR SA) and is followed by one alphanumeric
  413.      character to round out the three characters.  Programs differ in the
  414.      means by which they select this last character.  Previous versions
  415.      of ARCMAIL used the time of day, providing 1 unique extension about
  416.      every 40 minutes with the 36 possible characters.  Version 3.12 will
  417.      use a similar method for creation of Version 0 extensions if they are
  418.      requested via the /0 switch on the command line or if one of our
  419.      TARGET nodes is found to be using Version 0 extensions (see DAY) in
  420.      ARCMAIL.CFG -- UNLESS you specify NOALPHA in ARCMAIL.CFG (see below).
  421.                                        
  422.      Another method for arriving at the last character of the Version 0
  423.      extension is used by other programs.  These will create a NEW
  424.      extension whenever a new archive file is created.  The first file
  425.      created on Sunday would be *.SU0, and if a new file is created, it
  426.      will always be *.SU1, regardless of the time of day.  This option
  427.      may be added to a future version of ARCMAIL.
  428.      
  429.  
  430. --------------------------------------------------------------------------
  431. ARCMAIL 3.12 - HOW TO USE IT - "FROM", THE LIST OF NODES, CONTINUED
  432. --------------------------------------------------------------------------
  433.  
  434.  
  435.      It is also possible to extract files from an entire list of nodes by
  436.      using either of the following formats:
  437.      
  438.           ARCMAIL3 FROM 104/114 104/115 104/116
  439.           
  440.                         or
  441.                         
  442.           ARCMAIL3 FROM filename      ("filename" could be AREAS.BBS)
  443.           
  444.      where the AREAS.BBS file contains a list of nodes from whose received
  445.      files we wish to extract messages.  ARCMAIL "reads past" the names
  446.      of echo areas and the like, looking only for net/node numbers in the
  447.      file.  Be careful to avoid using slashes "/" in anything but a true
  448.      net/node number to avoid confusing ARCMAIL.  The file can be anything
  449.      you like, with any name you prefer.  It can be a simple list of
  450.      net/node numbers if you like.
  451.  
  452.      A twist on this theme is to do a complete unpacking from absolutely
  453.      anyone whose mail is hanging around.  This is accomplished by
  454.      simply using the word ALL.  ARCMAIL FROM will also cause any leftover
  455.      *.PKT files in your *current* directory to be unpacked.  This condition
  456.      should not normally exist, however.
  457.      
  458.           ARCMAIL3 FROM ALL
  459.            
  460.      The last example of the FROM form is
  461.      
  462.           ARCMAIL3 FROM WHO
  463.           
  464.      This asks ARCMAIL to display the names, sizes and sources of any
  465.      archive files in your inbound file area that have yet to be unpacked.
  466.      
  467.  
  468.                                                            ARCMAIL 3.12    -7-
  469.     
  470.  
  471.      ARCMAIL will always look in your specified inbound files directory
  472.      for archives.  These archives will be unarchived to reveal the
  473.      contents,  *.PKT (packet) files that contain one or more messages.
  474.      These  *.PKT files are created in the directory from which ARCMAIL3
  475.      is called, what we'll call your "current" directory.
  476.      
  477.      When all of the *.PKT files have been successfully extracted from
  478.      the archive, the archive is deleted.  The *.PKT files are broken
  479.      down in to individual message (*.MSG) files and these are stored
  480.      in the path you have specified for your MAIL area and the *.PKTs
  481.      are deleted if unpacking is successful.
  482.    
  483.  
  484. --------------------------------------------------------------------------
  485. ARCMAIL 3.12 - HOW TO USE IT - "FROM", COMMAND LINE SWITCHES
  486. --------------------------------------------------------------------------
  487.  
  488.      ARCMAIL supports several command line switches to modify the method
  489.      of its FROM operation.  These switches may be entered in either
  490.      upper or lower case.  They are
  491.      
  492.      /S  =
  493.             If you have the SQDIR program available in your PATH or
  494.             current directory, it will be used to clean up the MAIL
  495.             directory structure and delete any unused directory 
  496.             extensions.  For additional details, see the documentation
  497.             for SQDIR.  This process will take place at the end of
  498.             any unpacking you have called.
  499.             
  500.      /G<pwd>  =
  501.  
  502.             "unGarble" message contents.  This, when used with a version
  503.             of ARC that supports the -G or /G option for encryption,
  504.             will encrypt message contents.  It operates ONLY with
  505.             ARC.EXE when ARC.EXE is allowed to function as the
  506.             normal operating archiver for ARCMAIL.  Use of a DEFAULT
  507.             verb in ARCMAIL.CFG or when processing a node that
  508.             is found in a TARGET line in ARCMAIL.CFG causes the /G
  509.             switch to become ineffective.  However, it can be included
  510.             included with ARC in an UNARCHIVE line of ARCMAIL.CFG.
  511.  
  512.      /Ocount command =   (NOTE!  This is the LETTER "O" !)
  513.      
  514.             This causes the *.BAT, *.EXE, or *.COM file specified by
  515.             command to be executed whenever <count> messages exist in
  516.             your MAIL directory.  This can be useful for periodic
  517.             clearing out and packing or tossing of messages so that
  518.             you don't exceed the "slowdown limit" of DOS by accidently
  519.             exceeding about 300 messages in a single directory, causing
  520.             the dreaded "Directory Extension".  See info on SQDIR for
  521.             fixing the problem if you ever allow this to happen!
  522.  
  523.                                                            ARCMAIL 3.12    -8-
  524.             
  525.  
  526.             The exact number you should use for <count> varies from
  527.             system to system.  The objective is always to keep your
  528.             current count to a safe 250 messages or so, and never more!
  529.  
  530.             An example might be   -O200 FORWARD.BAT
  531.             
  532.             REMEMBER!  Unless you actually hit the -O count, the executable
  533.             file following -Ocount will NOT be executed - not even once!
  534.  
  535.  
  536.      In summary, the ARCMAIL FROM command line may contain these options:
  537.  
  538.             ARCMAIL3 FROM <list> [/s] [/g<pwd>] [/o<msgs> <cmd>]
  539.  
  540.  
  541. --------------------------------------------------------------------------
  542. ARCMAIL 3.12 - HOW TO USE IT - "TO", THE LIST OF NODES
  543. --------------------------------------------------------------------------
  544.  
  545.  
  546.      When ARCMAIL is requested to pack outbound mail archives, it is
  547.      used with the TO verb.  An example follows:
  548.      
  549.           ARCMAIL3 TO 104/115
  550.           
  551.      This will pack any mail found in our *.MSG (MAIL) file area for
  552.      104/115.  Again, it is the difference between your net/node and the
  553.      other fellow's net/node that causes specific filenames to be created.
  554.  
  555.      As with the FROM examples, a list of nodes or a filename may be used
  556.      to indicate a collection of net/node numbers for which you wish to
  557.      create archives:
  558.  
  559.           ARCMAIL3 TO 104/115 104/118 104/11    or
  560.  
  561.           ARCMAIL3 TO filename
  562.  
  563.      and you can again request the operation occur for everyone by using
  564.  
  565.           ARCMAIL3 TO ALL.
  566.  
  567.      When invoked with TO, ARCMAIL3 locates the appropriate messages in
  568.      your MAIL directory, creates *.PKT files in your current directory,
  569.      and archives them into an archive file in your ARCMAIL directory.
  570.  
  571.      Mail forwarding can also be done by providing two sets of addresses,
  572.      the intended recipients, and a via node, in the form
  573.  
  574.           ARCMAIL3 net/node TO vianet/vianode or
  575.           ARCMAIL3 filename TO vianet/vianode
  576.  
  577.      When used in this fashion, the mail destined for net/node or those
  578.      nodes found in the file "filename" will be packed and archived in
  579.      an archive whose name (and file attach message, if requested) will
  580.      be for vianet/vianode.  Since all of the internal messages will contain
  581.      the original nodes' address, they are, in effect, being forwarded via
  582.      vianet/vianode.  A list of nodes or a file containing such a list can
  583.      be used such that mail for several nodes is routed to a single node.
  584.      Before using this function, be sure that the sysop at vianet/vianode
  585.      is willing and prepared to handle mail forwarding for the nodes for
  586.      which you have mail!
  587.  
  588.  
  589.                                                            ARCMAIL 3.12    -9-
  590.  
  591.  
  592.      Last there is the ARCMAIL3 TO WHO option which will provide you with
  593.      a display of all of the outbound archives you have that have yet to
  594.      be transmitted or picked up.
  595.  
  596.  
  597. --------------------------------------------------------------------------
  598. ARCMAIL 3.12 - HOW TO USE IT - "TO", COMMAND LINE SWITCHES
  599. --------------------------------------------------------------------------
  600.  
  601.      Also, as with FROM, TO has a variety of command line switches that
  602.      may be employed.
  603.  
  604.  
  605.      /C  =
  606.             Pack messages that have the crash bit set.  Normally, these
  607.             are not packed since the archive file itself will not be
  608.             sent in crash mode.
  609.  
  610.      /F  =
  611.             Packs file attach messages.  This really isn't often very
  612.             useful, since the files themselves are not included!  It
  613.             can serve, however, as a way of sending notification of the
  614.             presence of a file in some circumstances.
  615.  
  616.      /S  =
  617.             If you have the SQDIR program available in your PATH or
  618.             current directory, it will be used to clean up the MAIL
  619.             directory structure and delete any unused directory 
  620.             extensions.  For additional details, see the documentation
  621.             for SQDIR.  This process will take place at the end of
  622.             any packing for which you have called.
  623.  
  624.      /0  =
  625.             The 0 (zero) switch asks ARCMAIL3 to use the old Version 0
  626.             extension convention (as opposed to Base 36 convention)
  627.             for all archives created.  Note that if a node whose mail
  628.             is being archives is in a TARGET line, or you are using a
  629.             DEFAULT line in ARCMAIL.CFG, you must specify either BASE36
  630.             or DAY there, and this switch is rendered ineffective.
  631.  
  632.      /Dsize =
  633.  
  634.             This will create a new archive if the current one becomes
  635.             larger than <size>K bytes to a particular node.  The
  636.             default is 1024K (one megabyte).
  637.  
  638.      /G<pwd>  =
  639.  
  640.            "Garble" message contents.  This, when used with a version
  641.             of ARC that supports the -G or /G option for encryption,
  642.             will encrypt message contents.  It operates ONLY with
  643.             ARC.EXE when ARC.EXE is allowed to function as the
  644.             normal operating archiver for ARCMAIL.  Use of a DEFAULT
  645.             verb in ARCMAIL.CFG or when processing a node that
  646.             is found in a TARGET line in ARCMAIL.CFG causes the /G
  647.             switch to become ineffective.  However, it can be included
  648.             included with ARC in an ARCHIVE line of ARCMAIL.CFG.
  649.  
  650.                                                            ARCMAIL 3.12   -10-
  651.  
  652.      In summary, the ARCMAIL TO command line may contain these options:
  653.  
  654.             ARCMAIL3 TO <node(s)|list> [/cfs0] [/d<size>] [/g<pwd>]
  655.             ARCMAIL3 <node(s)|list> TO <node> [/cfs0] [/d<size>] [/g<pwd>]
  656.  
  657.      where: <list>    is a list of one or more nodes, or the name of
  658.                       a file which contains a list of one or more nodes.
  659.             /G<pwd>   uses ARC archive encryption with the given password.
  660.             /C        packs crash mail
  661.             /F        packs file attach messages (attached files are not
  662.                       sent).
  663.             /S        squeezes directories (SQDIR program required).
  664.             /0        version zero naming convention.
  665.             /D<size>  creates discrete archives if existing ones are
  666.                       larger than <size> K bytes (default=1024K).
  667.  
  668. --------------------------------------------------------------------------
  669. ARCMAIL 3.12 - HOW TO USE IT - ARCMAIL.CFG COMMANDS
  670. --------------------------------------------------------------------------
  671.  
  672.      Last, here is a summary of all of the ARCMAIL.CFG possibilities.
  673.      Remember that any information found in this file will *override*
  674.      any command lines in CONFIG.DOG or MAIL.SYS that contain the same
  675.      information.  ARCMAIL.CFG *must* reside in the directory from which
  676.      ARCMAIL3 is executed in order to be found by ARCMAIL3.EXE.
  677.  
  678.      Template                                  Example
  679.      ----------------------------------------- -------------------------
  680.  
  681.      MAILER <OLDDOG | NEWDOG | SEAMAIL>        MAILER SEAMAIL
  682.      
  683.        If your version of SEAdog (4.1 or other mailer) requires that 
  684.        an attach message be created in order to send an archived mail
  685.        file, use OLDDOG.  If no attach message is necessary, use the
  686.        NEWDOG option.  If using SEAmail, use the SEAMAIL option so
  687.        that an attach message will be created with a "!" in front of
  688.        the path name in the attach message so that the file will be
  689.        deleted after successful transmission.  This command is optional,
  690.        and SEADOG is the default operating mode.
  691.  
  692.  
  693.      NODE <[zone:]net/node>                    NODE 104/114   or
  694.                                                NODE 1:104/114
  695.  
  696.        Note!  Do NOT use a point or domain - just net/node, or if you
  697.        prefer, zone:net/node.  If this command is not included, the
  698.        information must be located in CONFIG.DOG or MAIL.SYS.  See
  699.        release notes (top) for how zone information is used if given.
  700.        
  701.  
  702.      MAIL <path>                               MAIL C:\MAIL\MESSAGES
  703.  
  704.        This must point to the directory where *.MSG files will be
  705.        exist when doing pack and unpack operations.  If this command
  706.        is not included, the information must be located in CONFIG.DOG
  707.        or MAIL.SYS.
  708.  
  709.                                                            ARCMAIL 3.12   -11-
  710.             
  711.  
  712.      FILES <path>                              FILES C:\MAIL\INBOUND
  713.  
  714.        This must point to your inbound files area - a secured one if
  715.        it is available.  If this command is not included, the
  716.        information must be located in CONFIG.DOG or MAIL.SYS.
  717.        
  718.  
  719.      ARCMAIL <path>                            ARCMAIL C:\MAIL\ARCMAIL
  720.      
  721.        This must point to the directory where you wish to have your
  722.        outbound archives placed after they are created.  If this
  723.        command is not included, the information must be located in
  724.        CONFIG.DOG or MAIL.SYS.  WARNING!  ARCMAIL creates a scratch
  725.        working directory for itself called "ARCMAIL".  Do NOT use "ARCMAIL"
  726.        for your pathname if it is in the directory in which ARCMAIL
  727.        is invoked, as the directory *IS* always deleted when ARCMAIL is done!
  728.        
  729.  
  730.      ARCHIVE <nickname> <command line>         ARCHIVE ARC5 ARC M5 %A %P
  731.                                                ARCHIVE ZIP PKZIP -M %A %P
  732.  
  733.        This is an abitrary nickname of your choosing and the full command
  734.        line for the matching archive program associated with your
  735.        nickname.  Note!  You must use %A where the archive name would 
  736.        appear, and a %P where the packet name would appear in the 
  737.        archiver's command line.  The packet is to be added to the archive 
  738.        and deleted (or simply Moved when possible).  The %A and %P are 
  739.        automatically replaced by ARCMAIL with appropriate file names when
  740.        it creates the packets and archives.  If you wish to use any other
  741.        than ARC.EXE for archiving and unarchiving, this command must be
  742.        included.  Up to 10 ARCHIVE lines may be included.  The case of any
  743.        command line switch is preserved.
  744.  
  745.  
  746.      UNARCHIVE <nickname> <command line>       UNARCHIVE ARC ARC E %A
  747.                                                UNARCHIVE UNZIP PKUNZIP -E %A
  748.  
  749.        This is an abitrary nickname of your choosing and the full command
  750.        line for the matching unarchiving program associated with your
  751.        nickname.  Note!  You must use %A where the archive to be unpacked 
  752.        would normally appear on the command line.  When ARCMAIL finds the
  753.        appropriate archive in your inbound files area, it will substitute
  754.        that name in the %A position.  If you wish to use any other than
  755.        ARC.EXE for archiving and unarchiving, this command must be
  756.        included.  Up to 10 UNARCHIVE lines may be included.  Note that
  757.        the ARCHIVE and UNARCHIVE nicknames can be the same and will not
  758.        be confused by ARCMAIL.  For example, you may call both the
  759.        archive and unarchive nicknames for ARC.EXE ARC without causing
  760.        any problems.  Again, switch cases are preserved.
  761.  
  762.  
  763.                                                            ARCMAIL 3.12   -12-
  764.  
  765.  
  766.      DEFAULT <archive nickname> <unarchive nickname> <BASE36 | DAY>
  767.  
  768.                                                DEFAULT ARC5 ARC DAY
  769.                                                
  770.        This overrides the normal use of ARC.EXE as the default archiver
  771.        for ARCMAIL.  Use the nicknames you desire from those you have
  772.        created in your ARCHIVE and UNARCHIVE commands.  The programs
  773.        and their command lines will then become the defaults for
  774.        ARCMAIL.  Use of this command is optional.  ARC.EXE may be left
  775.        as the normal default archiver.  To use this command, you must
  776.        have defined both an ARCHIVE and UNARCHIVE utility with
  777.        nicknames to match to those in your DEFAULT command.  Obviously,
  778.        only one DEFAULT may be included.  Individual nodes can use any
  779.        other archiver by using the TARGET command, below.
  780.        
  781.  
  782.      TARGET <net/node> <archive nickname> 
  783.             <unarchive nickname> <BASE36 | DAY>
  784.  
  785.                                                TARGET 104/115 ARC5 ARC BASE36
  786.                                                TARGET 104/118 ZIP UNZIP DAY
  787.  
  788.        This command allows you to select the archiving, unarchiving and
  789.        archive file extension types on a node-by-node basis.  Up to 100
  790.        of these TARGET lines may be defined.
  791.        
  792.        Use nicknames that match those from your UNARCHIVE and ARCHIVE
  793.        definitions to tell ARCMAIL which ones you wish to use for the
  794.        selected node.
  795.        
  796.        Use BASE36 if you want file extensions for the selected node to
  797.        be created in BASE36 format, or DAY to have version 0 extensions
  798.        created for this node's archives.  Note that use of TARGET will
  799.        override any DEFAULT you have selected, and will override any
  800.        use (or non-use) of a -0 on the command line for this node.
  801.  
  802.  
  803.      NOALPHA
  804.  
  805.        This configuration verb has no parameters.  It is used when requesting
  806.        the /0 or DAY style of archive extensions.  Previous versions of ARCMAIL
  807.        would run 0..9 and A..Z in the last character of the extension, changing
  808.        about every 36 minutes, which caused a restart to 0 at about 9:36 pm.
  809.  
  810.        Now, if alpha characters are in fact permitted (by avoiding the use of
  811.        the NOALPHA verb), a new extension character is created every 40
  812.        minutes, allowing for 0..9 and A..Z without repetition of 0..3 in the
  813.        late evening hours.
  814.  
  815.        If the NOALPHA verb is present, ARCMAIL will generate only the digits
  816.        0..9 in the last character position, and will also do so based upon
  817.        the time of day, about every 144 minutes.
  818.  
  819.  
  820.                                                            ARCMAIL 3.12   -13-
  821.  
  822.      BADMSGS <path>                            BADMSGS C:\MAIL\BADMSGS
  823.  
  824.        The BADMSGS directory is now used to stash messages with dates
  825.        that are more than +/- one year from the current clock date of
  826.        the system, or are hopelessly grunged.  The testing done may
  827.        become more sophisticated in future versions.  In addition, if
  828.        it is defined, all messages longer than 32767 bytes in length will
  829.        be tossed here.  This is to assist with mail processors that cannot
  830.        handle messages of this length (such as e-Soft's ECHOFWD and POSTMAIL).
  831. |      The sole exception is "1980", which is assumed as a bad date setting
  832. |      by the sending system, and is permitted.
  833.  
  834.  
  835.      MAXSIZE <bytes>                           MAXSIZE 16384
  836.  
  837.        If BADMSGS is defined, and MAXSIZE is also defined, then rather than
  838.        using 32767 bytes for the maximum message size before a message is
  839.        tossed to the BADMSGS directory, the size defined as MAXSIZE will
  840.        be used.  The size of this parameter, if used, should be set to
  841.        deal with mail processing or BBS software that is unable to process
  842.        messages greater than a specific length.  Examples of this include
  843.        the fact that programs such as the e-Soft NetMail utilities get all
  844.        bent out of shape beyond 32767 bytes.  Other BBS mail tossing software
  845.        runs into trouble at 16384 bytes.
  846.  
  847.  
  848.  
  849.      An example of a complete ARCMAIL.CFG file might then look like this:
  850.      
  851.      MAILER SEAMAIL
  852.      NODE 1:104/114
  853.  
  854.      MAIL C:\MAIL\MESSAGES
  855.      FILES C:\MAIL\INBOUND
  856.      ARCMAIL C:\MAIL\ARCMAIL
  857.      BADMSGS C:\MAIL\BADMSGS\
  858.      MAXSIZE 16384
  859.  
  860.      ARCHIVE ARC5 ARC M5 %A %P
  861.      ARCHIVE ARC7 ARC M %A %P
  862.      ARCHIVE ZIP PKZIP -M %A %P
  863.  
  864.      UNARCHIVE ARC ARC E %A
  865.      UNARCHIVE UNZIP PKUNZIP -E %A
  866.      
  867.      DEFAULT ARC5 ARC DAY
  868.      NOALPHA
  869.  
  870.      TARGET 104/115 ZIP UNZIP BASE36
  871.      TARGET 104/18 ARC5 ARC DAY
  872.      TARGET 104/1 ARC7 ARC DAY
  873.  
  874.  
  875.   Please Note, LHARC gets all bent out of shape if you attempt to force an
  876.   extension of other than *.LZH when adding to or creating a new archive.  
  877.   Since ARCMAIL asks for exactly this (with an *.MO1 extension, for example), 
  878.   you will run into some serious problems if you attempt to use LHARC for 
  879.   outbound archiving UNLESS you are sure to add the /m option after your
  880.   command to do "no Message for query".  As an example...
  881.  
  882.      ARCHIVE LHA LHARC M /M %A %P
  883.  
  884.