Hi all,

I have some problems with autohomedirmaker, it puts a warning 
(Error_while_running_automatic_dirmaker:#!/bin/sh:_file_does_not_exist._(LDAP-ERR_#2.2.1)/#!/bin/sh:_exited_non_zero._(LDAP-ERR_#2.2.2)/)
 
to mail.log.

Strace output:
[pid  1622] execve("#!/bin/sh", 
["#!/bin/sh","/var/lib/Maildirs/koztisztviselo"..., 
"./Maildir/"],["PATH=/var/qmail/bin:/usr/local/s"...,"QLDAPAUTOHOMEDIRMAKE=#!/bin/sh","QMAILQUOTA=","QMAILDOTMODE=ldaponly"])=-1
 
ENOENT (No such file or directory)

It seems to me, that dirmaker points to '#!/bin/sh' instead of the proper 
/var/qmail/control/dirmaker, so dirmaker doesn't even gets started. 

Any ideas? What am I doing wrong?

Kristof

PS: 
bajnokk@szamoca:~$ cat /var/qmail/control/dirmaker
#!/bin/sh
/bin/mkdir -m 700 -p $1

This file is set to 755.

Reply via email to