Mike Gourlay wrote:
> I'm just getting started with qmail-ldap and so far so good.  However, I cannot get 
>the home directories to be created automatically.  I included AUTOHOMEDIRMAKE and 
>AUTOMAILDIRMAKE in the build.  I also saw the note about creating the script 
>/var/qmail/control/dirmaker and created it with the following contents and made it 
>executable...
> 
>       #!/bin/sh
>       mkdir -p $1
> 
<snip>
What you need to do is move your script from /var/qmail/control/dirmaker 
to a file in /var/qmail/bin then in dirmaker tell qmail-ldap where that 
script is

IE:

# more /var/qmail/control/dirmaker
/var/qmail/bin/homedir.sh

and
# cat /var/qmail/bin/homedir.sh
#!/bin/sh
/bin/mkdir -m 700 -p $1

Are what I have.  That should fix up your problem

--Mike

<snip>


Reply via email to