This is a discussion on Re: Postfix + OpenLDAP help within the mailing.postfix.users forums, part of the Mail Servers and Related category; --- Kevin Fries <Kevin.Fries@hcico.com> wrote: > Your filter result attribute, try: > ldapalias_result_attribute = maildrop > > ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--- Kevin Fries <Kevin.Fries@hcico.com> wrote:
> Your filter result attribute, try: > ldapalias_result_attribute = maildrop > > Your filter finds files, your result_attribute is > the value returned > from the query. You got back what you asked for. > Your query only > checked for esistance, not value. Yes I tried it, but in my case, LDAP is changing its "maildrop" attribute to "rfc822ForwardingMailbox" in the database. So I tried with the following in main.cf ldapalias_result_attribute = rfc822ForwardingMailbox and got the result as follows in postmap # postmap -q anandhg@example.com ldap:ldapalias test1@example.com This gave me the correct result. But still when sending mails to anandhg@example.com the mail is going to anandhg@example.com insted of test1@example.com I don't know what is the problem. Plz help me. ############### main.cf entires ################ ldap_debug_level = 256 alias_maps = ldap:ldapalias ldapalias_server_host = localhost ldapalias_server_port = 389 ldapalias_bind = yes ldapalias_bind_dn = cn=Manager,dc=example,dc=com ldapalias_bind_pw = sample ldapalias_search_base = ou=people,dc=example,dc=com ldapalias_ldapalias_scope = sub ldapalias_query_filter = (&(objectClass=person)(mail=%s)) ldapalias_result_attribute = rfc822ForwardingMailbox ################################################## ##### Thank You. ===== Regards, Anandh G __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail |