To build postfix 2.10 with TLS+SASL support (dovecot):

1. Generate RSA certificate :

$ openssl genrsa -out server.pem 2048

2. Generate server signing request :

$ openssl req -new -key server.pem -out server.csr

3. Build postfix with TLS/SASL support enabled ...

$ make tidy
$ make makefiles CCARGS='-DUSE_TLS -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -I/usr/local/include' AUXLIBS="-L/usr/local/lib -lssl -lcrypto"

Notes

1. In case the dns module failed to compile properly, append -I/usr/include -lresolv to AUXLIBS.

See also

just another Wiki: Postfix (last edited 2013-05-22 14:23:18 by EtienneRobillard)