Compiling Add-on Packages
This section walks through building Postfix with various add-on packages that are mentioned in the book. Before recompiling Postfix with any additional packages, it is important to first clean up from any previous builds. Execute the following:
$ make tidyNow you’ll be starting with a clean source tree for your new builds. Each of the examples below takes you through creating a new Makefile. Once you’ve accomplished that, simply type:
$ maketo rebuild Postfix. If your new build is successful, you can upgrade your currently installed Postfix:
# make upgradeIf you hadn’t previously installed Postfix, use make install instead.
Cyrus SASL
See Chapter 12 for information on Cyrus SASL and Postfix. You can download the source for the Cyrus SASL libraries from the Carnegie Mellon web site at http://asg.web.cmu.edu/sasl/sasl-library.html. Note that this book assumes that you are working with SASL Version 2.x libraries. Follow the instructions for building the Cyrus SASL2 libraries. There is also a SASL_README file that comes with the Postfix distribution.
One issue when compiling Cyrus SASL that affects Postfix is
whether or not to include support for certain Microsoft clients that
authenticate using a nonstandard mechanism. The standard plain-text
authentication mechanism is identified as PLAIN, but these clients use LOGIN. If you need to support such clients,
be sure that the libraries are built with the workaround enabled using
the --enable-login option when you run ...
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.
Read now
Unlock full access