INSTALL revision 173340
11573Srgrimes 21573Srgrimes Installing sendmail 31573Srgrimes 41573Srgrimes**Note**: Starting with sendmail 8.12, sendmail is no longer set-user-ID 51573Srgrimesroot by default. As a result of this, you need to install two .cf files. 61573SrgrimesSee steps 4 and 6 in this document. We also strongly recommend reading 71573Srgrimessendmail/SECURITY for more installation information. 81573Srgrimes 91573Srgrimes1. Read all the README files noted in the INTRODUCTION section of the README 101573Srgrimes file in this top-level directory. 111573Srgrimes 121573Srgrimes2. Create any necessary site configuration build files, as noted in 131573Srgrimes devtools/Site/README. 141573Srgrimes 151573Srgrimes3. In the sendmail/ directory, run "sh ./Build" (see sendmail/README for 161573Srgrimes details). 171573Srgrimes 181573Srgrimes4. Change to the cf/cf/ directory (that's not a typo): Copy whichever .mc 191573Srgrimes file best matches your environment to sendmail.mc. Next, tailor it 201573Srgrimes as explained in cf/README. Then run 211573Srgrimes "sh ./Build sendmail.cf". 221573Srgrimes 231573Srgrimes5. Back up your current /etc/mail/sendmail.cf and the sendmail binary (whose 241573Srgrimes location varies from operating system to operating system, but is usually 251573Srgrimes in /usr/sbin or /usr/lib). 261573Srgrimes 271573Srgrimes6. Install sendmail.cf as /etc/mail/sendmail.cf and submit.cf as 281573Srgrimes /etc/mail/submit.cf. This can be done in the cf/cf by using 291573Srgrimes "sh ./Build install-cf". 301573Srgrimes 311573Srgrimes Please read sendmail/SECURITY before continuing; you have to create a 321573Srgrimes new user smmsp and a new group smmsp for the default installation. 3392889Sobrien Then install the sendmail binary built in step 3 by cd-ing back to 3492889Sobrien sendmail/ and running "sh ./Build install". 351573Srgrimes 36211276Sume7. For each of the associated sendmail utilities (makemap, mailstats, 371573Srgrimes etc.), read the README in the utility's directory if it exists. When 38158115Sume you are ready to install it, back up your installed version and type 391573Srgrimes "sh ./Build install". 40145279Sume 41158115Sume8. If you are upgrading from an older version of sendmail and are using any 42158115Sume database maps, be sure to rebuild them with the new version of makemap, 43158115Sume in case you are now using a different (and thereby incompatible) version 44158115Sume of Berkeley DB. 451573Srgrimes 46158115Sume$Revision: 8.16 $, Last updated $Date: 2007/10/03 21:00:28 $ 47158115Sume