Zitat von Wietse Venema <[email protected]>:

Alvaro Marin:
For a moment, one ActiveDirectory server for some domains was down, so
I've seen in logs:

warning: dict_ldap_connect: Unable to bind to server ldap://IP1
ldap://IP2 as cn=x,ou=x,dc=x,dc=x: -1 (Can't contact LDAP server)
...
Is anyway to configure Postfix to avoid this situation? If one LDAP/AD
of the configuration of relay_recipient_maps is down, query other
servers and give that failure error only for domains configured in the
down server.

Postfix reports that the LDAP client library could not connect to
any of the LDAP servers. Don't shoot the messenger.

        Wietse

Would the "domain" parameter in the LDAP config prevent this, if only non-matching addresses would have been asked or does postfix detect the absence of the LDAP servers anyway? Just curious, the real solution is more of using at least two LDAP server per config and don't kill both of them at once.

Regards

Andreas

Reply via email to