[19203] | 1 | |
---|
| 2 | Installing sendmail |
---|
| 3 | |
---|
| 4 | **Note**: Starting with sendmail 8.12, sendmail is no longer set-user-ID |
---|
| 5 | root by default. As a result of this, you need to install two .cf files. |
---|
| 6 | See steps 4 and 6 in this document. We also strongly recommend reading |
---|
| 7 | sendmail/SECURITY for more installation information. |
---|
| 8 | |
---|
| 9 | 1. Read all the README files noted in the INTRODUCTION section of the README |
---|
| 10 | file in this top-level directory. |
---|
| 11 | |
---|
| 12 | 2. Create any necessary site configuration build files, as noted in |
---|
| 13 | devtools/Site/README. |
---|
| 14 | |
---|
| 15 | 3. In the sendmail/ directory, run "sh Build" (see sendmail/README for |
---|
| 16 | details). |
---|
| 17 | |
---|
| 18 | 4. 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 | |
---|
| 23 | 5. 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 | |
---|
| 27 | 6. 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 | |
---|
| 36 | 7. 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 "sh |
---|
| 39 | Build install". |
---|
| 40 | |
---|
| 41 | 8. 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: 1.1.1.1 $, Last updated $Date: 2003-04-08 15:07:40 $ |
---|