Skip to Main Content
Sendmail, 3rd Edition
book

Sendmail, 3rd Edition

by Bryan Costales
December 2002
Intermediate to advanced content levelIntermediate to advanced
1232 pages
56h 38m
English
O'Reilly Media, Inc.
Content preview from Sendmail, 3rd Edition

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

sendmail, 4th Edition

sendmail, 4th Edition

Bryan Costales, Claus Assmann, George Jansen, Gregory Neil Shapiro
Postfix

Postfix

Richard Blum
Internet Forensics

Internet Forensics

Robert Jones

Publisher Resources

ISBN: 1565928393Errata Page