Hi .

i'v installed postfix-cyrus-openldap on a Debian Potato for the gestion
of several domains .

my first conf , was Ok with on domain , witch i can put an receive a
mail .

now , i try to work with several domain .

- The ldap declaration in my postfix conf :


mydestination = filou.my,nedev.my,ldap:ldapdomain
ldapdomain_server_host = zarma
ldapdomain_server_port = 389
ldapdomain_bind_dn = o=hosting
ldapdomain_search_base = o=hosting
ldapdomain_query_filter = (&(objectclass=dnsdomain)(domain=%s))
ldapdomain_result_attribute = domain

local_recipient_maps = ldap:ldapsource
#alias_maps = hash:/etc/postfix/aliases, ldap:ldapsource
alias_maps =  ldap:ldapsource
ldapsource_server_host = zarma
ldapsource_timeout = 10
ldapsource_server_port = 389
ldapsource_search_base = o=hosting
ldapsource_query_filter = (&(uid=%s)(!(mail="*|*")))
#ldapsource_result_attribute = mail
ldapsource_result_attribute = maildrop


- A detail of an output of my ldap database for the user phil .:

dn: cn=phil,domain=filou.my,o=hosting
cn: phil
sn: phil
mail: [EMAIL PROTECTED]
userPassword:: cGhpbA==
uid: phil
mailacceptinggeneralid: phil
maildrop: [EMAIL PROTECTED]
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: account
objectClass: posixAccount
objectClass: uidObject

So , i can send a mail  to [EMAIL PROTECTED] , his mailbos
user.phil_filou_my reseive
the mail ,

output of my postfix log :

to=<[EMAIL PROTECTED]>, relay=cyrus, delay=2, status=sent
([EMAIL PROTECTED])

but i can't get the mail , the connection failed ..


When i'm  log to imap whith user phil , it said that user does not exist
..

When i log whith user phil_filou_my
output of my postfix log :


badlogin: zarma[192.168.1.1] plaintext phil_filou_my PAM Auth Error:
User not known to the underlying authentication module


ps : my pam_ldap.conf :

host zarma

base o=hosting

ldap_version 2

# Filter to AND with uid=%s
#pam_filter objectclass=domain

# The user ID attribute (defaults to uid)
pam_login_attribute uid
#pam_login_attribute cn



Someaone can help me Please ???

Thanks

Philippe Izoret .


Reply via email to