Hi,

Manuel Mely schrieb:

query_filter = (&(&(objectClass=VirtualMailAccount)(mail=%s))(permitFrom=inet)(accountActive=TRUE)(delete=FALSE))
result_attribute = final
version = 3

"final" is the name of a postfix class, and i have the same attribute for all my users,
Do you mean, all values of "final" are the same and all users have this attribute/value? So it's like "objectclass: inetorgperson" which - in most cases - all user objects have. I don't get it: Why then is there any need to use this attribute as a result?

as i want to simplify this (i mean delete this attr for all my users) i was thinking in create something like "dc=postfix,o=hosting,dc=foobar,dc=cu" and there i will put this attribute (i have many attributes that are classes in postfix), but i don't know if i can tell my conf file that "result_attribute" is in other part of the DIT... something like "result_attribute= cn=final,dc=postfix ..." i think i can't; this is an ldap stuff. Any idea?

Postfix does a simple LDAP search: "search LDAP for queryfilter and give me back result_attribute as response"
If the LDAP response is not what you want
a) change your filter ; check special_result_attribute
b) change your LDAP (OpenLDAP with overlays?)


Marc

Reply via email to