home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / VMS220.ZIP / DOC / MANUAL.DOC < prev    next >
Encoding:
Text File  |  1993-05-22  |  205.8 KB  |  6,932 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                                      V-MailServer
  14.                                      User Manual
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.                                                                   Release 2.20
  25.  
  26.  
  27.  
  28.                                                                   May 22, 1993
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.                                                 Vandenberg
  40.                                                 Systems
  41.                                                 Research
  42.  
  43.  
  44.  
  45.  
  46.         V-MailServer User Manual
  47.         ──────────────────────────────────────────────────────────────────────
  48.  
  49.  
  50.  
  51.  
  52.                                                                               
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.         Copyright (c) 1993 Richard Vandenberg                                 ii
  107.  
  108.  
  109.  
  110.  
  111.                                                  ─────────────────────────────
  112.                                                              Table of Contents
  113.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  114.  
  115.  
  116.  
  117.  
  118.  
  119.         Limited Warranty  . . . . . . . . . . . . . . . . . . . . . . . .    3
  120.  
  121.         Overview  . . . . . . . . . . . . . . . . . . . . . . . . . . . .    5
  122.              File Servers . . . . . . . . . . . . . . . . . . . . . . . .    5
  123.              Mailing Lists  . . . . . . . . . . . . . . . . . . . . . . .    5
  124.              Automatic File Sending (AFS) . . . . . . . . . . . . . . . .    6
  125.  
  126.         Message Processing  . . . . . . . . . . . . . . . . . . . . . . .    7
  127.              Process Description  . . . . . . . . . . . . . . . . . . . .    8
  128.                   Header processing                                          8
  129.                   Mailing list processing                                    8
  130.                   AFS processing                                             8
  131.                   Mail server command processing                             9
  132.                   Access Control Language (ACL) commands                     9
  133.              Processing the Queued requests . . . . . . . . . . . . . . .    9
  134.  
  135.         File Server Commands  . . . . . . . . . . . . . . . . . . . . . .   13
  136.              Basic File Server Commands . . . . . . . . . . . . . . . . .   13
  137.              Advanced File Server Commands  . . . . . . . . . . . . . . .   14
  138.              Basic Mailing List Commands  . . . . . . . . . . . . . . . .   14
  139.              Advanced Mailing List Commands . . . . . . . . . . . . . . .   15
  140.              Administrative Commands  . . . . . . . . . . . . . . . . . .   17
  141.              Miscellaneous Commands . . . . . . . . . . . . . . . . . . .   18
  142.  
  143.         General Information . . . . . . . . . . . . . . . . . . . . . . .   19
  144.              Configurable Messages  . . . . . . . . . . . . . . . . . . .   19
  145.              Macros . . . . . . . . . . . . . . . . . . . . . . . . . . .   20
  146.                   Global Macros                                             20
  147.                   Macros specifically for the configurable messages         21
  148.                   Command-specific macros                                   22
  149.                   Special Macro Functions                                   23
  150.              Header Conversion  . . . . . . . . . . . . . . . . . . . . .   26
  151.                   Occurrences and Line numbers                              28
  152.                   Notes about Header Conversions                            30
  153.                   Multiple Header Conversion Files                          31
  154.              Access Control Language  . . . . . . . . . . . . . . . . . .   32
  155.                   General ACL Operation                                     32
  156.                   Command syntax                                            33
  157.                   ACL Examples                                              37
  158.  
  159.         User-Defined Commands . . . . . . . . . . . . . . . . . . . . . .   39
  160.  
  161.         Installation  . . . . . . . . . . . . . . . . . . . . . . . . . .   41
  162.              Planning the configuration . . . . . . . . . . . . . . . . .   41
  163.              Basic Configuration  . . . . . . . . . . . . . . . . . . . .   41
  164.                   Installation Steps                                        41
  165.  
  166.         Configuration File  . . . . . . . . . . . . . . . . . . . . . . .   45
  167.              Mail Delivery Parameters . . . . . . . . . . . . . . . . . .   45
  168.  
  169.  
  170.  
  171.         Copyright (c) 1993 Richard Vandenberg                                iii
  172.  
  173.  
  174.  
  175.  
  176.         V-MailServer User Manual
  177.         ──────────────────────────────────────────────────────────────────────
  178.  
  179.  
  180.  
  181.  
  182.                                                                               
  183.  
  184.              Mail Addressing Parameters . . . . . . . . . . . . . . . . .   45
  185.              Encoding parameters  . . . . . . . . . . . . . . . . . . . .   46
  186.              Files and Paths Parameters . . . . . . . . . . . . . . . . .   48
  187.              Obsolete Configuration Parameters  . . . . . . . . . . . . .   52
  188.  
  189.         Configuring File Server Services  . . . . . . . . . . . . . . . .   55
  190.              Setting up the SearchTree and ValidPaths files . . . . . . .   55
  191.              Header Conversions . . . . . . . . . . . . . . . . . . . . .   57
  192.  
  193.         Configuring Mailing Lists . . . . . . . . . . . . . . . . . . . .   59
  194.              Master Mailing list file . . . . . . . . . . . . . . . . . .   59
  195.              Membership Files . . . . . . . . . . . . . . . . . . . . . .   60
  196.              Option files . . . . . . . . . . . . . . . . . . . . . . . .   61
  197.                   Flag Values                                               61
  198.                   Global Options                                            61
  199.                   User Options                                              64
  200.                   Making manual changes                                     65
  201.              Header Conversions . . . . . . . . . . . . . . . . . . . . .   65
  202.              Mailing List Owner Messages  . . . . . . . . . . . . . . . .   66
  203.                   Subscription requests                                     66
  204.                   Authorized-Subscription Requests                          67
  205.                   Signoff Requests                                          67
  206.              Mailing List Administration  . . . . . . . . . . . . . . . .   68
  207.              Off-Site Mailing List Administration . . . . . . . . . . . .   68
  208.  
  209.         Configuring Automatic File Sending Services . . . . . . . . . . .   69
  210.  
  211.         Controlling Access with a Reject File . . . . . . . . . . . . . .   71
  212.  
  213.         Controlling Access with Passwords . . . . . . . . . . . . . . . .   73
  214.  
  215.         Kill File . . . . . . . . . . . . . . . . . . . . . . . . . . . .   75
  216.  
  217.         Traffic Monitoring  . . . . . . . . . . . . . . . . . . . . . . .   77
  218.  
  219.         Monitoring Operation  . . . . . . . . . . . . . . . . . . . . . .   79
  220.  
  221.         Command Line Options  . . . . . . . . . . . . . . . . . . . . . .   81
  222.              VMAIL Options  . . . . . . . . . . . . . . . . . . . . . . .   81
  223.              VMAILX Options . . . . . . . . . . . . . . . . . . . . . . .   82
  224.  
  225.         Private User Directories  . . . . . . . . . . . . . . . . . . . .   85
  226.              UserDir File and UserSecurity File . . . . . . . . . . . . .   85
  227.              Private Mailing List Files . . . . . . . . . . . . . . . . .   85
  228.  
  229.         Additional Programs . . . . . . . . . . . . . . . . . . . . . . .   87
  230.              DIGEST . . . . . . . . . . . . . . . . . . . . . . . . . . .   87
  231.              KILLTRAF . . . . . . . . . . . . . . . . . . . . . . . . . .   89
  232.              TRAF2CDF . . . . . . . . . . . . . . . . . . . . . . . . . .   90
  233.  
  234.  
  235.  
  236.         Copyright (c) 1993 Richard Vandenberg                                 iv
  237.  
  238.  
  239.  
  240.  
  241.                                                  ─────────────────────────────
  242.                                                              Table of Contents
  243.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  244.  
  245.  
  246.  
  247.  
  248.              VINFO  . . . . . . . . . . . . . . . . . . . . . . . . . . .   90
  249.              VMEXEC . . . . . . . . . . . . . . . . . . . . . . . . . . .   92
  250.  
  251.         Upgrade Policy  . . . . . . . . . . . . . . . . . . . . . . . . .   95
  252.  
  253.         Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . . .   96
  254.  
  255.         Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   97
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.         Copyright (c) 1993 Richard Vandenberg                                  v
  302.  
  303.  
  304.  
  305.  
  306.         V-MailServer User Manual
  307.         ──────────────────────────────────────────────────────────────────────
  308.  
  309.  
  310.  
  311.  
  312.                                                                               
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.         Copyright (c) 1993 Richard Vandenberg                                 vi
  367.  
  368.  
  369.  
  370.  
  371.                                                  ─────────────────────────────
  372.                                                            Licensing Agreement
  373.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  374.  
  375.  
  376.         V-MailServer is Copyright (c) 1993 Vandenberg Systems Research and
  377.         Richard Vandenberg.
  378.  
  379.         Mailing address:
  380.  
  381.         Richard Vandenberg
  382.         Vandenberg Systems Research
  383.         2255 West 5th Avenue #204
  384.         Vancouver, BC Canada
  385.         V6K 4K1
  386.  
  387.         Telephone:     (604) 739-6150
  388.         Fax:           (604) 739-6148
  389.         Email: rick@vsystem.wimsey.bc.ca
  390.  
  391.         V-MailServer was developed by Richard Vandenberg and Vandenberg
  392.         Systems Research, and is the sole property of Richard Vandenberg.
  393.  
  394.         The V-MailServer files are packaged together as a single PKZIP (TM)
  395.         generated archive.
  396.  
  397.         UNDER NO CIRCUMSTANCES MAY ANYONE MODIFY THE V-MAILSERVER EXECUTABLE
  398.         FILES, OR MODIFY THE ARCHIVE IN ANY FASHION, OR DISTRIBUTE
  399.         V-MAILSERVER IN ANY OTHER FORM THAN THE PKZIP(TM) FORMAT ARCHIVE IT
  400.         WAS ORIGINALLY ISSUED.
  401.  
  402.         The V-MailServer programs are "shareware programs" and are provided at
  403.         no charge to the user for evaluation.  Feel free to share them with
  404.         your friends, but please do not give it away altered or as part of
  405.         another system.
  406.  
  407.         The essence of "user-supported" software is to provide personal
  408.         computer users with quality software at low prices, and yet to provide
  409.         incentive for programmers to continue to develop new products.
  410.  
  411.         If you find these programs useful and find that you are using
  412.         V-MailServer and continue to use V-MailServer after a 60-day trial
  413.         period, you must register the software.  This registration fee will
  414.         license one copy of V-MailServer for use on any one computer at any
  415.         time.  You must treat this software just like a book.  IE. - Only one
  416.         person may use it at a time.
  417.  
  418.         Other licensing arrangements may be made by contacting us.
  419.  
  420.         You are encouraged to pass a copy of V-MailServer along to your
  421.         friends for evaluation.  Please encourage them to register their copy
  422.         if they find that they can use it.
  423.  
  424.         The registration form is in the REGISTER.DOC file.
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.         Copyright (c) 1993 Richard Vandenberg                                  1
  432.  
  433.  
  434.  
  435.  
  436.         V-MailServer User Manual
  437.         ──────────────────────────────────────────────────────────────────────
  438.  
  439.  
  440.  
  441.  
  442.                                                                               
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.         Copyright (c) 1993 Richard Vandenberg                                  2
  497.  
  498.  
  499.  
  500.  
  501.                                                  ─────────────────────────────
  502.                                                               Limited Warranty
  503.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  504.  
  505.  
  506.         V-MAILSERVER IS SUPPLIED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
  507.         EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  508.         WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  509.         THE ENTIRE RISK RELATING TO THE QUALITY AND PERFORMANCE OF THE
  510.         PROGRAMS IS ON YOU. IN THE EVENT THERE IS ANY DEFECT, YOU ASSUME THE
  511.         ENTIRE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION. SOME
  512.         PROVINCES OR STATES DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES,
  513.         SO THE ABOVE EXCLUSION MAY NOT APPLY TO YOU.  THIS WARRANTY GIVES YOU
  514.         SPECIFIC LEGAL RIGHTS AND YOU MAY HAVE OTHER RIGHTS WHICH VARY FROM
  515.         PROVINCE TO PROVINCE AND STATE TO STATE.
  516.  
  517.  
  518.         Richard Vandenberg and Vandenberg Systems Research do not warrant that
  519.         the functions contained in the programs will meet your requirements or
  520.         that the programs will be uninterrupted or error-free.
  521.  
  522.         IN NO EVENT WILL RICHARD VANDENBERG OR VANDENBERG SYSTEMS RESEARCH BE
  523.         LIABLE TO YOU FOR ANY DAMAGES (INCLUDING ANY LOST PROFITS, LOST
  524.         SAVINGS, OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF
  525.         THE USE OF OR INABILITY TO USE SUCH PROGRAMS EVEN IF RICHARD
  526.         VANDENBERG OR VANDENBERG SYSTEMS RESEARCH HAS BEEN ADVISED OF THE
  527.         POSSIBILITY OF SUCH DAMAGES) OR FOR ANY CLAIM BY ANY OTHER PARTY. SOME
  528.         PROVINCES AND STATES DO NOT ALLOW THE LIMITATION OR EXCLUSION OF
  529.         LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES SO THE ABOVE
  530.         LIMITATION OR EXCLUSION MAY NOT APPLY TO YOU.
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.         Copyright (c) 1993 Richard Vandenberg                                  3
  562.  
  563.  
  564.  
  565.  
  566.         V-MailServer User Manual
  567.         ──────────────────────────────────────────────────────────────────────
  568.  
  569.  
  570.  
  571.  
  572.                                                                               
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.         Copyright (c) 1993 Richard Vandenberg                                  4
  627.  
  628.  
  629.  
  630.  
  631.                                                  ─────────────────────────────
  632.                                                                       Overview
  633.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  634.  
  635.  
  636.         V-MailServer is a file server that can be used to retrieve files via
  637.         electronic mail.  It also includes powerful features for administering
  638.         mailing lists and Automatic File Sending (AFS) requests.
  639.  
  640.  
  641.         File Servers
  642.  
  643.         File servers (or mail servers as they are also known) are used
  644.         throughout the Internet and Usenet community to allow the retrieval of
  645.         files through e-mail.  A command language is available that allows the
  646.         user to retrieve specific files, help files, the list of available
  647.         files, or information on various topics.
  648.  
  649.         There are some well-known file servers for UNIX machines and IBM
  650.         mainframes that provide a vast array of services for the user.  You
  651.         may be familiar with the BITNET LISTSERV mail servers.  V-MailServer
  652.         provides facilities similar to these servers.  Of course, V-MailServer
  653.         is not as powerful as the minicomputer-based LISTSERV software.
  654.         However, it operates in a similar fashion.  A message sent to
  655.         V-MailServer with the command "/PDGET /public/pc/file.zip" will cause
  656.         V-MailServer to send "file.zip" to you as several encoded e-mail
  657.         messages.  
  658.  
  659.         Sending the command "HELP" will fetch the help information, just as
  660.         "INDEX" will get the list of available files.  The "INFO" command can
  661.         be used to obtain further information on any defined topic.  These and
  662.         other commands are discussed in more detail later in this guide.
  663.  
  664.  
  665.         Mailing Lists
  666.  
  667.         Mailing lists provide a mechanism to make group communication easier. 
  668.         People with a common interest can join a mailing list dedicated to a
  669.         specific topic.  Examples of existing mailing lists are the 386-User's
  670.         mailing list and the UUPC-info mailing list.  Any message sent to the
  671.         mailing list address is automatically forwarded to all members on the
  672.         list.
  673.  
  674.         Operation of the mailing list differs, depending on what software is
  675.         being used.  Some lists are simply alias expanders that do nothing but
  676.         relay messages to all people on the list.  Others perform processing
  677.         on each message, such as stripping off irrelevant header information.
  678.  
  679.         To join some mailing lists, the administrator must manually add you to
  680.         the list of addresses.  Other mailing lists provide a fully-automatic
  681.         method of joining the list with SUBSCRIBE and SIGNOFF commands.  To
  682.         join a list you send a command such as "SUBSCRIBE VMAIL-L."  This will
  683.         generally add you to the mailing list immediately.  The advantage to
  684.         this is that it is much simpler for the user and the administrator.
  685.  
  686.         Existing software provides varying degrees of automation, from
  687.         completely manual operation, to fully automatic.  V-MailServer is
  688.  
  689.  
  690.  
  691.         Copyright (c) 1993 Richard Vandenberg                                  5
  692.  
  693.  
  694.  
  695.  
  696.         V-MailServer User Manual
  697.         ──────────────────────────────────────────────────────────────────────
  698.  
  699.  
  700.  
  701.  
  702.                                                                               
  703.  
  704.         fully automatic.  You use the 'SUBSCRIBE' and 'SIGNOFF' commands to
  705.         join and leave a mailing list.  Each mailing list can be configured to
  706.         allow either public membership - where anyone can join, or restricted
  707.         access - where a 'SUBSCRIBE' command is relayed to the list owner who
  708.         may then authorize your subscription.
  709.  
  710.         Several commands are available to be used with the mailing list
  711.         features; they are described later.
  712.  
  713.  
  714.         Automatic File Sending (AFS)
  715.  
  716.         For some purposes, it is desirable to create an address that
  717.         automatically sends files in response to any message sent to it.  They
  718.         are generally used to provide information about products and services. 
  719.         For example, sending a message to
  720.         "vmail-info-request@vsystem.wimsey.bc.ca" will automatically retrieve
  721.         a file containing a short blurb on V-MailServer.
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.         Copyright (c) 1993 Richard Vandenberg                                  6
  757.  
  758.  
  759.  
  760.  
  761.                                                  ─────────────────────────────
  762.                                                             Message Processing
  763.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  764.  
  765.  
  766.         V-MailServer performs several different functions when processing
  767.         e-mail messages.  When first receiving a message, V-MailServer must
  768.         decide whether it is addressed to a mailing list, an Automatic File
  769.         Sending (AFS) address, or if it is a series of commands being issued
  770.         to the mail server itself.  After determining which function the
  771.         message should be processed by, V-MailServer performs that task.  All
  772.         outgoing messages and files are placed in the QUEUE directory, for
  773.         later processing by VMAILX.
  774.  
  775.         Below is a very simple diagram of V-MailServer message processing.
  776.  
  777.  
  778.         ┌────────────────────────┐
  779.         │ Receive mail,          │
  780.         │ Process header         │
  781.         └───────────┬────────────┘
  782.                     │  
  783.                     │  ┌────────────────────────┐  
  784.                     ├─│ Process mailing list   ├──┐
  785.                     │  │                        │   │
  786.                     │  └────────────────────────┘   │
  787.                     │                               │ 
  788.                     │  ┌────────────────────────┐   │ 
  789.                     ├─│ Process AFS request    ├──│ 
  790.                     │  │                        │   │ 
  791.                     │  └────────────────────────┘   │ 
  792.                     │                               │ 
  793.                       ┌────────────────────────┐   │ 
  794.                     └─│ Process mail server    ├──│
  795.                     ┌─│ commands               │   │
  796.                     │  └────────────────────────┘   │
  797.                     │                               │
  798.                     │                      ┌────────┴───────┐
  799.                     └─────────────────────┤ Any additional │
  800.                                        Yes │ ACL commands   │
  801.                                            └────────┬───────┘
  802.                                                      No
  803.                                            ┌────────┴───────┐  
  804.                                            │ Finished       │  
  805.                                            │ Processing     │  
  806.                                            └────────────────┘   
  807.                                                              
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.         Copyright (c) 1993 Richard Vandenberg                                  7
  822.  
  823.  
  824.  
  825.  
  826.         V-MailServer User Manual
  827.         ──────────────────────────────────────────────────────────────────────
  828.  
  829.  
  830.  
  831.  
  832.                                                                               
  833.  
  834.         Process Description
  835.  
  836.  
  837.         Header processing.
  838.  
  839.         V-MailServer determines the address to which the message applies by
  840.         looking at the 'To:', 'Cc:' and 'Received:' headers.  It first scans
  841.         the message headers for a 'Received:' header with a 'for' address. 
  842.         This header is added by RMAIL whenever it delivers a message to its
  843.         final destination.  Failing that, the 'To:' and 'Cc:' addresses are
  844.         compared against all mailing list and Automatic File Sending
  845.         addresses.  If the address doesn't match any of those addresses, the
  846.         message is assumed to be a series of commands for the mail server, and
  847.         is processed as such.
  848.  
  849.  
  850.         Mailing list processing
  851.  
  852.         Processing a mailing list involves taking the body of the message and
  853.         sending it to everyone on the mailing list.  V-MailServer does more
  854.         than simply resend the message, though.  It strips unnecessary header
  855.         information, sets up correct headers, such as 'Reply-To:', and then
  856.         sends the message.  Header control is managed through Header
  857.         Conversion files, which are described later.  V-MailServer can also be
  858.         configured to execute a series of administrator-defined mail server
  859.         commands after sending the messages.  You may, for example, wish to
  860.         inform submitters of a change in list operation.
  861.  
  862.  
  863.         AFS processing
  864.  
  865.         Automatic File Sending (AFS) processing is very simple.  Whenever any
  866.         message is sent to an AFS address, a file is sent back in return. 
  867.         Header processing is also performed on these requests, as it is for
  868.         everything else.  Extra mail server commands can also be defined for
  869.         these addresses.  A good use would be to automatically add anyone who
  870.         requests information to a mailing list.  You can then use the mailing
  871.         list to send out additional information later.
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.         Copyright (c) 1993 Richard Vandenberg                                  8
  887.  
  888.  
  889.  
  890.  
  891.                                                             Message Processing
  892.         ──────────────────────────────────────────────────────────────────────
  893.  
  894.  
  895.  
  896.  
  897.                                                                               
  898.  
  899.         Mail server command processing
  900.  
  901.         Command processing involves reading each line of the message body and
  902.         executing the commands in the order they are specified.  An exception
  903.         to this rule is if you have previously specified that your address is
  904.         password-protected.  In this case the entire message is scanned first
  905.         to find a PASSWORD command.  If one is not found, no processing will
  906.         take place.  Besides processing the commands, V-MailServer also
  907.         creates a session transcript that shows how each command has been
  908.         processed.  That transcript is then mailed back to the user.  Of
  909.         course, this may be disabled if necessary.
  910.  
  911.  
  912.         Access Control Language (ACL) commands
  913.  
  914.         During mailing list, AFS request or mail server processing, a series
  915.         of additional commands may have been added for later processing. 
  916.         These ACL commands are used to perform specific tasks, such as
  917.         automatically adding someone to a mailing list as mentioned above. 
  918.         Any regular mail server command may be executed, along with additional
  919.         commands that affect the session transcript and other processing.  The
  920.         Access Control Language is still in its infancy, and will be expanded
  921.         in later versions.
  922.  
  923.  
  924.         Processing the Queued requests
  925.  
  926.         VMAIL will queue the requests in the QUEUE subdirectory.  To pass
  927.         these requests to the mailer to be delivered, you must run the VMAILX
  928.         program.
  929.  
  930.         Each queued entry comprises two files - the data file and the
  931.         execution file.  The data files all have a file extension of '.D',
  932.         while the execution files use '.X'.
  933.  
  934.         The execution files contain two lines - the 'D' line, which specifies
  935.         the name of the data file, and the 'C' line which specifies the
  936.         command line to use to process the given data file.
  937.  
  938.         Generally, the program specified in the 'D' line is either the one
  939.         specified by the MAILPROGRAM configuration parameter, or the one
  940.         specified by the QUEUEPROGRAM configuration parameter.  These are
  941.         usually RMAIL and VMAIL, respectively.
  942.  
  943.         If VMAIL detects a situation where not enough disk space is available
  944.         to process a request, it will re-queue the request for later
  945.         processing.  The reason that is does this instead of exiting with an
  946.         error code is to allow it to perform special processing in this
  947.         situation.
  948.  
  949.  
  950.  
  951.         Copyright (c) 1993 Richard Vandenberg                                  9
  952.  
  953.  
  954.  
  955.  
  956.         V-MailServer User Manual
  957.         ──────────────────────────────────────────────────────────────────────
  958.  
  959.  
  960.  
  961.  
  962.                                                                               
  963.  
  964.         When VMAIL re-queues the request, it loads in a special header
  965.         conversion file, and executes an ACL script.  These files are defined
  966.         in the configuration parameters 'JustHeaderConversion' and
  967.         'QueueCommandFile'.  The default script included in V-MailServer 2.2 
  968.         sends a short message that says that the request has been placed in a
  969.         "priority holding queue" for later processing.  You can do anything
  970.         you like with this script, perhaps even notifying an off-site
  971.         administrator that disk space is low.
  972.  
  973.         To force this mode of operation, use the "-q" parameter when running
  974.         VMAIL.
  975.  
  976.         VMAILX operates by taking each '.X' file in the QUEUE directory,
  977.         opening the data file as the standard input, and executing the
  978.         specified command line.  Because the files in the QUEUE directory
  979.         often will not appear in the order they were created, VMAILX reads the
  980.         directory, sorts the files by the date and time they were created, and
  981.         then processes them in that order.  Currently, VMAILX can only load
  982.         and sort 2000 requests.
  983.  
  984.         After the list of files has been processed, VMAILX will re-read the
  985.         directory, and process up to 2000 more requests.  This will continue
  986.         until either all files have been processed, or the queue limit is
  987.         reached.  This is new in V-MailServer 2.2.
  988.  
  989.         There are a few cases where VMAILX will not process all the queued
  990.         requests:
  991.  
  992.              If the mail program returns an error level other than 0.  This
  993.              indicates an error, and VMAILX will move on to the next file. 
  994.              However, the queued files are left intact.
  995.  
  996.              VMAIL re-queues the message, because disk space is too low.  In
  997.              this case, the '.X' file contains an extra parameter line -
  998.              'Q time-number'.  The time that the file was re-queued is placed
  999.              on the 'Q' line.  VMAILX will check for this line, and if the
  1000.              time specified is later than the time VMAILX began operation, the
  1001.              file will be left for processing later.
  1002.  
  1003.              The queue limit specified on the command line is reached.
  1004.  
  1005.  
  1006.         To fine tune the processing function, VMAILX has several command line
  1007.         options available.  They are described in detail on page 82.  Briefly,
  1008.         the options allow you to process the requests based on file
  1009.         specification and to limit the number of bytes processed in a given
  1010.         session.  You can, for example, process mailing list messages first,
  1011.         followed by file requests.  This allows you to set priorities for the
  1012.         traffic in your particular situation.
  1013.  
  1014.  
  1015.  
  1016.         Copyright (c) 1993 Richard Vandenberg                                 10
  1017.  
  1018.  
  1019.  
  1020.  
  1021.                                                             Message Processing
  1022.         ──────────────────────────────────────────────────────────────────────
  1023.  
  1024.  
  1025.  
  1026.  
  1027.                                                                               
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.         Copyright (c) 1993 Richard Vandenberg                                 11
  1082.  
  1083.  
  1084.  
  1085.  
  1086.         V-MailServer User Manual
  1087.         ──────────────────────────────────────────────────────────────────────
  1088.  
  1089.  
  1090.  
  1091.  
  1092.                                                                               
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.         Copyright (c) 1993 Richard Vandenberg                                 12
  1147.  
  1148.  
  1149.  
  1150.  
  1151.                                                  ─────────────────────────────
  1152.                                                           File Server Commands
  1153.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  1154.  
  1155.  
  1156.         There are several commands for retrieving files, subscribing to
  1157.         mailing lists, obtaining help or other information.  Below is a list
  1158.         of the commands, with descriptions of each.
  1159.  
  1160.  
  1161.         Basic File Server Commands
  1162.  
  1163.         These commands are used for accessing the basic file server features
  1164.         of V-MailServer.
  1165.  
  1166.         HELP
  1167.  
  1168.              Retrieves the help file.  The name of help file is defined in the
  1169.              configuration file.  See the configuration section on page 45 for
  1170.              details.
  1171.  
  1172.  
  1173.         INDEX [listname]
  1174.  
  1175.              Retrieves the master index list of available files.  Again, this
  1176.              file is defined in the configuration file.  See the configuration
  1177.              section on page 45 for details.  If 'listname' is specified, the
  1178.              index file defined for that list is sent.  See the 'Configuring
  1179.              Mailing Lists' section, page 62 for details.
  1180.  
  1181.  
  1182.  
  1183.         GET       dir/filename [UUENCODE | XXENCODE]
  1184.         /GET      dir/filename [UUENCODE | XXENCODE]
  1185.         SEND      dir/filename [UUENCODE | XXENCODE]
  1186.         /PDGET    dir/filename [UUENCODE | XXENCODE]
  1187.  
  1188.              Retrieve a file, optionally encoding using UU- or XX-encoding. 
  1189.              These four commands are the most commonly used commands for
  1190.              requesting files.  Depending on how the FILES area is configured,
  1191.              the user may need to specify a directory along with the filename
  1192.              - eg. "pc/info/inter31a.zip". UU- and XX- encoding can be
  1193.              specifically forced.  Generally, UU-encoding is automatically
  1194.              performed.  Deciding which files to encode is handled internally
  1195.              in Vmail.exe, and is controlled by the 'UU-MaxSize' and 'UU-
  1196.              EncodeSkip' configuration parameters.
  1197.  
  1198.  
  1199.         INFO [subject]
  1200.  
  1201.              Retrieves more detailed information on various subjects.
  1202.              INFO with no subject returns the INFO GENERAL information.
  1203.  
  1204.              The INFO command allows you to setup information files that are
  1205.              sent to the user upon request.  For example, assume you are
  1206.              selling a product, and you wish to provide product information
  1207.              and pricing.  You can create a set of files in the INFO directory
  1208.  
  1209.  
  1210.  
  1211.         Copyright (c) 1993 Richard Vandenberg                                 13
  1212.  
  1213.  
  1214.  
  1215.  
  1216.         V-MailServer User Manual
  1217.         ──────────────────────────────────────────────────────────────────────
  1218.  
  1219.  
  1220.  
  1221.  
  1222.                                                                               
  1223.  
  1224.              to maintain this information.  The name you give the files is the
  1225.              same as the subject of the INFO command.  For example the command
  1226.              "INFO prices" would retrieve the 'prices' file.  INFO subjects
  1227.              may be up to 11 characters long.  The filename uses the first 8
  1228.              characters of the subject for the filename itself, and the last
  1229.              three characters for the file extension.  For example, "INFO
  1230.              EXPANSION" would use the file "EXPANSIO.N".  The INFO command
  1231.              uses a directory defined in the configuration file. See the
  1232.              configuration section on page 45 for details.
  1233.  
  1234.  
  1235.         Advanced File Server Commands
  1236.  
  1237.  
  1238.         PW   ADD       password
  1239.              CHANGE    oldpassword newpassword
  1240.              DEL       oldpassword
  1241.  
  1242.              This command allows the user to add, change, or remove a password
  1243.              from their account.  If a password is enabled, V-MailServer will
  1244.              not allow access to the file server unless a PASSWORD command is
  1245.              included anywhere in the message.
  1246.  
  1247.  
  1248.         PASSWORD password
  1249.  
  1250.              If a password has been added to an account, the user must give
  1251.              the PASSWORD command before any others will be processed,
  1252.              including the PW command.
  1253.  
  1254.  
  1255.         Note that the PW and PASSWORD commands are not echoed in the session
  1256.         transcript, for security reasons.
  1257.  
  1258.  
  1259.         Basic Mailing List Commands
  1260.  
  1261.         These commands are used for accessing the basic mailing list features
  1262.         of V-MailServer.
  1263.  
  1264.  
  1265.         SUBSCRIBE MailingList [Subscriber's Real Name]
  1266.  
  1267.              Adds a user to the specified mailing list.  If the list does not
  1268.              exist, he/she will receive a message to that effect in the
  1269.              session transcript.  New in V-MailServer is the ability for the
  1270.              subscriber to add his or her real name.  This is optional, of
  1271.              course.
  1272.  
  1273.  
  1274.  
  1275.  
  1276.         Copyright (c) 1993 Richard Vandenberg                                 14
  1277.  
  1278.  
  1279.  
  1280.  
  1281.                                                           File Server Commands
  1282.         ──────────────────────────────────────────────────────────────────────
  1283.  
  1284.  
  1285.  
  1286.  
  1287.                                                                               
  1288.  
  1289.         UNSUBSCRIBE MailingListName
  1290.         SIGNOFF     MailingListName
  1291.  
  1292.              Removes the user's name from the specified public mailing list.
  1293.  
  1294.  
  1295.         REVIEW MailingListName
  1296.  
  1297.              Retrieves a list of all the members of a mailing list.  Members
  1298.              who wish to hide themselves from the REVIEW command may do so
  1299.              with the "OPTION  . . .  REVIEW" command, described in the next
  1300.              section.
  1301.  
  1302.  
  1303.  
  1304.         Advanced Mailing List Commands
  1305.  
  1306.  
  1307.         ECHOMAIL MailListName
  1308.  
  1309.              This command causes all mail sent to the specified mailing list
  1310.              to be echoed back to the sender.  Normally the default is to send
  1311.              the message to everyone except the sender.  An option can be set
  1312.              for each mailing list that will determine whether echoes default
  1313.              to on or off for new subscribers.
  1314.  
  1315.  
  1316.         NOECHOMAIL MailListName
  1317.  
  1318.              Turns off the mail echoing feature for the given mailing list.
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.         Copyright (c) 1993 Richard Vandenberg                                 15
  1342.  
  1343.  
  1344.  
  1345.  
  1346.         V-MailServer User Manual
  1347.         ──────────────────────────────────────────────────────────────────────
  1348.  
  1349.  
  1350.  
  1351.  
  1352.                                                                               
  1353.  
  1354.         OPTION List-Name List-Option Value 
  1355.  
  1356.              The OPTION command allows the user to set several options for the
  1357.              specified mailing list.
  1358.  
  1359.  
  1360.              ALIAS Return-Address
  1361.  
  1362.                   The 'ALIAS' option allows the user to change the address
  1363.                   V-MailServer sends the mailing list to. For example, if the
  1364.                   user wishes to receive a mailing list to a mailbox other
  1365.                   that subscribed to the list with, this option can change the
  1366.                   address.
  1367.  
  1368.                   Example: OPTION vmail-l ALIAS My-New-Address@some.site
  1369.  
  1370.                   Note that this command only changes the address to which the
  1371.                   message is sent, not the subscriber's original address.
  1372.  
  1373.  
  1374.              NAME Real-Name
  1375.  
  1376.                   This option allows the subscriber to change the name that
  1377.                   appears in the REVIEW listing.
  1378.  
  1379.                   Example: OPTION test-l NAME Rick (the Boss) Vandenberg
  1380.  
  1381.  
  1382.              REPLY ON | OFF
  1383.  
  1384.                   Many mailing lists are set up to have the 'Reply-To:' header
  1385.                   set to the mailing list address. The user may turn this off
  1386.                   if he/she wishes.
  1387.  
  1388.                   Example: OPTION test-l REPLY OFF
  1389.  
  1390.                   Note that this command will not have any effect if a
  1391.                   'Reply-To:' address is added using a Header Conversion
  1392.                   'UPDATE' command.  Instead, use the 'REPLACE' command for
  1393.                   'Reply-To:' headers.
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.         Copyright (c) 1993 Richard Vandenberg                                 16
  1407.  
  1408.  
  1409.  
  1410.  
  1411.                                                           File Server Commands
  1412.         ──────────────────────────────────────────────────────────────────────
  1413.  
  1414.  
  1415.  
  1416.  
  1417.                                                                               
  1418.  
  1419.              REVIEW ON | OFF
  1420.  
  1421.                   This option allows a member of a mailing list to remove
  1422.                   their address and name from the REVIEW listing.  Many people
  1423.                   don't want others to know they read certain newsgroups or
  1424.                   mailing lists.  This command gives them the freedom to be
  1425.                   anonymous.  Of course, if they post, they won't be anonymous
  1426.                   any longer, but that is by their choice.
  1427.  
  1428.  
  1429.  
  1430.         Administrative Commands
  1431.  
  1432.         FOR address
  1433.         [ENDFOR|FORRESET]
  1434.  
  1435.              This is one command that will find more use by the administrator
  1436.              than anyone else.  It allows the user to specify that the
  1437.              following commands are to be used against the specified address. 
  1438.              All file server commands will send files to the specified FOR
  1439.              address.  Mailing list commands such as 'SUBSCRIBE' and 'SIGNOFF'
  1440.              will use the given address as well.  This allows the
  1441.              administrator to change options for users by sending commands to
  1442.              the mail server.
  1443.  
  1444.              V-MailServer uses an internal address called the 'recipient'. 
  1445.              This address is generally the address in the incoming 'From:'
  1446.              header, unless overridden by a 'Reply-To:'.  The recipient
  1447.              address is the one to which all messages and files are sent.  The
  1448.              only exceptions to this are for mailing lists, where the
  1449.              applicable commands use the original 'From:' address, without
  1450.              checking for a 'Reply-To:'.  The 'FOR' command simply changes
  1451.              this recipient address to the one specified.
  1452.  
  1453.              The ENDFOR command (or FORRESET) will reset the recipient address
  1454.              to its original value.  Whether are not you use this depends on
  1455.              whether the session transcript should be mailed to the original
  1456.              address or to the newly-defined recipient.
  1457.  
  1458.  
  1459.         LISTOPTION List-Name LIST|FILES Global-Option Value
  1460.  
  1461.              This command may only be used by the mailing list owner.  It
  1462.              allows the administrator to set any global mailing list option. 
  1463.              For more details about global mailing list options, see the
  1464.              Configuring Mailing Lists section.
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.         Copyright (c) 1993 Richard Vandenberg                                 17
  1472.  
  1473.  
  1474.  
  1475.  
  1476.         V-MailServer User Manual
  1477.         ──────────────────────────────────────────────────────────────────────
  1478.  
  1479.  
  1480.  
  1481.  
  1482.                                                                               
  1483.  
  1484.         OPTION List-Name ADDRESS SINGLE | MULTI
  1485.  
  1486.                   Many mailing lists will address messages to more than one
  1487.                   subscriber to reduce the volume of mail. If a site cannot
  1488.                   handle multiple 'To:' addresses, the 'OPTION List-name
  1489.                   ADDRESS SINGLE' command will disable this for the user,
  1490.                   causing a singly-addressed message to be sent.  This has
  1491.                   been made an administrative command, as the list owner would
  1492.                   be the one to receive any bounced messages.
  1493.  
  1494.         OPTION List-Name POST YES | NO
  1495.  
  1496.              This command is for mailing list owners only, and enables or
  1497.              disables the user's ability to post.  For example, if you want to
  1498.              lock out a user - for whatever reason - use these commands:
  1499.  
  1500.              FOR A_N_Noying@somesite.com
  1501.              OPTION list-name POST NO
  1502.  
  1503.  
  1504.         Miscellaneous Commands
  1505.  
  1506.         /*, */
  1507.         COMMENT, END-COMMENT
  1508.  
  1509.              These commands allow you to add comments to the session
  1510.              transcript delivered to the user.  They are useful when used with
  1511.              the 'FOR' command, to add explanatory text.  For example:
  1512.  
  1513.              /*
  1514.              Joe, I'm sending the file you requested.  Let me know if you have
  1515.              any questions.
  1516.  
  1517.              Rick
  1518.              */
  1519.              FOR Joe@somesite.com
  1520.              GET VMS200.ZIP XXENCODE
  1521.  
  1522.              The 'COMMENT' and '/*' commands are interchangeable, as are
  1523.              'END-COMMENT' and '*/'.  The lines containing the comment
  1524.              commands themselves are not included in the session transcript.
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.         Copyright (c) 1993 Richard Vandenberg                                 18
  1537.  
  1538.  
  1539.  
  1540.  
  1541.                                                  ─────────────────────────────
  1542.                                                            General Information
  1543.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  1544.  
  1545.  
  1546.         Configurable Messages
  1547.  
  1548.         V-MailServer uses administrator-configurable file server messages. 
  1549.         These messages are used in the session transcript that is sent back to
  1550.         the requester.  The messages are read in from files in the WORDS
  1551.         subdirectory.  Below is a list of the files and where they are used. 
  1552.         The name of the directory is specified with the Words-Path
  1553.         configuration parameter.
  1554.  
  1555.  
  1556.         ALIAS.TXT      This message is used whenever a filename is aliased to
  1557.                        another name.
  1558.  
  1559.         LISTJOIN.TXT   The message sent when a 'SUBSCRIBE' command is
  1560.                        successful.
  1561.  
  1562.         REJECT.TXT     This file is sent whenever a user's request has been
  1563.                        rejected.
  1564.  
  1565.         SCRIPT.PRE     Makes up the header of the session transcript.
  1566.  
  1567.         SCRIPT.END     The footer of the session transcript.
  1568.  
  1569.         SEND.TXT       This file is added after each successful SEND command.
  1570.  
  1571.         SHORT.HLP      This file is added to the session transcript if an
  1572.                        invalid command is sent to the mail server.
  1573.  
  1574.         UNSUBFAI.TXT   This file is added if an 'UNSUBSCRIBE' command failed. 
  1575.                        It is used to provide a short explanation of why the
  1576.                        command might have failed.
  1577.  
  1578.  
  1579.         Other message files are included in the WORDS directory, but are not
  1580.         used in the creation of the session transcript.
  1581.  
  1582.         HELP.TXT       The standard help file, sent in response to the 'HELP'
  1583.                        command.
  1584.  
  1585.         QUEUE.WAI      This message is referenced by the ACL script QUEUE.ACL. 
  1586.                        This file does not need to be used, and is provided
  1587.                        simply as an example.
  1588.  
  1589.  
  1590.         A semi-colon (;) as the first character in a line is used to signify a
  1591.         comment line.  These lines are not included in the session transcript.
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.         Copyright (c) 1993 Richard Vandenberg                                 19
  1602.  
  1603.  
  1604.  
  1605.  
  1606.         V-MailServer User Manual
  1607.         ──────────────────────────────────────────────────────────────────────
  1608.  
  1609.  
  1610.  
  1611.  
  1612.                                                                               
  1613.  
  1614.         Macros
  1615.  
  1616.         Macros are used in the configurable messages to allow the
  1617.         administrator to include variable information in the messages.  They
  1618.         operate much like a form-letter in a word processor, in that text is
  1619.         substituted for the variable in the final output.  The macros may also
  1620.         be used in the ACL scripts.
  1621.  
  1622.         Variables are delimited by percent signs.  Example: %File-Size%.  Case
  1623.         of the variable name is not significant.  Look at the supplied files
  1624.         in the WORDS subdirectory for examples.  A list of each variable and
  1625.         its description follows.
  1626.  
  1627.  
  1628.         Global Macros
  1629.  
  1630.         The global macros may be used in any file, ACL script, or header
  1631.         conversion file, without restriction.  They do not rely on any
  1632.         information that is specific to the command being processed, or other
  1633.         functions being performed.
  1634.  
  1635.  
  1636.         Date                The current time in yyyy-mm-dd format.
  1637.  
  1638.         Header-Date         Date string in the format:
  1639.                             Day, dd Mon yy hh:mm:ss ZZZ.  This macro uses the
  1640.                             current time to create the string.
  1641.  
  1642.         Header-From         The value of the 'From:' header in the incoming
  1643.                             message.
  1644.  
  1645.         Header-Reply-To     The value of the 'Reply-To:' header in the
  1646.                             incoming message.
  1647.  
  1648.         MailGrade           The UUCP grade parameter that will be given on the
  1649.                             RMAIL command line, if applicable.
  1650.  
  1651.         MailOptions         The value of the configuration parameter
  1652.                             'MailProgramOptions'.
  1653.  
  1654.         OwnerID             The name of the mail server administrator, as
  1655.                             entered in the configuration file.
  1656.  
  1657.         ReceivedID          The temporary filename used to process the current
  1658.                             outgoing message.  This macro is used when adding
  1659.                             a 'Received:' header in a header conversion file. 
  1660.                             It may be used anywhere, but probably has little
  1661.                             use for other situations.
  1662.  
  1663.  
  1664.  
  1665.  
  1666.         Copyright (c) 1993 Richard Vandenberg                                 20
  1667.  
  1668.  
  1669.  
  1670.  
  1671.                                                            General Information
  1672.         ──────────────────────────────────────────────────────────────────────
  1673.  
  1674.  
  1675.  
  1676.  
  1677.                                                                               
  1678.  
  1679.         Recipient           The requester's address, accounting for having a
  1680.                             'Reply-To:' header or a FOR command being used.
  1681.  
  1682.         Server-Name         The address of the mail server. Eg. 'mail-
  1683.                             server@vsystem.wimsey.bc.ca'.  This address is
  1684.                             taken from the MailServerName configuration
  1685.                             parameter.
  1686.  
  1687.         TempFile            A unique filename that can be used for whatever
  1688.                             purpose you choose.  This macro can be used in ACL
  1689.                             scripts for whatever purpose you need a unique
  1690.                             filename for.
  1691.  
  1692.         Time                The current time in hh:mm:ss format.  The hours
  1693.                             use the 24-hour format.
  1694.  
  1695.  
  1696.         Macros specifically for the configurable messages
  1697.  
  1698.         Some macros are only available for use in the configurable message
  1699.         files.
  1700.  
  1701.  
  1702.         File-Requested      The name of the file being requested.  This only
  1703.                             valid in SEND.TXT.
  1704.  
  1705.         File-Sections       The number of mail sections that were queued to
  1706.                             satisfy the request.
  1707.  
  1708.         File-Size           The size of the original file, before any
  1709.                             encoding.
  1710.  
  1711.         File-Size-UU        The size of the requested file, after encoding.
  1712.  
  1713.         Queue-Count         The number of '*.X' files in the queue directory,
  1714.                             before processing the current requests.  This is
  1715.                             only useful in SCRIPT.PRE
  1716.  
  1717.         Queue-File-Count    The number of queued file-request messages (VQ*.X)
  1718.  
  1719.         Queue-Mail-Count    The number of queued mailing list messages being
  1720.                             redistributed. (VM*.X).  This is only useful in
  1721.                             SCRIPT.PRE
  1722.  
  1723.         Queue-Queue-Count   The number of queued requests that have not yet
  1724.                             been processed. (VJ*.X).  This is only useful in
  1725.                             SCRIPT.PRE
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.         Copyright (c) 1993 Richard Vandenberg                                 21
  1732.  
  1733.  
  1734.  
  1735.  
  1736.         V-MailServer User Manual
  1737.         ──────────────────────────────────────────────────────────────────────
  1738.  
  1739.  
  1740.  
  1741.  
  1742.                                                                               
  1743.  
  1744.         Queue-Status-Count  The number of queued session transcripts. (VS*.X). 
  1745.                             This is only useful in SCRIPT.PRE
  1746.  
  1747.         Total-File-Sections The total number of mail sections sent to satisfy
  1748.                             all the requests for this message. This is valid
  1749.                             in SCRIPT.END.
  1750.  
  1751.         Total-File-Size     The total number of bytes of requests sent. This
  1752.                             is valid in SCRIPT.END.
  1753.  
  1754.         Total-File-Size-UU  The total number of bytes (after encoding) of
  1755.                             requests sent. This is valid in SCRIPT.END.
  1756.  
  1757.  
  1758.         Command-specific macros
  1759.  
  1760.         The macros are set if the specified command is executed.  If an ACL
  1761.         script is executed while processing the specified command, then the
  1762.         macro may be used in the ACL script.
  1763.  
  1764.         Command-Filename    The filename given on the command line, as it was
  1765.                             given, for a User-Defined command.  The macro
  1766.                             assumes the command format:
  1767.  
  1768.                             command [optional-password] filename other-
  1769.                             arguments  . . . 
  1770.  
  1771.         Command-Line        The command line given for processing in the
  1772.                             incoming message, not including the actual command
  1773.                             name. Set for User-Defined commands
  1774.  
  1775.         Legal-Path          The full, validated filename given for a User-
  1776.                             Defined command.  If the filename cannot be
  1777.                             validated, the legal-path variable returns an
  1778.                             empty string.  The macro assumes the command
  1779.                             format:
  1780.  
  1781.                             command [optional-password] filename other-
  1782.                             arguments  . . . 
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.         Copyright (c) 1993 Richard Vandenberg                                 22
  1797.  
  1798.  
  1799.  
  1800.  
  1801.                                                            General Information
  1802.         ──────────────────────────────────────────────────────────────────────
  1803.  
  1804.  
  1805.  
  1806.  
  1807.                                                                               
  1808.  
  1809.         MList-Name          The name of the mailing list referred to in the
  1810.                             current SUBSCRIBE command or when a message is
  1811.                             sent a mailing list.  This macro is used in
  1812.                             LISTJOIN.TXT, and can be used in ACL scripts also.
  1813.  
  1814.         Orig-Name           The original file name used in the current
  1815.                             command, before being converted by the filename
  1816.                             aliasing functions.  The macro assumes the command
  1817.                             format:
  1818.  
  1819.                             command [optional-password] filename other-
  1820.                             arguments  . . . 
  1821.  
  1822.         New-Name            The new file name, after being modified by the
  1823.                             file aliasing functions.  The macro assumes the
  1824.                             command format:
  1825.  
  1826.                             command [optional-password] filename other-
  1827.                             arguments  . . . 
  1828.  
  1829.         Rest                The remainder of the User-Defined command, after
  1830.                             the filename.  The macro assumes the command
  1831.                             format:
  1832.  
  1833.                             command [optional-password] filename other-
  1834.                             arguments  . . . 
  1835.  
  1836.  
  1837.  
  1838.         Special Macro Functions:
  1839.  
  1840.         Several specialized macro functions are built into V-MailServer.  For
  1841.         instance, there is one which allows you to access individual entries
  1842.         in mailing list option files.  Listed below is the syntax for each
  1843.         macro.
  1844.  
  1845.  
  1846.         Type: Mailing list option entries
  1847.  
  1848.         Syntax:
  1849.  
  1850.         %/LIST[delimiter]list-name[delimiter]Flag[delimiter]Address[delimiter]
  1851.              option-name/%
  1852.  
  1853.         This macro allows you to access any entry in any defined mail option
  1854.         file.  You specify the list name, the flag ('G' or 'X'), the address,
  1855.         and the option name.  The [delimiter] in the syntax above is any
  1856.         single, unique character.  It is defined as the first character after
  1857.         'LIST', and must remain the same for each delimiter position.  If the
  1858.  
  1859.  
  1860.  
  1861.         Copyright (c) 1993 Richard Vandenberg                                 23
  1862.  
  1863.  
  1864.  
  1865.  
  1866.         V-MailServer User Manual
  1867.         ──────────────────────────────────────────────────────────────────────
  1868.  
  1869.  
  1870.  
  1871.  
  1872.                                                                               
  1873.  
  1874.         specified entry is not found, an empty string ("") is returned.  Note
  1875.         that this macro uses "%/" and "/%" to mark the beginning and end,
  1876.         instead of single ampersands.  This allows you to nest another macro
  1877.         inside of it.
  1878.  
  1879.         Examples:
  1880.  
  1881.         %/LIST?vmail-l?G?LIST?address/%         Returns the value SINGLE, or
  1882.                                                 MULTI.
  1883.  
  1884.         %/LIST?test-l?X?%recipient%?alias/%     Returns the alias of the
  1885.                                                 recipient, if one exists.
  1886.  
  1887.         %/LIST?test-l?X?%recipient%?name/%      Returns the name of the
  1888.                                                 recipient, if one exists.
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.         Copyright (c) 1993 Richard Vandenberg                                 24
  1927.  
  1928.  
  1929.  
  1930.  
  1931.                                                            General Information
  1932.         ──────────────────────────────────────────────────────────────────────
  1933.  
  1934.  
  1935.  
  1936.  
  1937.                                                                               
  1938.  
  1939.         Type:     Command parameters
  1940.  
  1941.         Syntax: %PARMn%
  1942.  
  1943.         This macro allows you to select any parameter from the current command
  1944.         given to the mail server.  %PARM0% is the actual command name. %PARM1%
  1945.         is the next parameter, and so on.  If the specified parameter does not
  1946.         exist, the macro returns an empty string ("").  The parameters are
  1947.         parsed by using the space and tab characters as delimiters, just as
  1948.         they are for MSDOS batch files.  There is no limit to the number of
  1949.         parameters you may have for user-defined command.
  1950.  
  1951.         Examples: (Using the command "RESEND PKZ204C.EXE 2 UUENCODE")
  1952.  
  1953.         %PARM0% . Returns the actual command itself - "RESEND".
  1954.         %PARM3%   Returns "2".
  1955.  
  1956.  
  1957.         Type:  File Security & conversion of a filename to a full, legal path
  1958.  
  1959.         Syntax: %/LEGAL:filename/%
  1960.  
  1961.         This macro takes the given filename, or partial path, and attempts to
  1962.         find a legal, accessible file.  It will look first in the public file
  1963.         directories, and then in directories accessible to members of specific
  1964.         mailing lists.  If the file cannot be accessed, either because it does
  1965.         not exist, or because the file security does not allow it, an empty
  1966.         string ("") will be returned.  This macro uses the extended delimiters
  1967.         '%/' and '/%', to allow another macro to be used as the filename.
  1968.  
  1969.         Examples:
  1970.  
  1971.         %/LEGAL:%PARM3%/%   Returns the full, legal name of the file specified
  1972.                             in parameter 3 of the current command.
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.         Copyright (c) 1993 Richard Vandenberg                                 25
  1992.  
  1993.  
  1994.  
  1995.  
  1996.         V-MailServer User Manual
  1997.         ──────────────────────────────────────────────────────────────────────
  1998.  
  1999.  
  2000.  
  2001.  
  2002.                                                                               
  2003.  
  2004.         Header Conversion
  2005.  
  2006.         V-MailServer provides a facility to add, modify or remove any header
  2007.         in the mail files.  The headers can also be sorted in any order.  This
  2008.         is managed with Header Conversion files.  These files give
  2009.         V-MailServer instructions on what to do with each header.  The header
  2010.         conversion command syntax is as follows:
  2011.  
  2012.         ADD HeaderName NewHeaderInformation
  2013.  
  2014.              This command adds a new header to the mail file.  It does not
  2015.              overwrite an existing header of the same name.
  2016.  
  2017.         ORDER HeaderName
  2018.  
  2019.              This command is used to tell V-MailServer what order to put the
  2020.              headers in.  Use multiple 'ORDER' commands and list all the
  2021.              headers to specifically order. The rest are added after these. 
  2022.              Headers will be created in the order that the ORDER commands are
  2023.              listed.
  2024.  
  2025.         REPLACE HeaderName NewHeaderInformation
  2026.  
  2027.              This command changes an existing header, it will not add a new
  2028.              one if it does not exist.
  2029.  
  2030.         STRIP HeaderName
  2031.  
  2032.              This command tells V-MailServer to remove the specified header
  2033.              from the mail file.
  2034.  
  2035.         UPDATE HeaderName NewHeaderInformation
  2036.  
  2037.              This command changes an existing header, or adds a new header if
  2038.              one does not exist.
  2039.  
  2040.  
  2041.         Capitalization of the header names is not significant. However, in the
  2042.         interests of form, they should be capitalized in the most common way.
  2043.         This makes them stand out a little better.
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.         Copyright (c) 1993 Richard Vandenberg                                 26
  2057.  
  2058.  
  2059.  
  2060.  
  2061.                                                            General Information
  2062.         ──────────────────────────────────────────────────────────────────────
  2063.  
  2064.  
  2065.  
  2066.  
  2067.                                                                               
  2068.  
  2069.         Two examples of header conversion files are shown below.
  2070.  
  2071.         The first header conversion file is for use in generating "new"
  2072.         messages. ie, session transcripts and file requests. By default,
  2073.         V-MailServer passes all incoming headers through to the outgoing
  2074.         messages.  This is fine for mailing lists, but unnecessary headers
  2075.         must be removed when sending files or other messages.
  2076.  
  2077.  
  2078.         UPDATE Reply-to: MailServer@vsystem.wimsey.bc.ca
  2079.         UPDATE Precedence: bulk
  2080.         ;
  2081.         ;
  2082.         ; Strip EVERYTHING
  2083.         ;
  2084.         STRIP *
  2085.         ;
  2086.         ;
  2087.         ;    Order the headers.  Any not listed will be added after the
  2088.         ;    ordered headers
  2089.         ;
  2090.         ORDER From
  2091.         ORDER Received:
  2092.         ORDER Date:
  2093.         ORDER From:
  2094.         ORDER Subject:
  2095.         ORDER Sender:
  2096.         ORDER To:
  2097.         ORDER Cc:
  2098.         ORDER Message-ID:
  2099.         ORDER Reply-To:
  2100.         ORDER Organization:
  2101.         ORDER In-Reply-To:
  2102.         ORDER Precedence:
  2103.  
  2104.  
  2105.         This file will create mail messages that contain
  2106.         'Reply-To: Mail-Server@vsystem.wimsey.bc.ca'.  It will remove any
  2107.         unnecessary headers as well.
  2108.  
  2109.  
  2110.         The second header conversion example is one that might be used for
  2111.         mailing list processing.  For this type of work, most headers should
  2112.         be passed through, without any modification.  Note that lines should
  2113.         not wrap in the actual file; they only wrap here to fit the page.
  2114.  
  2115.         ; Let's use a different 'Sender:' address.  This one looks like an
  2116.         ; "Internet" mailing list.
  2117.         REPLACE Sender: TEST-L-relay@%InsNode%
  2118.  
  2119.  
  2120.  
  2121.         Copyright (c) 1993 Richard Vandenberg                                 27
  2122.  
  2123.  
  2124.  
  2125.  
  2126.         V-MailServer User Manual
  2127.         ──────────────────────────────────────────────────────────────────────
  2128.  
  2129.  
  2130.  
  2131.  
  2132.                                                                               
  2133.  
  2134.         ;
  2135.         ; Set the precedence to 'bulk'.  This is a sendmail parameter.
  2136.         UPDATE Precedence: bulk
  2137.         ;
  2138.         ;
  2139.         ; Eliminate some unwanted headers
  2140.         ;
  2141.         STRIP x-mailserver:
  2142.         ;
  2143.         ; Let's add a line to show that V-MailServer processed the
  2144.         ; message.
  2145.         ADD X-Our-Header: V-MailServer 2.2 processed this! /occ=-1 /line=0
  2146.         ADD X-Our-Header: id %ReceivedID%; %header-date% /occ=-1 /line=1
  2147.         ;
  2148.         ; Order the headers.  Any not listed will be added after the ordered
  2149.         ; headers
  2150.         ;
  2151.         ORDER From
  2152.         ORDER Received:
  2153.         ORDER Date:
  2154.         ORDER From:
  2155.         ORDER Subject:
  2156.         ORDER Sender:
  2157.         ORDER To:
  2158.         ORDER Cc:
  2159.         ORDER Message-ID:
  2160.         ORDER Reply-To:
  2161.         ORDER Organization:
  2162.         ORDER In-Reply-To:
  2163.         ORDER Precedence:
  2164.  
  2165.  
  2166.         Occurrences and Line numbers
  2167.  
  2168.         In the example above, you may have noticed the "/occ" and "/line"
  2169.         parameters on the added Received: header.  A discussion of the
  2170.         internal workings of the header conversion functions is needed.
  2171.  
  2172.         When the headers from a message are initially loaded, they are
  2173.         assigned occurrence numbers and line numbers.  Each instance of a
  2174.         header is counted an occurrence.  If the header has only one line, it
  2175.         is given line number 0.  If it is a multi-line header, such as
  2176.         'Received:', it may have several line numbers assigned to it, with a
  2177.         single occurrence number.  Repeating headers, like 'Received:', have a
  2178.         different occurrence number for each repetition.  When creating the
  2179.         outgoing message, V-MailServer groups the individual header lines
  2180.         together by header name, and by occurrence number.  Multi-line headers
  2181.         are put together in line number order.
  2182.  
  2183.  
  2184.  
  2185.  
  2186.         Copyright (c) 1993 Richard Vandenberg                                 28
  2187.  
  2188.  
  2189.  
  2190.  
  2191.                                                            General Information
  2192.         ──────────────────────────────────────────────────────────────────────
  2193.  
  2194.  
  2195.  
  2196.  
  2197.                                                                               
  2198.  
  2199.         The "/occ=" parameter allows you to specify an occurrence number to
  2200.         perform the command on, while the "/line=" parameter lets you work on
  2201.         a specific line from a multi-line header.
  2202.  
  2203.         Each header conversion command assumes certain things about repeating
  2204.         and/or multi-line headers.
  2205.  
  2206.         The STRIP command, when used without a "/occ" or "/line" parameter,
  2207.         removes all the specified headers that have an occurrence number of 0
  2208.         or greater.  This lets you do things like the following:
  2209.  
  2210.         ADD Received: by vsystem.com (V-MailServer 2.2) /occ=-1 /line=0
  2211.         ADD Received: id %ReceivedID%; %header-date% /occ=-1 /line=1
  2212.         STRIP Received:
  2213.  
  2214.         Notice that the new 'Received:' header is added with an occurrence
  2215.         number of -1.  The STRIP command, as it is used, will not remove this
  2216.         header.
  2217.  
  2218.         The ADD command adds headers using occurrence number 0 and line number
  2219.         0 as a default.  This only works for single-line headers.  To add
  2220.         multi-line headers, you must specify a different line number for each
  2221.         line.  In the previous example, the "/occ=-1" is used for two reasons. 
  2222.         The first is to ensure that the STRIP command won't remove the header. 
  2223.         The second is to force this header to precede any existing 'Received:'
  2224.         headers.  If you want to add a new header, and have it precede any
  2225.         existing ones of the same name, use a negative occurrence number.  If
  2226.         you want the new header to come after any existing ones of the same
  2227.         name, use a large positive occurrence number.  A good value would be
  2228.         30 or 40.  Too large a value will slow V-MailServer processing
  2229.         slightly, because it loops through the headers, starting at the lowest
  2230.         occurrence number on through to the highest.
  2231.  
  2232.         The UPDATE command is used to replace an existing header, or add a new
  2233.         one if it does not exist.  Again, the defaults for both occurrence and
  2234.         line number are 0.  However, the UPDATE command is much like a
  2235.         combination of STRIP and ADD.  It will remove any headers with the
  2236.         same name, that have an occurrence number greater than or equal to 0.
  2237.  
  2238.         The REPLACE command works the same as UPDATE, except that the header
  2239.         must previously exist.  If it does not, nothing is added.
  2240.  
  2241.         Using line and occurrence numbers with any command except ADD is not
  2242.         recommended.  The reason is the occurrence numbers are incremented for
  2243.         each incoming header, and will vary from message to message.  For this
  2244.         reason, it is not reliable to refer to a specific header and
  2245.         occurrence number.  In one message, the 'To:' header may have an
  2246.         occurrence number of 5, while in the next it may be 15.  It depends on
  2247.         its placement within the headers.
  2248.  
  2249.  
  2250.  
  2251.         Copyright (c) 1993 Richard Vandenberg                                 29
  2252.  
  2253.  
  2254.  
  2255.  
  2256.         V-MailServer User Manual
  2257.         ──────────────────────────────────────────────────────────────────────
  2258.  
  2259.  
  2260.  
  2261.  
  2262.                                                                               
  2263.  
  2264.  
  2265.         Notes about Header Conversions
  2266.  
  2267.         Using the header conversion facility provides you with great power to
  2268.         control the output of V-MailServer.  With such power comes the need to
  2269.         use great caution.  Before making changes to the default files
  2270.         supplied with V-MailServer, you should familiarize yourself with the
  2271.         applicable RFCs (Requests for Comments).  The most important RFCs with
  2272.         respect to e-mail headers are:
  2273.  
  2274.         822  Crocker, D.  Standard for the format of ARPA Internet text
  2275.              messages.
  2276.              1982 August 13; 47 p. (Format: TXT=109200 bytes)  (Obsoletes RFC
  2277.              733)
  2278.  
  2279.         1123 Braden, R.T.,ed.  Requirements for Internet hosts - application
  2280.              and support.  1989 October; 98 p. (Format: TXT=245503 bytes)
  2281.  
  2282.         1049 Sirbu, M.A.  Content-type header field for Internet messages. 
  2283.              1988 March; 8 p. (Format: TXT=18923 bytes)
  2284.  
  2285.  
  2286.         Other interesting RFCs:
  2287.  
  2288.         1341 Borenstein, N.; Freed, N.  MIME (Multipurpose Internet Mail
  2289.              Extensions) Mechanisms for Specifying and Describing the Format
  2290.              of Internet Message Bodies.  1992 June; 80 p. (Format: TXT=211117
  2291.              PS=347082 bytes)
  2292.  
  2293.         1342 Moore, K.  Representation of Non-ASCII Text in Internet Message
  2294.              Headers.  1992 June; 7 p. (Format: TXT=15846 bytes)
  2295.  
  2296.         1343 Borenstein, N.  A User Agent Configuration Mechanism For
  2297.              Multimedia Mail Format Information.  1992 June; 10 p. (Format:
  2298.              TXT=29296 PS=59978 bytes)
  2299.  
  2300.         1344 Borenstein, N.  Implications of MIME for Internet Mail Gateways. 
  2301.              1992 June; 9 p. (Format: TXT=25873 PS=51812 bytes)
  2302.  
  2303.  
  2304.         Note the difference between From and From:. The From header is the
  2305.         envelope From line. eg.-
  2306.  
  2307.              From geo.org!SBODY Wed Aug  5 04:26:22 1992 remote from van-bc
  2308.  
  2309.         The From: header is the address of who sent the mail. eg.-
  2310.  
  2311.              From: Rick@vsystem.wimsey.bc.ca
  2312.  
  2313.  
  2314.  
  2315.  
  2316.         Copyright (c) 1993 Richard Vandenberg                                 30
  2317.  
  2318.  
  2319.  
  2320.  
  2321.                                                            General Information
  2322.         ──────────────────────────────────────────────────────────────────────
  2323.  
  2324.  
  2325.  
  2326.  
  2327.                                                                               
  2328.  
  2329.         Note that an 'Received:' header is always added to the mail.
  2330.  
  2331.  
  2332.         Multiple Header Conversion Files
  2333.  
  2334.         A default header conversion file is supplied that will handle many
  2335.         situations. For mailing lists, however, it is useful to have different
  2336.         headers. For example, you may operate a mailing list where you wish to
  2337.         not have a 'Reply-To:' header, or you might want to change the default
  2338.         'Sender:' address. There are many cases where you might wish to change
  2339.         the headers. For these reasons, V-MailServer provides you with the
  2340.         ability to name a header conversion file to use. You can set this up
  2341.         on a per-mailing list basis also. Details on how to do this are in the
  2342.         Mailing list section.
  2343.  
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.         Copyright (c) 1993 Richard Vandenberg                                 31
  2382.  
  2383.  
  2384.  
  2385.  
  2386.         V-MailServer User Manual
  2387.         ──────────────────────────────────────────────────────────────────────
  2388.  
  2389.  
  2390.  
  2391.  
  2392.                                                                               
  2393.  
  2394.         Access Control Language
  2395.  
  2396.         V-MailServer can process additional commands when it processes mail.
  2397.         The commands are contained in script files that may be loaded at the
  2398.         following times:
  2399.  
  2400.              Default commands each time any mail is processed
  2401.  
  2402.              When requesting a specific file
  2403.  
  2404.              When submitting a message to a mailing list
  2405.  
  2406.              When processing an AFS request
  2407.  
  2408.              When processing a User-Defined command
  2409.  
  2410.  
  2411.         Uses for ACL scripts include:
  2412.  
  2413.              Notifying people that about mail server operations
  2414.  
  2415.              Automatically subscribing people to a mailing list if they
  2416.              request a certain file
  2417.  
  2418.              Notifying people about changes in a mailing list format
  2419.  
  2420.              Sending more than one file as an AFS request
  2421.  
  2422.              Creating new commands
  2423.  
  2424.  
  2425.         The commands are structured as a very simple script language. We've
  2426.         coined the acronym ACL - Access Control Language.  ACL is not nearly
  2427.         as powerful as it could be, but will be expanded over time.  Note that
  2428.         you may mix both ACL commands and regular mail server commands
  2429.         together in scripts.
  2430.  
  2431.         Example:  IF NOT MEMBER list-exec SUBSCRIBE list-regular
  2432.  
  2433.  
  2434.         General ACL Operation
  2435.  
  2436.         ACL commands are loaded into a Command Stack that is executed after
  2437.         V-MailServer has finished processing its current set of requests. Most
  2438.         commands are internal, and are processed by the ACL Preprocessor. The
  2439.         remainder are sent to the regular command processor for execution.
  2440.         Below is a simple chart that will hopefully outline the general
  2441.         operation:
  2442.  
  2443.  
  2444.  
  2445.  
  2446.         Copyright (c) 1993 Richard Vandenberg                                 32
  2447.  
  2448.  
  2449.  
  2450.  
  2451.                                                            General Information
  2452.         ──────────────────────────────────────────────────────────────────────
  2453.  
  2454.  
  2455.  
  2456.  
  2457.                                                                               
  2458.  
  2459.         ACL Flow of Operation
  2460.  
  2461.         Step    Normal Command Processor (NCP) ACL Preprocessor (ACLP)
  2462.  
  2463.         1       Original mail message is
  2464.                 processed
  2465.         2                                      An ACL routine begin to be
  2466.                                                executed
  2467.         3                                      ACL passes a command to the
  2468.                                                NCP
  2469.         4       Command is processed ( eg.
  2470.                 file request, mailing list
  2471.                 subscription, etc )
  2472.         5                                      ACL resumes processing
  2473.                                                commands
  2474.         6          Commands continue to be processed via the NCP and ACLP.
  2475.  
  2476.  
  2477.  
  2478.         When using ACL, you can use all the general macro variables, on any
  2479.         line.  Before each line is executed, the macro is evaluated.
  2480.  
  2481.  
  2482.         Command syntax
  2483.  
  2484.  
  2485.         CLEAR Commands                This command is handled by the ACL
  2486.                                       Preprocessor. It clears any prior
  2487.                                       commands from the Command Stack. This
  2488.                                       command is useful if you have a set of
  2489.                                       default commands defined, and you wish
  2490.                                       to skip those commands and execute only
  2491.                                       the ones currently being loaded.  This
  2492.                                       command erases all commands currently
  2493.                                       loaded, so use it only as the first line
  2494.                                       of an ACL routine.
  2495.  
  2496.         CLEAR Extra-Commands          Accessing a file that has an ACL routine
  2497.                                       linked to it will cause those ACL
  2498.                                       commands to be executed after the mail
  2499.                                       message has been processed.  If you need
  2500.                                       to disable this, CLEAR Extra-Commands
  2501.                                       will do it for you.  It is used in the
  2502.                                       VIEW and EXTRACT User-Defined commands,
  2503.                                       because they are just looking at parts
  2504.                                       of files, not retrieving the file
  2505.                                       itself.
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.         Copyright (c) 1993 Richard Vandenberg                                 33
  2512.  
  2513.  
  2514.  
  2515.  
  2516.         V-MailServer User Manual
  2517.         ──────────────────────────────────────────────────────────────────────
  2518.  
  2519.  
  2520.  
  2521.  
  2522.                                                                               
  2523.  
  2524.         ECHO OFF|ON|EXPAND|text       The ECHO command is used much like the
  2525.                                       MSDOS batch language equivalent.  Using
  2526.                                       ECHO ON will cause all commands to be
  2527.                                       echoed to the screen.  ECHO OFF will
  2528.                                       turn off the display.  ECHO EXPAND is
  2529.                                       the same as ECHO ON, but expands any
  2530.                                       macros before displaying the command. 
  2531.                                       ECHO followed by anything else will
  2532.                                       display the text.
  2533.  
  2534.         GOTO label                    Jumps to the specified label in the
  2535.         :label                        script.  Label definitions must begin
  2536.                                       with a colon (:).  This feature acts
  2537.                                       just like the MSDOS batch language
  2538.                                       command of the same name.
  2539.  
  2540.  
  2541.         GRADE g                       Sets the UUCP grade to 'g' if this is
  2542.                                       applicable. This allows you to control
  2543.                                       the grade depending upon the request.
  2544.  
  2545.         IF [NOT] Condition Command    The IF command is used to conditionally
  2546.                                       execute other commands. The conditions
  2547.                                       are defined below.
  2548.  
  2549.         IF [NOT] EXIST filename       Checks for existence of the specified
  2550.                                       file.  The filename given must be the
  2551.                                       fully qualified name, as it is not
  2552.                                       parsed via the file aliasing or file
  2553.                                       security functions.  This commands acts
  2554.                                       in the same fashion as the equivalent
  2555.                                       MSDOS batch language command.
  2556.  
  2557.         IF [NOT] MEMBER Listname      If requester belongs to the specified
  2558.                                       mailing list or not.
  2559.  
  2560.         IF [NOT] MATCHADDRESS
  2561.           address1 address2           Compares two addresses, from right to
  2562.                                       left ( reverse ), up to the number of
  2563.                                       characters in the shortest address. The
  2564.                                       comparison is not case-sensitive.  If
  2565.                                       either address is empty, IF MATCHADDRESS
  2566.                                       is false.  If both are empty, it is
  2567.                                       true.  This command allows you to
  2568.                                       compare either full addresses, or
  2569.                                       portions of the domain.  It does not
  2570.                                       account for variations in addressing
  2571.                                       formats.  Examples (assuming the command
  2572.                                       IF MATCHADDRESS):
  2573.  
  2574.  
  2575.  
  2576.         Copyright (c) 1993 Richard Vandenberg                                 34
  2577.  
  2578.  
  2579.  
  2580.  
  2581.                                                            General Information
  2582.         ──────────────────────────────────────────────────────────────────────
  2583.  
  2584.  
  2585.  
  2586.  
  2587.                                                                               
  2588.  
  2589.                                       rick@vsystem.com  .com   - True
  2590.                                       xyz.com!rick rick@xyz.com - False
  2591.                                       rick@XYZ.COM RICK@xyz.com - True
  2592.                                       rick@xyz.com @xyz.com    - True
  2593.  
  2594.  
  2595.         REINDEX list-name             This command allows you to reindex a
  2596.                                       mailing list.  This is necessary if you
  2597.                                       make manual changes to either the
  2598.                                       membership or option files of the list.
  2599.  
  2600.  
  2601.         REQSTAT ON | OFF | NONE       This command allows you to control the
  2602.                                       information in the session transcript
  2603.                                       message, or turn the message off
  2604.                                       completely. If set OFF, command
  2605.                                       processing is not acknowledged in the
  2606.                                       message. If set ON, the normal
  2607.                                       acknowledgement is included. If REQSTAT
  2608.                                       NONE is used, the session transcript
  2609.                                       message is not sent.
  2610.  
  2611.  
  2612.         SENDTEXT FileName             The SENDTEXT command allows you to send
  2613.                                       text files.  No security checking is
  2614.                                       performed, to allow you to send
  2615.                                       information files without including them
  2616.                                       in the regular file areas.  UUencoding
  2617.                                       is NOT performed, so only specify text
  2618.                                       files.  Message variables are allowed. 
  2619.                                       For an example, see the QUEUE.WAI file,
  2620.                                       which sends a message anytime a request
  2621.                                       is queued for later processing.  No
  2622.                                       information is recorded in the session
  2623.                                       transcript by this command, so REQSTAT
  2624.                                       is not needed to eliminate it.
  2625.  
  2626.         SHELL DOS-Command [arguments] Shell to DOS and execute the specified
  2627.                                       command.  This is a very often used to
  2628.                                       run batch files.
  2629.  
  2630.         SUBJECT [New Subject]         This command changes the subject line.
  2631.                                       You would probably use this command just
  2632.                                       before you send a file with either SEND
  2633.                                       or SENDTEXT.
  2634.  
  2635.         TRANSTEXT line of text        Add the line of text to the session
  2636.                                       transcript, with a newline character at
  2637.                                       the end
  2638.  
  2639.  
  2640.  
  2641.         Copyright (c) 1993 Richard Vandenberg                                 35
  2642.  
  2643.  
  2644.  
  2645.  
  2646.         V-MailServer User Manual
  2647.         ──────────────────────────────────────────────────────────────────────
  2648.  
  2649.  
  2650.  
  2651.  
  2652.                                                                               
  2653.  
  2654.         TRANSTEXTC line of text       Add the line of text to the session
  2655.                                       transcript, without a trailing newline
  2656.                                       character.  This allows you to create a
  2657.                                       single line in the transcript, with
  2658.                                       multiple TRANSTEXTC commands.
  2659.  
  2660.  
  2661.         Notes about SHELL:
  2662.  
  2663.         SHELL loads a copy of the command shell (COMMAND.COM, 4DOS, etc), and
  2664.         passes it the given command line.  If you are running a batch file, be
  2665.         aware of the way MSDOS handles parameters.  When passing parameters to
  2666.         most executable programs, if a string is enclosed in double quotes, it
  2667.         is handled as a single parameter.  When passing a string to a batch
  2668.         file, each parameter is delimited by a space.  Enclosure with quotes
  2669.         has no effect.  If you use a macro in the SHELL command line, it may
  2670.         expand into a string, with spaces included.  An example is if you
  2671.         extract a user's name from a mailing list.
  2672.  
  2673.         Example:
  2674.  
  2675.         SHELL programA.exe  "This is a test"    ; one parameter
  2676.         SHELL batchB.BAT    "This is a test"    ; four parameters
  2677.  
  2678.         This may require you to perform some complicated batch-file
  2679.         programming in certain cases.  Just be aware of the differences, and
  2680.         you can work around any obstacles.
  2681.  
  2682.  
  2683.  
  2684.  
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.         Copyright (c) 1993 Richard Vandenberg                                 36
  2707.  
  2708.  
  2709.  
  2710.  
  2711.                                                            General Information
  2712.         ──────────────────────────────────────────────────────────────────────
  2713.  
  2714.  
  2715.  
  2716.  
  2717.                                                                               
  2718.  
  2719.         ACL Examples
  2720.  
  2721.  
  2722.  
  2723.  
  2724.          # Turn off the request status for now. We do this because
  2725.          otherwise
  2726.          # the ACL commands are echoed in the session transcript.
  2727.  
  2728.          ReqStat OFF
  2729.  
  2730.          # Now subscribe the person to the mailing list.  You would replace
  2731.          ListName
  2732.          # with your specific mailing list.
  2733.  
  2734.          subscribe ListName
  2735.  
  2736.          # This line sets the subject to be used in the next SEND command.
  2737.  
  2738.          subject V-MailServer 1.22 Notes
  2739.  
  2740.          # Send the named file to the requester.  This file name must still
  2741.          pass all
  2742.          # the usual security checks.
  2743.  
  2744.          send \public\notices\vms122.not
  2745.  
  2746.          # Turn the request status back on
  2747.          ReqStat ON
  2748.  
  2749.  
  2750.         1. This ACL script will automatically subscribe to a mailing list
  2751.         anyone who requests information from an AFS address.
  2752.  
  2753.  
  2754.  
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.         Copyright (c) 1993 Richard Vandenberg                                 37
  2772.  
  2773.  
  2774.  
  2775.  
  2776.         V-MailServer User Manual
  2777.         ──────────────────────────────────────────────────────────────────────
  2778.  
  2779.  
  2780.  
  2781.  
  2782.                                                                               
  2783.  
  2784.  
  2785.          # Command file to perform a text search of data files
  2786.          #
  2787.          reqstat off
  2788.          #
  2789.          # the following line is wrapped for display only.  It
  2790.          # should be typed on one line.
  2791.          shell fgrep /%Command-Line%/ d:\public\data\*.dat >
  2792.                    d:\public\results.txt
  2793.          shell pkzip -m d:\public\results.txt d:\public\results.zip
  2794.          subject Search Results
  2795.          reqstat on
  2796.          send \public\results.zip
  2797.          shell del d:\public\results.zip
  2798.          #
  2799.          #
  2800.  
  2801.  
  2802.         2. Command file to perform a text search of data files.
  2803.  
  2804.  
  2805.          VIEW ACL Command file:
  2806.  
  2807.          shell c:\waffle\dev\srch.bat %LEGAL-PATH%
  2808.          clear extra-commands
  2809.          Subject Archive Contents
  2810.          send \public\ftp\results
  2811.          shell del d:\public\ftp\results
  2812.  
  2813.  
  2814.  
  2815.          SRCH.BAT
  2816.  
  2817.          rem Batch file to retrieve contents of an archive
  2818.          rem Called by VMAIL, via SHELL command
  2819.          if %1. == . goto end
  2820.          fv %1 > d:\public\ftp\results
  2821.          :end
  2822.  
  2823.  
  2824.  
  2825.  
  2826.         3. ACL routine to create VIEW command
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.         Copyright (c) 1993 Richard Vandenberg                                 38
  2837.  
  2838.  
  2839.  
  2840.  
  2841.                                                  ─────────────────────────────
  2842.                                                          User-Defined Commands
  2843.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  2844.  
  2845.  
  2846.         A User-Defined Command (UDC) is a mail server command that executes an
  2847.         ACL script.  They are defined by the administrator to handle special
  2848.         mail server functions.  Two examples are provided in this release -
  2849.         EXTRACT and VIEW.  The format of a UDC to be processed is:
  2850.  
  2851.         Command [Password] [Filename] [Optional arguments]
  2852.  
  2853.         eg.  EXTRACT VMS200.ZIP README
  2854.  
  2855.         The UDCs are configured in the UDCFILE.  The format of this file is
  2856.         shown below.  Note that the lines to not wrap in the actual file.
  2857.  
  2858.         ; Command  Command-file    password    userid
  2859.  
  2860.         VIEW c:\vms\udc\search.cmd * *
  2861.         EXTRACT c:\vms\udc\extract.cmd * *
  2862.         VMAIL-GET c:\vms\udc\vmailget.cmd ABcDefgHu! rick@vsystem.wimsey.bc.ca
  2863.  
  2864.  
  2865.         UDCs may be defined to have a password, or to be used by only a
  2866.         specific address.  If either does not apply, substitute an asterisk
  2867.         (*) for the field.
  2868.  
  2869.         The ACL commands loaded when processing a User-Defined Command are
  2870.         executed immediately, instead of at the end of processing as with the
  2871.         default script.
  2872.  
  2873.  
  2874.  
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.         Copyright (c) 1993 Richard Vandenberg                                 39
  2902.  
  2903.  
  2904.  
  2905.  
  2906.         V-MailServer User Manual
  2907.         ──────────────────────────────────────────────────────────────────────
  2908.  
  2909.  
  2910.  
  2911.  
  2912.                                                                               
  2913.  
  2914.  
  2915.  
  2916.  
  2917.  
  2918.  
  2919.  
  2920.  
  2921.  
  2922.  
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.  
  2948.  
  2949.  
  2950.  
  2951.  
  2952.  
  2953.  
  2954.  
  2955.  
  2956.  
  2957.  
  2958.  
  2959.  
  2960.  
  2961.  
  2962.  
  2963.  
  2964.  
  2965.  
  2966.         Copyright (c) 1993 Richard Vandenberg                                 40
  2967.  
  2968.  
  2969.  
  2970.  
  2971.                                                  ─────────────────────────────
  2972.                                                                   Installation
  2973.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  2974.  
  2975.  
  2976.         Before installing V-MailServer, you should plan your configuration. 
  2977.         V-MailServer has many features and you may or may not need them all. 
  2978.         Descriptions of all the configuration file options starts on page 45.
  2979.  
  2980.         Most of the terminology in this manual is directed toward installing
  2981.         V-MailServer with Waffle.  However, V-MailServer is designed to be
  2982.         installed with any MSDOS UUCP system.  If you are using UUPC, see the
  2983.         section "Using V-MailServer with UUPC," page 93.  If you use any other
  2984.         packages, and are having any trouble installing V-MailServer, please
  2985.         contact us.  We'll be glad to help you.  Information on how to contact
  2986.         us is listed in the SUPPORT.DOC file.
  2987.  
  2988.  
  2989.         Planning the configuration
  2990.  
  2991.         V-MailServer can provide mail server, mailing list, and automatic file
  2992.         server capabilities.  You must perform the basic configuration
  2993.         described below.  After that you can set up any options you need.  If
  2994.         you are upgrading from a previous version of V-MailServer, you should
  2995.         install this version to a different directory.  After the installation
  2996.         finishes, modify the necessary VMS.CFG parameters to suit your needs. 
  2997.         You may also need to modify the master mailing lists file and the
  2998.         master AFS file to include the new options available in the version.
  2999.  
  3000.  
  3001.         Basic Configuration
  3002.  
  3003.         The VINSTALL program can completely install V-MailServer, and setup
  3004.         example mail list and automatic file server features.
  3005.  
  3006.         Before running VINSTALL, you must unarchive the V-MailServer files
  3007.         using the PKUNZIP "-d" option.  This will create several
  3008.         subdirectories that contain the V-MailServer installation source
  3009.         files.
  3010.  
  3011.         Installation Steps
  3012.  
  3013.         1.   To begin the installation, run the VINSTALL program.  The first
  3014.              screen you will see is a warning that VINSTALL will overwrite any
  3015.              pre-existing files.  Press 'C' if you wish to continue the
  3016.              installation procedure.
  3017.  
  3018.         2.   The next step is to fill in the pertinent information in the
  3019.              fields provided.  VINSTALL uses this information to fill in
  3020.              fields in the installation source files.  This will let you
  3021.              install V-MailServer with without needing to modify the many
  3022.              files it uses.
  3023.  
  3024.         3.   After filling in all the fields, VINSTALL will create the
  3025.              installation directories, and install all the files.
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.         Copyright (c) 1993 Richard Vandenberg                                 41
  3032.  
  3033.  
  3034.  
  3035.  
  3036.         V-MailServer User Manual
  3037.         ──────────────────────────────────────────────────────────────────────
  3038.  
  3039.  
  3040.  
  3041.  
  3042.                                                                               
  3043.  
  3044.         4.   There are a number of entries in the VMS.CFG file that may need
  3045.              to be changed, depending on your system configuration. They are
  3046.              outlined below:
  3047.  
  3048.              RmailLineMax - This entry allows multiple addresses in
  3049.                   outgoing mailing list messages.  You should leave it
  3050.                   set at 0, until after you are comfortable with the
  3051.                   operation of V-MailServer.
  3052.  
  3053.              UUEProg - This parameter specifies the uuencoding program to
  3054.                   be used with V-MailServer.  We suggest using Richard
  3055.                   Marks' programs, as they provide services to split
  3056.                   encoded files into multiple parts.  If you use another
  3057.                   program, you will need to modify the other uuencoding
  3058.                   options also.  The current release of Richard Marks'
  3059.                   uuencoding/decoding software is called UUEXE515.ZIP,
  3060.                   and is widely available.
  3061.  
  3062.              IndexFile - This specifies the name of the master index
  3063.                   file, which is sent in response to the INDEX command. 
  3064.                   You will probably need to change this entry.
  3065.  
  3066.              DailyLimit and MessageLimit - These are the maximum number
  3067.                   of bytes that a user may request, per day and per
  3068.                   message.  Change these to suit your needs.
  3069.  
  3070.              Minimum-Free-Disk - You may have multiple entries for this
  3071.                   parameter.  When VMAIL.EXE is executed, it checks the
  3072.                   amount of free disk space against these entries.  If
  3073.                   not enough exists, the message is simply re-queued for
  3074.                   later processing.  You should set the appropriate
  3075.                   entries to require enough disk space to hold any
  3076.                   encoded files that may be requested.  The formula for
  3077.                   this is:
  3078.  
  3079.                   The DailyLimit or largest available file, whichever is
  3080.                   larger; multiplied by 2.5.  This gives you the maximum
  3081.                   amount of space any encoded files will need.  You
  3082.                   should then add the size of the help and index files,
  3083.                   and then add approximately 25-50% for "slack".
  3084.  
  3085.                   If you are running on a network, make sure that each drive
  3086.                   specified in a Minimum-Free-Disk parameter is actually
  3087.                   available.  If the drive is not available, V-MailServer will
  3088.                   treat the drive as if it doesn't have enough disk space. 
  3089.                   Drives C:, D:, E:, and F: are specified in VMS.CFG after the
  3090.                   installation.  You will need to modify these to suit your
  3091.                   installation.
  3092.  
  3093.  
  3094.  
  3095.  
  3096.         Copyright (c) 1993 Richard Vandenberg                                 42
  3097.  
  3098.  
  3099.  
  3100.  
  3101.                                                                   Installation
  3102.         ──────────────────────────────────────────────────────────────────────
  3103.  
  3104.  
  3105.  
  3106.  
  3107.                                                                               
  3108.  
  3109.              Mail-Spool-Drive - The mail spool drive, where outgoing messages
  3110.                   are placed by the MTA (usually RMAIL).  VMAILX uses this
  3111.                   parameter to check for free disk space before calling the
  3112.                   MTA (Message Transfer Agent).  Not all MTA programs return
  3113.                   an MSDOS errorlevel code when there is an error spooling the
  3114.                   message.  This parameter allows VMAILX to avoid calling the
  3115.                   MTA when disk space is low.
  3116.  
  3117.              Minimum-Free-Spool - The number of bytes needed on the spool
  3118.                   drive for VMAILX to process the queued requests.
  3119.  
  3120.              To-Format - This parameter takes ones of the two values "Same" or
  3121.                   "Separate".  "Same" causes all 'To:' addresses to appear on
  3122.                   one line, while "Separate" folds the addresses onto separate
  3123.                   lines.  "Same" goes against recommendations made by RFC 822
  3124.                   regarding folding long lines, but is used to work around a
  3125.                   bug in Waffle 1.65's RMAIL program.
  3126.  
  3127.  
  3128.         5.   You should create an environment variable 'VMS', which points to
  3129.              the configuration file.  For example:
  3130.  
  3131.              SET VMS=C:\WAFFLE\VMS\VMS.CFG
  3132.  
  3133.              It's a good idea to add this line to your AUTOEXEC.BAT file, or
  3134.              to the batch file that starts up you mail system. VINSTALL will
  3135.              create a small batch file, VSET.BAT that contains the correct SET
  3136.              command for this.
  3137.  
  3138.         6.   You will now need to add a few lines to your 'aliases' file.
  3139.              Assuming you want to use the name 'mail-server' for access to
  3140.              V-MailServer, add this line to your 'aliases' file:
  3141.  
  3142.              mail-server    | c:\waffle\vms\vmail.exe
  3143.  
  3144.              Again, after running VINSTALL, the file ALIASES.ADD contains the
  3145.              alias entries that are needed.
  3146.  
  3147.         7.   If you are upgrading from any previous version of V-MailServer,
  3148.              you'll need to modify the mailing lists slightly.  See the
  3149.              'Configuring Mailing Lists' section on page 59.
  3150.  
  3151.         8.   After completing any changes to the mailing lists, you will need
  3152.              to create the index entries in the membership file.  The user-
  3153.              defined command REINDEX-LIST is provided that will do this
  3154.              automatically.  The "TEST\REINDEX" file contains a sample message
  3155.              file containing a REINDEX-LIST command for 'test-l' and 'secure-
  3156.              l'.  Add additional REINDEX-LIST commands as required, for all
  3157.              the lists that have been configured.
  3158.  
  3159.  
  3160.  
  3161.         Copyright (c) 1993 Richard Vandenberg                                 43
  3162.  
  3163.  
  3164.  
  3165.  
  3166.         V-MailServer User Manual
  3167.         ──────────────────────────────────────────────────────────────────────
  3168.  
  3169.  
  3170.  
  3171.  
  3172.                                                                               
  3173.  
  3174.         9.   The "VINFO -i" command will display the configuration of the mail
  3175.              server, and is useful for spotting areas which haven't been
  3176.              configured correctly.
  3177.  
  3178.         That completes the initial installation of V-MailServer.  A number of
  3179.         sample mailing lists and AFS addresses have also been included.
  3180.  
  3181.         Modifications to other files, setting up Mailing Lists and Automatic
  3182.         File Sending addresses are covered in the configuration sections that
  3183.         follow.
  3184.  
  3185.  
  3186.  
  3187.  
  3188.  
  3189.  
  3190.  
  3191.  
  3192.  
  3193.  
  3194.  
  3195.  
  3196.  
  3197.  
  3198.  
  3199.  
  3200.  
  3201.  
  3202.  
  3203.  
  3204.  
  3205.  
  3206.  
  3207.  
  3208.  
  3209.  
  3210.  
  3211.  
  3212.  
  3213.  
  3214.  
  3215.  
  3216.  
  3217.  
  3218.  
  3219.  
  3220.  
  3221.  
  3222.  
  3223.  
  3224.  
  3225.  
  3226.         Copyright (c) 1993 Richard Vandenberg                                 44
  3227.  
  3228.  
  3229.  
  3230.  
  3231.                                                  ─────────────────────────────
  3232.                                                             Configuration File
  3233.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  3234.  
  3235.  
  3236.         The VMS.CFG file is the main configuration file for V-MailServer.  It
  3237.         contains parameters that set mail delivery options, file encoding,
  3238.         traffic logging, file and path information, addresses used in various
  3239.         header fields, and other information.  The following parameters are
  3240.         used in the configuration file:
  3241.  
  3242.  
  3243.         Mail Delivery Parameters
  3244.  
  3245.         MailProgram
  3246.  
  3247.              The MTA (Message Transfer Agent) of your choice. Generally, it is
  3248.              RMAIL. You should specify the full path to it.
  3249.  
  3250.         MailProgramOptions
  3251.  
  3252.              If the MTA you are using requires other command line options,
  3253.              they may be listed here.
  3254.  
  3255.         GradeOption
  3256.  
  3257.              The grade option is the command line parameter used to control
  3258.              the grade when executing the mail program.  For example, in
  3259.              Waffle 1.65's RMAIL, the option is -g.  The actual grade
  3260.              parameter is not passed here.  It is set in the mailing list, AFS
  3261.              request and other configuration files.
  3262.  
  3263.         RmailLineMax
  3264.  
  3265.              Used to specify the maximum length of the MAILPROGRAM command
  3266.              line.  To use multiple-addressing in mailing lists, you must set
  3267.              this parameter greater that 0.  A good figure is around 120.  The
  3268.              maximum size for an MSDOS command line is 128 characters.
  3269.  
  3270.  
  3271.         Mail Addressing Parameters
  3272.  
  3273.         UUCPFrom
  3274.  
  3275.              Used to specify the UUCP From envelope line in the resulting mail
  3276.              files.  Note that this line is different than the 'From:' header
  3277.              line, and that is should not include the node portion of your
  3278.              site.
  3279.  
  3280.         Node
  3281.  
  3282.              The node name of your site.  It's used in various places in the
  3283.              system, notably the 'Message-Id:' header.
  3284.  
  3285.  
  3286.  
  3287.  
  3288.  
  3289.  
  3290.  
  3291.         Copyright (c) 1993 Richard Vandenberg                                 45
  3292.  
  3293.  
  3294.  
  3295.  
  3296.         V-MailServer User Manual
  3297.         ──────────────────────────────────────────────────────────────────────
  3298.  
  3299.  
  3300.  
  3301.  
  3302.                                                                               
  3303.  
  3304.         ServerName
  3305.  
  3306.              The name of the server, for use in the 'From:' field in the
  3307.              header.
  3308.  
  3309.  
  3310.         SenderName
  3311.  
  3312.              The name used in the header fields 'Sender:', and  on the UUCP
  3313.              'From ' path line.  The SENDERNAME should be different from the
  3314.              SERVERNAME, so that bounce messages and the like are not sent
  3315.              back to the mail server address.
  3316.  
  3317.         To-Format
  3318.  
  3319.              This parameter takes ones of the two values "Same" or "Separate". 
  3320.              "Same" causes all 'To:' addresses to appear on one line, while
  3321.              "Separate" folds the addresses onto separate lines.  "Same" goes
  3322.              against recommendations made by RFC 822 regarding folding long
  3323.              lines, but is used to work around a bug in Waffle 1.65's RMAIL
  3324.              program.
  3325.  
  3326.         Owner-ID
  3327.  
  3328.              The Owner ID is used to identify the owner of the mail server. 
  3329.              Any important status messages, such as security violations, are
  3330.              mailed to this address.
  3331.  
  3332.  
  3333.         Encoding parameters
  3334.  
  3335.         UUEProg
  3336.  
  3337.              The UU-encoding program. It should be able to place it's output
  3338.              into one or more files.
  3339.  
  3340.  
  3341.         UUEncodeOptions
  3342.  
  3343.              The option string to pass to the UUencode program specified
  3344.              above.  These options are always passed, no matter which encoding
  3345.              method is chosen.
  3346.  
  3347.  
  3348.         UUEncode_Switch and XXEncode_Switch
  3349.  
  3350.              The UUEncode program's command line switches to enable UUencoding
  3351.              or XXencoding.  The appropriate option is passed based on which
  3352.  
  3353.  
  3354.  
  3355.  
  3356.         Copyright (c) 1993 Richard Vandenberg                                 46
  3357.  
  3358.  
  3359.  
  3360.  
  3361.                                                             Configuration File
  3362.         ──────────────────────────────────────────────────────────────────────
  3363.  
  3364.  
  3365.  
  3366.  
  3367.                                                                               
  3368.  
  3369.              encoding option the request specifies.  UUEncoding is the
  3370.              default.
  3371.  
  3372.  
  3373.         UUETemp
  3374.  
  3375.              The name of the output file for the UUencoder.  Most UUDecoders
  3376.              will create multipart files, based on a prefix that you supply.
  3377.              If, for example, with Richard Marks' UUEncode program you supply
  3378.              the name C:\TEMP\VSRUX, the output files will be named in the
  3379.              following fashion: C:\TEMP\VSRUX1.UUE, C:\TEMP\VSRUX2.UUE,
  3380.              C:\TEMP\VSRUX3.UUE, and so on.  Make sure that UUETemp points to
  3381.              a drive that has enough free disk space to hold all the encoded
  3382.              parts for the largest file available.
  3383.  
  3384.  
  3385.         UUEOutputSpec
  3386.  
  3387.              Used for multi-part Encoded requests. Most UUencoders will create
  3388.              multiple files for multi-part encodes. They should have simple
  3389.              format that they use to name the multiple files.  Richard Mark's
  3390.              Uuencode will number the files sequentially, for example. Eg.
  3391.              VSRUUE1.UUE, VSRUUE2.UUE and so on.  In this case, using
  3392.              VSRUUE*.UUE will find all the Encoded sections.  After the file
  3393.              has been Encoded, V-MailServer will use the UUEOUTPUTSPEC as a
  3394.              search pattern to find the file(s) to send.
  3395.  
  3396.         UU-EncodeSkip
  3397.  
  3398.              This parameter allows you to choose the list of extension to skip
  3399.              encoding for.  List each extension, separated by a period (.). 
  3400.              For example:  "UU-EncodeSkip .TXT.DOC.INF..".  The two period at
  3401.              the end of the example represent files with no extension.  All
  3402.              files with extensions not in this list are encoded.
  3403.  
  3404.         UU-MaxSize
  3405.  
  3406.              UU-MaxSize allows you to specify the maximum size a file may be
  3407.              before encoding is forced.  Any file that is longer than the
  3408.              limit specified here will be encoded, regardless of the
  3409.              UU-EncodeSkip parameter.
  3410.  
  3411.  
  3412.  
  3413.  
  3414.  
  3415.  
  3416.  
  3417.  
  3418.  
  3419.  
  3420.  
  3421.         Copyright (c) 1993 Richard Vandenberg                                 47
  3422.  
  3423.  
  3424.  
  3425.  
  3426.         V-MailServer User Manual
  3427.         ──────────────────────────────────────────────────────────────────────
  3428.  
  3429.  
  3430.  
  3431.  
  3432.                                                                               
  3433.  
  3434.         Files and Paths Parameters
  3435.  
  3436.         TempDir
  3437.  
  3438.              The name of the directory used to store temporary files. 
  3439.              Examples are C:\TEMP and E:\.  If you have a large RAM drive,
  3440.              make this your temporary directory.
  3441.  
  3442.  
  3443.         PasswordFile
  3444.  
  3445.              The name of the file that contains the password information.
  3446.  
  3447.  
  3448.         HelpFile
  3449.  
  3450.              The fully qualified name of the file to send in response to the
  3451.              'HELP' command.
  3452.  
  3453.  
  3454.         IndexFile
  3455.  
  3456.              The fully qualified name of the file to send in response to the
  3457.              'INDEX' command.
  3458.  
  3459.  
  3460.         ValidPaths
  3461.  
  3462.              Contains the directory names of all the valid directories that
  3463.              may be accessed via V-MailServer requests.  It is used for
  3464.              security.  More information about the VALIDPATHS file is in the
  3465.              section 'Configuring File Server Services'.
  3466.  
  3467.  
  3468.         SearchTree
  3469.  
  3470.              Contains the names of all the directories to search when
  3471.              requesting a file.  When a file is requested, each of the paths
  3472.              listed in the SEARCHTREE file is used to form the full path
  3473.              specification of the file to be retrieved.  More information
  3474.              about the SEARCHTREE file is in the section 'Configuring File
  3475.              Server Services'.
  3476.  
  3477.  
  3478.  
  3479.  
  3480.  
  3481.  
  3482.  
  3483.  
  3484.  
  3485.  
  3486.         Copyright (c) 1993 Richard Vandenberg                                 48
  3487.  
  3488.  
  3489.  
  3490.  
  3491.                                                             Configuration File
  3492.         ──────────────────────────────────────────────────────────────────────
  3493.  
  3494.  
  3495.  
  3496.  
  3497.                                                                               
  3498.  
  3499.         LogFile
  3500.  
  3501.              The name of the V-MailServer request log.  Each request is logged
  3502.              in this file, along with the date, time, requester.
  3503.  
  3504.  
  3505.         LogType
  3506.  
  3507.              The LOGTYPE parameter allows you to select whether you want the
  3508.              message headers and/or message body included in the V-MailServer
  3509.              log file.  To include the headers, place the keyword 'Headers' on
  3510.              the parameter line.  To include the body, use 'Body'.  To include
  3511.              the full message, just place both keywords on the line.  Example:
  3512.  
  3513.              LogType Headers Body
  3514.  
  3515.  
  3516.         RejectFile
  3517.  
  3518.              Contains the addresses of any users or domains to disallow
  3519.              V-MailServer access for.  Specifying a partial domain will
  3520.              disallow access to ALL users in that domain.  New to V-MailServer
  3521.              2.2 is the ability to specifically enable access to users or
  3522.              groups of users, as well as disabling.
  3523.  
  3524.  
  3525.         InfoPath
  3526.  
  3527.              The path to look in for file used by the INFO command. The
  3528.              subject of the INFO command may be up to 11 characters long.  The
  3529.              INFO command simply retrieves the file with the same name as the
  3530.              subject of the INFO command.
  3531.  
  3532.  
  3533.         TrafficControl
  3534.  
  3535.              The file used to monitor traffic.
  3536.  
  3537.  
  3538.         UserDirFile
  3539.  
  3540.              Contains the address and the user directory for any people who
  3541.              you have set up a user directory for.
  3542.  
  3543.  
  3544.         UserSecurityFile
  3545.  
  3546.              Contains the legal user directories a user may access.
  3547.  
  3548.  
  3549.  
  3550.  
  3551.         Copyright (c) 1993 Richard Vandenberg                                 49
  3552.  
  3553.  
  3554.  
  3555.  
  3556.         V-MailServer User Manual
  3557.         ──────────────────────────────────────────────────────────────────────
  3558.  
  3559.  
  3560.  
  3561.  
  3562.                                                                               
  3563.  
  3564.         DailyLimit
  3565.  
  3566.              Allows you to limit the volume of requests from a user on a daily
  3567.              basis.  Any requests which would create more traffic than this
  3568.              will be rejected.
  3569.  
  3570.  
  3571.         MessageLimit
  3572.  
  3573.              Allows you to limit the volume of requests from a user on a
  3574.              message basis.  Any requests which would create more traffic than
  3575.              this will be rejected. 
  3576.  
  3577.  
  3578.         AllowFirstRequest
  3579.  
  3580.              Is a flag that controls how V-MailServer will process the first
  3581.              request of the day.  Say you have a daily limit of 100,000 bytes. 
  3582.              You also have a number of files on your system that are larger
  3583.              than this.  If ALLOWFIRSTREQUEST is 1, V-MailServer will allow a
  3584.              request for a very large file, but only if it the first request
  3585.              of the day.  In this way you can allow access to large files
  3586.              without having high daily limits.
  3587.  
  3588.  
  3589.         AFSFile
  3590.  
  3591.              The list of addresses and the file to send in response to a
  3592.              message.
  3593.  
  3594.  
  3595.         MailingLists
  3596.  
  3597.              The "master" mailing list file, which contains the names of all
  3598.              the mailing lists and the files that contain each one, including
  3599.              the option file name.
  3600.  
  3601.  
  3602.         QueueDir
  3603.  
  3604.              The name of the directory that contains the files that are queued
  3605.              to be mailed.
  3606.  
  3607.  
  3608.         QueueLimitFile
  3609.  
  3610.              The QueueLimitFile is a file that holds totals used by the limit
  3611.              option of VMAILX.  It will be automatically created if necessary.
  3612.  
  3613.  
  3614.  
  3615.  
  3616.         Copyright (c) 1993 Richard Vandenberg                                 50
  3617.  
  3618.  
  3619.  
  3620.  
  3621.                                                             Configuration File
  3622.         ──────────────────────────────────────────────────────────────────────
  3623.  
  3624.  
  3625.  
  3626.  
  3627.                                                                               
  3628.  
  3629.         Seqf
  3630.  
  3631.              Used to hold an integer used in creating temporary files.
  3632.  
  3633.  
  3634.         FileAlias
  3635.  
  3636.              The name of the file containing filename aliases and ACL script
  3637.              to execute.  See the File Aliasing section for more details.
  3638.  
  3639.  
  3640.         HeaderConversion
  3641.  
  3642.              The name of the default header conversion file.
  3643.  
  3644.  
  3645.         JustHeaderConversion
  3646.  
  3647.              The name of the header conversion file to use when just queuing
  3648.              requests.
  3649.  
  3650.  
  3651.         QueueProgram
  3652.  
  3653.              The name of the program used in the .X file for queued request. 
  3654.              Generally it's VMAIL.EXE.
  3655.  
  3656.  
  3657.         CommandFile
  3658.  
  3659.              The name of the default ACL script used whenever a request is
  3660.              processed by V-MailServer.
  3661.  
  3662.  
  3663.         QueueCommandFile
  3664.  
  3665.              The name of the script used whenever a request is queued for
  3666.              later processing.
  3667.  
  3668.  
  3669.         Minimum-Free-Disk  drive  space
  3670.  
  3671.              Used to determine the minimum free disk space required to process
  3672.              a command.  If the free space is less than that specified, the
  3673.              request is queued for later processing.  More than one of these
  3674.              parameters is permitted, to allow more than one drive to be
  3675.              checked.  If this is the case, all specified drives must meet the
  3676.              minimum requirement before processing takes place.
  3677.  
  3678.  
  3679.  
  3680.  
  3681.         Copyright (c) 1993 Richard Vandenberg                                 51
  3682.  
  3683.  
  3684.  
  3685.  
  3686.         V-MailServer User Manual
  3687.         ──────────────────────────────────────────────────────────────────────
  3688.  
  3689.  
  3690.  
  3691.  
  3692.                                                                               
  3693.  
  3694.         Mail-Spool-Drive
  3695.  
  3696.              The mail spool drive, where outgoing messages are placed by the
  3697.              MTA (usually RMAIL).  VMAILX uses this parameter to check for
  3698.              free disk space before calling the MTA (Message Transfer Agent). 
  3699.              Not all MTA programs return an MSDOS errorlevel code when there
  3700.              is an error spooling the message.  This parameter allows VMAILX
  3701.              to avoid calling the MTA when disk space is low.
  3702.  
  3703.  
  3704.         Minimum-Free-Spool
  3705.  
  3706.              The number of bytes needed on the spool drive for VMAILX to
  3707.              process the queued requests.
  3708.  
  3709.  
  3710.         Words-Path
  3711.  
  3712.              The Words-Path parameter specifies the directory that contains
  3713.              the message files that are sent for various reasons.  See the
  3714.              Configurable Messages section for more details.
  3715.  
  3716.  
  3717.  
  3718.         KillFile
  3719.  
  3720.              Specifies the name of the Kill file.  See the Kill File section
  3721.              for more details.
  3722.  
  3723.  
  3724.         UDCFile
  3725.  
  3726.              Specifies the file used to handle custom commands.
  3727.  
  3728.  
  3729.         Obsolete Configuration Parameters
  3730.  
  3731.         The following parameters are obsolete, and should be removed from the
  3732.         configuration file.
  3733.  
  3734.  
  3735.         StatusWorkFile
  3736.  
  3737.              A temporary file for holding the 'status' message while it is
  3738.              being created during the execution of the request. Obsoleted
  3739.              because the filename is dynamically chosen at run-time.
  3740.  
  3741.  
  3742.  
  3743.  
  3744.  
  3745.  
  3746.         Copyright (c) 1993 Richard Vandenberg                                 52
  3747.  
  3748.  
  3749.  
  3750.  
  3751.                                                             Configuration File
  3752.         ──────────────────────────────────────────────────────────────────────
  3753.  
  3754.  
  3755.  
  3756.  
  3757.                                                                               
  3758.  
  3759.         TempMailFile
  3760.  
  3761.              The temporary file used when creating any mail.  You can choose
  3762.              any name that suits you.  If you have a RAM disk or other
  3763.              directory that is used for temporary files you should use that.
  3764.              Eg. - E:\VMTEMP or C:\TEMP\TEMPMAIL.  Note: in V-MailServer 2.2
  3765.              all temporary files are assigned a unique name.  This parameter
  3766.              is no longer required.
  3767.  
  3768.         FileType
  3769.  
  3770.              The program specified here is used to determine whether or not to
  3771.              encode a file before sending it.  It is generally CHKUUE. 
  3772.              Obsoleted because encoding determination is now built into
  3773.              V-MailServer.
  3774.  
  3775.  
  3776.  
  3777.  
  3778.  
  3779.  
  3780.  
  3781.  
  3782.  
  3783.  
  3784.  
  3785.  
  3786.  
  3787.  
  3788.  
  3789.  
  3790.  
  3791.  
  3792.  
  3793.  
  3794.  
  3795.  
  3796.  
  3797.  
  3798.  
  3799.  
  3800.  
  3801.  
  3802.  
  3803.  
  3804.  
  3805.  
  3806.  
  3807.  
  3808.  
  3809.  
  3810.  
  3811.         Copyright (c) 1993 Richard Vandenberg                                 53
  3812.  
  3813.  
  3814.  
  3815.  
  3816.         V-MailServer User Manual
  3817.         ──────────────────────────────────────────────────────────────────────
  3818.  
  3819.  
  3820.  
  3821.  
  3822.                                                                               
  3823.  
  3824.  
  3825.  
  3826.  
  3827.  
  3828.  
  3829.  
  3830.  
  3831.  
  3832.  
  3833.  
  3834.  
  3835.  
  3836.  
  3837.  
  3838.  
  3839.  
  3840.  
  3841.  
  3842.  
  3843.  
  3844.  
  3845.  
  3846.  
  3847.  
  3848.  
  3849.  
  3850.  
  3851.  
  3852.  
  3853.  
  3854.  
  3855.  
  3856.  
  3857.  
  3858.  
  3859.  
  3860.  
  3861.  
  3862.  
  3863.  
  3864.  
  3865.  
  3866.  
  3867.  
  3868.  
  3869.  
  3870.  
  3871.  
  3872.  
  3873.  
  3874.  
  3875.  
  3876.         Copyright (c) 1993 Richard Vandenberg                                 54
  3877.  
  3878.  
  3879.  
  3880.  
  3881.                                                  ─────────────────────────────
  3882.                                               Configuring File Server Services
  3883.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  3884.  
  3885.  
  3886.         In order to use V-MailServer as a mail based file server, you will
  3887.         need to tell V-MailServer where to look for the files, and which
  3888.         directories are valid.
  3889.  
  3890.         V-MailServer can be set up to access any drive or directory available. 
  3891.         Two files are needed to use the File Server features.  One is called
  3892.         the SEARCHTREE file.  It's a list of directories to search for files. 
  3893.         The other is the VALIDPATHS file.  This file must list the full
  3894.         subdirectory name for each subdirectory that can be accessed.
  3895.  
  3896.         You will also need to provide a UUencoder program.  UUEncode by
  3897.         Richard Marks is recommended, but you may use any UUencode program you
  3898.         wish.  We chose Richard Marks' program because it will create multi-
  3899.         part encoded files, which V-MailServer needs to send large files.
  3900.  
  3901.  
  3902.         Setting up the SearchTree and ValidPaths files
  3903.  
  3904.         These two files control access to all files that may be retrieved
  3905.         using the GET (or equivalent) command. 
  3906.  
  3907.         In order for V-MailServer to find a file, it must know where to look. 
  3908.         It does this by using the Searchtree file.  Here is a sample
  3909.         Searchtree file:
  3910.  
  3911.         c:\public
  3912.         d:\extra
  3913.         d:\misc
  3914.  
  3915.         If a GET command is processed - eg. 'GET xyz.zip' - V-MailServer will
  3916.         search for that file in each directory listed in the Searchtree file. 
  3917.         It does this search by taking one of the directories listed, and
  3918.         appending the requested filename to it to create a full path to the
  3919.         file.
  3920.  
  3921.         The Validpaths files contains a list of all legal directories that may
  3922.         be accessed.  Taking the above example, if the three directories were
  3923.         the only ones you wanted to have available you would simply put the
  3924.         following in the Validpaths file:
  3925.  
  3926.         c:\public
  3927.         d:\extra
  3928.         d:\misc
  3929.  
  3930.  
  3931.         By default, VINSTALL sets up the ValidPaths file to give access to the
  3932.         entire subdirectory structure under the named public files
  3933.         directories.  Simply delete any lines that you wish to disable access
  3934.         to.
  3935.  
  3936.         For a more complex example, assume that you have the following
  3937.         directory structures. On drive 'c:' we want the 'pc' and 'misc'
  3938.  
  3939.  
  3940.  
  3941.         Copyright (c) 1993 Richard Vandenberg                                 55
  3942.  
  3943.  
  3944.  
  3945.  
  3946.         V-MailServer User Manual
  3947.         ──────────────────────────────────────────────────────────────────────
  3948.  
  3949.  
  3950.  
  3951.  
  3952.                                                                               
  3953.  
  3954.         subdirectories to be available.  The '\other\private\share'
  3955.         subdirectory on drive 'd:' should not be accessible, but those below
  3956.         it should be.  Let's also say that we want users to request files
  3957.         using the convention 'dir1/dir2/name' - IE. pc/asm/filename or
  3958.         misc/xyz.
  3959.  
  3960.         c:\public
  3961.         └───ftp
  3962.             ├───pc
  3963.             │   ├───asm
  3964.             │   └───c
  3965.             └───misc
  3966.  
  3967.         d:\other
  3968.         └───private
  3969.             └───share
  3970.                 └───pc
  3971.                     └───asm
  3972.  
  3973.  
  3974.         The first step is to have V-MailServer start off with the correct
  3975.         directories when searching.  In the Searchtree file, put these lines:
  3976.  
  3977.         c:\public\ftp
  3978.         d:\other\private\share
  3979.  
  3980.  
  3981.         In the Validpaths file, you must name all of the valid paths:
  3982.  
  3983.         c:\public\ftp\pc
  3984.         c:\public\ftp\pc\asm
  3985.         c:\public\ftp\pc\c
  3986.         c:\public\ftp\misc
  3987.         d:\other\private\share\pc
  3988.         d:\other\private\share\pc\asm
  3989.  
  3990.  
  3991.         If a request has just the filename, V-MailServer will first try
  3992.         'c:\public\ftp\filename', which will fail because this path is not
  3993.         listed in the Validpaths file.  Then it will try
  3994.         'd:\other\private\share\filename', which will fail for the same
  3995.         reason.
  3996.  
  3997.         If a request uses 'pc/asm/filename' for example, V-MailServer first
  3998.         tries c:\public\ftp\pc\asm\filename. It is a legal path, so it will
  3999.         attempt to find the file. If it doesn't exist, the next attempt uses
  4000.         'd:\other\private\share\pc\asm\filename'.
  4001.  
  4002.  
  4003.  
  4004.  
  4005.  
  4006.         Copyright (c) 1993 Richard Vandenberg                                 56
  4007.  
  4008.  
  4009.  
  4010.  
  4011.                                               Configuring File Server Services
  4012.         ──────────────────────────────────────────────────────────────────────
  4013.  
  4014.  
  4015.  
  4016.  
  4017.                                                                               
  4018.  
  4019.         V-MailServer will accept any legal MSDOS file specification.  These
  4020.         include
  4021.  
  4022.         filename
  4023.         \filename
  4024.         c:filename
  4025.         c:\filename
  4026.         ..\filename
  4027.         .\filename
  4028.         c:..\dir11\dir2\dir3\..\dir4\filename
  4029.  
  4030.         and others.
  4031.  
  4032.         Each file specification is converted to a fully-qualified path name,
  4033.         which is then compared to the paths listed in the Validpaths file.
  4034.  
  4035.  
  4036.         Header Conversions
  4037.  
  4038.         There are two Header Conversion parameters specified in VMS.CFG -
  4039.         HeaderConversion (the default) and JustHeaderConversion (for queued
  4040.         messages).  The default also handles headers for AFS requests.
  4041.  
  4042.         These two files are quite different from the Header Conversion files
  4043.         used for mailing lists.  For normal mail server and AFS requests, the
  4044.         resulting messages are considered to have originated from the mail
  4045.         server.  Therefore, it is permissible to remove any and all headers
  4046.         from the original message.  This is vastly different from a mailing
  4047.         list, where almost all headers should remain intact.  For this reason,
  4048.         the two conversion files supplied have a very large number of 'STRIP'
  4049.         commands.  The idea is to remove every non-essential header.  Of
  4050.         particular importance are the commands to remove the 'Content-Type:'
  4051.         and other MIME-related headers, as the message being queued is not in
  4052.         MIME format.
  4053.  
  4054.  
  4055.  
  4056.  
  4057.  
  4058.  
  4059.  
  4060.  
  4061.  
  4062.  
  4063.  
  4064.  
  4065.  
  4066.  
  4067.  
  4068.  
  4069.  
  4070.  
  4071.         Copyright (c) 1993 Richard Vandenberg                                 57
  4072.  
  4073.  
  4074.  
  4075.  
  4076.         V-MailServer User Manual
  4077.         ──────────────────────────────────────────────────────────────────────
  4078.  
  4079.  
  4080.  
  4081.  
  4082.                                                                               
  4083.  
  4084.  
  4085.  
  4086.  
  4087.  
  4088.  
  4089.  
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.  
  4098.  
  4099.  
  4100.  
  4101.  
  4102.  
  4103.  
  4104.  
  4105.  
  4106.  
  4107.  
  4108.  
  4109.  
  4110.  
  4111.  
  4112.  
  4113.  
  4114.  
  4115.  
  4116.  
  4117.  
  4118.  
  4119.  
  4120.  
  4121.  
  4122.  
  4123.  
  4124.  
  4125.  
  4126.  
  4127.  
  4128.  
  4129.  
  4130.  
  4131.  
  4132.  
  4133.  
  4134.  
  4135.  
  4136.         Copyright (c) 1993 Richard Vandenberg                                 58
  4137.  
  4138.  
  4139.  
  4140.  
  4141.                                                  ─────────────────────────────
  4142.                                                      Configuring Mailing Lists
  4143.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  4144.  
  4145.  
  4146.         Mailing lists provide a mechanism to make group communication easier. 
  4147.         People with a common interest can join a mailing list dedicated to
  4148.         specific topics.  Members can subscribe and unsubscribe to the list at
  4149.         their option.  Any message sent to the mailing list address is
  4150.         automatically forwarded to all members on the list.
  4151.  
  4152.         Each mailing list has two files associated with it - a membership file
  4153.         that contains the mail addresses of all subscribers, and an option
  4154.         file that contains all the list options.  In addition, there is one
  4155.         master file that contains the name of each mailing list and the full
  4156.         filename of the files that contains the membership and option
  4157.         information.
  4158.  
  4159.  
  4160.  
  4161.          ┌───────────────────┐         ┌───────────────────┐
  4162.          │ Master mailing    ├───────┬─┤ Membership file   │
  4163.          │ list file         ├──┐    │ │                   │
  4164.          └───────────────────┘  │    │ └───────────────────┘
  4165.                                 │    │ ┌───────────────────┐
  4166.                                 │    └─┤ Option File       │
  4167.                                 │      │                   │
  4168.                                 │      └───────────────────┘
  4169.                                 │
  4170.                                 │
  4171.                                 └─────> Other mailing list files
  4172.                                                                   
  4173.  
  4174.  
  4175.  
  4176.  
  4177.  
  4178.         Master Mailing list file
  4179.  
  4180.         To set up a mailing list you must first create a master mailing list
  4181.         file.  The name of this file is defined by the MAILINGLISTS parameter
  4182.         in the VMS.CFG file.  This file is the master list of all mailing
  4183.         lists residing on your machine.  Following the name of each mailing
  4184.         list is the name of the file that contains the membership information. 
  4185.         Following that is the name of the option file.  There is sample master
  4186.         file called 'mailmast' this is supplied with V-MailServer.  You should
  4187.         modify this file to suit your needs.  The format of each line is:
  4188.  
  4189.         mailing-list-name Membership-File-Name Option-File-Name
  4190.  
  4191.         Example: (Note that the line does not wrap in the actual file)
  4192.  
  4193.         test-l   c:\uupc\vms\mail\test-l\test-l.mbr 
  4194.              c:\uupc\vms\mail\test-l\test-l.opt
  4195.  
  4196.  
  4197.  
  4198.  
  4199.  
  4200.  
  4201.         Copyright (c) 1993 Richard Vandenberg                                 59
  4202.  
  4203.  
  4204.  
  4205.  
  4206.         V-MailServer User Manual
  4207.         ──────────────────────────────────────────────────────────────────────
  4208.  
  4209.  
  4210.  
  4211.  
  4212.                                                                               
  4213.  
  4214.         Membership Files
  4215.  
  4216.         Membership information is maintained in a file, with one address per
  4217.         line.  In addition there are a few options in the general membership
  4218.         file.  The membership file is a simple ASCII file, with a single
  4219.         character flag followed by the address of the subscriber.  Following
  4220.         the address is a 200 character string of hexadecimal numbers, which
  4221.         are the index entries into the option file.
  4222.  
  4223.         eg - 
  4224.  
  4225.         TVMAIL-L V-MailServer Issues List
  4226.         Rvmail-l@vsystem.wimsey.bc.ca
  4227.         Ic:\user\vmail-l\vmail.int
  4228.         1rick@vsystem.wimsey.bc.ca
  4229.         0SomeOldID@some.other.site FFFFFFFF000001A8......
  4230.         1AnActiveName@abusy.site FFFFFFFF000001B9......
  4231.         2Somebody@else.UUCP FFFFFFFF000002A8......
  4232.  
  4233.  
  4234.         The flag values are as follows:
  4235.  
  4236.         0 - Old member that UNSUBSCRIBEd from the list
  4237.         1 - Active members, echo disabled
  4238.         2 - Active members, echo enabled
  4239.  
  4240.         There are also 'header' flags:
  4241.  
  4242.         T -  The title of the mailing list. Used in the 'Sender:' line, and as
  4243.              a title for the REVIEW command.
  4244.  
  4245.         R -  The full 'Reply-To:' address for the mailing list. If this line
  4246.              is defined, the given address is used in the Reply-To: field.
  4247.              Otherwise the address the original message was sent to is used.
  4248.  
  4249.         I -  The name of the introduction file to send when people subscribe
  4250.              to the list.  This file is very useful for providing an initial
  4251.              orientation to new subscribers.  Suggestions for content include
  4252.              what the list is about, where to send submissions, and how to
  4253.              signoff the list.  An example introduction file is supplied with
  4254.              V-MailServer.  You may have any number of introduction files.  To
  4255.              use more than one, simply use multiple 'I' lines.
  4256.  
  4257.         M -  The address of the moderator.  All incoming mail will be sent to
  4258.              the moderator.  Only mail addressed from the moderator will be
  4259.              forwarded to the members.
  4260.  
  4261.  
  4262.  
  4263.  
  4264.  
  4265.  
  4266.         Copyright (c) 1993 Richard Vandenberg                                 60
  4267.  
  4268.  
  4269.  
  4270.  
  4271.                                                      Configuring Mailing Lists
  4272.         ──────────────────────────────────────────────────────────────────────
  4273.  
  4274.  
  4275.  
  4276.  
  4277.                                                                               
  4278.  
  4279.         O -  Address of the owner of the list.  The owner will receive
  4280.              messages regarding new subscriptions, sign-offs, and other
  4281.              information.  If 'Authorized-Subscription' is enabled, the owner
  4282.              will receive the request.  See below for more details.
  4283.  
  4284.         Note:          The 'R' and 'T' options above are overridden by
  4285.                        functions in the Option files and/or header control
  4286.                        files.
  4287.  
  4288.  
  4289.         Option files
  4290.  
  4291.         Each mailing list has an option file.  This file is used to hold all
  4292.         the list options and any options set by or for a user's address.
  4293.  
  4294.         Each line of the option file consists of a one character flag, the
  4295.         user's address, the name of the option and the option value.  Each
  4296.         field is delimited by a space or tab, with the exception of the flag,
  4297.         which is proceeded immediately by the user's address.  Two special
  4298.         addresses are used for options pertaining to the list as a whole -
  4299.         LIST and FILES.
  4300.  
  4301.         The flag field is used to determine whether the option applies
  4302.         globally or if it's a user option, or if the record is marked as
  4303.         deleted.
  4304.  
  4305.  
  4306.         Flag Values
  4307.  
  4308.              'G' -     Global list options
  4309.              'X' -     User list options
  4310.              'Z' -     Deleted record.  The space will be re-used if possible.
  4311.  
  4312.  
  4313.         Global Options
  4314.  
  4315.         Global options always use 'G' for the flag, and either "LIST" or
  4316.         "FILES" for the address.  For example:
  4317.  
  4318.         GLIST Reply-to: V-MailServer Issues List 
  4319.  
  4320.         All options use the address "LIST", except for the "ROOT-" and
  4321.         "Valid-Path-" options, which use "FILES".
  4322.  
  4323.         Any global option may be set using the 'LISTOPTION' mail server
  4324.         command, described in the File Server section, under Administrative
  4325.         Commands.
  4326.  
  4327.  
  4328.  
  4329.  
  4330.  
  4331.         Copyright (c) 1993 Richard Vandenberg                                 61
  4332.  
  4333.  
  4334.  
  4335.  
  4336.         V-MailServer User Manual
  4337.         ──────────────────────────────────────────────────────────────────────
  4338.  
  4339.  
  4340.  
  4341.  
  4342.                                                                               
  4343.  
  4344.         The explanation of each option follows:
  4345.  
  4346.         Authorized-Subscription       Authorized subscription relays a
  4347.                                       subscription request to the mail owner,
  4348.                                       along with instructions on what commands
  4349.                                       to send to the server to subscribe
  4350.                                       someone to the mailing list.  The
  4351.                                       requester also gets a message sent back
  4352.                                       informing him that his request has been
  4353.                                       forwarded to the list owner.  Valid
  4354.                                       values are YES and NO.
  4355.  
  4356.         Command                       Allows you to specify a script to
  4357.                                       execute after queuing the outgoing
  4358.                                       messages.  Perhaps you want to send a
  4359.                                       message to submitters that says "Your
  4360.                                       message has been distributed to TEST-L". 
  4361.                                       You can do this with an ACL script.
  4362.  
  4363.         Echomail                      This may be set to YES or NO, to set the
  4364.                                       default ECHOMAIL mode for new
  4365.                                       subscribers.
  4366.  
  4367.         Grade                         Allows you to set the UUCP grade for
  4368.                                       this list.  This would let you
  4369.                                       prioritize different mailing lists. 
  4370.                                       Your mail delivery program must be
  4371.                                       capable of grading requests for this
  4372.                                       option to work.  Specify a single letter
  4373.                                       with this option.
  4374.  
  4375.         HeaderConversion              This option specifies the Header
  4376.                                       Conversion file to use for outgoing
  4377.                                       messages from this list.
  4378.  
  4379.         Index                         The full path of the index file defined
  4380.                                       for the list.  This file is sent in
  4381.                                       response to the command "INDEX list".
  4382.  
  4383.  
  4384.         Non-Member-Posting            Allows you to set whether or not a
  4385.                                       submitter must be joined to the list
  4386.                                       before posting to it.  This option is
  4387.                                       set to either YES or NO.
  4388.  
  4389.         Reject-Command-File           Allows you to specify a script to
  4390.                                       execute if the message is rejected
  4391.                                       because Non-Member-Posting is set OFF. 
  4392.  
  4393.  
  4394.  
  4395.  
  4396.         Copyright (c) 1993 Richard Vandenberg                                 62
  4397.  
  4398.  
  4399.  
  4400.  
  4401.                                                      Configuring Mailing Lists
  4402.         ──────────────────────────────────────────────────────────────────────
  4403.  
  4404.  
  4405.  
  4406.  
  4407.                                                                               
  4408.  
  4409.                                       You can send instructions on how to join
  4410.                                       the mailing list with this.
  4411.  
  4412.         Reply-To:                     The Reply-To: option is used to set the
  4413.                                       Reply-To: header in the outgoing
  4414.                                       messages.
  4415.  
  4416.         Restricted-Posting            Disables the ability to post to the list
  4417.                                       except for those members who have the
  4418.                                       POST option set to YES.  See the User
  4419.                                       Options section for details on the POST
  4420.                                       option.  Valid values are YES and NO.
  4421.  
  4422.         Restricted-Reject-File        Specifies a file to send to the user if
  4423.                                       posting is disabled for that user.
  4424.  
  4425.         Restricted-Reject-Subject     Sets the subject for the message sent
  4426.                                       with the Restricted-Reject-File.
  4427.  
  4428.         Review ON|OFF                 Enables and disables the REVIEW command
  4429.                                       for the mailing list.  The default is
  4430.                                       'ON', if the entry does not exist.  The
  4431.                                       mailing list owner can always use this
  4432.                                       command, regardless of this setting.
  4433.  
  4434.         ROOT-x                        The ROOT- option specifies the initial
  4435.                                       directory for file access.  The file
  4436.                                       areas specified using this option and
  4437.                                       "Valid-Path-" are used to provide file
  4438.                                       access based on being a member of a
  4439.                                       mailing list.  The 'x' in the option
  4440.                                       represents an integer used to
  4441.                                       differentiate multiple "ROOT-" options.
  4442.                                       eg.-
  4443.                                            GFILES ROOT-1 C:\PUBLIC
  4444.                                            GFILES ROOT-2 D:\USR\SPOOL
  4445.  
  4446.                                       Note:     Numeric extensions must be
  4447.                                                 contiguous; that is, they must
  4448.                                                 begin at 1, and there may be
  4449.                                                 none missing.  They may be
  4450.                                                 listed in any order, however.
  4451.  
  4452.         Sender:                       The Sender: option sets the Sender:
  4453.                                       header to the specified value.
  4454.  
  4455.  
  4456.  
  4457.  
  4458.  
  4459.  
  4460.  
  4461.         Copyright (c) 1993 Richard Vandenberg                                 63
  4462.  
  4463.  
  4464.  
  4465.  
  4466.         V-MailServer User Manual
  4467.         ──────────────────────────────────────────────────────────────────────
  4468.  
  4469.  
  4470.  
  4471.  
  4472.                                                                               
  4473.  
  4474.         Valid-Path-x                  The list of legal paths for file access. 
  4475.                                       The 'x' in the option represents an
  4476.                                       integer used to differentiate multiple
  4477.                                       "Valid-Path-" options.
  4478.                                       eg.- GFILES Valid-Path-1 C:\PUBLIC\FTP
  4479.                                            GFILES Valid-Path-2 C:\PUBLIC\PC
  4480.                                            GFILES Valid-Path-3 C:\USR\SPOOL\Z
  4481.  
  4482.                                       Note:     Numeric extensions must be
  4483.                                                 contiguous; that is, they must
  4484.                                                 begin at 1, and there may be
  4485.                                                 none missing.  They may be
  4486.                                                 listed in any order, however.
  4487.  
  4488.         User Options
  4489.  
  4490.         A number of user options have been defined for use in the option
  4491.         files.  All user options use the flag 'X'.
  4492.  
  4493.  
  4494.         Address SINGLE|MULTI          Informs V-MailServer that mail to this
  4495.                                       address by be sent singly.  This only
  4496.                                       takes effect when Multiple addressing is
  4497.                                       enabled for the list.  It is used to
  4498.                                       eliminate problems with sending mail
  4499.                                       with multiple address to sites that
  4500.                                       cannot handle mail in that fashion. 
  4501.                                       This entry is set by the OPTION mail
  4502.                                       server command.
  4503.  
  4504.         Alias new-address             If a user needs mail sent to a different
  4505.                                       address from the one subscribed with,
  4506.                                       this option will tell V-MailServer the
  4507.                                       new address to address the message to. 
  4508.                                       It is set with the OPTION mail server
  4509.                                       command.
  4510.  
  4511.         Name user's-real-name         The user's real name.  It is added when
  4512.                                       subscribing to a mailing list, or by
  4513.                                       using the OPTION mail server command. 
  4514.                                       The value of this entry is displayed in
  4515.                                       the REVIEW listing.
  4516.  
  4517.         Post YES|NO                   To specifically allow or disallow
  4518.                                       posting to a mailing list by a user.  If
  4519.                                       the global option 'Restricted-Posting'
  4520.                                       is set to 'YES', members must have this
  4521.                                       entry set to 'YES' to post.  In other
  4522.                                       cases, set it to 'NO' to disable posting
  4523.  
  4524.  
  4525.  
  4526.         Copyright (c) 1993 Richard Vandenberg                                 64
  4527.  
  4528.  
  4529.  
  4530.  
  4531.                                                      Configuring Mailing Lists
  4532.         ──────────────────────────────────────────────────────────────────────
  4533.  
  4534.  
  4535.  
  4536.  
  4537.                                                                               
  4538.  
  4539.                                       for that user.  It is set with the
  4540.                                       OPTION mail server command, but may only
  4541.                                       be used by the mailing list owner.
  4542.  
  4543.         Reply ON|OFF                  Enables and disables the inclusion of
  4544.                                       the Reply-To: header in the messages
  4545.                                       sent to the user.  Normally, Reply-To:
  4546.                                       points back to the mailing list.  In
  4547.                                       some cases, however, users may wish to
  4548.                                       reply back to the poster of the message. 
  4549.                                       This entry is set by the OPTION command. 
  4550.                                       Be aware, of course, that if you force a
  4551.                                       Reply-To: header with a Header Control
  4552.                                       command, this entry will have no effect.
  4553.  
  4554.         Review ON|OFF                 Enables and disables the display of the
  4555.                                       user's address and name in the REVIEW
  4556.                                       command.  The default it 'OFF', if the
  4557.                                       entry does not exist.  It is set with
  4558.                                       the OPTION mail server command.
  4559.  
  4560.         Subdate yyyymmdd              This is simply an informational entry
  4561.                                       that contains the user's subscription
  4562.                                       date.
  4563.  
  4564.  
  4565.         Making manual changes
  4566.  
  4567.         Because the mailing list files are in text format, it is possible to
  4568.         make manual changes to the files.  However, if you do, you must
  4569.         reindex the mailing list.  A User-Defined Command - 'REINDEX-LIST' is
  4570.         provided to make this easy.
  4571.  
  4572.  
  4573.         Header Conversions
  4574.  
  4575.         There are two Header Conversion parameters specified in VMS.CFG -
  4576.         HeaderConversion (the default) and JustHeaderConversion (for queued
  4577.         messages).  The default also handles headers for AFS requests.
  4578.  
  4579.         These two files are quite different from the Header Conversion files
  4580.         used for mailing lists.  For normal mail server and AFS requests, the
  4581.         resulting messages are considered to have originated from the mail
  4582.         server.  Therefore, it is permissible to remove any and all headers
  4583.         from the original message.  This is vastly different from a mailing
  4584.         list, where almost all headers should remain intact.  For this reason,
  4585.         each mailing list may be set to use its own Header Conversion file.
  4586.  
  4587.  
  4588.  
  4589.  
  4590.  
  4591.         Copyright (c) 1993 Richard Vandenberg                                 65
  4592.  
  4593.  
  4594.  
  4595.  
  4596.         V-MailServer User Manual
  4597.         ──────────────────────────────────────────────────────────────────────
  4598.  
  4599.  
  4600.  
  4601.  
  4602.                                                                               
  4603.  
  4604.         In particular, MIME and Content-* headers should never be removed from
  4605.         the message.  In addition, the Received: headers should not be removed
  4606.         either.  
  4607.  
  4608.  
  4609.         Mailing List Owner Messages
  4610.  
  4611.         The mailing list owner will receive a number of messages that relate
  4612.         to the operation of the mailing list.  These messages are generally
  4613.         informational only - subscription and signoff requests. Some may
  4614.         require intervention of the mailing list owner - when a signoff fails,
  4615.         for instance, or when Authorized-Subscription is enabled for the
  4616.         mailing list.
  4617.  
  4618.         The various messages are detailed below.
  4619.  
  4620.         Subscription requests
  4621.  
  4622.              Subscription request for list SOME-LIST
  4623.              for SOME-ADDRESS.
  4624.              Requested by ORIGINAL-FROM-ADDRESS.
  4625.  
  4626.         This message tell the mailing list administrator that someone has used
  4627.         the SUBSCRIBE (or equivalent) command to join a mailing list.  The
  4628.         list "Requested by ORIGINAL-FROM-ADDRESS" is only added if the address
  4629.         added to the list is not the same as the From: address in the header. 
  4630.         This could happen if someone uses the FOR command to subscribe a new
  4631.         user.  
  4632.  
  4633.         Example:
  4634.  
  4635.              Some headers
  4636.                   .
  4637.                   .
  4638.                   .
  4639.              From: jim@xyz.com
  4640.  
  4641.              FOR User@some.other.site.com
  4642.              SUBSCRIBE test-l
  4643.  
  4644.  
  4645.         This request will generate this message to the mailing list owner:
  4646.  
  4647.              Subscription request for list test-l
  4648.              for User@some.other.site.com.
  4649.              Requested by jim@xyz.com.
  4650.  
  4651.  
  4652.  
  4653.  
  4654.  
  4655.  
  4656.         Copyright (c) 1993 Richard Vandenberg                                 66
  4657.  
  4658.  
  4659.  
  4660.  
  4661.                                                      Configuring Mailing Lists
  4662.         ──────────────────────────────────────────────────────────────────────
  4663.  
  4664.  
  4665.  
  4666.  
  4667.                                                                               
  4668.  
  4669.         Authorized-Subscription Requests
  4670.  
  4671.         When the mailing list option 'Authorized-Subscription' is set to
  4672.         'YES', the following text is append to the mailing list owner's
  4673.         Subscription message:
  4674.  
  4675.  
  4676.              Send a message to the mail server with the following
  4677.              commands:
  4678.  
  4679.              FOR SOME-ADDRESS
  4680.              SUBSCRIBE SOME-LIST
  4681.  
  4682.         The following text is added to the session transcript for
  4683.         Authorized-Subscription requests:
  4684.  
  4685.              Your request for a subscription to the SOME-LIST
  4686.              mailing list has been sent to the list administrator -
  4687.              LIST-OWNER - for approval.
  4688.  
  4689.  
  4690.         Signoff Requests
  4691.  
  4692.         Signoff requests are sent to the mailing list owner whenever someone
  4693.         attempts to signoff from a list.  They are formatted much like the
  4694.         subscription requests:
  4695.  
  4696.              SIGNOFF request for list SOME-LIST
  4697.              for SOME-ADDRESS.
  4698.              Requested by ORIGINAL-FROM-ADDRESS.
  4699.  
  4700.         One additional line - "NOT Successful!" - is appended in the case
  4701.         where V-MailServer cannot find the requester's address in the
  4702.         associated membership file.  This can happen if the user changes
  4703.         addresses, or if the headers are modified during message delivery.  In
  4704.         this case, manual intervention is necessary.
  4705.  
  4706.  
  4707.  
  4708.  
  4709.  
  4710.  
  4711.  
  4712.  
  4713.  
  4714.  
  4715.  
  4716.  
  4717.  
  4718.  
  4719.  
  4720.  
  4721.         Copyright (c) 1993 Richard Vandenberg                                 67
  4722.  
  4723.  
  4724.  
  4725.  
  4726.         V-MailServer User Manual
  4727.         ──────────────────────────────────────────────────────────────────────
  4728.  
  4729.  
  4730.  
  4731.  
  4732.                                                                               
  4733.  
  4734.         Mailing List Administration
  4735.  
  4736.         Mailing list administration is not a very difficult task, but may be
  4737.         time-consuming for some large lists.  The most important issue for any
  4738.         "secure" list is to ensure that a password is used with the mail
  4739.         owner's address.  This is handled with the "PW ADD some-password" mail
  4740.         server command.  This will prevent someone for using the LISTOPTION
  4741.         and other secure commands, even if they forge the list owner's
  4742.         address.
  4743.  
  4744.         Another issue is one in which an ALIAS has been set for a list
  4745.         address.  This does not change the address needed to signoff a mailing
  4746.         list, only the address to which mail is sent.  You will need to be
  4747.         aware of both of addresses if a signoff request fails.
  4748.  
  4749.         The REVIEW command always works for the mailing list owner, even if
  4750.         the Global Option "REVIEW" is set "OFF".
  4751.  
  4752.         Other administration issues are discussed in RFC 1211 - "Problems with
  4753.         the Maintenance of Large Lists", by A. Westine and J. Postel. 
  4754.         RFC 1211 is available by ftp, from nic.ddn.mil, or by mail server
  4755.         request from the V-MailServer support system.  See the SUPPORT.DOC for
  4756.         instructions on how to access our mail server. 
  4757.  
  4758.  
  4759.         Off-Site Mailing List Administration
  4760.  
  4761.         In some cases, the mailing list administrator may be located at a
  4762.         different site from where V-MailServer is being used.  For these
  4763.         situations, the following commands are very useful - FOR, LISTOPTION,
  4764.         OPTION, PASSWORD, REVIEW, SIGNOFF, SUBSCRIBE.  See the File Server
  4765.         Commands section for more details.  Of course, they can be used on-
  4766.         site also, but sometimes it's easier to use a text editor on the files
  4767.         when the list is administered locally.
  4768.  
  4769.  
  4770.  
  4771.  
  4772.  
  4773.  
  4774.  
  4775.  
  4776.  
  4777.  
  4778.  
  4779.  
  4780.  
  4781.  
  4782.  
  4783.  
  4784.  
  4785.  
  4786.         Copyright (c) 1993 Richard Vandenberg                                 68
  4787.  
  4788.  
  4789.  
  4790.  
  4791.                                                  ─────────────────────────────
  4792.                                    Configuring Automatic File Sending Services
  4793.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  4794.  
  4795.  
  4796.         For some purposes, it is desirable to create a address that
  4797.         automatically sends files in response to a message sent to it.  For
  4798.         example, sending a message to vmail-info-request@vsystem.wimsey.bc.ca
  4799.         will automatically retrieve a file containing a short blurb on
  4800.         V-MailServer.
  4801.  
  4802.         V-MailServer 2.2 enhances this functionality by allowing an ACL script
  4803.         to be executed in response to a message to an AFS address.
  4804.  
  4805.         AFS is implemented using a file that contains, one per line, an
  4806.         address followed by the name of the file to send.  Following the file
  4807.         name to send is another filename that specifies an ACL script to
  4808.         execute.  Each of these fields is optional, and if it is not used, it
  4809.         should be filled with an asterisk ('*').  One extra field follows
  4810.         these - the subject for the outgoing message.  The default is
  4811.         "Information Request".  Do not use an asterisk for this field.
  4812.  
  4813.         Each time a message is processed through V-MailServer, the master AFS
  4814.         file is checked to see if the mail is addressed to an AFS address.  If
  4815.         so, the corresponding file is queued, and/or the ACL script is
  4816.         executed.
  4817.  
  4818.         The master AFS file is defined by the configuration parameter AFSFILE,
  4819.         and is usually called 'AFSMAST'.
  4820.  
  4821.         Example AFSFILE:
  4822.  
  4823.         ; This file contains the list of AFS address to which V-MailServer
  4824.         ; will send the specified file and/or execute the specified script.
  4825.         ;
  4826.         ; Format:
  4827.         ;
  4828.         ; AFS-address  File-to-send  Command-file-to-execute  Subject
  4829.         ;
  4830.         ; If there is file to send, only an ACL file to execute, use an
  4831.         ; asterisk in the File-to-send field.
  4832.         ;
  4833.         ; Here's the sample ( note lines in the actual file do not wrap )
  4834.         ;
  4835.         sample-info-request  c:\vms\afs\sample c:\vms\afs\sample.acl
  4836.  
  4837.         ; Bad-server-address is one that automatically sends a message
  4838.         ; to often-used, incorrect mail server addresses.
  4839.         ;
  4840.         bad-server-address   c:\vms\afs\badserv c:\vms\afs\badserv.acl Invalid
  4841.              Address
  4842.  
  4843.         ; An example of an ACL-only address
  4844.         ;
  4845.         test-l-request * c:\vms\afs\testlreq.acl
  4846.  
  4847.  
  4848.  
  4849.  
  4850.  
  4851.         Copyright (c) 1993 Richard Vandenberg                                 69
  4852.  
  4853.  
  4854.  
  4855.  
  4856.         V-MailServer User Manual
  4857.         ──────────────────────────────────────────────────────────────────────
  4858.  
  4859.  
  4860.  
  4861.  
  4862.                                                                               
  4863.  
  4864.  
  4865.  
  4866.  
  4867.  
  4868.  
  4869.  
  4870.  
  4871.  
  4872.  
  4873.  
  4874.  
  4875.  
  4876.  
  4877.  
  4878.  
  4879.  
  4880.  
  4881.  
  4882.  
  4883.  
  4884.  
  4885.  
  4886.  
  4887.  
  4888.  
  4889.  
  4890.  
  4891.  
  4892.  
  4893.  
  4894.  
  4895.  
  4896.  
  4897.  
  4898.  
  4899.  
  4900.  
  4901.  
  4902.  
  4903.  
  4904.  
  4905.  
  4906.  
  4907.  
  4908.  
  4909.  
  4910.  
  4911.  
  4912.  
  4913.  
  4914.  
  4915.  
  4916.         Copyright (c) 1993 Richard Vandenberg                                 70
  4917.  
  4918.  
  4919.  
  4920.  
  4921.                                                  ─────────────────────────────
  4922.                                          Controlling Access with a Reject File
  4923.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  4924.  
  4925.  
  4926.         The reject file allows you to enable or disable access to the file
  4927.         server features, based on who is making the request.  For example, you
  4928.         may wish to disable access for people who cause trouble, all users at
  4929.         a particular site, or even an entire domain.  Or you may want to
  4930.         disable access for everyone, except those to whom you specifically
  4931.         give access.
  4932.  
  4933.         Setting up the reject file is simply a matter of entering any
  4934.         addresses you wish in enable or disable access for.  One word of
  4935.         caution, though - V-MailServer 2.2 does not do any address
  4936.         transformations.  For example, it treats "rick@vsystem.com" and
  4937.         "vsystem.com!Rick" as two separate addresses.
  4938.  
  4939.         V-MailServer 1.22 used a slightly different format for the reject
  4940.         file.  It was not possible to specifically allow access to users; the
  4941.         reject file was used only for disabling access.  V-MailServer 2.2 will
  4942.         use an existing reject file, but in "reject-only" mode.  To use it to
  4943.         it's fullest potential, you must tell V-MailServer to use the new
  4944.         format.  To do this, make sure there is a line that begins with
  4945.         "#!VMS200".  This informs V-MailServer that the entries following this
  4946.         line use the new format.
  4947.  
  4948.         The format of the reject file is given below, along with some examples
  4949.         of processing certain addresses.
  4950.  
  4951.         A semicolon (;) or number sign (#), in column one, is used to indicate
  4952.         a comment line.
  4953.  
  4954.         address                  -    old address format - reject addresses
  4955.                                       only
  4956.         address2
  4957.  
  4958.         #!VMS200                 -    Tag to declare remaining entries use the
  4959.                                       new format
  4960.  
  4961.         Aaddress                 -    "A" declares accept
  4962.         Raddress                 -    "R" declares reject
  4963.  
  4964.  
  4965.         Pattern matching occurs from right to left, and matches the
  4966.         right-most portion of an address.  The algorithm also makes a
  4967.         'best-fit' when matching; ie - it finds the longest address which
  4968.         matches the incoming address.  Then it rejects or accepts the message,
  4969.         depending on what mode is used.
  4970.  
  4971.  
  4972.  
  4973.  
  4974.  
  4975.  
  4976.  
  4977.  
  4978.  
  4979.  
  4980.  
  4981.         Copyright (c) 1993 Richard Vandenberg                                 71
  4982.  
  4983.  
  4984.  
  4985.  
  4986.         V-MailServer User Manual
  4987.         ──────────────────────────────────────────────────────────────────────
  4988.  
  4989.  
  4990.  
  4991.  
  4992.                                                                               
  4993.  
  4994.         Example:                 (Note that the old "reject-only" format is
  4995.                                  used until the line "#!VMS200")
  4996.  
  4997.         *                        -    reject everybody (!)
  4998.         jerk@some.site.com       -    rejects only this address
  4999.         @some.site.com           -    rejects everyone at this site
  5000.         .subdomain.com           -    reject entire subdomain, but not users
  5001.                                       @site.com
  5002.         site.com                 -    reject any address with site.com on the
  5003.                                       right
  5004.                                       NOTE !!!  This format is dangerous, in
  5005.                                       this messages from anysite.com will also
  5006.                                       be rejected. The match is done strictly
  5007.                                       on the number of characters in the
  5008.                                       entry, and doesn't check if the site
  5009.                                       name matches exactly.
  5010.  
  5011.         #!VMS200                 -    specify that the remaining entries are
  5012.                                       the new format
  5013.         A*                       -    Accept everyone
  5014.         Rjerk@some.site.com      -    reject the trouble-maker
  5015.  
  5016.  
  5017.  
  5018.         Another method, to allow only specific users to have access.
  5019.  
  5020.         #!VMS200
  5021.         R*                       -    reject everyone, for a start
  5022.         ARick@vsystem.com        -    allow Rick access
  5023.         AOwner@your.site.com     -    allow access to yourself
  5024.         A.edu                    -    allow access to entire .edu domain
  5025.         Rbad.site.edu            -    except this site
  5026.  
  5027.  
  5028.  
  5029.  
  5030.  
  5031.  
  5032.  
  5033.  
  5034.  
  5035.  
  5036.  
  5037.  
  5038.  
  5039.  
  5040.  
  5041.  
  5042.  
  5043.  
  5044.  
  5045.  
  5046.         Copyright (c) 1993 Richard Vandenberg                                 72
  5047.  
  5048.  
  5049.  
  5050.  
  5051.                                                  ─────────────────────────────
  5052.                                              Controlling Access with Passwords
  5053.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  5054.  
  5055.  
  5056.         One of the potential problems with an automated mail server is abuse. 
  5057.         While not very common, it is possible to forge a 'From:' address, and
  5058.         execute mail server commands on someone else's behalf.  Someone could,
  5059.         for instance, request files for a hundred other users, or forge the
  5060.         mail server owner's address and execute protected commands.
  5061.  
  5062.         To help combat that, users may define passwords.  When a password is
  5063.         defined, no commands may be executed unless the 'PASSWORD' command is
  5064.         given somewhere in the message.
  5065.  
  5066.         It is very important that the administrator define a password for
  5067.         him/herself, as should all mailing list owners.  The administrator has
  5068.         access to the 'LISTOPTION' command, and certain 'OPTION' subcommands
  5069.         that should not be accessed by the public.  Mailing list owners can
  5070.         always execute 'REVIEW' for their lists, even if the 'REVIEW' command
  5071.         is disabled for the list.
  5072.  
  5073.         The passwords are stored in a file defined in the configuration
  5074.         parameter 'PasswordFile'.  The default filename is 'PASSWORD.DAT'.
  5075.  
  5076.         The structure of the password file is:
  5077.  
  5078.         struct PASSWORDRECORD
  5079.         {
  5080.              char      id[80];
  5081.              time_t    datetime;
  5082.              char      password[20];
  5083.         };
  5084.  
  5085.  
  5086.  
  5087.  
  5088.  
  5089.  
  5090.  
  5091.  
  5092.  
  5093.  
  5094.  
  5095.  
  5096.  
  5097.  
  5098.  
  5099.  
  5100.  
  5101.  
  5102.  
  5103.  
  5104.  
  5105.  
  5106.  
  5107.  
  5108.  
  5109.  
  5110.  
  5111.         Copyright (c) 1993 Richard Vandenberg                                 73
  5112.  
  5113.  
  5114.  
  5115.  
  5116.         V-MailServer User Manual
  5117.         ──────────────────────────────────────────────────────────────────────
  5118.  
  5119.  
  5120.  
  5121.  
  5122.                                                                               
  5123.  
  5124.  
  5125.  
  5126.  
  5127.  
  5128.  
  5129.  
  5130.  
  5131.  
  5132.  
  5133.  
  5134.  
  5135.  
  5136.  
  5137.  
  5138.  
  5139.  
  5140.  
  5141.  
  5142.  
  5143.  
  5144.  
  5145.  
  5146.  
  5147.  
  5148.  
  5149.  
  5150.  
  5151.  
  5152.  
  5153.  
  5154.  
  5155.  
  5156.  
  5157.  
  5158.  
  5159.  
  5160.  
  5161.  
  5162.  
  5163.  
  5164.  
  5165.  
  5166.  
  5167.  
  5168.  
  5169.  
  5170.  
  5171.  
  5172.  
  5173.  
  5174.  
  5175.  
  5176.         Copyright (c) 1993 Richard Vandenberg                                 74
  5177.  
  5178.  
  5179.  
  5180.  
  5181.                                                  ─────────────────────────────
  5182.                                                                      Kill File
  5183.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  5184.  
  5185.  
  5186.         The Kill file allows the administrator to disable processing for
  5187.         messages that meet criteria based on the existence or value of header
  5188.         lines.  Using the Kill file is instrumental in eliminating bounce
  5189.         loops in mailing lists.
  5190.  
  5191.         The format of the lines in the file is:
  5192.  
  5193.         Search-Type Header-Name Value
  5194.  
  5195.         SearchType may be either 'EXACT' or 'CONTAINS'.  The Header-Name is
  5196.         the name of the header.  Value is the string to search for.  If a
  5197.         value is not given, the message is killed if it contains the header,
  5198.         period.  Fields are separated by spaces or tabs.  Case is not
  5199.         significant for any of the fields.
  5200.  
  5201.         Examples:
  5202.  
  5203.         CONTAINS Comment:  Vacation Droid
  5204.         EXACT From: Mailer-Daemon@troublesome.site.com
  5205.  
  5206.  
  5207.         The Kill file is very useful in eliminating mail loops caused by other
  5208.         sites.  Some vacation daemons, in particular, cause a great deal of
  5209.         grief with mailing lists, as they don't create a typical bounce
  5210.         message.  Instead of responding back to the 'Sender:' address or the
  5211.         envelope, they respond to the 'Reply-To:' address, which may be the
  5212.         mailing list.
  5213.  
  5214.         When a message is killed, no response is sent back to the originator.
  5215.         However, the entire message is written to the log file.
  5216.  
  5217.  
  5218.  
  5219.  
  5220.  
  5221.  
  5222.  
  5223.  
  5224.  
  5225.  
  5226.  
  5227.  
  5228.  
  5229.  
  5230.  
  5231.  
  5232.  
  5233.  
  5234.  
  5235.  
  5236.  
  5237.  
  5238.  
  5239.  
  5240.  
  5241.         Copyright (c) 1993 Richard Vandenberg                                 75
  5242.  
  5243.  
  5244.  
  5245.  
  5246.         V-MailServer User Manual
  5247.         ──────────────────────────────────────────────────────────────────────
  5248.  
  5249.  
  5250.  
  5251.  
  5252.                                                                               
  5253.  
  5254.  
  5255.  
  5256.  
  5257.  
  5258.  
  5259.  
  5260.  
  5261.  
  5262.  
  5263.  
  5264.  
  5265.  
  5266.  
  5267.  
  5268.  
  5269.  
  5270.  
  5271.  
  5272.  
  5273.  
  5274.  
  5275.  
  5276.  
  5277.  
  5278.  
  5279.  
  5280.  
  5281.  
  5282.  
  5283.  
  5284.  
  5285.  
  5286.  
  5287.  
  5288.  
  5289.  
  5290.  
  5291.  
  5292.  
  5293.  
  5294.  
  5295.  
  5296.  
  5297.  
  5298.  
  5299.  
  5300.  
  5301.  
  5302.  
  5303.  
  5304.  
  5305.  
  5306.         Copyright (c) 1993 Richard Vandenberg                                 76
  5307.  
  5308.  
  5309.  
  5310.  
  5311.                                                  ─────────────────────────────
  5312.                                                             Traffic Monitoring
  5313.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  5314.  
  5315.  
  5316.         The Traffic Control file maintains a record of all outgoing
  5317.         V-MailServer messages.  All file and AFS requests or logged, as well
  5318.         as all mailing list activity.  The traffic file is used for two
  5319.         purposes - rate limiting, and for generating statistics. 
  5320.  
  5321.         For rate limiting, the traffic file is scanned before a message is
  5322.         processed, and any applicable traffic control entries are totalled to
  5323.         determine if the request should be accepted or not.
  5324.  
  5325.         For generating statistics, the 'VINFO' program is supplied.  See the
  5326.         section on 'VINFO', page 90, for more details.
  5327.  
  5328.         Two utility programs are supplied to remove old traffic records and
  5329.         create a comma-delimited format file of the traffic information.  The
  5330.         two programs (KILLTRAF and TRAF2CDF) are documented in the 'Additional
  5331.         Programs' section, Page 87.
  5332.  
  5333.  
  5334.  
  5335.  
  5336.  
  5337.  
  5338.  
  5339.  
  5340.  
  5341.  
  5342.  
  5343.  
  5344.  
  5345.  
  5346.  
  5347.  
  5348.  
  5349.  
  5350.  
  5351.  
  5352.  
  5353.  
  5354.  
  5355.  
  5356.  
  5357.  
  5358.  
  5359.  
  5360.  
  5361.  
  5362.  
  5363.  
  5364.  
  5365.  
  5366.  
  5367.  
  5368.  
  5369.  
  5370.  
  5371.         Copyright (c) 1993 Richard Vandenberg                                 77
  5372.  
  5373.  
  5374.  
  5375.  
  5376.         V-MailServer User Manual
  5377.         ──────────────────────────────────────────────────────────────────────
  5378.  
  5379.  
  5380.  
  5381.  
  5382.                                                                               
  5383.  
  5384.  
  5385.  
  5386.  
  5387.  
  5388.  
  5389.  
  5390.  
  5391.  
  5392.  
  5393.  
  5394.  
  5395.  
  5396.  
  5397.  
  5398.  
  5399.  
  5400.  
  5401.  
  5402.  
  5403.  
  5404.  
  5405.  
  5406.  
  5407.  
  5408.  
  5409.  
  5410.  
  5411.  
  5412.  
  5413.  
  5414.  
  5415.  
  5416.  
  5417.  
  5418.  
  5419.  
  5420.  
  5421.  
  5422.  
  5423.  
  5424.  
  5425.  
  5426.  
  5427.  
  5428.  
  5429.  
  5430.  
  5431.  
  5432.  
  5433.  
  5434.  
  5435.  
  5436.         Copyright (c) 1993 Richard Vandenberg                                 78
  5437.  
  5438.  
  5439.  
  5440.  
  5441.                                                  ─────────────────────────────
  5442.                                                           Monitoring Operation
  5443.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  5444.  
  5445.  
  5446.         Monitoring operation is a very important part of administering a mail
  5447.         server.  Users will occasionally send incorrect commands, or perhaps
  5448.         try to get around the server security.  To aid you in this, all
  5449.         commands are logged to the VMSLOG file, including the address of the
  5450.         requester and the date and time of the request.
  5451.  
  5452.         You may also tell V-MailServer to copy the headers, body, or both to
  5453.         the log file.  Use the 'LogType' configuration parameter to do this. 
  5454.         See page 49 for details on the 'LogType' parameter.
  5455.  
  5456.  
  5457.  
  5458.  
  5459.  
  5460.  
  5461.  
  5462.  
  5463.  
  5464.  
  5465.  
  5466.  
  5467.  
  5468.  
  5469.  
  5470.  
  5471.  
  5472.  
  5473.  
  5474.  
  5475.  
  5476.  
  5477.  
  5478.  
  5479.  
  5480.  
  5481.  
  5482.  
  5483.  
  5484.  
  5485.  
  5486.  
  5487.  
  5488.  
  5489.  
  5490.  
  5491.  
  5492.  
  5493.  
  5494.  
  5495.  
  5496.  
  5497.  
  5498.  
  5499.  
  5500.  
  5501.         Copyright (c) 1993 Richard Vandenberg                                 79
  5502.  
  5503.  
  5504.  
  5505.  
  5506.         V-MailServer User Manual
  5507.         ──────────────────────────────────────────────────────────────────────
  5508.  
  5509.  
  5510.  
  5511.  
  5512.                                                                               
  5513.  
  5514.  
  5515.  
  5516.  
  5517.  
  5518.  
  5519.  
  5520.  
  5521.  
  5522.  
  5523.  
  5524.  
  5525.  
  5526.  
  5527.  
  5528.  
  5529.  
  5530.  
  5531.  
  5532.  
  5533.  
  5534.  
  5535.  
  5536.  
  5537.  
  5538.  
  5539.  
  5540.  
  5541.  
  5542.  
  5543.  
  5544.  
  5545.  
  5546.  
  5547.  
  5548.  
  5549.  
  5550.  
  5551.  
  5552.  
  5553.  
  5554.  
  5555.  
  5556.  
  5557.  
  5558.  
  5559.  
  5560.  
  5561.  
  5562.  
  5563.  
  5564.  
  5565.  
  5566.         Copyright (c) 1993 Richard Vandenberg                                 80
  5567.  
  5568.  
  5569.  
  5570.  
  5571.                                                  ─────────────────────────────
  5572.                                                           Command Line Options
  5573.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  5574.  
  5575.  
  5576.         V-MailServer has a number of command line options. They are listed
  5577.         below, along with the options for the utilities that are supplied with
  5578.         V-MailServer.
  5579.  
  5580.  
  5581.         VMAIL Options
  5582.  
  5583.         -c Configuration File
  5584.  
  5585.              Allows you to specify an alternative configuration file to that
  5586.              specified in the VMS environment variable.
  5587.  
  5588.  
  5589.         -d, -x level
  5590.  
  5591.              Debug mode.  -d turns on basic debugging, while -x allows you to
  5592.              enter a debugging level.  Debugging displays all kinds of useless
  5593.              information, and the level has little bearing on what information
  5594.              is display.  Try values between 1 and 20 and see what happens.
  5595.  
  5596.  
  5597.         -f FileName
  5598.  
  5599.              Use the supplied file instead of reading from the standard input.
  5600.  
  5601.  
  5602.         -t ToAddress
  5603.  
  5604.              Force V-MailServer to use the specified 'To:' address instead of
  5605.              the one in the header.
  5606.  
  5607.         -q
  5608.  
  5609.              Force V-MailServer to queue the message.  At one time, this
  5610.              allowed you to have the message queued for later processing, if
  5611.              you were running VMAIL.EXE from within a mail user agent (like
  5612.              Waffle, or UUPC's mail program).  This eliminated the waiting
  5613.              period while VMAIL processed large mailing lists.  The VMEXEC
  5614.              program included with this distribution is better suited for
  5615.              this.  If you don't use it, however, you should use the -q
  5616.              parameter when running VMAIL from the MUA.
  5617.  
  5618.  
  5619.  
  5620.  
  5621.  
  5622.  
  5623.  
  5624.  
  5625.  
  5626.  
  5627.  
  5628.  
  5629.  
  5630.  
  5631.         Copyright (c) 1993 Richard Vandenberg                                 81
  5632.  
  5633.  
  5634.  
  5635.  
  5636.         V-MailServer User Manual
  5637.         ──────────────────────────────────────────────────────────────────────
  5638.  
  5639.  
  5640.  
  5641.  
  5642.                                                                               
  5643.  
  5644.         VMAILX Options
  5645.  
  5646.         -c Configuration File
  5647.  
  5648.              Allows you to specify an alternative configuration file to that
  5649.              specified in the VMS environment variable.
  5650.  
  5651.         -d
  5652.  
  5653.              Debug mode.
  5654.  
  5655.         -s FileSpec
  5656.  
  5657.              Process only those queued requests that match the given file
  5658.              specification.  You must use '.X' as the extension. For example,
  5659.  
  5660.                    VMAILX -s VS*.X
  5661.  
  5662.              will process all the status messages that are queued.
  5663.  
  5664.         -l limit
  5665.  
  5666.              Only process requests up to the specified limit. The total number
  5667.              of bytes processed is held in the QueueLimitFile. VMAILX will
  5668.              defer processing any queued files that would cause the limit to
  5669.              be exceeded.
  5670.  
  5671.              You must periodically use the -r option to erase the
  5672.              QueueLimitFile, or manually delete it.
  5673.  
  5674.              Using the limit option may cause the files to be sent in the
  5675.              wrong order, because any that are too large are bypassed, and
  5676.              smaller ones sent.
  5677.  
  5678.              VMAILX will not process any requests larger than the limit
  5679.              specified. If you need to flush the queue, either specify an
  5680.              abnormally large limit, or do not use the limit function one time
  5681.              to process all queue requests.
  5682.  
  5683.         -n
  5684.  
  5685.              Don't check the amount of free disk space before processing each
  5686.              request.  If you have lots of free space, use this option to
  5687.              speed up processing
  5688.         -r
  5689.  
  5690.              Reset (erase) the QueueLimitFile before processing the queued
  5691.              items.
  5692.  
  5693.  
  5694.  
  5695.  
  5696.         Copyright (c) 1993 Richard Vandenberg                                 82
  5697.  
  5698.  
  5699.  
  5700.  
  5701.                                                           Command Line Options
  5702.         ──────────────────────────────────────────────────────────────────────
  5703.  
  5704.  
  5705.  
  5706.  
  5707.                                                                               
  5708.  
  5709.         A few examples:
  5710.  
  5711.         VMAILX 
  5712.  
  5713.              will process all the queued requests ( flush the queue ).
  5714.  
  5715.  
  5716.         VMAILX -r
  5717.  
  5718.              Flush the queue, and reset the QueueLimitFile
  5719.  
  5720.  
  5721.         VMAILX -l 600000
  5722.  
  5723.              Process a maximum of 600000 bytes of queued requests
  5724.  
  5725.  
  5726.         VMAILX -l 600000 -r
  5727.  
  5728.              Process a maximum of 600000 bytes of queued requests, but reset
  5729.              the QueueLimitFile before starting.
  5730.  
  5731.  
  5732.         VMAILX -s VS*.X
  5733.  
  5734.              Process only the status messages.
  5735.  
  5736.  
  5737.  
  5738.  
  5739.  
  5740.  
  5741.  
  5742.  
  5743.  
  5744.  
  5745.  
  5746.  
  5747.  
  5748.  
  5749.  
  5750.  
  5751.  
  5752.  
  5753.  
  5754.  
  5755.  
  5756.  
  5757.  
  5758.  
  5759.  
  5760.  
  5761.         Copyright (c) 1993 Richard Vandenberg                                 83
  5762.  
  5763.  
  5764.  
  5765.  
  5766.         V-MailServer User Manual
  5767.         ──────────────────────────────────────────────────────────────────────
  5768.  
  5769.  
  5770.  
  5771.  
  5772.                                                                               
  5773.  
  5774.  
  5775.  
  5776.  
  5777.  
  5778.  
  5779.  
  5780.  
  5781.  
  5782.  
  5783.  
  5784.  
  5785.  
  5786.  
  5787.  
  5788.  
  5789.  
  5790.  
  5791.  
  5792.  
  5793.  
  5794.  
  5795.  
  5796.  
  5797.  
  5798.  
  5799.  
  5800.  
  5801.  
  5802.  
  5803.  
  5804.  
  5805.  
  5806.  
  5807.  
  5808.  
  5809.  
  5810.  
  5811.  
  5812.  
  5813.  
  5814.  
  5815.  
  5816.  
  5817.  
  5818.  
  5819.  
  5820.  
  5821.  
  5822.  
  5823.  
  5824.  
  5825.  
  5826.         Copyright (c) 1993 Richard Vandenberg                                 84
  5827.  
  5828.  
  5829.  
  5830.  
  5831.                                                  ─────────────────────────────
  5832.                                                       Private User Directories
  5833.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  5834.  
  5835.  
  5836.         UserDir File and UserSecurity File
  5837.  
  5838.         Before any user may have access to the private mailing list features,
  5839.         a user directory must be set up. Two files are used to control user
  5840.         access to other directories - the UserDir file and the UserSecurity
  5841.         file. These two files are used for the same purposes as the SearchTree
  5842.         and ValidPaths files.  In the UserDir file, you specify the user's
  5843.         'home' directory.  In the UserSecurityFile you specify the legal paths
  5844.         that a user may access.  You may give partial domain names in both of
  5845.         these files.
  5846.  
  5847.  
  5848.         Private Mailing List Files
  5849.  
  5850.  
  5851.         Private mailing lists are set up at the discretion of the system
  5852.         administrator.  Files and mailing lists may be manipulated in user
  5853.         directories assigned to specific users. This type of functionality is
  5854.         useful for providing information or files to a private group of
  5855.         people. 
  5856.  
  5857.         A brief summary of these commands:
  5858.  
  5859.              PUT         - send a file to a user directory
  5860.              CREATELIST  - create a mailing list file
  5861.              RESENDLIST  - resend a file using a mailing list
  5862.              FILES       - retrieve the list of files in a user directory
  5863.              KILL        - erase a file in a user directory
  5864.  
  5865.         Note:     This functionality will most likely be removed in future
  5866.                   versions.  It may or may not be replaced.  Please remember
  5867.                   this if you are planning to use it.
  5868.  
  5869.  
  5870.  
  5871.  
  5872.  
  5873.  
  5874.  
  5875.  
  5876.  
  5877.  
  5878.  
  5879.  
  5880.  
  5881.  
  5882.  
  5883.  
  5884.  
  5885.  
  5886.  
  5887.  
  5888.  
  5889.  
  5890.  
  5891.         Copyright (c) 1993 Richard Vandenberg                                 85
  5892.  
  5893.  
  5894.  
  5895.  
  5896.         V-MailServer User Manual
  5897.         ──────────────────────────────────────────────────────────────────────
  5898.  
  5899.  
  5900.  
  5901.  
  5902.                                                                               
  5903.  
  5904.  
  5905.  
  5906.  
  5907.  
  5908.  
  5909.  
  5910.  
  5911.  
  5912.  
  5913.  
  5914.  
  5915.  
  5916.  
  5917.  
  5918.  
  5919.  
  5920.  
  5921.  
  5922.  
  5923.  
  5924.  
  5925.  
  5926.  
  5927.  
  5928.  
  5929.  
  5930.  
  5931.  
  5932.  
  5933.  
  5934.  
  5935.  
  5936.  
  5937.  
  5938.  
  5939.  
  5940.  
  5941.  
  5942.  
  5943.  
  5944.  
  5945.  
  5946.  
  5947.  
  5948.  
  5949.  
  5950.  
  5951.  
  5952.  
  5953.  
  5954.  
  5955.  
  5956.         Copyright (c) 1993 Richard Vandenberg                                 86
  5957.  
  5958.  
  5959.  
  5960.  
  5961.                                                  ─────────────────────────────
  5962.                                                            Additional Programs
  5963.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  5964.  
  5965.  
  5966.         DIGEST
  5967.  
  5968.         The digest program is provided to allow you to create a mailing list
  5969.         digest.  Digest takes a Unix-, Waffle-, or UUPC-style mailbox file and
  5970.         creates a digest file, which may then be mailed. 
  5971.  
  5972.         Command Line format:
  5973.  
  5974.         DIGEST [-p parameter file] [-v] [-n] [-i IncludeFile] [input] [output]
  5975.         [-t 0|1|2]
  5976.  
  5977.  
  5978.         All parameters are optional.  The default parameter file is
  5979.         DIGEST.INF, in the current directory.  The default input file is
  5980.         DIGEST.IN, in the same directory as the parameter file.  The default
  5981.         output file is DIGEST.OUT, in the same directory as the parameter
  5982.         file.
  5983.  
  5984.         If the file DIGEST.PRE exists in the same directory as the parameter
  5985.         file, it will be included in the digest, between the list of Today's
  5986.         Topics and the top of the digest.  This file is used to hold pertinent
  5987.         information, like how to obtain files from the mail server.  This file
  5988.         may also be explicitly specified using the '-i' parameter.
  5989.  
  5990.         The parameter file will be renamed with a .BAK extension, and an
  5991.         updated version will replace it after each run.
  5992.  
  5993.         The '-v' parameter will change the output filename to Volume.Issue
  5994.         format. The file will be created in the same directory as the original
  5995.         output file.  If you use this option, and also specify an output path,
  5996.         make sure that the path either ends with a backslash (\), or something
  5997.         resembling a filename (eg *).  DIGEST will strip of the file name
  5998.         portion of the path, and replace it with the Volume.Issue filename. 
  5999.         If the output path ends with a subdirectory name, it will be stripped
  6000.         instead, and the output file will end up in the wrong directory.
  6001.  
  6002.         The '-n' parameter disables the headers in the output file.
  6003.  
  6004.         The '-t' option allows you to modify how DIGEST detects the beginning
  6005.         of a new message.  Using '-t0' (the default), DIGEST will split
  6006.         messages when it finds either a series of Control-As or the string
  6007.         "From " at the beginning of a line.  '-t1' uses just the Control-As,
  6008.         and '-t2' uses just "From ".  For Waffle or UUPC mail files, '-t1'
  6009.         will probably give the best performance.
  6010.  
  6011.  
  6012.  
  6013.  
  6014.  
  6015.  
  6016.  
  6017.  
  6018.  
  6019.  
  6020.  
  6021.         Copyright (c) 1993 Richard Vandenberg                                 87
  6022.  
  6023.  
  6024.  
  6025.  
  6026.         V-MailServer User Manual
  6027.         ──────────────────────────────────────────────────────────────────────
  6028.  
  6029.  
  6030.  
  6031.  
  6032.                                                                               
  6033.  
  6034.         The DIGEST parameter file contains the following information:
  6035.  
  6036.              List Name           leave out the word "digest"
  6037.              Host                the host where the digest lives
  6038.              From                who sends the digest out
  6039.              To                  who the list is sent to
  6040.              Volume              Volume nn : Issue nnn
  6041.              Date                Day, dd Mon yyyy hh:mm:ss ZZZ
  6042.  
  6043.         Example:
  6044.  
  6045.              Vmail-l
  6046.              vsystem.wimsey.bc.ca
  6047.              Rick Vandenberg <vmail-l-admin@vsystem.wimsey.bc.ca>
  6048.              VMail-l-digest@vsystem.wimsey.bc.ca
  6049.              Volume 1 : Issue 3
  6050.              Mon,  04 Jan 1992 22:00:23 GMT
  6051.  
  6052.  
  6053.              The "From" line must contain a valid RFC 822 mail address.
  6054.  
  6055.              The issue number must start at 0; it is incremented BEFORE
  6056.              generating each digest.
  6057.  
  6058.              Volume numbers must be incremented by manually.
  6059.  
  6060.  
  6061.         The parameter file is modified by the program after generation of each
  6062.         digest.  The original version is renamed with the ".bak" file
  6063.         extension.
  6064.  
  6065.         The input file should contain a set of mail messages in the format of
  6066.         a UNIX, Waffle, or UUPC mailbox.  These messages will be read into
  6067.         memory, and a list of "Today's Topics" generated from the subject
  6068.         lines.  The messages will then be sorted so that all the messages on
  6069.         the same topic come out together in the digest.  All messages that
  6070.         have "Administrivia" as the first word in the subject line are
  6071.         guaranteed to come out first in the digest.
  6072.  
  6073.         The digest will be placed in the output file.  The default file name
  6074.         is "digest.out", in the same directory as the parameter file.
  6075.  
  6076.         To mail the output file you can use either of the following commands:
  6077.  
  6078.         RMAIL address < digest.out
  6079.  
  6080.         VMAIL < digest.out
  6081.  
  6082.  
  6083.  
  6084.  
  6085.  
  6086.         Copyright (c) 1993 Richard Vandenberg                                 88
  6087.  
  6088.  
  6089.  
  6090.  
  6091.                                                            Additional Programs
  6092.         ──────────────────────────────────────────────────────────────────────
  6093.  
  6094.  
  6095.  
  6096.  
  6097.                                                                               
  6098.  
  6099.         There is one problem with the sorting of messages by subject line to
  6100.         group by topic.  DIGEST eliminates "Re:" strings, but if someone
  6101.         changes the subject, the new messages will be grouped separately.
  6102.  
  6103.         Examples:
  6104.  
  6105.         DIGEST
  6106.  
  6107.              This runs the DIGEST program with all necessary files in the
  6108.              current directory.  The input file defaults to "digest.in", the
  6109.              output file to "digest.out", the parameter file to "digest.inf".
  6110.  
  6111.         DIGEST -v -p c:\user\list\digest.inf c:\user\list\mailbox.f
  6112.              d:\public\ftp\digest\
  6113.  
  6114.              Use a specific parameter file, a Waffle mailbox, and place the
  6115.              output file in a different directory.  Also name the output file
  6116.              using the Volume.Issue format (eg. 10.002).
  6117.  
  6118.         DIGEST -n -i c:\mail\info
  6119.              Digests using the default input, output, and parameter files, but 
  6120.              includes c:\mail\info instead of 'digest.pre', and does not
  6121.              include the message headers.
  6122.  
  6123.  
  6124.  
  6125.         KILLTRAF
  6126.  
  6127.         The KillTraf program is used to remove old traffic records from the
  6128.         traffic control file.  This version of KillTraf will remove the
  6129.         records from the traffic file, compressing the file as it removes
  6130.         them.  The version supplied with V-MailServer 1.22 simply copied the
  6131.         records to a different file.
  6132.  
  6133.  
  6134.         Usage: 
  6135.  
  6136.         KILLTRAF [-k] [-d mm-dd-yyyy] [-t hh:mm:ss ] [-o offset]
  6137.  
  6138.         -k
  6139.  
  6140.              Remove the records.  If not specified, KillTraf will not pack the
  6141.              file.
  6142.  
  6143.         -d mm-dd-yyyy
  6144.  
  6145.              Set the date for which prior records will be removed.
  6146.  
  6147.         -t hh:mm:ss
  6148.  
  6149.  
  6150.  
  6151.         Copyright (c) 1993 Richard Vandenberg                                 89
  6152.  
  6153.  
  6154.  
  6155.  
  6156.         V-MailServer User Manual
  6157.         ──────────────────────────────────────────────────────────────────────
  6158.  
  6159.  
  6160.  
  6161.  
  6162.                                                                               
  6163.  
  6164.              Set the time for which prior records will be removed.
  6165.  
  6166.         -o offset
  6167.  
  6168.              Specify an offset, in seconds, from the current time, instead of
  6169.              using the -d and -t parameters.  1 day = 86,400 seconds.
  6170.              1 week = 604,800 seconds.  30 days = 2,592,000 seconds.
  6171.              1 year = 31,536,000 seconds.  The maximum value you can enter is
  6172.              2^31 -1 seconds (68 years).
  6173.  
  6174.              If the date is not specified, KillTraf uses the current date. If
  6175.              the time is not specified, KillTraf uses 00:00:00.
  6176.  
  6177.  
  6178.  
  6179.         TRAF2CDF
  6180.  
  6181.         The Traf2CDF program will create a comma-delimited format file
  6182.         containing the traffic records. The output is produced on the standard
  6183.         output, and hence must be redirected for any useful purpose.  This
  6184.         program may be useful if you want to perform traffic analysis using
  6185.         database software such as dBase.  There are no command line options.
  6186.  
  6187.  
  6188.         VINFO
  6189.  
  6190.         VINFO is a dual-purpose program that can display configuration
  6191.         information and generate traffic statistics.
  6192.  
  6193.         VINFO can provide the following information:
  6194.  
  6195.              Listing of configuration file options
  6196.  
  6197.              List of mailing lists and options set for the lists
  6198.  
  6199.              List of file aliases and scripts defined for each file
  6200.  
  6201.              List of AFS request addresses and scripts defined for them
  6202.  
  6203.              Summary of mail server traffic by traffic type, by file path,
  6204.              and/or by requester address.
  6205.  
  6206.              Estimate costs of traffic, based on a cost per 1000 characters.
  6207.  
  6208.  
  6209.  
  6210.  
  6211.  
  6212.  
  6213.  
  6214.  
  6215.  
  6216.         Copyright (c) 1993 Richard Vandenberg                                 90
  6217.  
  6218.  
  6219.  
  6220.  
  6221.                                                            Additional Programs
  6222.         ──────────────────────────────────────────────────────────────────────
  6223.  
  6224.  
  6225.  
  6226.  
  6227.                                                                               
  6228.  
  6229.         Command line arguments:
  6230.  
  6231.         VINFO [-?|-h] [-t] [-sT,F,U,M] [-bD|W|H] [-d StartDate] [-e EndDate]
  6232.         [-o] [-c Configfile] [-f TrafficFile] [-i] [-a] [-u Select-ID]
  6233.  
  6234.         -? | -h            Print this help.
  6235.  
  6236.         -c ConfigFile      Use the specified configuration file.
  6237.  
  6238.         -t                 Show traffic summaries
  6239.  
  6240.         -sT,F,U,M          Select a traffic summary:
  6241.                            T - Traffic type     F - File name
  6242.                            U - User address     M - Mailing list
  6243.                            You may combine these options, eg -sTU
  6244.  
  6245.         -bD|W|M            Break the traffic summary by Day,Week, or Month. 
  6246.                            Use only one option
  6247.  
  6248.         -d MM-DD-YYYY      The start date of the records to include
  6249.  
  6250.         -e MM-DD-YYYY      The end date of the records to include
  6251.  
  6252.         -o                 Use the address of the recipient instead of the
  6253.                            poster.  This will show all recipients in mailing
  6254.                            lists
  6255.  
  6256.         -f TrafficFile     Use a specific traffic file
  6257.  
  6258.         -i                 Display Configuration info
  6259.  
  6260.         -a                 Display all information (enables all options)
  6261.  
  6262.         -k Cost [unit]     The cost per 1000 characters to transmit, and an
  6263.                            optional unit to show on the report. eg. Pounds,
  6264.                            DM, $
  6265.  
  6266.         -u SelectID        The address to select records for, or the mailing
  6267.                            list name when choosing a Mailing list summary
  6268.  
  6269.         Examples:
  6270.  
  6271.         VINFO -t -sM -bM -k0.002 DM -u listname
  6272.           -  gives a monthly listing of mailing list traffic for a specific    
  6273.              list, along with the estimated costs.
  6274.  
  6275.         VINFO -t -sF -bW -k0.002 $
  6276.           -  gives a weekly listing of traffic, by filename, along with    
  6277.              estimated costs.
  6278.  
  6279.  
  6280.  
  6281.         Copyright (c) 1993 Richard Vandenberg                                 91
  6282.  
  6283.  
  6284.  
  6285.  
  6286.         V-MailServer User Manual
  6287.         ──────────────────────────────────────────────────────────────────────
  6288.  
  6289.  
  6290.  
  6291.  
  6292.                                                                               
  6293.  
  6294.  
  6295.  
  6296.         Uses for System Administrators:
  6297.  
  6298.         You can have mail server traffic summaries mailed to you nightly by
  6299.         specifying the following command in your CRON or SCHEDULE file:
  6300.  
  6301.         VINFO -t | RMAIL You@your.site
  6302.  
  6303.  
  6304.  
  6305.         VMEXEC
  6306.  
  6307.         VMEXEC is a small utility program that will check for the specified
  6308.         amount of free memory, and run the given program if there is enough,
  6309.         or queue it for later processing if there isn't.
  6310.  
  6311.         The format of the command line is:
  6312.  
  6313.              VMEXEC #-of-K-needed  program  arguments
  6314.  
  6315.         Example:
  6316.  
  6317.              VMEXEC 300 h:\vmail.exe -t mail-server
  6318.  
  6319.         The program specified may be any program whose input is redirected to
  6320.         the standard input.  Examples are VMAIL, RMAIL and RNEWS.
  6321.  
  6322.         VMEXEC is used primarily where there is not enough free memory
  6323.         available to run the specified program.  For example, if you run a
  6324.         large disk cache in conventional memory, or have a large number of
  6325.         TSRs loaded, there may not be enough free memory to run a large
  6326.         program like VMAIL.EXE.  In this case, you can change your ALIASES
  6327.         entries to use VMEXEC, which takes only 20K free to run.
  6328.  
  6329.         Example ALIASES entry:
  6330.  
  6331.         mail-server  |  h:\vmexec.exe 300 h:\vmail.exe -t mailserver
  6332.  
  6333.  
  6334.  
  6335.  
  6336.  
  6337.  
  6338.  
  6339.  
  6340.  
  6341.  
  6342.  
  6343.  
  6344.  
  6345.  
  6346.         Copyright (c) 1993 Richard Vandenberg                                 92
  6347.  
  6348.  
  6349.  
  6350.  
  6351.                                                  ─────────────────────────────
  6352.                                                   Using V-MailServer with UUPC
  6353.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  6354.  
  6355.  
  6356.         Much of the terminology in this manual is directed towards installing
  6357.         V-MailServer with Waffle.  This guide will give you a list of
  6358.         differences between Waffle and UUPC-Extended that affect the
  6359.         installation.  Aside from these small changes, there are no other
  6360.         changes necessary.
  6361.  
  6362.         Throughout this manual, the terms "ALIASES file" and "ALIASES entry"
  6363.         are used to describe the list of system aliases used by Waffle.  The
  6364.         equivalent files in UUPC are the FORWARD files in each user directory.
  6365.  
  6366.         To have Waffle spawn VMAIL.EXE to handle mail delivery and processing,
  6367.         an entry is created in the system aliases file, like this:
  6368.  
  6369.              mail-server | h:\vmail.exe [arguments]
  6370.  
  6371.         To do this with UUPC, you need to create an entry in the SYS\PASSWD
  6372.         file, such as:
  6373.  
  6374.              mail-server:*:::V-MailServer:d:/uupc/mail/server
  6375.  
  6376.         You will also need to create a FORWARD file in the uupc/mail/server
  6377.         directory to tell UUPC to run VMAIL.EXE.  This file should contain the
  6378.         line:
  6379.  
  6380.              |h:\vmail.exe [arguments]
  6381.  
  6382.         Note that there should be no space after the "|" symbol.
  6383.  
  6384.         These are the only required changes to use V-MailServer with UUPC.
  6385.  
  6386.         Some other differences between Waffle and UUPC are listed below:
  6387.  
  6388.              Waffle has a built-in scheduling facility.  To most efficiently
  6389.              use V-MailServer, the processing by VMAILX should be performed at
  6390.              scheduled intervals.  A good place to do this is just before
  6391.              calling your host, or just after incoming messages are processed.
  6392.  
  6393.              Memory requirements for the UUPC MAIL program are uncertain.  If
  6394.              free memory is a concern, you should use the VMEXEC program, as
  6395.              outlined in the Additional Programs section.
  6396.  
  6397.  
  6398.  
  6399.  
  6400.  
  6401.  
  6402.  
  6403.  
  6404.  
  6405.  
  6406.  
  6407.  
  6408.  
  6409.  
  6410.  
  6411.         Copyright (c) 1993 Richard Vandenberg                                 93
  6412.  
  6413.  
  6414.  
  6415.  
  6416.         V-MailServer User Manual
  6417.         ──────────────────────────────────────────────────────────────────────
  6418.  
  6419.  
  6420.  
  6421.  
  6422.                                                                               
  6423.  
  6424.  
  6425.  
  6426.  
  6427.  
  6428.  
  6429.  
  6430.  
  6431.  
  6432.  
  6433.  
  6434.  
  6435.  
  6436.  
  6437.  
  6438.  
  6439.  
  6440.  
  6441.  
  6442.  
  6443.  
  6444.  
  6445.  
  6446.  
  6447.  
  6448.  
  6449.  
  6450.  
  6451.  
  6452.  
  6453.  
  6454.  
  6455.  
  6456.  
  6457.  
  6458.  
  6459.  
  6460.  
  6461.  
  6462.  
  6463.  
  6464.  
  6465.  
  6466.  
  6467.  
  6468.  
  6469.  
  6470.  
  6471.  
  6472.  
  6473.  
  6474.  
  6475.  
  6476.         Copyright (c) 1993 Richard Vandenberg                                 94
  6477.  
  6478.  
  6479.  
  6480.  
  6481.                                                  ─────────────────────────────
  6482.                                                                 Upgrade Policy
  6483.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  6484.  
  6485.  
  6486.         Registered users of V-MailServer 2.20 will receive free upgrades to
  6487.         the next release.  This free upgrade will include the registered
  6488.         version of the software on either 3½- or 5¼-inch diskettes.  
  6489.  
  6490.         On the diskette will be two versions of this documentation - a plain
  6491.         text version, and a printer-dependent version.  You may select any
  6492.         standard WordPerfect 5.1 (MSDOS) driver you wish, and a printer-ready
  6493.         file will be created using that driver.  Of course, soft fonts cannot
  6494.         be used.
  6495.  
  6496.         Upgrades to printed documentation may be purchased at a nominal price
  6497.         that covers materials and shipping fees.
  6498.  
  6499.         In addition, registered users are also eligible to join the beta test
  6500.         program, which gives them access to current beta-release versions of
  6501.         V-MailServer.
  6502.  
  6503.  
  6504.  
  6505.  
  6506.  
  6507.  
  6508.  
  6509.  
  6510.  
  6511.  
  6512.  
  6513.  
  6514.  
  6515.  
  6516.  
  6517.  
  6518.  
  6519.  
  6520.  
  6521.  
  6522.  
  6523.  
  6524.  
  6525.  
  6526.  
  6527.  
  6528.  
  6529.  
  6530.  
  6531.  
  6532.  
  6533.  
  6534.  
  6535.  
  6536.  
  6537.  
  6538.  
  6539.  
  6540.  
  6541.         Copyright (c) 1993 Richard Vandenberg                                 95
  6542.  
  6543.  
  6544.  
  6545.  
  6546.         V-MailServer User Manual
  6547.         ──────────────────────────────────────────────────────────────────────
  6548.  
  6549.  
  6550.  
  6551.  
  6552.                                                                               
  6553.  
  6554.                                                  ─────────────────────────────
  6555.                                                               Acknowledgements
  6556.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  6557.  
  6558.  
  6559.         A number of people have contributed in a very large way to the
  6560.         development of V-MailServer.  For this, I would like to thank them:
  6561.  
  6562.         The Beta-Test Team: Mathew, Mike Batchelor, Johannes Blankenstein,
  6563.         Gess Shankar, Manfredo Tichauer
  6564.  
  6565.         Bruce Peltzer, for allowing me to use his doubly-linked list routines. 
  6566.         Without these, I would not have been able to develop much of the
  6567.         functionality in Version 2.2.
  6568.  
  6569.         J.D. Frazer, who owns the LEGACY role-playing list, which runs from my
  6570.         system.  This list provided a good testing platform for developing
  6571.         V-MailServer.
  6572.  
  6573.  
  6574.  
  6575.  
  6576.  
  6577.  
  6578.  
  6579.  
  6580.  
  6581.  
  6582.  
  6583.  
  6584.  
  6585.  
  6586.  
  6587.  
  6588.  
  6589.  
  6590.  
  6591.  
  6592.  
  6593.  
  6594.  
  6595.  
  6596.  
  6597.  
  6598.  
  6599.  
  6600.  
  6601.  
  6602.  
  6603.  
  6604.  
  6605.  
  6606.         Copyright (c) 1993 Richard Vandenberg                                 96
  6607.  
  6608.  
  6609.  
  6610.  
  6611.                                                  ─────────────────────────────
  6612.                                                                          Index
  6613.         _________________________________________▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  6614.  
  6615.  
  6616.         /GET  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
  6617.         /PDGET  . . . . . . . . . . . . . . . . . . . . . . . . . . . .  5, 13
  6618.         Access Control Language . . 7, 9, 10, 19-23, 32, 33, 37-39, 51, 62, 69
  6619.              :label . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
  6620.              CLEAR Commands . . . . . . . . . . . . . . . . . . . . . . . . 33
  6621.              CLEAR Extra-Commands . . . . . . . . . . . . . . . . . . . . . 33
  6622.              Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
  6623.              GOTO label . . . . . . . . . . . . . . . . . . . . . . . . . . 34
  6624.              GRADE  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
  6625.              IF [NOT] Condition Command . . . . . . . . . . . . . . . . . . 34
  6626.              IF [NOT] EXIST filename  . . . . . . . . . . . . . . . . . . . 34
  6627.              IF [NOT] MEMBER Listname . . . . . . . . . . . . . . . . . . . 34
  6628.              REQSTAT ON | OFF | NONE  . . . . . . . . . . . . . . . . . . . 35
  6629.              Scripts  . . . . . . . . . . . 10, 19, 20, 22, 37, 39, 51, 62, 69
  6630.              SENDTEXT FileName  . . . . . . . . . . . . . . . . . . . . . . 35
  6631.              SHELL  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
  6632.              SUBJECT  . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
  6633.              TRANSTEXT  . . . . . . . . . . . . . . . . . . . . . . . . . . 35
  6634.              TRANSTEXTC . . . . . . . . . . . . . . . . . . . . . . . . . . 36
  6635.         Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . . . . 96
  6636.         Additional Programs . . . . . . . . . . . . . . . . . . . . 77, 87, 93
  6637.         AFS processing  . . . . . . . . . . . . . . . . . . . . . . . . . .  8
  6638.         ALIASES.ADD . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
  6639.         Authorized-Subscription . . . . . . . . . . . . . . . . 61, 62, 66, 67
  6640.         AUTOEXEC.BAT  . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
  6641.         Automatic file sending  . . . . . . . . . . . . . . . . .  5-8, 44, 69
  6642.         Basic Configuration . . . . . . . . . . . . . . . . . . . . . . . . 41
  6643.         CHKUUE  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
  6644.         Command Line Options  . . . . . . . . . . . . . . . . . 10, 45, 81, 90
  6645.         Command processing  . . . . . . . . . . . . . . . . . . . . . .  9, 35
  6646.         Configurable Messages . . . . . . . . . . . . . . . . .  19-21, 52, 19
  6647.              ALIAS.TXT  . . . . . . . . . . . . . . . . . . . . . . . . . . 19
  6648.              HELP.TXT . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
  6649.              LISTJOIN.TXT . . . . . . . . . . . . . . . . . . . 17, 61, 68, 73
  6650.              QUEUE.WAI  . . . . . . . . . . . . . . . . . . . . . . . . 19, 35
  6651.              REJECT.TXT . . . . . . . . . . . . . . . . . . . . . . . . . . 19
  6652.              SCRIPT.END . . . . . . . . . . . . . . . . . . . . . . . . 19, 22
  6653.              SCRIPT.PRE . . . . . . . . . . . . . . . . . . . . . . 19, 21, 22
  6654.              SEND.TXT . . . . . . . . . . . . . . . . . . . . . . . . . 19, 21
  6655.              SHORT.HLP  . . . . . . . . . . . . . . . . . . . . . . . . . . 19
  6656.              UNSUBFAI.TXT . . . . . . . . . . . . . . . . . . . . . . . . . 19
  6657.         Configuration . . 9, 10, 13, 14, 19-21, 30, 41-45, 52, 69, 73, 79, 81,
  6658.                                                                     82, 90, 91
  6659.         Configuration File  . . . . . . . . . . . . . . . . . . . . . . . . 45
  6660.         Configuration Parameters
  6661.              AFSFILE  . . . . . . . . . . . . . . . . . . . . . . . . . 50, 69
  6662.              ALLOWFIRSTREQUEST  . . . . . . . . . . . . . . . . . . . . . . 50
  6663.              COMMANDFILE  . . . . . . . . . . . . . . . . . . . . . . . . . 51
  6664.              DAILYLIMIT . . . . . . . . . . . . . . . . . . . . . . . . 42, 50
  6665.              FILEALIAS  . . . . . . . . . . . . . . . . . . . . . . . . . . 51
  6666.              GRADEOPTION  . . . . . . . . . . . . . . . . . . . . . . . . . 45
  6667.              HEADERCONVERSION . . . . . . . . . . . . . . . . . 51, 57, 62, 65
  6668.  
  6669.  
  6670.  
  6671.         Copyright (c) 1993 Richard Vandenberg                                 97
  6672.  
  6673.  
  6674.  
  6675.  
  6676.         V-MailServer User Manual
  6677.         ──────────────────────────────────────────────────────────────────────
  6678.  
  6679.  
  6680.  
  6681.  
  6682.                                                                               
  6683.  
  6684.              HELPFILE . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
  6685.              INDEXFILE  . . . . . . . . . . . . . . . . . . . . . . . . 42, 48
  6686.              INFOPATH . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
  6687.              JUSTHEADERCONVERSION . . . . . . . . . . . . . . . 10, 51, 57, 65
  6688.              KillFile . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
  6689.              LOGFILE  . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
  6690.              MAILINGLISTS . . . . . . . . . . . . . . . . . . . . . . . 50, 59
  6691.              MAILPROGRAM  . . . . . . . . . . . . . . . . . . . . . . .  9, 45
  6692.              MESSAGELIMIT . . . . . . . . . . . . . . . . . . . . . . . 42, 50
  6693.              Minimum-Free-Disk  . . . . . . . . . . . . . . . . . . . . 42, 51
  6694.              NODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
  6695.              PASSWORDFILE . . . . . . . . . . . . . . . . . . . . . . . 48, 73
  6696.              QUEUECOMMANDFILE . . . . . . . . . . . . . . . . . . . . . 10, 51
  6697.              QUEUEDIR . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
  6698.              QUEUELIMITFILE . . . . . . . . . . . . . . . . . . . . 50, 82, 83
  6699.              QUEUEPROGRAM . . . . . . . . . . . . . . . . . . . . . . .  9, 51
  6700.              REJECTFILE . . . . . . . . . . . . . . . . . . . . . . . . . . 49
  6701.              RMAILLINEMAX . . . . . . . . . . . . . . . . . . . . . . . 42, 45
  6702.              SEARCHTREE . . . . . . . . . . . . . . . . . . . . 48, 55, 56, 85
  6703.              SENDERNAME . . . . . . . . . . . . . . . . . . . . . . . . . . 46
  6704.              SEQF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
  6705.              SERVERNAME . . . . . . . . . . . . . . . . . . . . . . . . . . 46
  6706.              STATUSWORKFILE . . . . . . . . . . . . . . . . . . . . . . . . 52
  6707.              TEMPMAILFILE . . . . . . . . . . . . . . . . . . . . . . . . . 53
  6708.              To-Format  . . . . . . . . . . . . . . . . . . . . . . . . 43, 46
  6709.              TRAFFICCONTROL . . . . . . . . . . . . . . . . . . . . . . . . 49
  6710.              UDCFile  . . . . . . . . . . . . . . . . . . . . . . . . . 39, 52
  6711.              USERDIRFILE  . . . . . . . . . . . . . . . . . . . . . . . 39, 52
  6712.              USERSECURITYFILE . . . . . . . . . . . . . . . . . . . . . 49, 85
  6713.              UUCPFROM . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
  6714.              UUENCODE_SWITCH  . . . . . . . . . . . . . . . . . . . . . . . 46
  6715.              UUEOUTPUTSPEC  . . . . . . . . . . . . . . . . . . . . . . . . 47
  6716.              UUEPROG  . . . . . . . . . . . . . . . . . . . . . . . . . 42, 46
  6717.              UUETEMP  . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
  6718.              VALIDPATHS . . . . . . . . . . . . . . . . . . . .  48, 55-57, 85
  6719.              Words-Path . . . . . . . . . . . . . . . . . . . . . . . . 19, 52
  6720.              XXENCODE_SWITCH  . . . . . . . . . . . . . . . . . . . . . . . 46
  6721.         ECHOMAIL  . . . . . . . . . . . . . . . . . . . . . . . . . . . 15, 62
  6722.         File Server Commands  . . . . . . . . . . . . . . . . . 13, 14, 17, 68
  6723.              Administrative Commands  . . . . . . . . . . . . . . . . . 17, 61
  6724.              Advanced File Server Commands  . . . . . . . . . . . . . . . . 14
  6725.              Advanced Mailing List Commands . . . . . . . . . . . . . . . . 15
  6726.              Basic File Server Commands . . . . . . . . . . . . . . . . . . 13
  6727.              Basic Mailing List Commands  . . . . . . . . . . . . . . . . . 14
  6728.         File Server Services  . . . . . . . . . . . . . . . . . . . . . 48, 55
  6729.         File Servers  . . . . . . . . . . . . . . . . . . . . . . . . . . .  5
  6730.         FOR address . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
  6731.         General Information . . . . . . . . . . . . . . . . . . . . . . 13, 19
  6732.         GET . . . . . . . . . . . . . . . . . . . . . .  5, 13, 18, 39, 55, 79
  6733.  
  6734.  
  6735.  
  6736.         Copyright (c) 1993 Richard Vandenberg                                 98
  6737.  
  6738.  
  6739.  
  6740.  
  6741.                                                                          Index
  6742.         ──────────────────────────────────────────────────────────────────────
  6743.  
  6744.  
  6745.  
  6746.  
  6747.                                                                               
  6748.  
  6749.         GRADE . . . . . . . . . . . . . . . . . . . . . . . . . 20, 34, 45, 62
  6750.         Header Conversion . . . . . . . . 8, 10, 16, 20, 26-31, 51, 57, 62, 65
  6751.              ADD  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
  6752.              ORDER  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
  6753.              REPLACE  . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
  6754.              STRIP  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
  6755.              UPDATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
  6756.         Header processing . . . . . . . . . . . . . . . . . . . . . . . . .  8
  6757.         HELP  . . . . . . . . . . . . . . . . .  5, 13, 19, 41, 42, 48, 73, 91
  6758.         INDEX . . . . . . . . . . . . . . . . .  5, 13, 42, 43, 48, 60, 62, 97
  6759.         INFO  . . . . . . . . . . . . . . . . . . 5, 6, 13, 14, 49, 69, 89, 91
  6760.         Installation  . . . . . . . . . . . . . . . . . . . 41, 42, 44, 93, 41
  6761.         KILLTRAF  . . . . . . . . . . . . . . . . . . . . . . . . . 77, 89, 90
  6762.         Limited Warranty  . . . . . . . . . . . . . . . . . . . . . . . . .  3
  6763.         LISTJOIN.TXT  . . . . . . . . . . . . . . . . . . . . . . . . . 19, 23
  6764.         Macros  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
  6765.              Command-Filename . . . . . . . . . . . . . . . . . . . . . . . 22
  6766.              Command-Line . . . . . . . . . . . . . . . . . . . . . . . . . 22
  6767.              Date . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
  6768.              File-Requested . . . . . . . . . . . . . . . . . . . . . . . . 21
  6769.              File-Sections  . . . . . . . . . . . . . . . . . . . . . . . . 21
  6770.              File-Size  . . . . . . . . . . . . . . . . . . . . . . . . . . 21
  6771.              File-Size-UU . . . . . . . . . . . . . . . . . . . . . . . . . 21
  6772.              Header-Date  . . . . . . . . . . . . . . . . . . . . . . . . . 20
  6773.              Header-From  . . . . . . . . . . . . . . . . . . . . . . . . . 20
  6774.              Header-Reply-To  . . . . . . . . . . . . . . . . . . . . . . . 20
  6775.              Legal  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
  6776.              Legal-Path . . . . . . . . . . . . . . . . . . . . . . . . . . 22
  6777.              LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
  6778.              MailGrade  . . . . . . . . . . . . . . . . . . . . . . . . . . 20
  6779.              MailOptions  . . . . . . . . . . . . . . . . . . . . . . . . . 20
  6780.              MList-Name . . . . . . . . . . . . . . . . . . . . . . . . . . 23
  6781.              New-Name . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
  6782.              Orig-Name  . . . . . . . . . . . . . . . . . . . . . . . . . . 23
  6783.              OwnerID  . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
  6784.              Parm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
  6785.              Queue-Count  . . . . . . . . . . . . . . . . . . . . . . . . . 21
  6786.              Queue-File-Count . . . . . . . . . . . . . . . . . . . . . . . 21
  6787.              Queue-Mail-Count . . . . . . . . . . . . . . . . . . . . . . . 21
  6788.              Queue-Queue-Count  . . . . . . . . . . . . . . . . . . . . . . 21
  6789.              Queue-Status-Count . . . . . . . . . . . . . . . . . . . . . . 22
  6790.              ReceivedID . . . . . . . . . . . . . . . . . . . . . . . . . . 20
  6791.              Recipient  . . . . . . . . . . . . . . . . . . . . . . . . . . 21
  6792.              Rest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
  6793.              Server-Name  . . . . . . . . . . . . . . . . . . . . . . . . . 21
  6794.              TempFile . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
  6795.              Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
  6796.              Total-File-Sections  . . . . . . . . . . . . . . . . . . . . . 22
  6797.              Total-File-Size  . . . . . . . . . . . . . . . . . . . . . . . 22
  6798.  
  6799.  
  6800.  
  6801.         Copyright (c) 1993 Richard Vandenberg                                 99
  6802.  
  6803.  
  6804.  
  6805.  
  6806.         V-MailServer User Manual
  6807.         ──────────────────────────────────────────────────────────────────────
  6808.  
  6809.  
  6810.  
  6811.  
  6812.                                                                               
  6813.  
  6814.              Total-File-Size-UU . . . . . . . . . . . . . . . . . . . . . . 22
  6815.         Mailing List Files  . . . . . . . . . . . . . . . . . . . . 59, 65, 85
  6816.         Mailing List Options
  6817.              Authorized-Subscription  . . . . . . . . . . . . . . . . . . . 62
  6818.              Command  . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
  6819.              Echomail . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
  6820.              Grade  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
  6821.              HeaderConversion . . . . . . . . . . . . . . . . . . . . . . . 62
  6822.              Non-Member-Posting . . . . . . . . . . . . . . . . . . . . . . 62
  6823.              Reject-Command-File  . . . . . . . . . . . . . . . . . . . . . 62
  6824.              Reply-To:  . . . . . . . . . . . . . . . . . . . . . . . . . . 63
  6825.              Restricted-Posting . . . . . . . . . . . . . . . . . . . . . . 63
  6826.              Restricted-Reject-File . . . . . . . . . . . . . . . . . . . . 63
  6827.              Restricted-Reject-Subject  . . . . . . . . . . . . . . . . . . 63
  6828.              Review . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
  6829.              ROOT-x . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
  6830.              Sender:  . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
  6831.              Valid-Path-x . . . . . . . . . . . . . . . . . . . . . . . . . 64
  6832.         Mailing list processing . . . . . . . . . . . . . . . . . . . .  8, 27
  6833.         Mailing List User Options
  6834.              Address  . . . . . . . . . . . . . . . . . . . . . . . . . 18, 64
  6835.              Alias  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
  6836.              Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
  6837.              Post . . . . . . . . . . . . . . . . . . . . . . . 17, 18, 63, 64
  6838.              Reply  . . . . . . . . . . . . . . . . . . . . . . . . . . 16, 65
  6839.              Review . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
  6840.              Subdate  . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
  6841.         Mailing Lists . . 5, 13, 16-18, 25, 27, 31, 41, 43-45, 50, 57, 59, 62,
  6842.                                                         65, 75, 81, 85, 90, 91
  6843.         Message Processing  . . . . . . . . . . . . . . . . . . . . . . . .  7
  6844.         NOECHOMAIL  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
  6845.         Non-Member-Posting  . . . . . . . . . . . . . . . . . . . . . . . . 62
  6846.         OPTION List-Name List-Option Value  . . . . . . . . . . . . . . . . 16
  6847.         Overview  . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  5
  6848.         owner . . . . . . . . . . . . . . . .  6, 17, 18, 46, 61-63, 65-68, 73
  6849.         Owner-Id  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
  6850.         PASSWORD  . . . . . . . . . . . . . . . . . . .  9, 14, 39, 48, 68, 73
  6851.         Planning the configuration  . . . . . . . . . . . . . . . . . . . . 41
  6852.         Process Description . . . . . . . . . . . . . . . . . . . . . . . .  8
  6853.         PW  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14, 68
  6854.         Queued requests . . . . . . . . . . . . . .  9, 10, 21, 43, 52, 82, 83
  6855.         Reject-Command-File . . . . . . . . . . . . . . . . . . . . . . . . 62
  6856.         Reply-To: . . . . .  8, 16, 17, 20, 21, 27, 28, 31, 60, 61, 63, 65, 75
  6857.         Restricted-Posting  . . . . . . . . . . . . . . . . . . . . . . 63, 64
  6858.         Restricted-Reject-File  . . . . . . . . . . . . . . . . . . . . . . 63
  6859.         Restricted-Reject-Subject . . . . . . . . . . . . . . . . . . . . . 63
  6860.         REVIEW  . . . . . . . . . . . . . . . . . . . 15-17, 60, 63-65, 68, 73
  6861.         SEND  .  5, 8, 13, 15, 17, 19, 21, 35, 37, 38, 37, 38, 47, 48, 50, 55,
  6862.                                                     60, 62, 63, 67, 69, 79, 85
  6863.  
  6864.  
  6865.  
  6866.         Copyright (c) 1993 Richard Vandenberg                                100
  6867.  
  6868.  
  6869.  
  6870.  
  6871.                                                                          Index
  6872.         ──────────────────────────────────────────────────────────────────────
  6873.  
  6874.  
  6875.  
  6876.  
  6877.                                                                               
  6878.  
  6879.         Sender: . . . . . . . . . . . . . . . . . . 27, 28, 31, 46, 60, 63, 75
  6880.         SIGNOFF . . . . . . . . . . . . . . . . . . .  5, 6, 15, 17, 60, 66-68
  6881.         SUBJECT [New Subject] . . . . . . . . . . . . . . . . . . . . . . . 35
  6882.         SUBSCRIBE . . . . . .  5, 6, 14, 17, 19, 23, 32, 37, 59, 60, 62, 66-68
  6883.         TRAF2CDF  . . . . . . . . . . . . . . . . . . . . . . . . . . . 77, 90
  6884.         Traffic Control File  . . . . . . . . . . . . . . . . . . . . . 77, 89
  6885.         UNSUBSCRIBE . . . . . . . . . . . . . . . . . . . . . . . . 15, 19, 59
  6886.         Upgrade Policy  . . . . . . . . . . . . . . . . . . . . . . . . . . 95
  6887.         USERDIRFILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
  6888.         UUENCODE  . . . . . . . . . . . . . . . . . . . . . . . 24, 46, 47, 55
  6889.         UUENCODEOPTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . 46
  6890.         UUPC  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
  6891.         UUPC-Extended . . . . . . . . . . . . . . .  5, 41, 59, 81, 87, 88, 93
  6892.         Variables . . . . . . . . . . . . . . . . . . . . . . . . . 20, 33, 35
  6893.         VINSTALL  . . . . . . . . . . . . . . . . . . . . . . . . . 41, 43, 55
  6894.         VMAIL Options . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
  6895.         VMAILX  . . . . . . . . . . . . . . . 7, 9, 10, 43, 50, 52, 82, 83, 93
  6896.         VMAILX Options  . . . . . . . . . . . . . . . . . . . . . . . . . . 82
  6897.         VMEXEC  . . . . . . . . . . . . . . . . . . . . . . . . . . 81, 92, 93
  6898.         VMS.CFG . . . . . . . . . . . . . . . . . . . .  41-43, 45, 57, 59, 65
  6899.         VSET.BAT  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
  6900.         WARRANTY  . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3
  6901.         XXENCODE  . . . . . . . . . . . . . . . . . . . . . . . . . . . 18, 46
  6902.  
  6903.  
  6904.  
  6905.  
  6906.  
  6907.  
  6908.  
  6909.  
  6910.  
  6911.  
  6912.  
  6913.  
  6914.  
  6915.  
  6916.  
  6917.  
  6918.  
  6919.  
  6920.  
  6921.  
  6922.  
  6923.  
  6924.  
  6925.  
  6926.  
  6927.  
  6928.  
  6929.  
  6930.  
  6931.         Copyright (c) 1993 Richard Vandenberg                                101
  6932.