The Dirmaker attribute in ldap (I use ldapcontrol) points to a script
/var/qmail/control/dirmake (without 'r').

This script contains:

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


I do not think this is the problem.

By the way the user and group on the script and the root home dir
/mailroot are set to vmail:vmail.

So that isn't the problem either

Regards,

Didier
-----Original Message-----
From: raymond [mailto:[EMAIL PROTECTED]] 
Sent: zondag 24 november 2002 18:49
To: Didier Geheniau; [EMAIL PROTECTED]
Subject: Re: Next try


/var/qmail/control/dirmaker should contain the path to your custom
script for 
making the homedir.  The dirmaker feature just gives you a hook to
script 
your own home directory making script.  If there isn't a script, it
won't 
make the homedir.

-ray.

On Saturday 23 November 2002 10:09 am, you wrote:
> Automaildir works if home dir exists (/mailroot/<username>) 
> Autohomedir does not work: dir is not created Pop3 login also does not

> work: -ERR user record incorrect
>
> Compiled with:
>
> # 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
>
> Ldif output user:
>
> version: 1
> dn: cn=test user,ou=<company>,ou=People,dc=<company>,dc=net
> accountStatus: active
> cn: test user
> deliveryMode: localdelivery
> mailMessageStore: tuser
> objectClass: person
> objectClass: top
> objectClass: inetOrgPerson
> objectClass: qmailUser
> uid: tuser
> givenName: test
> sn: user
> initials: t
> telephoneNumber: 1
> o: <company>
> userPassword: {MD5}4IM0LxMazchajzXceRLWCg==
> mailHost: mail.company.com
> mail: [EMAIL PROTECTED]
>
> Result:
>
> Mails stay in queue
>
> Who can help me?????
>
> Regards,
>
> Didier

-- 
Never let your sense of morals prevent you from doing what is right.
                -- Salvor Hardin, "Foundation"



Reply via email to