xref: /freebsd/contrib/sendmail/INSTALL (revision 65b71c48d226f3ef3eb1c4452dccc678a7d2ac96)
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 may have to create
32   a new user smmsp and a new group smmsp for the default installation
33   if you are updating from a really old version.
34   Then install the sendmail binary built in step 3 by cd-ing back to
35   sendmail/ and running "sh ./Build install".
36
377. For each of the associated sendmail utilities (makemap, mailstats,
38   etc.), read the README in the utility's directory if it exists.  When
39   you are ready to install it, back up your installed version and type
40   "sh ./Build install".
41
428. If you are upgrading from an older version of sendmail and are using any
43   database maps, be sure to rebuild them with the new version of makemap,
44   in case you are now using a different (and thereby incompatible) version
45   of Berkeley DB.
46
47$Revision: 8.16 $, Last updated $Date: 2007-10-03 21:00:28 $
48