xref: /freebsd/contrib/sendmail/INSTALL (revision 4fd2d3b6927878771635a3628ae1623daf810d39)
1
2			Installing sendmail
3
4**Note**: Starting with sendmail 8.12, sendmail is no longer set-user-ID
5root by default.  As a result of this, you need to install two .cf files.
6See steps 4 and 6 in this document.  We also strongly recommend reading
7sendmail/SECURITY for more installation information.
8
91. Read all the README files noted in the INTRODUCTION section of the README
10   file in this top-level directory.
11
122. Create any necessary site configuration build files, as noted in
13   devtools/Site/README.
14
153. In the sendmail/ directory, run "sh ./Build" (see sendmail/README for
16   details).
17
184. Change to the cf/cf/ directory (that's not a typo): Copy whichever .mc
19   file best matches your environment to sendmail.mc.  Next, tailor it
20   as explained in cf/README.  Then run
21   "sh ./Build sendmail.cf".
22
235. Back up your current /etc/mail/sendmail.cf and the sendmail binary (whose
24   location varies from operating system to operating system, but is usually
25   in /usr/sbin or /usr/lib).
26
276. Install sendmail.cf as /etc/mail/sendmail.cf and submit.cf as
28   /etc/mail/submit.cf.  This can be done in the cf/cf by using
29   "sh ./Build install-cf".
30
31   Please read sendmail/SECURITY before continuing; you have to create a
32   new user smmsp and a new group smmsp for the default installation.
33   Then install the sendmail binary built in step 3 by cd-ing back to
34   sendmail/ and running "sh ./Build install".
35
367. For each of the associated sendmail utilities (makemap, mailstats,
37   etc.), read the README in the utility's directory if it exists.  When
38   you are ready to install it, back up your installed version and type
39   "sh ./Build install".
40
418. If you are upgrading from an older version of sendmail and are using any
42   database maps, be sure to rebuild them with the new version of makemap,
43   in case you are now using a different (and thereby incompatible) version
44   of Berkeley DB.
45
46$Revision: 8.16 $, Last updated $Date: 2007/10/03 21:00:28 $
47