[Dovecot] Dovecot-LDA problems (CVS version) Signal 11 and empty 'mail' dir
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
On Thu, 2005-09-01 at 10:22 +0200, Steffen Kaiser wrote:
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.
Yes, this is a bug in it. It's because internally it creates a mbox storage for the mail it's going to deliver. That code then figures out it wants to create the default mail directory.. Hmm. I changed it to /tmp now, maybe I'll figure out something better later.
On Sun, 11 Sep 2005, Timo Sirainen wrote:
On Thu, 2005-09-01 at 10:22 +0200, Steffen Kaiser wrote:
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.
Yes, this is a bug in it. It's because internally it creates a mbox storage for the mail it's going to deliver. That code then figures out it wants to create the default mail directory.. Hmm. I changed it to /tmp now, maybe I'll figure out something better later.
I have tested the new LDA, it now does no longer create the 'mail' directory, nor does it segfault when the homedirectory is not available.
Bye,
-- Steffen Kaiser
participants (2)
-
Steffen Kaiser
-
Timo Sirainen