home *** CD-ROM | disk | FTP | other *** search
/ Boldly Go Collection / version40.iso / TS / 17A / ARCML302.ZIP / ARCMAIL3.DOC next >
Encoding:
Text File  |  1992-02-20  |  32.8 KB  |  714 lines

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