Cisco Cisco Email Security Appliance C170 Guia Do Utilizador

Página de 1212
 
27-28
User Guide for AsyncOS 10.0 for Cisco Email Security Appliances
 
Chapter 27      LDAP Queries
  Using Chain Queries to Perform a Series of LDAP Queries
Step 8
You can enter a default query to run if all other queries fail. If you do not want to enter a default query, 
select None.
Step 9
Test the query by clicking the Test Query button and entering a user login and passphrase or an email 
address to test in the Test Parameters fields. The results appear in the Connection Status field.
Step 10
Optionally, if you use the {f} token in an acceptance query, you can add an envelope sender address to 
the test query.
Note
Once you create the domain-based query, you need to associate it with a public or private 
listener.
Step 11
Submit and commit your changes.
Using Chain Queries to Perform a Series of LDAP Queries
A chain query is a series of LDAP queries that the appliance attempts to run in succession. The appliance 
attempts to run each query in the “chain” until the LDAP server returns a positive response (or the final 
query in the “chain” returns a negative response or fails). Chain queries can be useful if entries in your 
LDAP directory use different attributes to store similar (or the same) values. For example, you might 
have used the attributes 
maillocaladdress
 and 
mail 
to store user email addresses. To ensure that your 
queries run against both these attributes, you can use chain queries. 
Procedure 
Step 1
Create server profiles for each of the queries you want to use in the chain queries. For each of the server 
profiles, configure the queries you want to use for a chain query. For more information, see 
Step 2
Create the chain query. For more information, see 
Step 3
Enable the chain query on the public or private listener. For more information about configuring 
listeners, see the “Configuring the Gateway to Receive Mail” chapter.
Note
You can also enable domain-based queries for LDAP end-user access or spam notifications for the Spam 
Quarantine. For more information, see the Spam Quarantine chapter.
Related Topics
Creating a Chain Query
You create a chain query from the System Administration > LDAP > LDAP Server Profiles page.