164562Sgshapiro 264562Sgshapiro Installing sendmail 364562Sgshapiro 490792Sgshapiro**Note**: Starting with sendmail 8.12, sendmail is no longer set-user-ID 590792Sgshapiroroot by default. As a result of this, you need to install two .cf files. 690792SgshapiroSee steps 4 and 6 in this document. We also strongly recommend reading 790792Sgshapirosendmail/SECURITY for more installation information. 864562Sgshapiro 964562Sgshapiro1. Read all the README files noted in the INTRODUCTION section of the README 1064562Sgshapiro file in this top-level directory. 1164562Sgshapiro 1264562Sgshapiro2. Create any necessary site configuration build files, as noted in 1364562Sgshapiro devtools/Site/README. 1464562Sgshapiro 15173340Sgshapiro3. In the sendmail/ directory, run "sh ./Build" (see sendmail/README for 1664562Sgshapiro details). 1764562Sgshapiro 1864562Sgshapiro4. Change to the cf/cf/ directory (that's not a typo): Copy whichever .mc 1990792Sgshapiro file best matches your environment to sendmail.mc. Next, tailor it 2090792Sgshapiro as explained in cf/README. Then run 21173340Sgshapiro "sh ./Build sendmail.cf". 2264562Sgshapiro 2364562Sgshapiro5. Back up your current /etc/mail/sendmail.cf and the sendmail binary (whose 2464562Sgshapiro location varies from operating system to operating system, but is usually 2564562Sgshapiro in /usr/sbin or /usr/lib). 2664562Sgshapiro 2790792Sgshapiro6. Install sendmail.cf as /etc/mail/sendmail.cf and submit.cf as 2890792Sgshapiro /etc/mail/submit.cf. This can be done in the cf/cf by using 29173340Sgshapiro "sh ./Build install-cf". 3064562Sgshapiro 3190792Sgshapiro Please read sendmail/SECURITY before continuing; you have to create a 3290792Sgshapiro new user smmsp and a new group smmsp for the default installation. 3390792Sgshapiro Then install the sendmail binary built in step 3 by cd-ing back to 34173340Sgshapiro sendmail/ and running "sh ./Build install". 3590792Sgshapiro 3698121Sgshapiro7. For each of the associated sendmail utilities (makemap, mailstats, 3798121Sgshapiro etc.), read the README in the utility's directory if it exists. When 38173340Sgshapiro you are ready to install it, back up your installed version and type 39173340Sgshapiro "sh ./Build install". 4064562Sgshapiro 4171345Sgshapiro8. If you are upgrading from an older version of sendmail and are using any 4271345Sgshapiro database maps, be sure to rebuild them with the new version of makemap, 4371345Sgshapiro in case you are now using a different (and thereby incompatible) version 4471345Sgshapiro of Berkeley DB. 4571345Sgshapiro 46173340Sgshapiro$Revision: 8.16 $, Last updated $Date: 2007/10/03 21:00:28 $ 47