I have a question concerning a ldap query.
i would like to define a query for a recipient policy using an "or"-condition.
I would like to achieve the following:
Users with "abc" in the company attribute in active directory and "austria" or "france" or "germany" in the country attribute should get an abc.com-mailadress.
Also users with "xyz" in the company attribute and "ireland" in the country attribute should get an abc.com-mailadress.
Of course i could establish several different recipient policies and use abc.com as emaildomain in every of these policies, but there has to be an easier way using just one custom ldap query.
To achieve this, i need a custom query with an "or-condition", but i have no idea how this query could look like.
Somebody who has already done this?
kind regards,
felix
i would like to define a query for a recipient policy using an "or"-condition.
I would like to achieve the following:
Users with "abc" in the company attribute in active directory and "austria" or "france" or "germany" in the country attribute should get an abc.com-mailadress.
Also users with "xyz" in the company attribute and "ireland" in the country attribute should get an abc.com-mailadress.
Of course i could establish several different recipient policies and use abc.com as emaildomain in every of these policies, but there has to be an easier way using just one custom ldap query.
To achieve this, i need a custom query with an "or-condition", but i have no idea how this query could look like.
Somebody who has already done this?
kind regards,
felix