This feature adds a -c switch to LDAPMAP definitions, which can be used to specify a connection timeout (the equivalent of ldap.conf's bind_timeout) Here is an usage example, in sendmail.cf: O LDAPDefaultSpec=-w 3 -c 1 -l 3 If the server does not connect after 1 second (-c 1), we give up. If it does not anwer after 3 seconds (-l 3), we give up with a temporary failure. Using -c is the only way to avoid sendmail getting stuck against a half-dead slapd, where the TCP port is in listening state but the server will not serve anything. |
||
---|---|---|
.. | ||
mailer.conf | ||
sendmail.sh | ||
site.config.m4 | ||
site.config.m4-db2 | ||
site.config.m4-db4 | ||
site.config.m4-ldap | ||
site.config.m4-milter | ||
site.config.m4-sasl2 | ||
site.config.m4-starttls | ||
site.config.m4-tcpwrappers | ||
site.config.m4-v6 | ||
site.config.m4-v6-not-solaris | ||
smmsp.sh |