On Wed, May 11, 2005 at 06:39:39PM +0530, Sameer N I wrote:
> Hi,
> 
> How do I create a new email account in qmail-ldap. I have ldap and 
> qmail-ldap
> running. I tried adding new entry to ldap under ou: qmail_users, but 
> that just adds
> the entry to ldap.
> Do I have to create the Maildirectory using /var/qmail/bin/maildirmake?
> I also have created /var/qmail/bin/dirmaker.sh (as in LWQ) made it 
> executable
> and echoed path in /var/qmail/control/dirmaker
> 
> Also for the sake information, does anyone know in detail how the user 
> directories are created
> in qmail-ldap setup? Please explain the process in brief.
> 

You need to compile qmail-ldap with -DAUTOHOMEDIRMAKE set.

Here my setup
more /var/qmail/control/dirmaker 
/var/qmail/bin/dirmaker
ls -l `cat /var/qmail/control/dirmaker`
-rwxr-xr-x  1 root  qmail  32 Nov  3  2003 /var/qmail/bin/dirmaker
more `cat /var/qmail/control/dirmaker`
#!/bin/sh

mkdir -m 0700 -p $1



-- 
:wq Claudio

Reply via email to