SquirrelMail will be using the following attributes
- cn – Common Name
- mail – Email Address
Configure the SquirrelMail Addressbook
We will be using the Perl based SquirrelMail configuration utility to configure the addressbook.
If your Terminal window has a white background, make sure that the colors are off by looking for the command Turn color on. If the command is Turn color off, type in C and press Enter to turn the colors off. This will ensure that you will be able to read all of the text.
First, we need to have the hostname or the IP address where this LDAP server resides. Example: ldap.bigfoot.com hostname: server Next, we need the server root (base dn). For this, an empty string is allowed. Example: ou=member_directory,o=netcenter.com base: dc=acme,dc=local This is the TCP/IP port number for the LDAP server. Default port is 389. This is optional. Press ENTER for default. port: This is the charset for the server. Default is utf-8. This is also optional. Press ENTER for default. charset: This is the name for the server, used to tag the results of the search. Default it "LDAP: hostname". Press ENTER for default name: You can specify the maximum number of rows in the search result. Default is unlimited. Press ENTER for default. maxrows: If your LDAP server does not like anonymous logins, you can specify... Default is none, anonymous bind. Press ENTER for default. binddn: cn=mailuser,dc=acme,dc=local
If you are connecting to an Active Directory server, binddn can also be in the form of acme\mailuser or email@example.com
Now, please specify password for that DN. bindpw: password You can specify bind protocol version here. Default protocol version depends on your php ldap settings. Press ENTER for default. protocol: 3 [ldap] command (?=help) > d
You should now be back at the Address Books sub menu, type in q and press Enter to quit and type in y and press Enter to save your changes.
Test the SquirrelMail Addressbook
If you are querying a Windows 2003 Server and you are encountering an Operations error message, try enabling the Windows 2003 Active Directory anonymous ldap operations.
Visit the forum to ask for help or to give a comment.