18.3 Obtain the SourceV8 sendmail is available from:
When you cd into this directory, a banner is displayed that describes the latest release and available patches. You may choose between two forms of compressed tar (1) distributions. Those that end in .Z are compressed with UNIX compress (1); those that end in .gz are compressed with GNU gzip (1). The latter is the preferred form because the file is smaller and quicker to transfer. In addition to the two forms of distribution, each release has associated with it a PGP signature file. It is a signature of the uncompressed file, so you need to uncompress the tar (1) file before verifying it. To verify a pre-V8.6 distribution, get Eric Allman's public key by sending email to pgp-public-keys@keys.pgp.net with the following subject line:
Subject: MGET Allman Eric Allman's public key will be mailed back to you a few minutes later. [2] Save that returned email to a file, for example /tmp/eric.asc , and add that key to your public "keyring" with the command:
pgp -ka /tmp/eric.asc For V8.6 and above, you download a special signing key from www.sendmail.org , instead of Eric's key. The fingerprint for the signing key is:
CA AE F2 94 3B 1D 41 3C 94 7B 72 5F AE 0B 6A 11 The fingerprint for Eric's key is:
C0 28 E6 7B 13 5B 29 02 6F 7E 43 3A 48 4F 45 29 then execute:
pgp signature file here If the uncompressed tar file is good, pgp (1) will report the following or some variation on it:
Good signature from user "Eric P. Allman <eric@CS.Berkeley.EDU>". A few things can go wrong here, causing the verification to fail:
If your copy of the sendmail distribution fails to verify, don't use it ! 18.3.1 What's Where in the SourceV8.8.6 sendmail unpacks by creating a directory, then unpacking into that directory. The directory name is the same as the compressed file name but with the first dot a dash instead:
% Inside the newly created directory you will find the full sendmail distribution:
% The READ_ME 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 there are important comments in the src/READ_ME and cf/README files. You will find almost everything you need to build sendmail in the src subdirectory. There are a few exceptions that we will cover in this chapter. 18.3.2 The makesendmail ScriptThe first step in compiling sendmail is to establish an object directory and a Makefile that is appropriate to your machine architecture and operating system. You do this by running the makesendmail script in the src directory:
%
Here,
makesendmail
found that ours was a
The makesendmail script knows how to build sendmail on many versions of UNIX, including offshoots such as OSF/1 and NextStep. In the unlikely case that your operating system is not supported, you will see an error message instead of the above output:
Configuration: os=EX/Unix, rel=1, rbase=1, arch=sun4, sfx= Cannot determine how to support sun4.EX/Unix.1
Here, an experimental version of UNIX called
EX/Unix
on a
sun4 computer was unrecognized by the
makesendmail
script. Porting
sendmail
to new operating systems is really
beyond the scope of this book. But we offer a complete listing
of 18.3.3 What to TuneBefore you let makesendmail run to completion, you may need to tune three of sendmail 's files for your site:
|
|