So I am trying to find all of the distribution groups that are in my AD environment that allow unauthenticated users to send to them.
In another question I was directed to the following LDAP query
This query will return all distribution groups that dont require authentication.
This seems to work OK except it returns extra results. I am only interested in email enable distribution groups. I was able to come up with a query to find these.
(&(&(& (mailnickname=*) (| (objectCategory=group) ))))
What I would like to know is how can I combine these two queries so that they will only return mail enabled groups that dont require authentication?