Each domain can be configured to route messages based on directory data source, destination hosts, or MX lookup. This section talks about routing that uses a directory data source. For the other types of routing, you should consult the domain documentation.
Enabling your functions is the second step in the Add Directory Data Source wizard. Before you can enable functions for your data source you must configure the LDAP connection settings for that source on the LDAP Server Configuration page.
Be sure that your data sources do not produce overlapping results to prevent directory data service errors. Table: Directory data service routing errors describes how directory data service processes routing errors for the most common conditions.
The directory data service cannot properly communicate with the LDAP directory server when it attempts to determine the routing information for a message recipient. This can happen, for example, if the network link to the LDAP server is down.
The MTA queues the message and periodically retries to perform the operation. A Directory data access errors alert is triggered.
In the Add Directory Data Source - Directory Data Source Functions page, check Routing.
In the Test email address field, type an email address that can be used to test and validate your routing configuration. If the test produces unexpected results, use Customize Query to verify your settings and directory data.
The wizard provides a set of default attribute values for an LDAP configuration that uses the SunOne directory type. If your configuration uses a different directory type, or if you want to route mail using a different routing attribute, click Customize Query to configure your query.
Click Test Query to validate your query data using the provided test email address.
This test is conducted against the directory data service instance that is running on the Control Center host. The test cannot be used to verify connectivity from attached scanners to your LDAP server.
Test results reflect only the data source tested. The test does not provide information about the effects of other data sources or system settings such aliasing and masquerading.
You can configure your data source for multiple functions or click Next to review your changes and save your deployment.