ml+exim at wzff
Apr 4, 2012, 9:53 AM
Check if LDAP server can be reached
On my setup, LDAP lookups happen through NSS. If the LDAP server goes
down, the lookup fails, and the mail gets permanently rejected. I'd like
to either reject it only temporarily or accept all messages if the LDAP
server is down/can't be reached and freeze them.
I tried a simple lookup like this
However, if the LDAP server can't be reached, it "generates an error"
(as described in the specification). What is the correct way to handle
such an error? Am I trying to do something stupid?
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/