cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1919
Views
0
Helpful
2
Replies

LDAP Accept Query with exception?

cryptochrome
Level 1
Level 1

Hi,

is it possible to create LDAP Accept queries that contain exceptions? Something like "accept if email address is valid, except if address is in group XYZ".

We need to reject certain recipients. They are too many to put them in the RAT and we can't use an Incoming Mail Policy with an LDAP group query because the only option there would be a content filter with a bounce action. We must not bounce, we must reject. 

Any ideas?

Thanks!

1 Accepted Solution

Accepted Solutions

Take the default group query:



(&(memberOf={g})(proxyAddresses=smtp:{a}))





and NOT the group you want.



(&(!(memberOf=CN=NoAccess,OU=Groups,OU=IT,DC=domain,DC=local))(proxyAddresses=smtp:{a}))








View solution in original post

2 Replies 2

Take the default group query:



(&(memberOf={g})(proxyAddresses=smtp:{a}))





and NOT the group you want.



(&(!(memberOf=CN=NoAccess,OU=Groups,OU=IT,DC=domain,DC=local))(proxyAddresses=smtp:{a}))








Awesome Ken, thank you. That actually worked :)
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: