This source rpm, build still based on Simon J. Mudd, i’ve removed spf patch completelly. It was a messed applying patch to postfix-2.8-20110105, we can still use spf policy instead of hardcoding to postfix itself though.
Download postfix-2.8-20110105 rpm source here:
Run this command
$ rpm -Uvh /path/to/postfix-2.8-20110105.src.rpm
Change to rpm SOURCES directory, Export build environment
$ cd `rpm --eval '%{_sourcedir}'` $ export POSTFIX_SMTPD_MULTILINE_GREETING=1 $ export POSTFIX_LDAP=1 $ export POSTFIX_MYSQL_REDHAT=1 $ export POSTFIX_PCRE=1 $ export POSTFIX_PGSQL=1 $ export POSTFIX_RBL_MAPS=1 $ export POSTFIX_SASL=2 $ export POSTFIX_TLS=1 $ export POSTFIX_VDA=1 $ export POSTFIX_DB=4 $ export POSTFIX_CDB=1
Note: adjust setting to suit your environment
Create postfix.spec
$ sh `rpm --eval '%{_sourcedir}'`/make-postfix.spec
When done, got to rpm specdir
$ cd `rpm --eval '%{_specdir}'`
Build, install/upgrade the rpm
$ rpmbuild -ba postfix.spec $ rpm -Uvh `rpm --eval '%{_rpmdir}'`/i386/postfix-...i386.rpm
Features added:
dnsblog postscreen tlsproxy
Good luck..