Hello,
I'm trying dovecot-lda (deliver.c has CVS version 1.18). When I try to deliver a mail, an empty directory is created name $HOME/mail. This is neither the configured (via LDAP) nor the default "mail" setting in the /usr/local/etc/dovecot-deliver.conf.
When the $HOME directory does not exist, but the user itself:
Sep 1 11:47:12 localhost deliver: mbox: Can't create root IMAP folder /home/skaise2a/mail: Permission denied Sep 1 11:47:13 localhost sm-mta[4684]: j819lCgd004682: SYSERR(root): mailer local died with signal 11
Default mail: mail = maildir:%h/.mailboxes:INDEX=/usr/local/var/spool/dovecot/indexes/%Lu
Configured via LDAP for user skaise2a: maildir:/mailcache/skaise2a:INDEX=/var/cache/dovecot/indexes/skaise2a:CONTROL=/var/cache/dovecot/control/skaise2a
I have only found the error message in dovecot's src/lib-storage/index/mbox/mbox-storage.c function create_root_dir().
The Dovecot logs indicate that dovecot-lda is requesting the information from it and the message is - once the empty directory could be created - delivered into the configured IMAP root.
Bye,
-- Steffen Kaiser