On Sun, Feb 08, 2009 at 06:38:31PM -0500, Manuel Mely wrote:

> Hi,
>
> I'm configuring postfix to use LDAP as backend db. I have to deal
> with something that i don't know how to do.
>
> For example, i have this conf file:
>
> server_host = localhost
> server_port = 389
> bind = yes
> bind_dn = cn=admin,dc=foobar,dc=com
> bind_pw = aaaaaaa
> cache = no
> search_base = o=hosting,dc=foobar,dc=com
> 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, 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 LDAP table support is describe in detail in:

    http://www.postfix.org/ldap_table.5.html

if a feature is not described there, it does not exist.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to