Set up LDAP Mailbox Sync Details
In order to synchronize a domain's mailboxes and email aliases with LDAP, you need to add your LDAP server connection details at the Domain Level for each domain.
- At the Domain Level, select General - LDAP mailbox sync to display the Configuration tab.
- In the Connection settings section:
- Enter the Host - the hostname or IP address that points to your LDAP server e.g. exchange.domain1.com
- Enter the Port (the default ports are LDAP (389), LDAPS (636)).
- If you want to use TLS to connect, tick the checkbox.
- In the Login settings section
- Enter the Username / bind DN
- Password of the username that can access the LDAP server.
- Enter the Base DN - the search base for the LDAP query e.g. dc=domain1, dc=com
- Choose how often you want the filtering server to check the LDAP server for changes, from the Sync every dropdown:
- 4 hours
- 12 hours
- 2 days
- 5 Days
- Optionally, click on Show advanced settings. and add the following:
- Use the Filter field to narrow the list of directory entries that should be synchronized with the LDAP server. For example, (&(!(mail=health*))(objectClass=user)(!(userAccountControl:1.2.840.1135220.127.116.113:=2))) to exclude Health Mailboxes and disabled accounts.
- Allow updates - If you want to allow the LDAP sync to update users that have already been synchronised
- Allow deactivations - If you want accounts to be removed from the Spam Experts Control Panel when they no longer exist on the LDAP server.
If you use non-standard attributes in your AD you might need to add a custom mapping, see Set up Custom LDAP Mapping Rules.
- Click Save.
- If you want to view what changes will be made in the next sync, click on the Save and Test button.
If you want to clear the configuration so LDAP Mailbox Sync is no longer used, click on the Clear button and then on Save.
The LDAP Sync Preview page allows you to preview LDAP sync changes (e.g. mailbox/aliases added, removed and updated) and perform a manual LDAP sync immediately or at a scheduled time.
- In the Domain Level Control Panel select General - LDAP Mailbox Sync.
- In the Configuration tab, click on the Save & Test button at the bottom of the page to open the LDAP Sync Preview dialog.
A summary table shows the number of mailboxes and aliases that will be added, removed or updated when the sync is performed.
- If you want to run the sync manually, click on the Save & sync now button at the bottom of the page.
- If you want to schedule the sync at a later time, click Save & sync later to save the sync settings in the previous LDAP mailbox sync page and run the sync at the scheduled time.