Pages

Friday 16 August 2019

Configure Zimbra Ldap Book in Outlook


HOW TO CONFIGURE ADDRESS BOOK IN OUTLOOK.





Before to configure zimbra ldap book in windows machine need to add host entry in below file




For new installations of ZCS 6.0, anonymous searches of the directory are disabled. (Bug 15378) When you upgrade to 6.0, anonymous searches of the directory are enabled, matching previous release behavior.


To disable anonymous search after upgrading, on each LDAP server, as zimbra run

    • opt/zimbra/libexec/zmldapanon -d
  • To enable anonymous access at any point after it is disabled, on each LDAP server run
    • /opt/zimbra/libexec/zmldapanon -e
Important: Enabling anonymous binds is not recommended as it may expose data not intended for anonymous access
Ref:


C:/>windows/system32/drivers/etc/hosts


add below line in file



<mailserver-ip-addres>      mail.zmailtech.com       zmailtech




Thunderbird

1. Open Thunderbird.
2. Go to Edit then Preferences.
3. Under Composition, Addressing, tick the Directory Server box then click Edit Directories.
4. Click Add.
5. In the window enter the following details:
Under General tab

  • Name = Zimbra LDAP
  • Hostname = zimbra.mydomain.com (enter YOUR servers host name here)
  • Base DN = ou=people,dc=mydomain,dc=com (enter YOUR mail domain name here)
  • Port = 389
  • Bind DN = (leave blank)
  • SSL = (leave unticked)
Under Advanced tab

  • Don't return more than = 500
  • Scope = Subtree
  • Search filter = (mail=*)
6. When done click OK then click OK again to close the LDAP Directory Services window.
7. In the drop down menu make sure Zimbra LDAP is selected, then click OK to close the options window.
8. Give it a test by creating a new email and in the To: box start typing a name or address of someone in the GAL, Thunderbird should display some auto complete options with user matches it finds.

Outlook

(This may vary slightly depending on version)
1. Open Outlook.
2. Go to Tools then Email Accounts....
NB: For 2007 Go Tools > Account Settings, then select the Address Books tab and click the New... button
3. Select View or change existing directories or address books, then click Next.
4. Click Add, then select Internet Directory Service (LDAP) and click Next.
5. In the Server Name box type in the host name of your Zimbra server (eg zimbra.mydomain.com).
6. Leave Server requires me to sign in disabled and click the More Settings... button. Accept the warning it gives you. (Informs you to restart for new settings to take effect).
7. In the new window:
Under the Connection tab set the following:

  • Display Name = Zimbra LDAP
  • Port = 389
  • Use SSL = (leave disabled)
Under the search tab:

  • Search timeout = (default 60 should be ok)
  • Max # of entries to return = 500
  • Search base = (leave blank or for Outlook 07 select Use Default)
NOTE: For older versions of Outlook (eg 2000) you may need to enter dc=com or similar (com is the top level part of your domain name) into the Search Base field as it doesn't work if left blank. If you have multiple top level domains being hosted on Zimbra (eg mydomain.com and mydomain.com.au) you might need to choose the most relevant on for you (ie either dc=com or dc=au).
8. When done click OK, then Next, then Finish.
9. Restart Outlook (as per the warning we got earlier) to save the changes.
10. When it's started up again we'll check it's working by composing a new email. Type part of a name or address you know is in the GAL into the To: box and press Alt+K, Outlook should auto complete it or give you some options.

Outlook Express

1. Open Outlook Express.
2. Go to Tools then Accounts.
3. Click the Add button then select Directory Service.
4. In the LDAP server box, type the host name of your Zimbra server (eg zimbra.mydomain.com) and leave the LDAP requires logon option disabled, then click Next'.
5. Select Yes to Check addresses using this directory service then click Next and Finish.
6. Under the All tab, find your Zimbra host name in the list, select it and click Properties.
7. Then
Under the general tab:

  • Change the name of the account to Zimbra LDAP
  • Server name, make sure is your Zimbra servers host name
  • Make sure This server requires me to logon is not enabled
  • Make sure Check names against this server is enabled
Under the Advanced tab:

  • Make sure port number is 389 and SSL is disabled
  • Change number of matched to 500
  • In the Search Base put dc=com or similar (com is the top level part of your domain name) into the Search Base field as it doesn't work if left blank. If you have multiple top level domains being hosted on Zimbra (eg mydomain.com and mydomain.com.au) you might need to choose the most relevant on for you (ie either dc=com or dc=au).
8. When done click OK, then Close.
9. To test it out, compose a new email, type part of a name or email address in the To: box and press Alt+K, it should either auto complete it or give you some options.