INSTALL revision 285303
138032Speter
2132943Sgshapiro			Installing sendmail
364562Sgshapiro
438032Speter**Note**: Starting with sendmail 8.12, sendmail is no longer set-user-ID
538032Speterroot by default.  As a result of this, you need to install two .cf files.
638032SpeterSee steps 4 and 6 in this document.  We also strongly recommend reading
738032Spetersendmail/SECURITY for more installation information.
838032Speter
938032Speter1. Read all the README files noted in the INTRODUCTION section of the README
1038032Speter   file in this top-level directory.
1138032Speter
1238032Speter2. Create any necessary site configuration build files, as noted in
1338032Speter   devtools/Site/README.
1464562Sgshapiro
1538032Speter3. In the sendmail/ directory, run "sh ./Build" (see sendmail/README for
16141858Sgshapiro   details).
1764562Sgshapiro
18141858Sgshapiro4. Change to the cf/cf/ directory (that's not a typo): Copy whichever .mc
1964562Sgshapiro   file best matches your environment to sendmail.mc.  Next, tailor it
2090792Sgshapiro   as explained in cf/README.  Then run
2190792Sgshapiro   "sh ./Build sendmail.cf".
2290792Sgshapiro
2364562Sgshapiro5. Back up your current /etc/mail/sendmail.cf and the sendmail binary (whose
2490792Sgshapiro   location varies from operating system to operating system, but is usually
2590792Sgshapiro   in /usr/sbin or /usr/lib).
2690792Sgshapiro
2790792Sgshapiro6. Install sendmail.cf as /etc/mail/sendmail.cf and submit.cf as
2890792Sgshapiro   /etc/mail/submit.cf.  This can be done in the cf/cf by using
2990792Sgshapiro   "sh ./Build install-cf".
3090792Sgshapiro
3190792Sgshapiro   Please read sendmail/SECURITY before continuing; you may have to create
3290792Sgshapiro   a new user smmsp and a new group smmsp for the default installation
3390792Sgshapiro   if you are updating from a really old version.
3490792Sgshapiro   Then install the sendmail binary built in step 3 by cd-ing back to
3590792Sgshapiro   sendmail/ and running "sh ./Build install".
3690792Sgshapiro
3790792Sgshapiro7. For each of the associated sendmail utilities (makemap, mailstats,
3890792Sgshapiro   etc.), read the README in the utility's directory if it exists.  When
3990792Sgshapiro   you are ready to install it, back up your installed version and type
4090792Sgshapiro   "sh ./Build install".
4190792Sgshapiro
4290792Sgshapiro8. If you are upgrading from an older version of sendmail and are using any
4390792Sgshapiro   database maps, be sure to rebuild them with the new version of makemap,
4490792Sgshapiro   in case you are now using a different (and thereby incompatible) version
4590792Sgshapiro   of Berkeley DB.
4690792Sgshapiro
4790792Sgshapiro$Revision: 8.16 $, Last updated $Date: 2007-10-03 21:00:28 $
4890792Sgshapiro