Philipp Schmid
2007-Aug-20 07:56 UTC
[Dovecot] Couldn't init INBOX: BUG: Unknown internal error
hi, I'm getting quite a few of these in the logs of our new dovecot mail server: Aug 20 09:50:03 mail2 dovecot: POP3(vwc406): Couldn't init INBOX: BUG: Unknown internal error Aug 20 09:50:03 mail2 dovecot: POP3(vwc406): Mailbox init failed top=0/0, retr=0/0, del=0/0, size=0 we migrated from courier and other mailboxes work. any idea what the cause might be or how I can fix it? greets philipp mail1:/home/vwc406# ls -la total 168 drwx------ 14 vmail vmail 4096 Aug 20 01:48 . drwxrwxrwx 2297 vmail vmail 69632 Aug 20 02:08 .. drwx------ 6 vmail vmail 4096 Aug 19 21:09 .Drafts drwx------ 6 vmail vmail 4096 Aug 19 21:09 .Junk drwx------ 6 vmail vmail 4096 Aug 19 21:09 .Sent drwx------ 6 vmail vmail 4096 Aug 19 21:09 .Trash drwx------ 10 vmail vmail 4096 Apr 28 2006 .openwebmail drwx------ 5 vmail vmail 4096 Apr 28 2006 .saved-drafts drwx------ 5 vmail vmail 4096 Apr 28 2006 .saved-messages drwx------ 5 vmail vmail 4096 Apr 28 2006 .sent-mail drwx------ 2 vmail vmail 4096 Jun 10 19:01 courierimapkeywords -rw-r--r-- 1 vmail vmail 47 May 13 15:44 courierimapsubscribed -rw-r--r-- 1 vmail vmail 621 Jun 10 19:01 courierimapuiddb -rw-r--r-- 1 vmail vmail 1582 Aug 7 15:56 courierpop3dsizelist drwx------ 2 vmail vmail 4096 Aug 7 15:56 cur -rw------- 1 vmail vmail 1157 Aug 19 23:55 dovecot-uidlist -rw------- 1 vmail vmail 396 Aug 19 23:27 dovecot.index -rw------- 1 vmail vmail 16384 Aug 19 23:29 dovecot.index.cache -rw------- 1 vmail vmail 528 Aug 19 23:27 dovecot.index.log drwx------ 2 vmail vmail 4096 Aug 7 15:56 new -rw-r--r-- 1 vmail vmail 23 Aug 19 23:55 subscriptions drwx------ 2 vmail vmail 4096 Aug 7 15:56 tmp mail1:~# dovecot --version 1.0.3 mail1:~# dovecot -n # 1.0.3: /etc/dovecot/dovecot.conf log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s ssl_ca_file: /infrastructure/certs/gd_intermediate_bundle.crt ssl_cert_file: /infrastructure/certs/_.netmonic.com.crt ssl_key_file: /infrastructure/certs/_.netmonic.com.key disable_plaintext_auth: no shutdown_clients: no login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login login_greeting: Ready. login_processes_count: 10 login_max_processes_count: 256 mail_extra_groups: mail mail_location: maildir:/home/%h mmap_disable: yes mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 imap_client_workarounds(default): delay-newmail outlook-idle netscape- eoh imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(pop3): outlook-idle pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %f pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh namespace: type: private prefix: INBOX. inbox: yes auth default: mechanisms: plain login digest-md5 cram-md5 ntlm apop username_chars: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@# username_translation: @# passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: prefetch userdb: driver: sql args: /etc/dovecot/dovecot-sql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: vmail
Timo Sirainen
2007-Aug-24 17:00 UTC
[Dovecot] Couldn't init INBOX: BUG: Unknown internal error
On Mon, 2007-08-20 at 09:56 +0200, Philipp Schmid wrote:> hi, > > I'm getting quite a few of these in the logs of our new dovecot mail > server: > > Aug 20 09:50:03 mail2 dovecot: POP3(vwc406): Couldn't init INBOX: BUG: > Unknown internal error > Aug 20 09:50:03 mail2 dovecot: POP3(vwc406): Mailbox init failed > top=0/0, retr=0/0, del=0/0, size=0Do these patches make it log something more: http://hg.dovecot.org/dovecot-1.0/rev/2c3124d7d2c2 http://hg.dovecot.org/dovecot-1.0/rev/68f23f982234> any idea what the cause might be or how I can fix it?Are there symlinks in new/ or cur/ that point to nonexisting files? -------------- 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/20070824/e0c37a40/attachment-0002.bin>