On Thu, Dec 19, 2002 at 02:17:19PM +0530, Michael Fuller wrote:
> Hello,
> 
> Sqwebmail works fine if I create the directory manually. When I create the
> user directory manually, this is the directory tree.
> 
> /var/qmail/maildirs/
>                             user/                    ------ Created
> manually.
>                                     Maildir/        ------ Created by
> Automaildirmake
>                                                cur/
>                                                tmp/
>                                                new/
> No problems here except creating a directory for every user  --- painful
> process :-)
> 
> However, when I use autohomedirmake, this is the directory tree. As seen,
> the user's home directory is created, but the Maildir directory is not
> created :-(
> 
> /var/qmail/maildirs/
>                             user/                    ------ Created by
> autohomedirmake. Maildir subfolder is missing !
>                                    cur/
>                                    tmp/
>                                    new/
> 
> I dont want to tamper with sqwebmails configuration at this stage. All I
> want is to make automaildirmake create the Maildir directory under the
> user's home directory.
> 

As I already said, this is not a automaildirmake problem. It is a setup
problem. automaildirmake creates that dir where qmail delivers the mail
to. So you need to tell qmail-ldap to use
/var/qmail/maildirs/user/Maildir/ as Maildir and not
/var/qmail/maildirs/user/.

If you have both mailmessagestore and homedirectory defined in LDAP qmail
will deliver to mailmessagestore WITHOUT appending "aliasempty" (aka.
./Maildir/). For virtual users only use one of the two fileds (I prefer
mailmessagestore) for normal system users (together with other auth
services) just use homedirectory and if you have a special system user,
that needs to have his mail e.g. as mailfile in /var/mail/luser use
homedirectory and mailmessagestore (where mailmessagestore is
/var/mail/luser).

-- 
:wq Claudio

Reply via email to