Your openwebmail version must be at least 5.22 or 5.23
1. First you must confirm you have installed the following package:
Main -
1.1. perl-LDAP 1:0.33-3.fc6
Installing for dependencies:
1.2. perl-XML-NamespaceSupport 1.09-1.2.1
1.3. perl-XML-SAX 0.14-8
2. Add the following lines to the "openwebmail.conf:
-----------------
vi /var/www/cgi-bin/openwebmail/etc/openwebmail.conf
enable_ldap_abook yes
ldap_abook_host 192.168.1.1 #or the ip address
ldap_abook_user uid=ldapuser,ou=People,dc=example,dc=com #create the user account you need in ldap or leave in blank.
ldap_abook_password ldapuserexample #create the user account you need in ldap or leave in blank.
ldap_abook_base dc=xxxxxxxx.com # Or the path you need for seek the user account data.
ldap_abook_prefix ou # In this example, the openwebmail-abook extract the information of every ldap tree.
ldap_abook_cache 60# 1 minute for refresh the data.
Subscribe to:
Post Comments (Atom)
Adjusting the setting to let "Note" field mapping with ldap's "description" attribute
ReplyDeletevi openwebmail-abook.pl
change to following :
my $note=$entry->get_value("description");