Is it possible to have the ldap server on a separate machine other than the one qmail is running on?

I already have a fresh openldap 2.1.12 server running on another host  and would like to use it. Is there any instructions on how to achieve this as i am reading life with qmail-ldap and from what i can tell its referring to ldap being on the mail server. I have just finished installing openbsd for the mail server, removed sendmail, installed openldap * for the libraries i guess but i don't want to run dap services on this machine, installed daemon tools and tcp-server with the ssl patch, downloaded qmail and patched with the ldap patch. I have copied the qmail.schema over to the other host running ldap. The next step from the guide says to:

4.4. Configuration

Now that you have the schema loaded, a little system configuration is needed. I am going to discuss virtual user accounts, meaning that there are no home directories or /etc/passwd accounts for users on the mail server. After all, this is a mail server and not a user playground.

This involves setting a few control files:

     - edit /etc/passwd and add:  vmail:x:11184:2110::/var/qmail/maildirs/:/bin/true

     - edit /etc/group and add:   vmail::2110

     - mkdir /var/qmail/maildirs

     - chown -R vmail:vmail /var/qmail/maildirs

     - cd /var/qmail/control

     - Create the following control files with specified contents in /var/qmail/control:

          defaultdelivery:
          ./Maildir/

          ldapmessagestore:
          /var/qmail/maildirs

          ldapgid:
          2110

          ldapuid:
          11184

Does all the above still have to be on the ldap server?

If anyone has a install like this please advise.

thanks.

Reply via email to