All rpms for postfix is built for MySQL 5.0, however I have MySQL 5.1 installed on my server, how do I proceed installing postfix for MySQL 5.1 with the MySQL support?
The existing one in CentosPlus repository should work, it's dependency is on:
However if it doesn't work, then grab the source existing RPM:
Make sure the following are installed on your system ("yum install FOO" as root) as well as the "rpm-build" package :
Run these commands as your normal user to set up basic RPM building:
Place your downloaded SRPM from above into ~/redhat/SRPMS/, then:
...to create a compatible package for the MySQL 5.1 RPMs you have installed that you know is built against them.
There's no need to rebuild Postfix. Just install the Mysql 5.1 shared-compat package of the same version of your Mysql 5.1 server. That'll provide the libmysql Centos 5.x expects.