Cisco Cisco Email Security Appliance C190 Technical References

Page of 314
 
120
Cisco AsyncOS 9.1 for Email CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  LDAP
mail3.example.com> ldaptest
Select which LDAP query to test:
1. PublicLDAP.ldapaccep
[1]> 1
Address to use in query:
[]> admin@example.com
LDAP query test results:
                Query: PublicLDAP.ldapaccept
             Argument: admin@example.com
               Action: pass
LDAP query test finished.
mail3.example.com> ldaptest
Select which LDAP query to test:
1. PublicLDAP.ldapaccep
[1]> 1
Address to use in query:
[]> bogus@example.com
LDAP query test results:
 Query: PublicLDAP.ldapaccept
 Argument: bogus@example.com
 Action: drop or bounce (depending on listener settings)
 Reason: no matching LDAP record was found
LDAP query test finished.
mail3.example.com>
sievechar
Description
Sets or disables the character used for Sieve Email Filtering, as described in RFC 3598.  Note that the 
Sieve Character is ONLY recognized in LDAP Accept and LDAP Reroute queries.  Other parts of the 
system will operate on the complete email address.
Allowable characters are: -_=+/^#
Usage
Commit: This command does not require a ‘commit’.
Cluster Management: This command can be used in all three machine modes (cluster, group, machine).
Batch Command: This command does not support a batch format
Example
In this example, the 
sievechar
 command is used to define + as the sieve character recognized in Accept 
and LDAP Reroute queries.
mail3.example.com> sievechar
Sieve Email Filtering is currently disabled.