OK What I have done yet.

load qmailControl.schema in slapd then restart it. 
patch qmail source with both ldap and control patch
accordingly.
install re-install qmail.

here are my previous control files.
defaultdelivery        ldapobjectclass dirmaker       
   ldappassword         ldapbasedn         ldapserver 
        
ldapcluster        ldapuid               locals       
   rcpthosts ldapgid     ldaplocaldelivery  me        
ldaplogin  ldapmessagestore



Then I add ldapcontroldn with following info
cn=mail.webexs.com,ou=QmailLDAP,dc=webexs,dc=com

and remove all files except defaultdelivery,
ldappassword, ldapserver, rcpthosts, me, ldaplogin.

Then I create my control.ldif as follow and load it.

dn: ou=QmailLDAP,dc=webexs,dc=com
objectclass: top
objectclass: organizationalUnit
ou: QmailLDAP

dn: cn=mail.webexs.com,ou=QmailLDAP,dc=webexs,dc=com
objectclass: top
objectclass: qmailControl
cn: mail.webexs.com
locals: webexs.com
locals: mail.webexs.com
ldapbasedn: ou=qmail_users,dc=webexs,dc=com
ldapuid: 502
ldapgid: 503
dirmaker: /var/qmail/bin/dirmaker
ldapcluster: 0
ldaplocaldelivery: 0
ldapmessagestore: /var/vmail
ldapobjectclass: qmailUser

Restart every thing (all services) all goes up well
but I am unbale to access any service i-e
POP,SMTP,IMAP authentication.

Where i am wrong how to investigate it.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to