Graham Leggett wrote:
> Hi,
>
> I have been having a problem with auto directory creation. I created
> some accounts, and attempted to deliver mail to them, and the following
> errors were logged:
>
> @400000003b68595224ad88b4 status: local 2/10 remote 0/20
> @400000003b685953346d1abc delivery 409: deferral:
>
>[EMAIL PROTECTED]:_file_does_not_exist._(LDAP_ERR_#2.2.4)/
> @400000003b685953346d7494 status: local 1/10 remote 0/20
> @400000003b685953346d97bc delivery 410: deferral:
>
>[EMAIL PROTECTED]:_file_does_not_exist._(LDAP_ERR_#2.2.4)/
>
> In the makefile, auto dir creation is enabled like this:
>
> # to enable the auto-maildir-make feature uncomment the next line
> MDIRMAKE=-DAUTOMAILDIRMAKE
>
> # to enable the auto-homedir-make feature uncomment the next line
> HDIRMAKE=-DAUTOHOMEDIRMAKE
>
> The directory to create is in the mailMessageStore attribute. There is
> no homeDirectory attribute defined.
>
> The dirmake control file is defined as follows:
>
> -rw-r--r-- 1 root root 30 Jul 30 05:39
> /var/qmail/control/dirmaker
>
> And contains:
>
> /var/qmail/bin/create_maildir
>
> The above script is as follows:
>
> -rwxr-xr-x 1 root root 59 Jul 30 05:39
> /var/qmail/bin/create_maildir
>
> and contains:
>
> #!/bin/sh
>
> mkdir -m 700 -p $1
>
> I have another system which is configured the same, and it works but
> this system does not. Can anyone see anything obvious that I have done
> wrong?
>
Some things to check out: is the dir in question generated (probably not)? Is the
parent dir
(/var/qmail/mailbox) writable by the user needed for this? Is the script executable?
Franky