freebsd-nq/contrib/sendmail/INSTALL

48 lines
2.0 KiB
Plaintext
Raw Normal View History

Installing sendmail
2002-02-17 21:56:45 +00:00
**Note**: Starting with sendmail 8.12, sendmail is no longer set-user-ID
root by default. As a result of this, you need to install two .cf files.
See steps 4 and 6 in this document. We also strongly recommend reading
sendmail/SECURITY for more installation information.
1. Read all the README files noted in the INTRODUCTION section of the README
file in this top-level directory.
2. Create any necessary site configuration build files, as noted in
devtools/Site/README.
2007-11-05 00:04:21 +00:00
3. In the sendmail/ directory, run "sh ./Build" (see sendmail/README for
details).
4. Change to the cf/cf/ directory (that's not a typo): Copy whichever .mc
2002-02-17 21:56:45 +00:00
file best matches your environment to sendmail.mc. Next, tailor it
as explained in cf/README. Then run
2007-11-05 00:04:21 +00:00
"sh ./Build sendmail.cf".
5. Back up your current /etc/mail/sendmail.cf and the sendmail binary (whose
location varies from operating system to operating system, but is usually
in /usr/sbin or /usr/lib).
2002-02-17 21:56:45 +00:00
6. Install sendmail.cf as /etc/mail/sendmail.cf and submit.cf as
/etc/mail/submit.cf. This can be done in the cf/cf by using
2007-11-05 00:04:21 +00:00
"sh ./Build install-cf".
2002-02-17 21:56:45 +00:00
2014-12-12 04:10:50 +00:00
Please read sendmail/SECURITY before continuing; you may have to create
a new user smmsp and a new group smmsp for the default installation
if you are updating from a really old version.
2002-02-17 21:56:45 +00:00
Then install the sendmail binary built in step 3 by cd-ing back to
2007-11-05 00:04:21 +00:00
sendmail/ and running "sh ./Build install".
2002-06-11 21:12:04 +00:00
7. For each of the associated sendmail utilities (makemap, mailstats,
etc.), read the README in the utility's directory if it exists. When
2007-11-05 00:04:21 +00:00
you are ready to install it, back up your installed version and type
"sh ./Build install".
2001-01-21 22:17:06 +00:00
8. If you are upgrading from an older version of sendmail and are using any
database maps, be sure to rebuild them with the new version of makemap,
in case you are now using a different (and thereby incompatible) version
of Berkeley DB.
2014-05-22 03:45:17 +00:00
$Revision: 8.16 $, Last updated $Date: 2007-10-03 21:00:28 $