Vendor Versus Compiling

Old versions of operating systems tended to be shipped with old versions of sendmail. Old versions should be replaced because they are insecure.

Current versions of operating systems tend to ship with V8.7 sendmail. To find out which version you are running, issue the following command:

% /usr/lib/sendmail -d0.1 -bt < /dev/null

The first line (of possibly many) printed should contain the version number. If no version is displayed, you may be running a very old version of sendmail indeed, or some other program masquerading as sendmail. In either instance, you should upgrade. If version 8.6.13 or earlier is displayed, you should also plan to upgrade. If version 8.7.5 or earlier is displayed, you should also plan to upgrade. Version 8.7.6 was the last (as of this writing) secure version of the 8.7 series.

A more difficult decision is whether or not to upgrade if you are already running 8.8 sendmail. Potential reasons for upgrading are the following:

But beware: Before rushing out and replacing your vendor's version of sendmail, find out whether it uses any special vendor-specific features. If so, and if those features are more valuable to you than the security and uniformity that we mentioned, convince your vendor to upgrade for you.