Please help me to find how to do this. I have postfix integrated with AD and I have some issue with alias maps. Here is my virtual_alias_maps.cf: Code: server_host = test.local server_port = 389 version = 3 bind = yes start_tls = no bind_dn = [email protected] bind_pw = password search_base = ou=Groups,dc=test,dc=local scope = sub query_filter = (&(objectClass=group)(mail=%s)) special_result_attribute = member leaf_result_attribute = mail debuglevel = 0 It works fine, but I need to select only enabled users is group, not all. Something like: "query for special_result_attribute = (&(mail=%s)(!(userAccountControl:1.2.840.1135126.96.36.1993:=2)))" Thanks in advance.