home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / sendmail / sendmail.cf / doc / 5.install < prev    next >
Encoding:
Text File  |  1987-05-14  |  1.5 KB  |  32 lines

  1. Installing the New Sendmail Configuration
  2.  
  3. First, you need a 'sanctioned' copy of '/etc/hosts', which includes
  4. common aliases for local hosts.  A full-blown copy of '/etc/hosts'
  5. is available for anonymous ftp from the host 'harvard' under the
  6. name 'hosts'.  There is also a list of local hosts only under the
  7. name 'localhosts'.  While you are there, you should also get copies of
  8. the files 'mailhosts', 'mailhosts.ether', 'mailhosts.bitnet',
  9. 'mailhosts.decnet', and 'mailhosts.arpadomains' from the
  10. subdirectory 'mail', and install them in the directory '/etc'.
  11.  
  12. Make a sendmail.cf according to the directions already given.
  13. If you talk to any hosts via UUCP, generate a 'mailhosts.uucp' file
  14. by saying 'make mailhosts.uucp', and copying this into the directory '/etc'.
  15.  
  16. To install the new 'sendmail.cf', simply copy it into /usr/lib, e.g.
  17.     'cp sendmail.cf /usr/lib'
  18.  
  19. Sendmail allows you to create a frozen configuration file, for quicker
  20. startup time.  I currently DO NOT recommend this - not having a frozen
  21. configuration file allows you to update the
  22. '/usr/local/lib/mail/mailhost' files without having to re-freeze the
  23. configuration file.  It also allows you to share a single
  24. /usr/lib/sendmail.cf via NFS without having to maintain multiple frozen
  25. configuration files.
  26.  
  27. You will also usually want to kill and restart the sendmail daemon.
  28. Use '/bin/ps' to find the pid of the sendmail daemon, and
  29. use 'kill -9 pid'.  Starting a new daemon is usually done with command
  30.     '/usr/lib/sendmail -bd -q1h'
  31. (There should be an automatic way to do this.)
  32.