Hi,

I have defined three ldap servers in the virtual_alias_maps lookup table,
but failover seems doesn't work. When I shutdown first ldap server I get
this error:

warning: ldap:/etc/postfix-in/ldap-mail-groups.cf lookup error
warning: dict_ldap_lookup: Search error -5: Timed out

which is correct, but users trying sent mails also gets 4xx error message
and postfix is still trying connect to the first ldap server. Do I missing
something in the configuration or ldap failover in the postfix doesn't work
correctly?

###
server_host =   ldaps://ldap3.img.local:636
                ldaps://ldap2.img.local:636
                ldaps://ldap.img.local:636
timeout = 3
version = 3
search_base = cn=users,cn=accounts,dc=img,dc=local
query_filter = (&(uid=%u))
result_attribute = street
bind = yes
bind_dn = uid=l_mail,cn=users,cn=accounts,dc=img,dc=local
bind_pw = xxxxxxxxxxxxxxxxxxxxxx
###

p.s. CentOS 7 - postfix-2.10.1-6.el7.x86_64

Thanks, Michal




--
View this message in context: 
http://postfix.1071664.n5.nabble.com/Problem-with-ldap-failover-tp86824.html
Sent from the Postfix Users mailing list archive at Nabble.com.

Reply via email to