Open your Makefile beforte compiling the source.
reset Variable AUTODIRMAKE and then recompile the source.
U will get aut dir creation in place
Regards,
Sandeep
-----Original Message-----
From: Oskar Eyb [mailto:[EMAIL PROTECTED]
Sent: Thu 3/4/2004 17:52
To: [EMAIL PROTECTED]
Cc:
Subject: Re: how can i create an ldap user's mail box automatically ?
> Yes I did
you say nothing about the dirmaker-script.
Maybe, that is missed.
From QLDAPINSTALL:
------------------------------------
~control/dirmaker
Absolute path to your program/script that creates missing homedirs
Default: none (off)
Example: /var/qmail/bin/create_homedir
Note: the script is executeded after the setuid/gid, it isn't running
under root for security reasons.
The command is executed with execve not system
(so mkdir --mode=700 -p does not work!) use a shell script.
$1 is the homedir-path and $2 is aliasempty.
If you use $2 have a look at the first and last char to
ensure that it is a path to the maildir and not a pipe or
mailbox
delivery. Possible very simple shell script:
-cut-
#!/bin/sh
mkdir -m 700 -p $1
#EOF
-cut-
------------------------------------
echo "/var/qmail/bin/dirmaker.sh" > /var/qmail/control/dirmaker
And then create the bin/dirmaker.sh file with the line from above and
make it executable.
Greets,
Oskar