Expanding on yesterday’s work with the proxy cache in OpenLDAP, I have a fully functional system for caching the Sun ONE entries for Sendmail LDAP routing.
This config file gives the functional basics for a working proxy cache system for this setup:
And this file has the necessary schema to get the object classes and attributes from Sun ONE (iPlanet) into OpenLDAP:
The schema is very bare bones and does not implement all of the Netscape mail attributes and object classes. That’s ok, because I’m overloading the Netscape stuff for our own purposes in Sendmail routing rather than for Netscape/iPlanet/Sun ONE Messaging Server. See the entries from last September (aliases and routing) for details on how I’m doing this.
The purpose of this proxy cache is so that the MX that’s a Sendmail LDAP routing client doesn’t have to hit the master LDAP server constantly to figure out how to deal with known addresses. Instead, it should hit it the first time the address appears, and then keep it in local cache for a while (in the config file above, 30 minutes) before having to ask the master again.
Posted by Rowan Littell at March 2, 2005 09:59 AM