see Setting up OpenLDAP to server as an address directory server for Netscape.
Configuring Netscape to use the new address server
Netscape can be configured to look up potential email address in an ldap server or "directory". Netscape comes with a few servers preconfigured, including Netscapes own netcenter directory.
This will open the Address book window. A list of currently available "directories" will be on the left side.
Select File->New Directory from the main address book menu. This will open the new directory dialog. The fields on this dialog need to be filled out as follows:
LDAP server: the hostname or ip address of the ldap server you want to request. This should be the hostname of the host you setup the openldap server on.
Server Root: This is a bit odd. This is the defination for the root of the LDAP tree for your organization. I've had the best luck using something of the variety "dc=your_domain,dc=com".
Port number: The default is 389. No need to change this unless the ldap server is running on a strange port.
Secure: For OpenLDAP 1.2.7, this needs to be left un checked.
Login with name and passwd: Seems to work okay without this enabled.
In the address book dialog, type in some name in the "Show Names Containing" field and hit return. Assuming the name you enter is in the directory, you should get some addresses shown on the right.
If this works, your most of the way there.
The above steps just defined a new directory and tested it, now you need to actually configure netscape to use this directory for address completion in Messenger.
Open Communivator->Messenger from the main netscape menu.
Hit "New Msg" button.
In the "To:" field, type in the first part of an address. for example, the letters "sm". Then hit Tab.
You should get a list of all the email address that contain the string "sm". To select one, just click on the approriate entry in the list.
If that works, it works.
Then add:
set query_command = "mutt_ldap_query.pl '%s'To your ~/.muttrc.
Then you can hit "Q" in the index screen to query addresses.
You can also hit "ctrl+t" in the envelope editing screen to "tab complete" addresses.
There are several variables that can be set on the command line or in the script itself, including server name, bind dn, passwd, server nicks, etc.
Under Prefernces->Address Database window, add "LDAP_Lookup" to the "Expand methods to use" field.
To use it, sedit (the built in exmh editor), you
can use ldap address searching by typing a partial
name or address and hitting the
see http://www.beedub.com/exmh/AddressBk.html
for more detail.
rpms:
With Pine 4.21, you can configure most of the ldap related options from the pine setup menus.
To add a Directory Server
Select "Add Dir" (press A), then set the approriate values. For most servers, most of the defaults are fine. You do need to set "ldap-server", "search-base","nickname". "ldap-server" is the server host name you need, search base is the basedn (for example, dc=example,dc=com), and the server nickname (just some string...).
While your here, you probabaly want to enable the "use-implicitly-from-compose" and "save-search-criteria-not-result" options.
If you want to use a filter format other than "begins with", you need to choose "match any" here.
Using it
You can also do address queries in the Address Book screen.
http://www.washington.edu/pine/tech-notes.4.20/config.html has more info, on what to do with it.
Pine rpms are availablt at:
http://www.horde.org/imp/ if you enjoy setting up web based applications.
IMHO does ldap too. The above applies here as well.
The most interesting thing seems to be the ability to use the results of an ldap directory search to seed a BBDB.
Clients rumoured to include some LDAP support:
More info on Configuring Email Clients for LDAP. Includes info for Eudora and Outlook.