home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume2 / smail-xenix-v3 / X.README < prev   
Encoding:
Text File  |  1991-08-07  |  2.8 KB  |  67 lines

  1. X.README
  2.  
  3. This file describes how to use my smail 2.5 patches for SCO Xenix System V.
  4.  
  5. To use these patches, you need either (1) Larry Wall's "patch" program, or
  6. (2) lots of patience while you apply these changes by hand.
  7.  
  8. So, here it is:
  9.  
  10.         1.  Find your original, untouched smail 2.5 sources.  Copy these
  11.             to a new directory.  (We'll call it "/usr/src/xsmail".)
  12.  
  13.         2.  Move the files in this sharchive (Makefile, X.README,
  14.             X.PATCHES, execm.c, install_smail) into /usr/src/xsmail.
  15.             This will overwrite the distributed Makefile.
  16.  
  17.         3.  Run "patch <X.PATCHES".  No patches should fail; if any do,
  18.             then you probably started with modified sources or with the
  19.             wrong version of smail.
  20.  
  21.             (This step will leave ".orig" files lying around.  You may
  22.             remove these at any time, but I'd leave them until installation
  23.             is complete just to be on the safe side.  And if any patches
  24.             fail, those patches will be in ".rej" files.)
  25.  
  26.         4.  Examine defs.h and configure it for your installation.
  27.             Specifically, if you're running Micnet or Xenix-Net, you'll
  28.             probably want to uncomment "#define MICNET".  (Or you can
  29.             define it in the Makefile.)
  30.  
  31.         5.  Run "make" to make smail and execm.
  32.  
  33.         6.  >As root<, run "./install_smail".
  34.  
  35. If you do the above steps, the following will have occurred:
  36.  
  37.         Smail is installed as /usr/bin/smail.
  38.  
  39.         /usr/bin/rmail is moved to /usr/bin/rmail.x and never used again.
  40.  
  41.         /usr/bin/smail is linked to /usr/bin/rmail.
  42.  
  43.         /usr/lib/mail/execmail is moved to /usr/lib/mail/execmail.x, which
  44.         smail uses for delivering local mail. (If you define MICNET when
  45.         compiling smail, then execmail.x is used for delivering _all_ mail,
  46.         not just local mail.)
  47.  
  48.         The program execm.c is installed as /usr/lib/mail/execmail.  This
  49.         "fake" execmail just parses its arguments and executes smail.  I
  50.         would have just linked /usr/bin/smail to /usr/lib/mail/execmail,
  51.         but their arguments are different.  (The /bin/mail program uses
  52.         execmail to do its work.)
  53.  
  54. Users of /bin/mail note:  If you want to use Internet-style addresses with
  55. /bin/mail, you have to add the line "set execmail" to /usr/lib/mail/mailrc.
  56. Otherwise, /bin/mail assumes that addresses without bangs must be valid
  57. local users.
  58.  
  59. One final comment:  I'd like to have some idea of how widely used these
  60. patches are.  So when you get it working -- or if you can't! -- drop me a
  61. line and tell me about it. (My address is chip@ateng.  If you can't get a
  62. valid path, try codas!ateng!chip or uunet!ateng!chip.)
  63.  
  64.         28 December 1987
  65.         Chip Salzenberg <chip@ateng.UUCP>
  66.         A T Engineering, Tampa, FL
  67.