Cisco Cisco Email Security Appliance C170 Guia Do Utilizador

Página de 568
3-37
Cisco IronPort AsyncOS 7.5 for Email Advanced Configuration Guide
OL-25137-01
Chapter 3      LDAP Queries
To skip virus and spam filtering for members of the IT group, you create the 
following message filter to check incoming messages against LDAP groups. 
Note
The rcpt-to-group in this message filter reflects the DN entered as the group name: 
cn=IT, ou=groups, o=sample.com. Verify that you use the correct group name in 
the message filter to ensure that your filter matches the name in your LDAP 
directory.
Messages accepted by the listener trigger a query to the LDAP server to determine 
group membership. If the message recipient is a member of the IT group, the 
message filter skips both virus and spam checking and delivers the message to the 
recipient. To enable the filter to check the results of the LDAP query, you must 
create the LDAP query on the LDAP server and enable the LDAP query on a 
listener. 
[]> - NEW - Create a new filter.
- IMPORT - Import a filter script from a file.
[]> new
Enter filter script.  Enter '.' on its own line to end.
IT_Group_Filter:
if (rcpt-to-group == "cn=IT, ou=groups, o=sample.com"){
skip-spamcheck();
skip-viruscheck();
deliver();
}
.
1 filters added.