2000-08-12 21:55:49 +00:00
|
|
|
|
|
|
|
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.
|
2000-08-12 21:55:49 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
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
|
|
|
|
"sh Build sendmail.cf".
|
2000-08-12 21:55:49 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
"sh Build install-cf".
|
|
|
|
|
|
|
|
Please read sendmail/SECURITY before continuing; you have to create a
|
|
|
|
new user smmsp and a new group smmsp for the default installation.
|
|
|
|
Then install the sendmail binary built in step 3 by cd-ing back to
|
|
|
|
sendmail/ and running "sh Build install".
|
2000-08-12 21:55:49 +00:00
|
|
|
|
|
|
|
7. For each of the associated sendmail utilities (makemap, mailstats, etc.),
|
|
|
|
read the README in the utility's directory. When 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.
|
|
|
|
|
2002-04-20 20:31:51 +00:00
|
|
|
$Revision: 1.1.1.3 $, Last updated $Date: 2002/02/17 21:56:38 $
|