Steffen Kaiser
2005-Sep-01 08:22 UTC
[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
Timo Sirainen
2005-Sep-11 11:03 UTC
[Dovecot] Dovecot-LDA problems (CVS version) Signal 11 and empty 'mail' dir
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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050911/7dac2987/attachment.bin>