Download last version of Postfix at http://postfix.org and a patch
that you can take at
http://smartcgi.com/dist/postfix/patches/
Extract and apply the StartTLS patch, compile and install it as shown below:
tar -xzvf postfix*
cd postfix*
cp ../pfixtls.diff ./
patch -p1 < pfixtls.diff
make -f Makefile.init makefiles \
'CCARGS=-DHAS_MYSQL -DUSE_SASL_AUTH -DUSE_SSL \
-I/usr/local/include/mysql/ -I/usr/local/include/sasl ' \
AUXLIBS='-L/usr/local/lib/sasl2 -L/usr/local/lib/mysql -lmysqlclient \
-lz -lm -I/usr/local/include/sasl -lsasl2 -lcrypto \
-L/usr/local/ssl/lib -lssl'
make install
Add user postfix:
adduser -s /sbin/nologin postfix
|