If postfix built with SASL support, don't work bind = sasl parameter in LDAP config. Reproducible: Always Steps to Reproduce: 1. build postfix USE="sasl ldap" 2. ... 3. profit! Actual Results: fatal: /etc/postfix/test/ldapalias.cf: unsupported parameter value: bind = sasl Expected Results: working conf option bind = sasl fix: As described in http://www.postfix.com/LDAP_README.html "If you are using OpenLDAP, and the libraries were built with SASL support, you can add -DUSE_LDAP_SASL to the CCARGS to enable SASL support."
Created attachment 268453 [details, diff] fix for ebuild Propose patch for ebuild
+*postfix-2.8.2-r1 (07 May 2011) + + 07 May 2011; Eray Aslan <eras@gentoo.org> +postfix-2.8.2-r1.ebuild: + Enable binding to ldap - bug #361865. Do not start databases when not linked + against them - bug #359913. Prefer tinycdb over cdb +