home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / UUPC11XD.ZIP / INSTALL.PRN < prev    next >
Encoding:
Text File  |  1992-09-04  |  64.6 KB  |  1,465 lines

  1.  
  2.  
  3.  
  4.           September 4, 1992                  Installing UUPC/extended 1.11v
  5.  
  6.  
  7.  
  8.           Table of Contents          Table of Contents          Table of Contents
  9.  
  10.  
  11.           Table of Contents.............................................1
  12.  
  13.           Viewing This Document on a Terminal...........................2
  14.  
  15.           Revision......................................................2
  16.  
  17.           Overview......................................................2
  18.  
  19.           Installing or Upgrading UUPC/extended.........................2
  20.  
  21.                New UUPC/extended installations..........................2
  22.                     Preliminaries.......................................4
  23.                     Configuration.......................................6
  24.                     Testing.............................................15
  25.  
  26.                Upgrading an existing UUPC/extended installation.........17
  27.  
  28.           The Fine Art of Chat Scripts..................................17
  29.  
  30.           Modem Files...................................................19
  31.  
  32.           Permissions (PERMISSN) Files..................................20
  33.  
  34.           Forward Files.................................................21
  35.  
  36.           When Things Go Wrong..........................................22
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.                                      - 1 -
  63.  
  64.  
  65.           September 4, 1992                  Installing UUPC/extended 1.11v
  66.  
  67.  
  68.           Viewing This Document on a Terminal          Viewing This Document on a Terminal          Viewing This Document on a Terminal
  69.  
  70.           This document includes overstrikes for printing on a printer.  To
  71.           read this document on-line, extract the program NOVRSTRK from the
  72.           UUPC/extended optional programs archive, uupc11vd.zip, and issue
  73.           the following command:
  74.  
  75.                NOVRSTRK INSTALL.PRN INSTALL.TXT
  76.  
  77.           You can then browse the terminal ready version of the document,
  78.           INSTALL.TXT.
  79.  
  80.  
  81.           Revision          Revision          Revision
  82.  
  83.           This is the 60th revision of this document and applies to version
  84.           1.11v of UUPC/extended.  This document was last updated on
  85.           September 4, 1992 by Katherine E. Williams.  Portions of this
  86.           documentation are Copyright (c) Andrew H. Derbyshire 1989 and
  87.           Copyright (c) Kendra Electronic Wonderworks 1990-1992.  Full
  88.           copyright information for UUPC/extended appears in the file
  89.           README.DOC.
  90.  
  91.  
  92.           Overview          Overview          Overview
  93.  
  94.           This document provides installation instructions for
  95.           UUPC/extended.  Questions or suggestions on this document should
  96.           be directed to the UUPC/extended documentation group,
  97.           docs@kew.com.
  98.  
  99.  
  100.           Installing or Upgrading           Installing or Upgrading           Installing or Upgrading UUPC/extended                                  UUPC/extended                                  UUPC/extended
  101.  
  102.           The following assumes that you have never installed UUPC/extended
  103.           before.  If you are upgrading an existing UUPC/extended
  104.           installation, skip to "Upgrading an existing UUPC/extended
  105.           installation" beginning on page 17.
  106.  
  107.  
  108.           New           New           New UUPC/extended              UUPC/extended              UUPC/extended installations                            installations                            installations
  109.  
  110.           Many thanks to Dave Watt for assistance with this section and for
  111.           providing the examples, and to Snuffles for reminding us to
  112.           change the system names to protect the guilty.
  113.  
  114.           To start sending and receiving mail on your system you'll need
  115.           the following equipment and knowledge:
  116.  
  117.           Equipment:
  118.  
  119.                * A computer running MS-DOS or OS/2.  Under DOS, you will
  120.                  need at least 512 KB of RAM and 2 MB of hard disk space
  121.                  (for executables, configuration files, documentation, and
  122.  
  123.                                      - 2 -
  124.  
  125.  
  126.           September 4, 1992                  Installing UUPC/extended 1.11v
  127.  
  128.  
  129.                  mail received).  For OS/2 you need the minimum OS/2
  130.                  system configuration plus 2 MB free hard disk space.
  131.  
  132.                * A modem.
  133.  
  134.                * The manual for the modem.
  135.  
  136.                * A text editor.  The MS-DOS editor, Windows Notepad, or
  137.                  OS/2 editor will work fine.  However, we don't recommend
  138.                  attempting to configure a new UUPC/extended installation
  139.                  under Windows.  Get it working under DOS or OS/2 first.
  140.  
  141.                * A friend with a machine that does UUCP.  This can be a
  142.                  UNIX system, another UUPC/extended or other UUCP clone
  143.                  running on a PC, or a VMS system running DECUS UUCP.
  144.  
  145.                * A copy of PKUNZIP.EXE, version 1.1 or later.  PKUNZIP is
  146.                  a shareware utility and can be found at almost all
  147.                  archive sites.  Consult your local BBS, or get it from
  148.                  wuarchive.wustl.edu.
  149.  
  150.           Knowledge:
  151.  
  152.                * How to copy files using MS-DOS or OS/2.
  153.  
  154.                * How to edit a text file.
  155.  
  156.           Once you've got all of that, follow these steps to install and
  157.           configure the program.  Each step is discussed in detail below.
  158.  
  159.                1.Read these instructions.
  160.  
  161.                2.Backup your system.
  162.  
  163.                3.Name your system.
  164.  
  165.                4.Find a UUCP neighbor.
  166.  
  167.                5.Unzip the UUPC/extended files on your system.
  168.  
  169.                6.Choose your user name.
  170.  
  171.                7.Find your modem among the .MDM files.
  172.  
  173.                8.Configure several files (the hard part):
  174.  
  175.                     UUPC.RC     SYSTEMS PASSWD    PERMISSN
  176.  
  177.                     HOSTPATH    [username].RC     [modem].MDM
  178.                          AUTOEXEC.BAT.
  179.  
  180.                9.Generate the program's help files.
  181.  
  182.                10.  Write a signature file.
  183.  
  184.                                      - 3 -
  185.  
  186.  
  187.           September 4, 1992                  Installing UUPC/extended 1.11v
  188.  
  189.  
  190.                11.  Reboot your system.
  191.  
  192.                12.  Check your configuration.
  193.  
  194.                13.  Send mail to yourself.
  195.  
  196.                14.  Check the PC <--> modem connection
  197.  
  198.                15.  Check the PC <--> modem <--> modem <--> mail server
  199.                  connection
  200.  
  201.                16.  Try sending remote UUCP mail.
  202.  
  203.           Then, with a little debugging, you'll be up and running!  Each of
  204.           the steps is discussed in more detail below.
  205.  
  206.             Preliminaries            Preliminaries            Preliminaries
  207.  
  208.           1.          1.          1.Read everything before doing anything.  Trust us, you'll be
  209.             glad you did.
  210.  
  211.           2.          2.          2.Backup your system.  If you do not currently backup your
  212.             system, this is an excellent time to start.  Again, trust us.
  213.  
  214.           3.          3.          3.Your machine needs a name.  The name should be all lowercase,
  215.             since many operating systems are not case-sensitive.  If you
  216.             plan to connect to the outside world, the first six characters
  217.             of the name need to be unique over all of Usenet.  This isn't
  218.             precisely true, but it's close enough, and the truth is more
  219.             complicated -- if you're interested in the details, buy a copy
  220.             of Managing UUCP and Usenet, published by O'Reilly and
  221.             Associates.  Actually, go buy it anyway, and please read it
  222.             before asking questions.
  223.  
  224.             Example:     Dave chose the name "toscis" for his machine, in
  225.                     honor of Snuffles' favorite ice cream.
  226.  
  227.           4.          4.          4.Find a friend who has a machine which supports sending and
  228.             receiving UUCP news and mail.  Your friend must also be pals
  229.             with the sys-op of the machine, or someone else who has the
  230.             power to add accounts to the remote system.  They will have to
  231.             add an account for your system to acknowledge its existence
  232.             and permit your system to log in and exchange mail.
  233.  
  234.             Example:     Dave uses a feed from Kendra Electronic
  235.                     Wonderworks, which is known in the UUCP world as
  236.                     kewgate.  We assigned toscis an account on the system
  237.                     called "Utoscis".  The name is conventional --
  238.                     Ukewgate, Udigilab, and Uzzyzyx are several accounts on
  239.                     Dave's machine, for some of his neighbors to log onto
  240.                     his system.
  241.  
  242.           5.          5.          5.Next, you have to install UUPC/extended on your system.
  243.             UUPC/extended runs under both MS-DOS and OS/2, so be sure you
  244.  
  245.                                      - 4 -
  246.  
  247.  
  248.           September 4, 1992                  Installing UUPC/extended 1.11v
  249.  
  250.  
  251.             have the files you need to install UUPC/extended on your
  252.             target operating system.  You may want to install the DOS
  253.             files for the OS/2 DOS box, but this is optional.
  254.  
  255.           UUPC/extended includes a total of  15 executable files for each
  256.           environment.  It is suggested that these files be placed in their
  257.           own directory, and this directory then be added to your MS-DOS or
  258.           OS/2 PATH variable.
  259.  
  260.             Example:     kewgate has both OS/2 and DOS versions of
  261.                     UUPC/extended installed.  The DOS files are in
  262.                     C:\UUPC\BIN and the OS/2 files are in C:\UUPC\OS2BIN.
  263.  
  264.           For MS-DOS, you should have the following files:
  265.  
  266.           uupc11vr.zip   uupc11vo.zip   uupc11vn.zip   uupc11vd.zip
  267.  
  268.           For OS/2, you should get these files:
  269.  
  270.           uupc11v2.zip   uupc11v3.zip   uupc11v4.zip   uupc11vd.zip
  271.  
  272.           Make directories for UUPC/extended, copy the zip files, and unzip
  273.           them.  (Type "pkunzip" at the DOS prompt for instructions on how
  274.           to unzip files.)  Then add your UUPC/extended directory to the
  275.           default path.  When you're done, you should have the following
  276.           files in your UUPC/extended directory:
  277.  
  278.                MAIL.EXE, UUCICO.EXE, UUXQT.EXE and RMAIL.COM are required.
  279.  
  280.                SU.BAT, UUIO.BAT, WAITING.BAT, FMT.COM, GENSIG.COM,
  281.                NOVRSTRK.COM, UUPOLL.COM, UUSUB.COM, UUSTAT.COM, UUX.COM,
  282.                and UUCP.COM are optional but recommended.
  283.  
  284.               Note:              Note:              Note: Under OS/2, the SU, UUIO, and WAITING files have .CMD
  285.                     extensions.  Also under OS/2, there are no .COM files;
  286.                     all modules have an extension of ".EXE".
  287.  
  288.             Example:     Toscis runs the MS-DOS operating system.  Dave put
  289.                     the UUPC/extended executables in C:\UUPC\BIN and the
  290.                     documentation in C:\UUPC.  To uncompress them, here's
  291.                     what he did:
  292.  
  293.                  C:\> mkdir uupc
  294.                  C:\> pkunzip uupc11vd.zip \uupc\*.*
  295.                  C:\> mkdir \uupc\bin
  296.                  C:\> pkunzip uupc11vr.zip \uupc\bin\*.*
  297.                  C:\> pkunzip uupc11vo.zip \uupc\bin\*.*
  298.                  C:\> pkunzip uupc11vn.zip \uupc\bin\*.*
  299.  
  300.               Note:              Note:              Note: We recommend that you put OS/2 files in a directory
  301.                     called \uupc\os2bin to avoid confusion between DOS and
  302.                     OS/2 files.  Especially if, as we do, you tend to run
  303.                     both operating systems on your machine.
  304.  
  305.  
  306.                                      - 5 -
  307.  
  308.  
  309.           September 4, 1992                  Installing UUPC/extended 1.11v
  310.  
  311.  
  312.           6.          6.          6.Now you need to choose a user name for yourself.  This name
  313.             doesn't have to be unique or anything, but you'll need it for
  314.             some of the configuration of UUPC/extended yet to come.  It
  315.             should be composed only of valid DOS characters and should
  316.             have eight characters or less.
  317.  
  318.             Example:     Dave's user name on toscis is dmwatt.  Our
  319.                     resident Plush Programming Polar Bear's user name on
  320.                     kewgate is snuffles.
  321.  
  322.             Configuration            Configuration            Configuration
  323.  
  324.           7.          7.          7.Next you need to decide which modem configuration file (.MDM
  325.             file) best describes your modem.  Some of the .MDM files
  326.             available are:
  327.  
  328.                HAYES12.MDM                     Generic Hayes-
  329.                                          compatible 1200 baud
  330.  
  331.                HAYES24.MDM                     Generic Hayes-
  332.                                          compatible 2400 baud
  333.  
  334.                TB1000.MDM                       Telebit T1000
  335.  
  336.                TB2500.MDM                       Telebit T2500
  337.  
  338.                V42BIS.MDM              Zoom 2400 with V.42bis
  339.  
  340.                ZOOM2400.MDM            Zoom 2400 with V.42bis
  341.                                                      disabled
  342.  
  343.                ZOOMTV32.MDM            Zoom 9600 with V.42bis
  344.  
  345.                INSATFAX.MDM          Intel SatisFAXtion board
  346.                                                   (2400/MNP5)
  347.  
  348.                DIR.MDM                     Direct serial line
  349.  
  350.  
  351.  
  352.           If none of these is appropriate, then you will have to start with
  353.           one of them, or with the sample modem configuration file
  354.           (SAMPLE.MDM), and customize it for your modem.  We explain how to
  355.           customize modem files in "The Fine Art of Chat Scripts" and
  356.           "Modem Files", below.
  357.  
  358.           8.          8.          8.Once you've chosen a user name, you need to edit several
  359.             configuration files, and set some environment variables in
  360.             your autoexec.bat file.  Most of the sample configuration
  361.             files have documentation in the files themselves.  Also, the
  362.             format of the SYSTEMS, and PERMISSN files are discussed in
  363.             Managing UUCP and Usenet.
  364.  
  365.             a)            a)            a) UUPC.RC               UUPC.RC               UUPC.RC -- UUPC/extended system configuration file
  366.  
  367.                                      - 6 -
  368.  
  369.  
  370.           September 4, 1992                  Installing UUPC/extended 1.11v
  371.  
  372.  
  373.           This file tells UUPC/extended about your modem and system
  374.           configuration.  Put it in the same directory as your UUPC
  375.           executable files.  You will have to fill in about a dozen of the
  376.           fields in this file in order for UUPC/extended to work properly.
  377.           The fields you must edit are listed below.  The directory (Dir)
  378.           fields won't normally need to be edited (except for a drive
  379.           letter), but you should check them anyway.
  380.  
  381.                NodeName=           ConfDir=
  382.  
  383.                Domain=        MailDir=
  384.  
  385.                Postmaster=         NewsDir=
  386.  
  387.                MailServ=           SpoolDir=
  388.  
  389.                InModem=       PubDir=
  390.  
  391.                Path=               TempDir=
  392.  
  393.                ArchiveDir=
  394.  
  395.           The interpretations of these fields are described in the UUPC.RC
  396.           file itself.  Their uses are summarized below, along with the
  397.           settings for toscis.
  398.  
  399.                NodeName               NodeName               NodeName:  The name you chose for your machine.  Dave's
  400.                machine's name is toscis.
  401.  
  402.                Domain               Domain               Domain:  The fully qualified domain name for your machine.
  403.                If you are just starting out, this will be your machine
  404.                name, with the suffix ".UUCP".  Later, you can register with
  405.                other domains if you are interested -- see the file
  406.                UUNETDOM.INF, which is compressed in uupc11vd.zip, for more
  407.                information about this.
  408.  
  409.                Dave's machine's Domain is toscis.cambridge.ma.us.  It is
  410.                registered with the .US domain mapping project, which is
  411.                also discussed in UUNETDOM.INF.
  412.  
  413.                Postmaster               Postmaster               Postmaster:  The user name of the person to whom mail gets
  414.                sent if any problems occur.  Put your user name here for a
  415.                single user machine.  Otherwise, use "postmast".  On toscis,
  416.                the postmaster is dmwatt.
  417.  
  418.                MailServ               MailServ               MailServ:  This is the name of the machine to which your
  419.                outbound mail gets sent.  This will be the name of the
  420.                machine belonging to the friend you found up in step 2.  The
  421.                mail server for toscis is kewgate.
  422.  
  423.                InModem               InModem               InModem:  This is the name of the .MDM file your machine
  424.                will use when it is waiting for incoming phone calls.  Use
  425.                the name of one of the default .MDM files in step 5, or
  426.                invent a name for the .MDM file you're going to customize
  427.  
  428.                                      - 7 -
  429.  
  430.  
  431.           September 4, 1992                  Installing UUPC/extended 1.11v
  432.  
  433.  
  434.                further down.  On toscis, InModem is set to TB2500, since
  435.                Dave uses a Telebit T2500.
  436.  
  437.                Path               Path               Path:  If specified, this overrides the DOS or OS/2 PATH
  438.                variable for the lists of directories searched by UUXQT for
  439.                RNEWS, RMAIL, and other external commands you allow remote
  440.                systems to execute on your system.  If specified, this
  441.                variable should include the path you copied the
  442.                UUPC/extended executable files into in step 3.    On toscis,
  443.                Path=c:/uupc/bin               Path=c:/uupc/bin               Path=c:/uupc/bin.
  444.  
  445.               Note:              Note:              Note: The PATH variable is for security purposes, not for
  446.                     convenience, and is only                                         only                                         only used by UUXQT.  You must still
  447.                     add the directory with your UUPC/extended executable
  448.                     files to your path variable in your AUTOEXEC.BAT or
  449.                     CONFIG.SYS.
  450.  
  451.                ConfDir, MailDir, NewsDir, SpoolDir, PubDir, TempDir, and               ConfDir, MailDir, NewsDir, SpoolDir, PubDir, TempDir, and               ConfDir, MailDir, NewsDir, SpoolDir, PubDir, TempDir, and
  452.                ArchiveDir               ArchiveDir               ArchiveDir:  ConfDir is the directory in which your
  453.                UUPC/extended configuration files are located.  As you may
  454.                have guessed, the other directories refer to the directories
  455.                to which mail  and news get delivered (MailDir and NewsDir),
  456.                the public directory (PubDir) from which any machine with
  457.                standard permissions (as defined in your PERMISSN file,
  458.                below) can read or write, a temporary directory on a disk
  459.                for writing temporary files (TempDir), and a directory for
  460.                storing archived news (ArchiveDir).  TempDir can be on a RAM
  461.                drive, but the others cannot.  If TempDir is not specified,
  462.                UUPC/extended uses the DOS environment variables TEMP or
  463.                TMP, in that order.
  464.  
  465.           Here is toscis's completed UUPC.RC file, provided as an example.
  466.  
  467.                  NodeName=toscis
  468.                  Domain=toscis.cambridge.ma.us
  469.                  postmaster=dmwatt
  470.                  MailServ=kewgate
  471.                  ConfDir=c:/uupc
  472.                  MailDir=c:/uupc/mail
  473.                  NewsDir=c:/uupc/news
  474.                  SpoolDir=c:/uupc/spool
  475.                  PubDir=c:/uupc/public
  476.                  TempDir=c:/tmp
  477.                  ArchiveDir=c:/uupc/archive
  478.                  InModem=TB2500
  479.                  Path=c:/uupc
  480.                  options=nobang nodirectory multiqueue dot
  481.  
  482.             b)            b)            b) [username].RC               [username].RC               [username].RC
  483.  
  484.           The [username].RC files are used to configure UUPC/extended for
  485.           individual users.  To configure your own [username].RC file, do
  486.           the following:
  487.  
  488.  
  489.                                      - 8 -
  490.  
  491.  
  492.           September 4, 1992                  Installing UUPC/extended 1.11v
  493.  
  494.  
  495.                (1)   Extract the file PERSONAL.RC out of uupc11sd.zip using
  496.                   PKUNZIP.  Put the file in the directory called ConfDir in
  497.                   your UUPC.RC file.
  498.  
  499.                (2)   Copy the file PERSONAL.RC to [username].RC, where
  500.                   [username] is your user name.
  501.  
  502.             Example:     Dave's personal configuration file is called
  503.                     DMWATT.RC, and is located in C:/UUPC on toscis.
  504.  
  505.                (3)   Edit the following fields in the [username].RC file:
  506.  
  507.                  Mailbox=
  508.  
  509.                  Name=
  510.  
  511.                  Home=
  512.  
  513.                  FileSent=
  514.  
  515.                  Signature=
  516.  
  517.                  Editor=
  518.  
  519.                  Aliases=
  520.  
  521.           The descriptions in the sample PERSONAL.RC file explain these
  522.           fields.  If you include a Signature (highly  recommended) and an
  523.           Alias file, you will need to create these files as well.  See
  524.           step 10               10               10 for information on creating a signature file.
  525.  
  526.           If multiple users are to share the same system, create multiple
  527.           customized copies of the PERSONAL.RC in the 'ConfDir' directory
  528.           defined in UUPC.RC, each with a unique name such as "TOM.RC",
  529.           "DICK.RC" or "HARRY.RC".
  530.  
  531.           If you are just starting out, you don't need to bother with an
  532.           alias file just yet.  When you're ready (usually when you start
  533.           sending multiple pieces of mail to the same person), customize
  534.           the ALIASES.TXT file and copy it to the directory defined in the
  535.           PERSONAL.RC file as your Home directory.  This file defines short
  536.           nicknames for longer e-mail addresses and lists of addresses.  If
  537.           this file is not installed, then the line in the PERSONAL.RC file
  538.           describing it must be commented out with a pound sign (#) in
  539.           column 1.
  540.  
  541.               Note:              Note:              Note: The addresses supplied in the ALIASES.TXT file, are
  542.                     valid addresses; they are provided as examples and to
  543.                     assist you in getting more information about
  544.                     UUPC/extended, communications software in general,
  545.                     USENET, and the Internet.  However, they are not for
  546.                     random testing; abuses such as a recent user who sent
  547.                     mail to all the addresses in the file as a "hello
  548.  
  549.  
  550.                                      - 9 -
  551.  
  552.  
  553.           September 4, 1992                  Installing UUPC/extended 1.11v
  554.  
  555.  
  556.                     world" test will force discarding of the live
  557.                     information in the file for future releases.
  558.  
  559.             Example:     Dave's completed DMWATT.RC file looks like this:
  560.  
  561.                  editor=emacs %s
  562.                  filesent=outgoing
  563.                  Home=c:/dmwatt
  564.                  Mailbox=dmwatt
  565.                  name=David M. Watt
  566.                  options=autoedit
  567.                  signature=dmwatt.sig
  568.  
  569.             c)            c)            c) SYSTEMS               SYSTEMS               SYSTEMS
  570.  
  571.           The SYSTEMS file has a standard format, explained in Managing
  572.           UUCP and Usenet.  It must be located in the directory called
  573.           ConfDir in your UUPC.RC file.  A typical entry in toscis's
  574.           SYSTEMS file looks like this:
  575.  
  576.           kewgate Any TB2500 19200 1-617-641-4817 Gg gin:--gin: Utoscis
  577.           ssword:--ssword AppleJuice
  578.  
  579.           Copy this line into your SYSTEMS file, and do the following:
  580.  
  581.             (1)     Replace "kewgate" with the name of your mail server.
  582.  
  583.             (2)     Replace "TB2500" with the name of the modem
  584.                configuration file (.MDM file) you plan to use.
  585.  
  586.             (3)     Replace "1-617-641-4817" with the phone number of your
  587.                mail server.
  588.  
  589.             (4)     Replace "Gg" with the letter(s) of the UUCP protocols
  590.                your mail server supports.  If you don't know what these
  591.                are, then replace "Gg" with "g" if your mail server does not
  592.                run UUPC/extended, or "G" if it does.  The "g" protocol is
  593.                widely supported.
  594.  
  595.             (5)     Replace "Utoscis" with the name your friend in step 2
  596.                gave you for use on their system.  Replace "AppleJuice" with
  597.                whatever password your friend gave you.
  598.  
  599.           For simple connections, these should be all of the changes you
  600.           need to make to this file.  For more complex connections, refer
  601.           to "The Fine Art of Chat Scripts", below.
  602.  
  603.             d)            d)            d) PASSWD               PASSWD               PASSWD
  604.  
  605.           The PASSWD file is nearly identical in format to the /etc/passwd
  606.           file used on UNIX systems.  It must be located in the directory
  607.           called ConfDir in your UUPC.RC file.
  608.  
  609.  
  610.  
  611.                                      - 10 -
  612.  
  613.  
  614.           September 4, 1992                  Installing UUPC/extended 1.11v
  615.  
  616.  
  617.           The PASSWD file serves two purposes.  If you have several people
  618.           reading mail on your system, it is used to assign them default
  619.           directories and mail files.  Entries in the PASSWD file also
  620.           control whether remote machines can log in to your system to send
  621.           and receive mail themselves.
  622.  
  623.               Note:              Note:              Note: The default directories in the PASSWD file must match
  624.                     the Home= entries in the [username].RC files.
  625.  
  626.           Customize the PASSWD file, copy it to the 'ConfDir' directory
  627.           defined in UUPC.RC, and add each user to the PASSWD file.   This
  628.           file defines the name and home directory of each local user, and
  629.           the user id and password for remote users (systems) logging in
  630.           using the following format:
  631.  
  632.                userid:password:special:group:name:directory:shell
  633.  
  634.           More specifically:
  635.  
  636.             (1)     userid--from 1 to 8 valid DOS characters.  This should
  637.                be the same as the name of the [user].RC file.
  638.  
  639.             (2)     password--Self explanatory.  A * in this field means
  640.                that no logins are allowed for that user.  For instance, a
  641.                local user does not need to be able to login via phone
  642.                lines.  A blank means that no password is needed, as in the
  643.                case of anonymous logins.
  644.  
  645.             (3)     special--This field contains the user id number on UNIX
  646.                systems.  UUPC/extended uses it to play music or otherwise
  647.                make noise to announce incoming mail, if desired (very
  648.                useful on multitasking systems).  The format of the field is
  649.                tone1, length1, tone2, length2, and so on, where "tone" is
  650.                the frequency in hertz and "length" is the time the tone is
  651.                to sound in milliseconds.  If the final length is omitted,
  652.                the final tone will sound for 500 milliseconds.  A special
  653.                tone is 0, for silence.  See the sample PASSWD file for an
  654.                example.
  655.  
  656.             (4)     group--This field contains the group id number on UNIX
  657.                systems.  UUPC/extended does not use it.
  658.  
  659.             (5)     name--The real (human) name of the user.
  660.  
  661.             (6)     directory--Directories accessible to this user.
  662.                Defaults to the public directory set by the PubDir variable.
  663.  
  664.             (7)     shell--UUCICO is the default.
  665.  
  666.           At first, you should need only two lines in your PASSWD file.
  667.           The following can serve as models.
  668.  
  669.                dmwatt:*:::David Watt:c:/dmwatt
  670.  
  671.  
  672.                                      - 11 -
  673.  
  674.  
  675.           September 4, 1992                  Installing UUPC/extended 1.11v
  676.  
  677.  
  678.                postmast:*:::Postmaster:
  679.  
  680.           Replace dmwatt with your user name, and "David Watt" with your
  681.           name.  Replace "c:/dmwatt" with the Home directory given in your
  682.           [username].RC file.
  683.  
  684.             e)            e)            e) PERMISSN               PERMISSN               PERMISSN
  685.  
  686.           The PERMISSN file is identical in format to a file called
  687.           Permissions available on some UNIX UUCP systems.  The file format
  688.           is explained in detail in Managing UUCP and Usenet.  The PERMISSN
  689.           file should be located in the directory called ConfDir in the
  690.           UUPC.RC file.
  691.  
  692.           The PERMISSN file is used to control where remote systems are
  693.           permitted to read and write files on your system.  For a simple
  694.           configuration where you call a mailserver and no machines call
  695.           your system, your PERMISSN file should look like this:
  696.  
  697.                MACHINE=kewgate SENDFILES=yes REQUEST=yes
  698.  
  699.           Replace "kewgate" with the name of your mail server, managed by
  700.           your friend in step 2.
  701.  
  702.           For more complex configurations, especially those where another
  703.           system needs to be able to call you, refer to the section
  704.           "Permissions (PERMISSN) Files", below.
  705.  
  706.             f)            f)            f) HOSTPATH               HOSTPATH               HOSTPATH
  707.  
  708.           The HOSTPATH file is used to provide aliases for your machine and
  709.           your neighbors, and to explicitly route mail from your machine to
  710.           them without going through your mail server.  On a machine with
  711.           just a mail server, the HOSTPATH file should be empty or omitted
  712.           entirely:
  713.  
  714.                # Nothing here!
  715.  
  716.           If special routing is required for hosts, customize the HOSTPATH
  717.           file, and copy it to the 'ConfDir' directory defined in UUPC.RC.
  718.           This file is not usually needed, but can used to:
  719.  
  720.                Gateway mail from UUPC/extended to another mail program
  721.                Alias the local host to another name
  722.                Alias a remote host to another name
  723.                Prevent improperly addressed mail from leaving the local
  724.                domain
  725.                Route mail via a non-default path
  726.  
  727.           Consult the sample HOSTPATH file for more details on HOSTPATH
  728.           settings.
  729.  
  730.             g)            g)            g) [modem].MDM               [modem].MDM               [modem].MDM
  731.  
  732.  
  733.                                      - 12 -
  734.  
  735.  
  736.           September 4, 1992                  Installing UUPC/extended 1.11v
  737.  
  738.  
  739.              The [modem].MDM files are used to describe your modem to
  740.           UUPC/extended.  They should be located in the directory called
  741.           ConfDir in your UUPC.RC file.   If your modem is identical to one
  742.           of those included in the list in section (5) above, you're in
  743.           luck -- the configuration of this modem file will be
  744.           comparatively simple.  If your modem is one of the brands listed
  745.           in section (5), then do the following:
  746.  
  747.                   (1)     Replace the port listed on the "Device=" with the
  748.                   communications port to which you connected your modem.
  749.  
  750.                   (2)     Double check that the entry in your SYSTEMS file
  751.                   specifies this modem configuration file, and that the
  752.                   "InModem=" line in your UUPC.RC file also specifies this
  753.                   file.
  754.  
  755.           If your modem is not among those supplied in the samples, then
  756.           you will have to write a .MDM file describing your modem.  The
  757.           easiest way to do this is by copying one of the other .MDM files,
  758.           and making the necessary changes.  Usually one of the .MDM files
  759.           will describe a modem similar to your own -- see below ("Modem
  760.           Files") for more suggestions.
  761.  
  762.             h)            h)            h) AUTOEXEC.BAT/CONFIG.SYS               AUTOEXEC.BAT/CONFIG.SYS               AUTOEXEC.BAT/CONFIG.SYS
  763.  
  764.           AUTOEXEC.BAT is executed by MS-DOS whenever you reboot your
  765.           system.  UUPC/extended needs three environment variables set,
  766.           which is best done by adding some commands to your AUTOEXEC.BAT
  767.           file.  At the bottom of your AUTOEXEC.BAT file, add the following
  768.           lines.  If you are running OS/2, add the same lines to your
  769.           CONFIG.SYS file.
  770.  
  771.                set UUPCSYSRC=c:\uupc\uupc.rc
  772.  
  773.                set UUPCUSRRC=c:\uupc\[username].rc
  774.  
  775.           But instead of writing [username] on the second line, use your
  776.           user name, the same as in the [username].RC file you wrote in
  777.           part f).  You'll also need to set TZ, your local time zone.
  778.           Sample TZ variable SET commands are as follows:
  779.  
  780.                     SET TZ=EST5EDT           (Eastern US Time, 5 hours
  781.                     behind GMT)
  782.                     SET TZ=EST5              (Eastern US Time, but no
  783.                     daylight savings change)
  784.                     SET TZ=CST6CDT
  785.                     SET TZ=MST7MDT           (Mountain Standard Time (US),
  786.                     with daylight savings)
  787.                     SET TZ=PST8PDT           (Pacific Time, 8 hours behind
  788.                     GMT)
  789.                     SET TZ=GMT0              (GMT, no offset, no daylight
  790.                     savings)
  791.                     SET TZ=MST-3             (Moscow Standard Time, no
  792.                     daylight savings)
  793.  
  794.                                      - 13 -
  795.  
  796.  
  797.           September 4, 1992                  Installing UUPC/extended 1.11v
  798.  
  799.  
  800.           Your mileage and time zone may vary.  Note that time zones ahead
  801.           of GMT use a minus sign in front of the hours offset.
  802.  
  803.           You'll also need to edit your path variable.  Dave, who put his
  804.           UUPC/extended files in C:\UUPC\BIN, added the line
  805.  
  806.                PATH=%path%;C:\UUPC\BIN
  807.  
  808.           at the bottom of the file.  In DOS, you must make sure the path
  809.           does not exceed 128 characters.  Under OS/2, the file you need to
  810.           edit is CONFIG.SYS and there is no path size limit, but the path
  811.           must be on one line and cannot use variables.  Under OS/2, Dave
  812.           would simply append ";C:\UUPC\OS2BIN" to his existing path.
  813.  
  814.               Note:                Note:                Note:      Several of the programs, including UUCICO and
  815.                     UUXQT, change directories as required to search for
  816.                     spool files.  Because of this, programs such as RMAIL
  817.                     and (if used) RNEWS must be in your path.  Having them
  818.                     in the current directory is not sufficient.
  819.  
  820.           Under MS-DOS, add the following line to your CONFIG.SYS, or
  821.           create a CONFIG.SYS in the root directory of your boot disk or
  822.           diskette if you currently do not have one:
  823.  
  824.                FILES=20
  825.  
  826.               Note:                Note:                Note:      If you already have a FILES= line in your
  827.                     CONFIG.SYS, it should read at least 10 and should be
  828.                     raised to 20.  If the number is greater than 20, then
  829.                     do not lower it.
  830.  
  831.           9.          9.          9.Generate the UUPC/extended online help files.  Generate
  832.           MAIL.HLP and TILDE.HLP in the 'ConfDir' directory defined in
  833.           UUPC.RC via the NOVRSTRK program as follows:
  834.  
  835.                     NOVRSTRK  MAIL.PRN  C:\UUPC\MAIL.HLP
  836.                     NOVRSTRK  TILDE.PRN C:\UUPC\TILDE.HLP
  837.  
  838.           Where 'C:\UUPC' is replaced by the actual configuration directory
  839.           name.  These files provide on-line help to the MAIL command.
  840.  
  841.           10.          10.          10.  Write a signature file.
  842.  
  843.           For each user, customize the PERSONAL.SIG file, and copy it to
  844.           the 'Home' directory defined in [username].RC for that user.
  845.           This file is appended to all outgoing mail for the user to
  846.           provide a boiler-plate signature with the user's reply address.
  847.           If this file is not installed, then the line in the [username].RC
  848.           file describing it must be commented out with a pound sign (#) in
  849.           column 1.
  850.  
  851.               Note:                Note:                Note:      Especially for users of new systems, it is
  852.                     strongly advised that you do create a signature file
  853.                     and include in it your name, electronic mail address,
  854.  
  855.                                      - 14 -
  856.  
  857.  
  858.           September 4, 1992                  Installing UUPC/extended 1.11v
  859.  
  860.  
  861.                     snail mail address, and telephone number.   This extra
  862.                     information is needed for a person to contact you if
  863.                     your electronic mail address cannot be replied to.1
  864.  
  865.             Example:     Here's a typical (boring) signature:
  866.  
  867.                Dave Watt -- N1HMB                                Home: 617-
  868.                555-9956
  869.                dmwatt@toscis.cambridge.ma.us                Work: 617-555-
  870.                4330 x159
  871.  
  872.           11.          11.          11.  Reboot your system to allow your changes to your
  873.           AUTOEXEC.BAT/CONFIG.SYS to take effect.
  874.  
  875.           Congratulations!  If you've done all of these things, you're
  876.           ready to start testing your UUPC/extended configuration.
  877.  
  878.           12.          12.          12.  Run UUNAME (just type uuname at a DOS prompt) to prove your
  879.           configuration is valid.  This will a) die gloriously or b)
  880.           display a list of known systems.  If it dies, the error message
  881.           you get should provide some clues.  Check the necessary
  882.           configuration files and try again.
  883.  
  884.             Testing            Testing            Testing
  885.  
  886.           13.          13.          13.  Send mail to yourself.  Perform this test to convince
  887.           yourself that UUPC/extended can send mail.  At the MS-DOS prompt,
  888.           type:
  889.  
  890.                C:\> mail -s "Test message" postmaster
  891.  
  892.                ? Test
  893.  
  894.                ? .
  895.  
  896.                Abort, Continue, Edit, List, or Send? Send
  897.  
  898.           The "." only works as a message terminator if the "dot" option is
  899.           set in your UUPC.RC file.  Otherwise, use Ctrl-Z.
  900.  
  901.           You should then receive the message:
  902.  
  903.                   Delivering mail from [username] to postmaster
  904.  
  905.  
  906.  
  907.                               
  908.  
  909.           1Recently, help@kew.com was sent the same query multiple times by
  910.           a user with an invalid return address.  He failed to include his
  911.           telephone number or other address in his note.  Thus, both his
  912.           original query and the follow-up letters asking why the original
  913.           query was not answered could not be replied to.
  914.  
  915.  
  916.                                      - 15 -
  917.  
  918.  
  919.           September 4, 1992                  Installing UUPC/extended 1.11v
  920.  
  921.  
  922.           If you don't, the error messages should provide some clues as to
  923.           why UUPC/extended was unable to deliver the message.  Correct the
  924.           necessary configuration files and try again.
  925.  
  926.           14.          14.          14.  Test the PC <-> modem connection.  Perform this test to
  927.           convince yourself that your modem responds to commands.  Using a
  928.           telecommunications program such as kermit, send some commands to
  929.           the modem.  Just sending AT (attention) to the modem, and getting
  930.           "OK" back, is good enough.
  931.  
  932.           15.          15.          15.  Test the PC <-> modem <-> modem <-> mail server connection.
  933.           Perform this test to convince yourself that your computer can
  934.           talk to your mail server, and that you can log in to the mail
  935.           server using the user name and password your friend back in step
  936.           (2) gave you.  Using a telecommunications program like Kermit,
  937.           dial up the remote system and try to log in.  The remote system
  938.           should give you a message like "Shere=username".  If you succeed,
  939.           hang up and go on to the final step.  If the remote system does
  940.           not recognize your account for some reason, talk to the friend
  941.           who gave you the account and find out why.
  942.  
  943.           16.          16.          16.    Try sending remote UUCP mail.  If you succeed at this, your
  944.           system is able to properly receive and send electronic mail.  At the
  945.           MS-DOS prompt, type the following:
  946.  
  947.                C:\> mail -s "Test message" postmaster@[mailserv]
  948.  
  949.                ? This is my first message.  When you receive it, please
  950.                reply.
  951.  
  952.                ? .
  953.  
  954.                Abort, Continue, Edit, List, or Send? Send
  955.  
  956.                Delivering mail from [username] to postmaster via [mailserv]
  957.  
  958.           but instead of typing "[mailserv]," on the first line, substitute
  959.           the name of your mail server, exactly as you entered it on the
  960.           "MailServ=" line in your UUPC.RC file.
  961.  
  962.           If all goes well, you should be able to enter a message and send it
  963.           off, with the UUPC/extended mail program giving you messages like
  964.           those above.
  965.  
  966.           Then, dial out to the remote system:
  967.  
  968.                C:\> uuio -s all
  969.  
  970.           And watch the connection.  With luck, you will have just sent
  971.           your first UUCP mail message.  Welcome!
  972.  
  973.               Note:              Note:              Note: For full instructions on using the mail reader, see the
  974.                     file MAIL.PRN.
  975.  
  976.  
  977.                                      - 16 -
  978.  
  979.  
  980.           September 4, 1992                  Installing UUPC/extended 1.11v
  981.  
  982.  
  983.           Upgrading an existing UUPC/extended installation          Upgrading an existing UUPC/extended installation          Upgrading an existing UUPC/extended installation
  984.  
  985.           First, uncompress the new executables and documents.  Be careful
  986.           not to overwrite your customized configuration and batch files
  987.           with the supplied sample files.
  988.  
  989.           Second, read the CHANGES.PRN file for changes related to the
  990.           newest release.  In many cases, CHANGES.PRN includes
  991.           documentation of new options and configuration file variables
  992.           before any other documents.
  993.  
  994.           Earlier versions of UUPC/extended have different user-
  995.           customizable variables.  Type "uuname -x 2" to see a list of
  996.           missing or obsolete variables in your configuration files.
  997.           Update as needed.  Look at CHANGES.PRN to see what the new
  998.           variables do.
  999.  
  1000.           If you are upgrading from a release of UUPC/extended previous to
  1001.           1.11s, delete the old version of UUPOLL, UUPOLL.COM.  This has
  1002.           been replaced by UUPOLL.EXE.
  1003.  
  1004.           If you are upgrading from a release of UUPC/extended previous to
  1005.           1.11p, delete the old version of UUXQT,  UUXQT.COM.  This has
  1006.           been replaced by UUXQT.EXE.
  1007.  
  1008.           If upgrading from a release of UUPC/extended prior to 1.11a,  you
  1009.           must clear your spool directories of files before installing the
  1010.           new release.   In general, this is done by invoking UUIO for the
  1011.           previous release to deliver any queued files to other sites.
  1012.  
  1013.           If you are upgrading from a release of UUPC/extended previous to
  1014.           1.10a, delete the old communications module, UUIO.EXE; this has
  1015.           been replaced by UUIO.BAT, UUCICO.EXE and UUXQT.EXE.
  1016.  
  1017.               Note:                Note:                Note:      If you are converting from a release previous to
  1018.                     1.10a, you must update the SYSTEMS file to the newer
  1019.                     format.  See the sample SYSTEMS file for details.
  1020.  
  1021.  
  1022.           The Fine Art of Chat Scripts          The Fine Art of Chat Scripts          The Fine Art of Chat Scripts
  1023.  
  1024.           Setting up the chat scripts used in the SYSTEMS and modem [*.MDM]
  1025.           files is the hardest part of setting up UUPC/extended.  The
  1026.           easiest way to think of chat scripts is as a dialogue between the
  1027.           local system running UUPC/extended and a modem or remote system.
  1028.           The script consists of a series of strings sent to the
  1029.           modem/remote system alternating with the expected response to
  1030.           those strings.
  1031.  
  1032.           For example, a modem file needs to contain an initialization
  1033.           sequence, which will look something like this:
  1034.  
  1035.                "" "" "" ATZ OK \dATX4&D2 OK
  1036.  
  1037.  
  1038.                                      - 17 -
  1039.  
  1040.  
  1041.           September 4, 1992                  Installing UUPC/extended 1.11v
  1042.  
  1043.  
  1044.           Since that line looks awfully intimidating at first, we'll break
  1045.           it down into its component parts.
  1046.  
  1047.                  "" An empty string.  The first one is a flag marking the
  1048.                     start of the script and showing that nothing is
  1049.                     expected from the modem.
  1050.  
  1051.                  "" The second empty string sends nothing followed by an
  1052.                     automatically appended carriage return so that the
  1053.                     following statements will start on a new line.
  1054.  
  1055.                  "" The third empty string indicates that no response to
  1056.                     the second one is expected.
  1057.  
  1058.                 ATZ This command resets a Hayes-compatible modem to its
  1059.                     stored profile.  Again the carriage return is appended.
  1060.  
  1061.                  OK The response from the modem showing that it has been
  1062.                     reset.
  1063.  
  1064.                  \d An escape sequence which produces a two second delay to
  1065.                     give the modem time to recover from the previous input.
  1066.  
  1067.             ATX4&D2 A modem initialization string.  Contents of this string
  1068.                     depend on your modem and desired options.  As always, a
  1069.                     carriage return is appended.
  1070.  
  1071.                  OK The modem responds that it has been initialized and is
  1072.                     ready to dial.
  1073.  
  1074.           The complete list of escape sequences supported by UUPC/extended
  1075.           follows.   The empty string ("") is used on input.  All other
  1076.           strings are recognized on output only.  Quotation marks may used
  1077.           on input or output to enclose a string which includes whitespace.
  1078.           The list includes:
  1079.  
  1080.                ""        Expect a NULL string.  May also enclose a string
  1081.                          which includes whitespace.
  1082.  
  1083.                BREAK     Send BREAK
  1084.  
  1085.                \b        Insert Backspace
  1086.                \B
  1087.  
  1088.                \d        Delay two seconds.
  1089.                \D
  1090.  
  1091.                \c        Omit carriage return at end of string
  1092.                \C
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.                                        18                                     -    -
  1100.  
  1101.  
  1102.           September 4, 1992                  Installing UUPC/extended 1.11v
  1103.  
  1104.  
  1105.                \m        Insert carriage return
  1106.                \M
  1107.                \r
  1108.                \R
  1109.  
  1110.                \n        Insert newline
  1111.  
  1112.                \p        Delay four tenths of a second
  1113.                \P
  1114.  
  1115.                \t        Insert tab character
  1116.                \T
  1117.  
  1118.                \s        Insert space character
  1119.                \S
  1120.  
  1121.                \Znnnn    Set serial port speed to nnnn in the range 300 to
  1122.                          19200
  1123.  
  1124.                \nnn      Convert the numeric octal string nnn to a single
  1125.                          character and transmit it
  1126.  
  1127.                \\        Insert a backslash (\)
  1128.  
  1129.  
  1130.  
  1131.           One other special syntax exists.  To allow for alternate output
  1132.           when an expected string is not received, hyphens in an expect
  1133.           string delimit alternate output to be sent, such as:
  1134.  
  1135.             "" "" ogin:--ogin:--ogin:
  1136.  
  1137.           If a login prompt (ogin:) is not received by the standard timeout
  1138.           period (generally, 30 seconds, but configurable in the modem
  1139.           file), the string between the hyphens (nothing, followed by the
  1140.           appended carriage return) is sent; if no response is received,
  1141.           the sequence is repeated one more time.
  1142.  
  1143.           If your chat script doesn't work, check and make sure that you
  1144.           have allowed delays between transmissions to allow the modem to
  1145.           recover. Failure to include needed delays can cause dropped
  1146.           characters and is one of the most common mistakes made by new
  1147.           chat script writers.
  1148.  
  1149.  
  1150.           Modem Files          Modem Files          Modem Files
  1151.  
  1152.           Modem files (.MDM) are configuration files which define the
  1153.           strings used to command a modem for dialing out; this allows
  1154.           commands always used with a particular modem to be written once
  1155.           rather being placed everywhere they are used, and also allows
  1156.           different modems to be used with the system by only changing the
  1157.           modem file (or changing the reference to the modem file in the
  1158.           SYSTEMS or UUPC.RC files).
  1159.  
  1160.                                        19                                     -    -
  1161.  
  1162.  
  1163.           September 4, 1992                  Installing UUPC/extended 1.11v
  1164.  
  1165.  
  1166.           All strings defined in a modem file are standard scripts as
  1167.           described above with the exception of the dial prefix and dial
  1168.           suffix strings.  These are combined with the phone number listed
  1169.           in the SYSTEMS file for a host and sent as one string to the
  1170.           modem when dialing out.  Sample files are included for several
  1171.           common modems.  Check to see if the current UUPC/extended
  1172.           distribution includes a file for your modem.  Most modems have
  1173.           behavior similar to one of the sample modems, so minor changes to
  1174.           one of these files should get you up and running.
  1175.  
  1176.               Note:                Note:                Note:      If you make changes to a modem file, copy it to a
  1177.                     new name to avoid confusion with the distributed
  1178.                     version.
  1179.  
  1180.           By the way, once you've done a configuration file for your modem,
  1181.           please mail a copy of the file to docs@kew.com.  The more modems
  1182.           we have configuration files for, the easier this setup procedure
  1183.           will become for other new users.
  1184.  
  1185.  
  1186.           Permissions (PERMISSN) Files          Permissions (PERMISSN) Files          Permissions (PERMISSN) Files
  1187.  
  1188.           Each system you contact must be defined in a PERMISSN file
  1189.           located in the UUPC/extended configuration directory.    In the
  1190.           permissions file, systems can be classified by whether they are
  1191.           called out to, dial in to the local system, or both.  Permissions
  1192.           files are discussed in more detail in Managing UUCP and USENET.
  1193.           Briefly, they define which directories and commands are
  1194.           accessible to the remote system.
  1195.  
  1196.           For your own protection          For your own protection          For your own protection, think carefully before giving a remote
  1197.           system read or write access outside of the default (\uupc\public,
  1198.           \uupc\spool) directories.  Think very carefully before giving
  1199.           write access to anonymous logins.
  1200.  
  1201.           Systems you call out to must have a MACHINE entry, such as
  1202.  
  1203.                MACHINE=system
  1204.  
  1205.           This defines the existence of the machine "system", and default
  1206.           permissions are granted to the system.  These permissions include
  1207.           the ability to execute RMAIL and RNEWS, and the ability to send
  1208.           files to the spool directory.  If the additional keyword
  1209.           REQUEST=YES is added to the MACHINE statement, then the remote
  1210.           system may also read and write files in your public directory,
  1211.           which is the directory defined by the variable PubDir in the
  1212.           UUPC.RC file.
  1213.  
  1214.           Systems which dial into you must have a LOGNAME entry, such as:
  1215.  
  1216.                LOGNAME=userid VALIDATE=system SENDFILES=YES
  1217.  
  1218.  
  1219.  
  1220.  
  1221.                                      - 20 -
  1222.  
  1223.  
  1224.           September 4, 1992                  Installing UUPC/extended 1.11v
  1225.  
  1226.  
  1227.               Note:              Note:              Note: If you allow anonymous logins, an entry should also be
  1228.                     placed in the PERMISSN file for the system
  1229.                     "*anonymous".
  1230.  
  1231.           This allows host "system" to login as user id "userid" with the
  1232.           same default permissions as described above.  It further allows
  1233.           your system to transmit files to the other system even though it
  1234.           called you (SENDFILES=YES)2.  However, to run UUXQT they must
  1235.           also have a MACHINE entry, because UUXQT does not look at LOGIN
  1236.           entries.3  Thus, to handle the general case, both of the above
  1237.           entries must exist in the permissions file, but they can be
  1238.           combined:
  1239.  
  1240.                LOGNAME=userid VALIDATE=system MACHINE=system SENDFILES=YES
  1241.  
  1242.           The remote system can be granted access to additional directories
  1243.           and programs through the use of additional parameters on the
  1244.           LOGNAME and MACHINE statements; these are documented in Managing
  1245.           UUCP and Usenet.
  1246.  
  1247.               Note:              Note:              Note: One difference between the PERMISSIONS file as defined
  1248.                     in the Nutshell Handbooks and as implemented in
  1249.                     UUPC/extended is that only one user id may be specified
  1250.                     per LOGNAME entry in UUPC/extended.  This restriction
  1251.                     is a security "feature"; it prevents one system from
  1252.                     logging in as another.
  1253.  
  1254.  
  1255.           Forward Files          Forward Files          Forward Files
  1256.  
  1257.           UUPC/extended has the ability to forward mail destined for a
  1258.           single user or entire system or domain.  Routing mail for an
  1259.           entire system or domain is performed via an entry in the HOSTPATH
  1260.           file, which is documented in the supplied sample HOSTPATH file.
  1261.           Forwarding mail for a single user is performed by placing a file
  1262.           named FORWARD in the user's home directory as defined in the
  1263.           PASSWD file, and contains one or more destinations, one per line
  1264.           as follows:
  1265.  
  1266.             address            address            address Simple address, subject to normal forwarding rules on
  1267.                     the local system
  1268.  
  1269.                               
  1270.  
  1271.           2The default, carried over from UNIX, is that files are only
  1272.           transmitted when you are the calling system.  This means that
  1273.           SENDFILES=YES is not needed on a MACHINE statement.
  1274.  
  1275.           3This is because UUXQT runs and processes eXecute files after
  1276.           UUCICO has terminated.  As UUCICO has terminated, there is no way
  1277.           to tell if the file were delivered by an outbound or inbound
  1278.           telephone call, so UUXQT treats the file as if it were from an
  1279.           outbound call.
  1280.  
  1281.  
  1282.                                      - 21 -
  1283.  
  1284.  
  1285.           September 4, 1992                  Installing UUPC/extended 1.11v
  1286.  
  1287.  
  1288.             \address            \address            \address     An address prefixed by a backslash; remote
  1289.                     addresses are delivered normally, but if a local
  1290.                     address it will be delivered without being subject to
  1291.                     user id verification or forwarding.
  1292.  
  1293.             |command            |command            |command     An MS-DOS command prefixed by an or bar (|).  The
  1294.                     mail is piped into the specified command.
  1295.  
  1296.             pathname            pathname            pathname     The absolute path name of a file.  To be
  1297.                     recognized as a file, the file must begin with a slash
  1298.                     (/), a tilde (~), or a driver letter/colon sequence
  1299.                     (x:).  The mail is appended at the end of the specified
  1300.                     file normally, with a line of binary ones separating
  1301.                     mail items just as if it were a mailbox.  For file
  1302.                     names beginning with tilde (~), the file name is
  1303.                     expanded as described in MAIL.HLP.
  1304.  
  1305.           As an example, the following file, if saved in the user's home
  1306.           directory under the name FORWARD, would cause the mail to be
  1307.           formatted to the console via the UUPC/extended FMT program, to be
  1308.           forwarded  to the postmaster normally, to be saved in the mailbox
  1309.           for user BOGUS without checking if such a user exists or has
  1310.           forwarding enabled, and finally to be saved in the user's home
  1311.           directory in the file BKUPMAIL.TXT:
  1312.  
  1313.                |FMT
  1314.                postmaster
  1315.                \bogus
  1316.                ~/BKUPMAIL.TXT
  1317.  
  1318.  
  1319.           When Things Go Wrong          When Things Go Wrong          When Things Go Wrong
  1320.  
  1321.           If you have difficulty getting a connection to your mail feed
  1322.           working the first time, don't worry.  Almost everyone has to
  1323.           spend a bit of time ironing out the crinkles in a new connection.
  1324.           You may wind up spending time on the phone with your mail server
  1325.           system operator trying to get things to work.  Don't worry.  UUCP
  1326.           is just like that sometimes. There are several places in
  1327.           UUPC/extended where problems can crop up.
  1328.  
  1329.           Here is a general list of the symptoms you might see, and where
  1330.           to look for solutions:
  1331.  
  1332.                      Problem                     Problem                     Problem                      Solution                                                  Solution                                                  Solution
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.                                      - 22 -
  1344.  
  1345.  
  1346.           September 4, 1992                  Installing UUPC/extended 1.11v
  1347.  
  1348.  
  1349.           When you start a              You need to set the
  1350.           UUPC/extended application,    UUPCSYSRC and UUPCUSRRC
  1351.           it displays a message like    environment variables.  See
  1352.           "environment variable         part 8H in the installation
  1353.           UUPCSYSRC must be             section, above.
  1354.           specified," or "User
  1355.           configuration parameter
  1356.           "mailbox" must be set,"then
  1357.           exits.
  1358.  
  1359.           When you start up UUCICO, it  The PERMISSN file and your
  1360.           displays a message like:      SYSTEMS file are
  1361.           "Invalid host id in           inconsistent.  There is an
  1362.           c:/uupc/permi  ssn,           entry in your PERMISSN file
  1363.           MACHINE=[name]; Unable to     which does not match a
  1364.           initialize security," then    corresponding system in the
  1365.           exits.                        SYSTEMS file, a userid which
  1366.                                         does not appear in PASSWD,
  1367.                                         or a directory does not
  1368.                                         exist.  See parts 8C, 8D,
  1369.                                         and 8E.
  1370.  
  1371.           When you start up UUCICO, it  You have a problem with your
  1372.           displays a message like:      .MDM file.  Check your
  1373.           wanted "OK" got ???           UUPC.RC file to make sure
  1374.           "ERROR????" then exits.       you're using the .MDM file
  1375.                                         you think you are, then
  1376.                                         check the lines in the file
  1377.                                         to find the one that gives
  1378.                                         your modem problems.  Try
  1379.                                         "uucico -x 4" to see more
  1380.                                         information as uucico
  1381.                                         processes the script.
  1382.  
  1383.           When you try to connect to    This could be one of several
  1384.           the remote machine, it        things, most of which could
  1385.           refuses the connection, even  be due to errors in the
  1386.           though you were able to dial  entry in your SYSTEMS file
  1387.           in with another               for your mail server. See
  1388.           telecommunications program.   part 8C.  Or, you could have
  1389.                                         given your system a
  1390.                                         different name in your
  1391.                                         UUPC.RC file than the mail
  1392.                                         server expected.  See part
  1393.                                         8A.
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.                                      - 23 -
  1405.  
  1406.  
  1407.           September 4, 1992                  Installing UUPC/extended 1.11v
  1408.  
  1409.  
  1410.           UUPC/extended will connect    Any number of things, which
  1411.           but will not exchange data    is why you should seek
  1412.           with another system; what's   additional information from
  1413.           wrong?                        either a UNIX guru or the
  1414.                                         Nutshell Handbooks.
  1415.                                         However, one hint is that
  1416.                                         any programs communicating
  1417.                                         via the UUCP "g" protocol
  1418.                                         must have a clean eight bit
  1419.                                         connection; a seven bit even
  1420.                                         parity connection or
  1421.                                         connection with flow control
  1422.                                         will ruin your whole day.
  1423.                                         If you can login as a normal
  1424.                                         user to the remote system,
  1425.                                         you can use the STTY command
  1426.                                         to determine the parity and
  1427.                                         flow control settings.
  1428.  
  1429.                 UUPC/extended          After               picks up  A good chance is that UUXQT
  1430.           my mail, UUXQT tries to       cannot find RMAIL.  Any
  1431.           deliver it and fails with a   program invoked by UUXQT
  1432.           message "PERMISSION DENIED".  must be a .COM or .EXE file
  1433.           What's wrong?                 and must be in the path.
  1434.                                         Placing a command in the
  1435.                                         directory UUXQT is invoked
  1436.                                         from is not enough, because
  1437.                                         UUXQT changes directories as
  1438.                                         it runs.
  1439.  
  1440.                UUPC/extended          When               logins     The full answer (or at least
  1441.           the remote system, the        the full list of the
  1442.           remote delivers Shere                          Shere                          Shere as the  possible error responses to
  1443.           first message and then        the second message sent to
  1444.                  as the second          RLOGIN          RLOGIN          RLOGIN                        the remote host) is listed
  1445.           message.  Why doesn't         in Managing UUCP and USENET.                                                                   .                                                                   .
  1446.           UUPC/extended like this       Suffice to say here the
  1447.           second message?                      means that the remote                                        RLOGIN                                        RLOGIN                                        RLOGIN
  1448.                                         system does not know your
  1449.                                         system; this is caused by
  1450.                                         your system missing from the
  1451.                                         remote's USERFILE                                                 USERFILE                                                 USERFILE  L.sys                                                           L.sys                                                           L.sys                                                         ,      ,
  1452.                                                , or                                         Systems                                        Systems                                        Systems     Permissions                                                    Permissions                                                    Permissions4
  1453.                                         files.
  1454.  
  1455.  
  1456.  
  1457.  
  1458.                               
  1459.  
  1460.           4A single system will not have all these files.  For example, a
  1461.           UUPC/extended system or a system running the BNU version of UUCP
  1462.           will have Permissions                    Permissions                    Permissions     Systems                                    Systems                                    Systems                                and        .
  1463.  
  1464.  
  1465.                                        24                                     -    -