What’s Where in the Source

V8.14 sendmail unpacks by creating a directory, then unpacking into that directory. The directory name is the same as the compressed filename but with a dash instead of the first dot.

% gzcat sendmail.8.14.1.tar.gz | tar xvf -
x sendmail.8.14.1/FAQ, 321 bytes, 1 tape blocks
x sendmail.8.14.1/INSTALL, 1396 bytes, 3 tape blocks
x sendmail.8.14.1/KNOWNBUGS, 8770 bytes, 18 tape blocks
... and so on

Inside the newly created directory, you will find the full sendmail distribution:

% cd sendmail.8.14.1
% ls
Build           README          include         makemap
FAQ             RELEASE_NOTES   libmilter       praliases
INSTALL         cf              libsm           rmail
KNOWNBUGS       contrib         libsmdb         sendmail
LICENSE         devtools        libsmutil       smrsh
Makefile        doc             mail.local      test
PGPKEYS         editmap         mailstats       vacation

The README and RELEASE_NOTES files provide the most up-to-date information about changes, new features, and bug fixes. Read the documents in the doc directory. Also note that the README files in all the subdirectories contain important comments as well.

The files and directories in the source directory are listed in Table 2-1, and are described in detail in the sections that follow.

Table 2-1. Files and directories in the distribution directory

File/Directory

§

Description

Build

The Top-Level Build Script on page 47

A top-level Build script

cf

Configure with m4 on page 587

Top of the tree for building a configuration file

contrib

The contrib Directory on page 47

Unsupported, user-contributed software

devtools

The devtools Directory ...

Get sendmail, 4th 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.