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 31285303Sgshapiro Please read sendmail/SECURITY before continuing; you may have to create 32285303Sgshapiro a new user smmsp and a new group smmsp for the default installation 33285303Sgshapiro if you are updating from a really old version. 3490792Sgshapiro Then install the sendmail binary built in step 3 by cd-ing back to 35173340Sgshapiro sendmail/ and running "sh ./Build install". 3690792Sgshapiro 3798121Sgshapiro7. For each of the associated sendmail utilities (makemap, mailstats, 3898121Sgshapiro etc.), read the README in the utility's directory if it exists. When 39173340Sgshapiro you are ready to install it, back up your installed version and type 40173340Sgshapiro "sh ./Build install". 4164562Sgshapiro 4271345Sgshapiro8. If you are upgrading from an older version of sendmail and are using any 4371345Sgshapiro database maps, be sure to rebuild them with the new version of makemap, 4471345Sgshapiro in case you are now using a different (and thereby incompatible) version 4571345Sgshapiro of Berkeley DB. 4671345Sgshapiro 47266692Sgshapiro$Revision: 8.16 $, Last updated $Date: 2007-10-03 21:00:28 $ 48