Hello,

there are 2 different things. The one is autohomedirmake and the other ist 
automaildirmake. Both you have to enable in your makefile.

After setting this up, create a script called dirmaker.sh or so with the following 
command:

#!/bin/sh
mkdir -m 700 -p $1

Then you have to create a file in the control directory called dirmarker. Insert the 
full path and name of the script which will create the home directories like this:

/var/qmail/control/dirmaker.sh

After that your qmail should now create the homedirs too.

Regards,
J�rg Sippel

----- Original Message ----- 
From: "Michael Fuller" <[EMAIL PROTECTED]>
To: "Qmail LDAP Forum" <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 12:00 PM
Subject: automaildirmake


> Hello users,
> 
> I have successfully installed Qmail + Qmail-LDAP patch. Things are going
> smoothly, except some confusion over the automaildirmake option.
> 
> The default maildirectory is /var/quail/maildirs. Now, does automaildirmake
> create the user directory AND the maildir directory ?
> 
> In my setup, /var/qmail/maildir is the default path. Unless I create the
> user/ directory under this, Maildir is not created. Do I have to create the
> user directories for all the users ? Or am I going wrong somewhere ?
> 
> To illustrate,
> 
> /maildirs                              -------- Already exists
> 
>                           /user                      -------- I am creating
> this manually
> 
>                                                /Maildir         --------
> Created automatically, AFTER I create the above /user directory.
>                                                                     /cur
>                                                                     /new
>                                                                     /tmp
> 
> 
> I have hundreds of LDAP users. Do I have to create a user directory for each
> one of them ?
> 
> 
> Regards,
> Michael Fuller
> 
>

Reply via email to