I noticed this the other day when debugging a self-inflicted issue with
postfix and LDAP. If postfix is configured to bind as user X, and user X
doesn't exist in LDAP, LDAP will return error code 49 (invalid
credentials). This is of course the correct behavior on the LDAP side of
things. However, rather than postfix ending the connection to the LDAP
server and deferring delivery, it instead continues to send various
searches to the LDAP server, and eventually bounces the email. This is
behavior I found to be completely unexpected. I would have instead
expected it to queue the mail until it could make a successful connection
to the LDAP Server and get valid delivery information. I will try to get
this set up again tomorrow so I can send some logs showing the postfix
behavior. Note this is with Postfix 2.8.5.
--Quanah
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration