Well, first try to get it working in the 'by hand' case.

Probably it has to do with permissions of the target
directory specified in the user's 'mailMessageStore'
attribute.

So, for mailMessageStore = /var/qmail/maildirs/db

I have:

  >ls -ld /var/qmail/maildirs/db
  drwxr-xr-x    3 vmail    vmail        4096 Jul 14 23:57 /var/qmail/maildirs/db

And inside that:

  >ls -l /var/qmail/maildirs/db
  drwx------    5 vmail    vmail        4096 Jul 14 23:57 Maildir

Note also that the structure of Maildir is more
than just an empty directory.  You can use
/var/qmail/bin/maildirmake to create the necessary
structures.

If you get this working, then you can experiment
firstly with automatic creation of the Maildir
structure (should happen automatically if /var/qmail/maildirs
is writable by vmail), and then if that works,
you can experiment with creation of the user's
directory, but not that you have to specify a
command as an LDAP attribute which does this.

If that doesn't work, then I have no more suggestions!

cheers,
David.

On Mon, 28 Jul 2003, Paulo Ferreira wrote:

> GlacierHI, there!
>
> I installed qmail LDAP according to Life with Qmail-LDAP, but I cant't get
> it to work!!
>
> The LDAP database works just fine, ldaplookup is just OK, but when I create
> a new user, there is no home/mail dir created (yes, I compiled with the
> appropriated switches...) !! And even when I create the home/mail dir by
> hand, qmail doesn't deliver any message to the recipients !!
>
> What seems to be wrong? Can anyone help me??
>
> Thank you in advance,
>
> Paulo Ferreira
>

Reply via email to