INSTALL revision 267654
1295016Sjkim
2238405Sjkim			Installing sendmail
3238405Sjkim
4238405Sjkim**Note**: Starting with sendmail 8.12, sendmail is no longer set-user-ID
5238405Sjkimroot by default.  As a result of this, you need to install two .cf files.
6238405SjkimSee steps 4 and 6 in this document.  We also strongly recommend reading
7238405Sjkimsendmail/SECURITY for more installation information.
8238405Sjkim
9238405Sjkim1. Read all the README files noted in the INTRODUCTION section of the README
10238405Sjkim   file in this top-level directory.
11238405Sjkim
12238405Sjkim2. Create any necessary site configuration build files, as noted in
13238405Sjkim   devtools/Site/README.
14238405Sjkim
15238405Sjkim3. In the sendmail/ directory, run "sh ./Build" (see sendmail/README for
16238405Sjkim   details).
17238405Sjkim
18238405Sjkim4. Change to the cf/cf/ directory (that's not a typo): Copy whichever .mc
19238405Sjkim   file best matches your environment to sendmail.mc.  Next, tailor it
20238405Sjkim   as explained in cf/README.  Then run
21238405Sjkim   "sh ./Build sendmail.cf".
22238405Sjkim
23238405Sjkim5. Back up your current /etc/mail/sendmail.cf and the sendmail binary (whose
24238405Sjkim   location varies from operating system to operating system, but is usually
25238405Sjkim   in /usr/sbin or /usr/lib).
26238405Sjkim
27238405Sjkim6. Install sendmail.cf as /etc/mail/sendmail.cf and submit.cf as
28238405Sjkim   /etc/mail/submit.cf.  This can be done in the cf/cf by using
29238405Sjkim   "sh ./Build install-cf".
30238405Sjkim
31238405Sjkim   Please read sendmail/SECURITY before continuing; you have to create a
32238405Sjkim   new user smmsp and a new group smmsp for the default installation.
33238405Sjkim   Then install the sendmail binary built in step 3 by cd-ing back to
34238405Sjkim   sendmail/ and running "sh ./Build install".
35238405Sjkim
36238405Sjkim7. For each of the associated sendmail utilities (makemap, mailstats,
37238405Sjkim   etc.), read the README in the utility's directory if it exists.  When
38238405Sjkim   you are ready to install it, back up your installed version and type
39238405Sjkim   "sh ./Build install".
40238405Sjkim
41276864Sjkim8. If you are upgrading from an older version of sendmail and are using any
42276864Sjkim   database maps, be sure to rebuild them with the new version of makemap,
43238405Sjkim   in case you are now using a different (and thereby incompatible) version
44238405Sjkim   of Berkeley DB.
45238405Sjkim
46238405Sjkim$Revision: 8.16 $, Last updated $Date: 2007-10-03 21:00:28 $
47238405Sjkim