Hi all! Ran into a problem and hopefully i can get some help. OK here is my set up: - dovecot-0.99.10.4 + MySQL patch. - Redhat 9 The authentication part works just fine. It gives me the following entry in the log file: imap-login: "Apr 12 22:15:10 "Info: Login: USER at DOMAIN.com [127.0.0.1] But there is a problem with dovecot reading the mbox file (I think). In the error file I get this entry: imap(USER at DOMAIN.com): "Apr 12 22:15:10 "Fatal: Failed to create storage with data: /export/htdocs/DOMAIN.com/mail/USER dovecot: "Apr 12 22:15:11 "Error: child 18613 (imap) returned error 89 Of course the user and domain info was changed. I am out of ideas but thats not to say its something easy or something I completely looked over. This is how I compiled dovecot: CPPFLAGS="-I/usr/local/mysql/include/mysql -DPASSDB_MYSQL -DUSERDB_MYSQL" \ LDFLAGS="-L/usr/local/mysql/lib/mysql/ -lmysqlclient" \ \ ./configure \ --prefix=/usr/local/imapd \ --disable-ipv6 \ --without-pop3d \ --without-ssl \ --with-storages=mbox \ --enable-debug thanks in advance. Scott
On Tue, 2004-04-13 at 15:49, smk wrote:> But there is a problem with dovecot reading the mbox file (I think). In > the error file I get this entry: > > imap(USER at DOMAIN.com): "Apr 12 22:15:10 "Fatal: Failed to create > storage with data: /export/htdocs/DOMAIN.com/mail/USER > dovecot: "Apr 12 22:15:11 "Error: child 18613 (imap) returned error 89This means Dovecot wasn't able to figure out what to do with that given default_mail_env. It didn't know if it was maildir, mbox or what. So the fix is to add "mbox:" to beginning of default_mail_env, ie.: default_mail_env = mbox:/export/htdocs/... -------------- 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/20040426/f3616f15/attachment-0001.bin>