I got it to work by downloading the source rpm
then extracted the source file
then used these options to get it to work correctly
./configure --with-ldap --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-ssldir=/etc/ssl/dovecot
then
make
then
make install
LDAP used to be by default but it is not anymore so maybe they missed the new option.
Just in case someone else has a 4hour headache like me..
[moved from Software by spinynorman]