[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Exim, LDAP Delivery Crash



I've encountered a peculiar bug in either Exim or OpenLDAP, and request advice on which to file a bug against.

Quick Explanation:
When delivering mail with more than one recipient, the first recipient succeeds, but the second recipient causes the Exim delivery process to crash with an OpenLDAP 'assertion failure' error.

Long and Dirty:
I use LDAP to look up several pieces of information when delivering each email. This is a service provider set-up, and supports many domains, therefore I look up such information as server which speaks for the domain (e.g. mail.fubar.com -> virtualmail14.mycompany.com,) actual delivery domain (e.g. fubar.com -> mail.fubar.com,) per domain aliases, global aliases (spam, abuse,) and user account information. This setup results in a half dozen lookups for each delivery. I believe that the crash is caused by Exim's caching of LDAP connections somehow. I know that all of the lookups are successful, because if I run each recipient seperately, they all work. Also, the first works, which means that the current LDAP connection works. But when the second delivery goes to look up its last item (the user's userrec - homedir, uid, gid) it pitches an error, crashing the Exim delivery process.

The Question:
Exim or OpenLDAP?  Whose bug?

Thanx for any advice,
Clint



Reply to: