home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / SMAILSRC.ZIP / DOC2.ZIP / INSTALL < prev    next >
Encoding:
Text File  |  1990-04-03  |  2.1 KB  |  100 lines

  1. There are three system types on which smail can be installed.
  2.  
  3.     (1) Berkeley with sendmail
  4.     (2) System V with sendmail
  5.     (3) System V without sendmail
  6.  
  7.     Note: if you have a System III or V7 derived system, you
  8.     can probably treat it like (3).  We have not tested smail
  9.     on such a system.
  10.  
  11. The installation will vary slightly for each system type.
  12.  
  13. For all systems you first have to create a 'paths' database.
  14. See paths(8) for details on the file's format.  Then
  15. copy it to /usr/lib/uucp/paths.
  16.  
  17. Next, edit "defs.h" to configure smail to suit your situation.
  18.  
  19. Here are step by step installation instructions for each system type.
  20.  
  21. (1) For a berkeley system with sendmail, the steps are:
  22.  
  23.     $ make
  24.  
  25.     $ cp smail /bin/smail
  26.  
  27.     $ sh make.cf.sh
  28.         <answer the questions it asks>
  29.  
  30.     $ mv /usr/lib/sendmail.cf /usr/lib/OLDsendmail.cf
  31.  
  32.     $ cp sendmail.cf /usr/lib/sendmail.cf
  33.  
  34.     $ /usr/lib/sendmail -bz
  35.  
  36.     $ mv /bin/rmail /bin/OLDrmail
  37.  
  38.     $ ln /bin/smail /bin/rmail
  39.  
  40. (2) For a System V system with sendmail, the steps are:
  41.  
  42.     $ make
  43.  
  44.     $ cp smail /bin/smail
  45.  
  46.     $ ln /bin/mail /bin/lmail
  47.  
  48.     $ sh make.cf.sh
  49.         <answer the questions it asks>
  50.  
  51.     $ mv /usr/lib/sendmail.cf /usr/lib/OLDsendmail.cf
  52.  
  53.     $ cp sendmail.cf /usr/lib/sendmail.cf
  54.  
  55.     $ /usr/lib/sendmail -bz
  56.  
  57.     $ rm /bin/mail # (Remember, you still have it in /bin/lmail.)
  58.  
  59.     $ mv svbinmail /bin/mail
  60.  
  61.     $ mv /bin/rmail /bin/OLDrmail
  62.  
  63.     $ ln /bin/smail /bin/rmail
  64.  
  65.     Note: some implementations of sendmail don't work when the 'U'
  66.     flag is set in the definition of the local mailer (a line that
  67.     begins with "Mlocal" in the generated sendmail.cf).  If you try
  68.     to send mail from a local user to a local user, a message comes
  69.     out that says "No '!' in UUCP! (user)" - and the mail fails.
  70.     If this happens take the 'U' flag out of the sendmail.cf.
  71.  
  72.     [ the >'s are secondary prompts from the shell,
  73.       and ^M is 'carat' 'M', not 'control-M' ]
  74.  
  75.     $ ed sendmail.cf <<!
  76.     > /^Mlocal/s/SU/S/
  77.     > w
  78.     > q
  79.     > !
  80.  
  81. (3) For a System V system without sendmail, the steps are:
  82.  
  83.     $ make
  84.  
  85.     $ cp smail /bin/smail
  86.  
  87.     $ mv /bin/mail /bin/lmail
  88.  
  89.     $ mv svbinmail /bin/mail
  90.  
  91.     $ mv /bin/rmail /bin/OLDrmail
  92.  
  93.     $ ln /bin/smail /bin/rmail
  94.  
  95. You're done.
  96.  
  97. #
  98. # @(#)Install    2.5 (smail) 9/15/87
  99. #
  100.