xref: /freebsd/contrib/sendmail/INSTALL (revision 06f25ae9f1d6020a600a10f713046203d1a82570)
106f25ae9SGregory Neil Shapiro
206f25ae9SGregory Neil Shapiro			Installing sendmail
306f25ae9SGregory Neil Shapiro
406f25ae9SGregory Neil ShapiroNote: as of sendmail 8.9, a new build architecture is in place that allows
506f25ae9SGregory Neil Shapiroyou to use the "Build" shell script in any of the program directories.
606f25ae9SGregory Neil ShapiroOn many environments this will do everything for you, no fuss, no muss.
706f25ae9SGregory Neil Shapiro
806f25ae9SGregory Neil Shapiro1. Read all the README files noted in the INTRODUCTION section of the README
906f25ae9SGregory Neil Shapiro   file in this top-level directory.
1006f25ae9SGregory Neil Shapiro
1106f25ae9SGregory Neil Shapiro2. Create any necessary site configuration build files, as noted in
1206f25ae9SGregory Neil Shapiro   devtools/Site/README.
1306f25ae9SGregory Neil Shapiro
1406f25ae9SGregory Neil Shapiro3. In the sendmail/ directory, run "sh Build" (see sendmail/README for
1506f25ae9SGregory Neil Shapiro   details).
1606f25ae9SGregory Neil Shapiro
1706f25ae9SGregory Neil Shapiro4. Change to the cf/cf/ directory (that's not a typo): Copy whichever .mc
1806f25ae9SGregory Neil Shapiro   file best matches your environment to config.mc, where config can be any
1906f25ae9SGregory Neil Shapiro   name.  Next, tailor it as explained in cf/README.  Then run
2006f25ae9SGregory Neil Shapiro   "sh Build config.cf".
2106f25ae9SGregory Neil Shapiro
2206f25ae9SGregory Neil Shapiro5. Back up your current /etc/mail/sendmail.cf and the sendmail binary (whose
2306f25ae9SGregory Neil Shapiro   location varies from operating system to operating system, but is usually
2406f25ae9SGregory Neil Shapiro   in /usr/sbin or /usr/lib).
2506f25ae9SGregory Neil Shapiro
2606f25ae9SGregory Neil Shapiro6. Install config.cf as /etc/mail/sendmail.cf and install the sendmail binary
2706f25ae9SGregory Neil Shapiro   built in step 3 by cd-ing back to sendmail/ and running "sh Build install".
2806f25ae9SGregory Neil Shapiro
2906f25ae9SGregory Neil Shapiro7. For each of the associated sendmail utilities (makemap, mailstats, etc.),
3006f25ae9SGregory Neil Shapiro   read the README in the utility's directory.  When you are ready to install
3106f25ae9SGregory Neil Shapiro   it, back up your installed version and type "sh Build install".
3206f25ae9SGregory Neil Shapiro
3306f25ae9SGregory Neil Shapiro$Revision: 8.3.16.1 $, Last updated $Date: 2000/05/09 20:20:44 $
34