Am 06.03.2013 17:17, schrieb Alvaro Marin: > Hello, > > I've several Postfix servers configured to relay email for users/domains. > We've different LDAP servers to query and a cdb file; something like this: > > relay_recipient_maps = ldap:/etc/postfix/ldap_users.cf, > ldap:/etc/postfix/activedirectory.cf, > ldap:/etc/postfix/activedirectory2.cf, cdb:/etc/postfix/relayusers > > 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) > > The other LDAP and AD server configured in Postfix, were responding ok but a > lot of emails were being rejected with > the "Temporary lookup failure" error (and not only emails for domains in that > down AD server, emails for domains of > working LDAP/AD too). > > Mar 6 16:19:13 relay1 postfix/smtpd[21555]: 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) > Mar 6 16:19:13 relay1 postfix/smtpd[21555]: maps_find: relay_recipient_maps: > [email protected]: search aborted > Mar 6 16:19:13 relay1 postfix/smtpd[21555]: mail_addr_find: [email protected] > -> (try again) > Mar 6 16:19:13 relay1 postfix/smtpd[21555]: 0F36A38C1CA: reject: RCPT from > mail1.bemta7.messagelabs.com[216.82.254.103]: 451 4.3.0 <[email protected]>: > Temporary lookup failure; > from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<fromserver> > > 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.
i do not find any word what postfix version you are using nor output of "postconf -n" however: 451 is a temporary error and not that bad
signature.asc
Description: OpenPGP digital signature
