Install sendmail
There are two approaches to installing a new sendmail:
If you choose to run the new sendmail in place of the original, you first need to create and install a new configuration file. The m4(1) program is used to automate the process of configuration file creation. See Chapter 4 for a full description of this process.
If you choose to keep the original and install the new sendmail in parallel (until you can test it), you can proceed with the installation and defer configuration files until later. Note that this choice presumes you customized the file locations.
After you have compiled sendmail (and if the configuration file is ready and tested), you can install it as your production version. If you are already running a sendmail and will be overwriting that binary, you will need to kill that version first (Section 1.7.1.2).
Pre-V8.12 Installation
For versions prior to V8.12, installing sendmail looks like this:
# ./Build -n install
You use -n
to be sure that the installation caused
is, in fact, correct for your site. A typical such run, for example,
might look like this:
Configuration: pfx=, os=SunOS, rel=4.1.4, rbase=4, rroot=4.1, arch=sun4, sfx= Making in ../obj.SunOS.4.1.4.sun4/sendmail if [ ! -d /etc/mail ]; then mkdir -p /etc/mail; fi install -c -o bin -g bin -m 444 helpfile /etc/mail/helpfile if [ ! -d /etc/mail ]; then mkdir -p /etc/mail; fi install -c -o root -g bin -m 644 statistics /etc/mail/statistics install -c -o root -g bin -m 4555 sendmail /usr/lib for ...
Get Sendmail, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.