Get and Install the SASL Library

As of this writing, the Cyrus SASL library is available from ftp://ftp.andrew.cmu.edu/pub/cyrus-mail. But be sure you download and install the latest version. As of this writing, version 2.1.22 is the latest, and is the one officially supported by V8.14 and later sendmail. This is the version we document here and refer to as V2. The old Cyrus SASL versions 1.y.z are referred to, collectively, as V1.

Note that you need to download and install Cyrus SASL whether you are using your machine as a server or a client. The same library support is required for both roles.

After you have downloaded and extracted the source, first examine the file INSTALL. It tells you how to build and install the library. The first step is to configure the package for your machine:

# ./configure --help | more

This command shows all the ./configure command-line switches that you may choose from. Each determines how this library will be built and where it will be installed. For example, the following command line causes support for LOGIN authentication to be included in the resulting library:

# ./configure --enable-login -q

Note that here the -q tells ./configure to print only errors and warnings. Without the -q any errors might scroll off the screen, thereby causing you to miss them.

Be patient. This ./configure step can be quite slow on some machines, but pay attention to any warnings. For example:

configure: warning: No DES library found for Kerberos V4 support

A warning such as this ...

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.