Re: Postfix + OpenLDAP help

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 > > ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2005
Anandh G
 
Posts: n/a
Default Re: Postfix + OpenLDAP help

--- 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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:08 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0