O'Reilly logo

Postfix: The Definitive Guide by Kyle D. Dent

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix C. Compiling and Installing Postfix

The general steps to build Postfix from the source files are to obtain the software bundle, uncompress it, compile it, and install it. The tools you need are common on nearly all distributions of Unix: gzip, tar, make, and a C compiler. Postfix generally expects the GNU gcc compiler, but you can also build it with your platform's native compiler, as long as it supports ANSI C.

Obtaining Postfix

The official Postfix web site (http://www.postfix.org/) has a download link that displays a list of mirrors from which you can get the software. You should select the mirror that is closest to you. Get the package you want by selecting the "Source code" link under either the Official or Experimental release (see Chapter 1). The examples here assume that you have downloaded a file called postfix-2.0.10.tar.gz. If the file you download is different, change the filename accordingly in the commands in the examples.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required