Integrating Openwebmail with FDS


This application is used so that the openwebmail could connect to FDS.

Openwebmail File And Modify

Edit /var/www/cgi-bin/openwebmail/etc/defaults/auth_ldap.conf

 # 
 # Config file for auth_ldap.conf
 #
 
 ldaphost      127.0.0.1             # If localhost with run FDS
 ou            People                # Organization Unit create in FDS with you need authenticate
 cn            Directory Manager     # Ldap User. You no need this for working if installing default. This is necessary if you need the change                           
                                     # password in openwebmail.
 dc1           example               # First DC, example.com
 dc2           com                   # Second DC
 password      dsmanager             # Ldap password. You no need this for working if installing default.This is necessary if you need the change                           
                                     # password in openwebmail.

FDS Changes and Modify

Long Domain Name

If the Domain Name is longer than example.com (dc=example, dc=com) with this other.example.com (dc=other, dc=example, dc=com) do:

Edit /var/www/cgi-bin/openwebmail/etc/defaults/auth_ldap.conf

 # 
 # Config file for auth_ldap.conf
 #
 
 ldaphost      127.0.0.1 # If localhost with run FDS
 ou            People    # Organization Unit create in FDS with you need authenticate
 cn                      # Ldap User. You no need this for working if installing default.
 dc1           other     # Firt DC, other.example.com
 dc2           example   # Second DC
 dc3           com       # Third DC
 #dc[n]        more      # [n] DC
 password                # Ldap password. You no need this for working if installing default.

Edit /var/www/cgi-bin/openwebmail/auth/auth_ldap.pl

Change password from openwebmail to FDS

Openwebmail Address Book

Add de variables:

 enable_ldap_abook    yes    
 ldap_abook_host      example.com #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=example,dc=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     1 # 1 minute for refresh the data.    

If you need more help see openwebmail.conf.help in the some path of openwebmail.conf.

Last modified on 7 August 2014