Hello,

I use dbmail for some time now, and interested in the authentication through 
ldap. A lot of information of my users are in ldap already, including the uid 
and the password. To reduce redundancy, I would like to use this instead of 
setting up an new table for the same users.

Now i'm testing it with a mysql database version 4.1.8a.

Futher I use openldap 2.2.24.

Now I've created one user in ldap by adding the dbmailUser objectClass
to an already existing user:

# cat modify4dbmail
dn: uid=sbon,ou=unixaccounts,dc=bononline,dc=nl
changetype: modify
add: objectClass
objectClass: dbmailUser
-
add: mail
mail: [EMAIL PROTECTED]

After executing ldapmodify with the right arguments the entry uid=sbon is 
changed in the way I wanted.

I've set up the dbmail.conf  section [LDAP] with the right parameters.

the utility dbmail-users shows the one user, what I expected.

Now I see that the mysql database is still empty. No mailbox has been created 
which belongs to the newly created user, sbon. This is logical, because I 
only did something to ldap, but I do not know any other way. Using 
dbmail-users for this purpose does not work.

What do I have to do to create a mailbox too?

I use openldap in a master/slave setting. The ldapserver I use for the 
authentication is a slave. Does it matter?

Stef Bon



Reply via email to