[Dovecot] Error: Opening INBOX failed: Mailbox doesn't exist: INBOX

Christian Felsing hostmaster at taunusstein.net
Sun Sep 26 10:11:51 EEST 2010


Hello,

there is one user which has a "Error: Opening INBOX failed: Mailbox
doesn't exist: INBOX" problem:

doveadm mailbox status -u user at foo.local -t all \*

doveadm(user at foo.local): Error: Opening INBOX failed: Mailbox doesn't
exist: INBOX
doveadm(user at foo.local): Error: Opening mailbox INBOX failed: Mailbox
doesn't exist: INBOX

doveadm -v force-resync -u user at foo.local INBOX
doveadm(user at foo.local): Error: Opening INBOX failed: Mailbox doesn't
exist: INBOX
doveadm(user at foo.local): Error: Opening mailbox INBOX failed: Mailbox
doesn't exist: INBOX

doveadm mailbox list -u user at foo.local
Archiv Old
Gesendete Objekte
INBOX
INBOX.old
INBOX.ix
INBOX.ct
INBOX.telepolis
INBOX.bild
INBOX.fotos.highres
INBOX.computerbild
Junk-E-Mail
Trash
Gesendet


System has several hundred users, but this is the only user on which
that happens. Users client is Microsoft Outlook 2003, but there are more
users which are using Microsoft Outlook 2003.

dovecot -n (some parts masked with *** for privacy reasons):

# 2.0.3: /opt/dovecot/etc/dovecot/dovecot.conf
# OS: Linux 2.6.26-2-amd64 x86_64 Debian 5.0.6 xfs
auth_master_user_separator = *
auth_mechanisms = plain login
auth_realms = ***
auth_username_format = %Lu
disable_plaintext_auth = no
first_valid_uid = 124
last_valid_uid = 124
listen = [::], *
log_timestamp = %Y-%m-%d %H:%M:%S
login_greeting = imap4/pop3 ready.
mail_location = maildir:/mail/%d/%u/Maildir
mail_privileged_group = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date imapflags notify
passdb {
  args = ***
  driver = passwd-file
  master = yes
}
passdb {
  args = /opt/dovecot/etc/dovecot/dovecot-ldap.conf
  driver = ldap
}
plugin {
  quota = maildir:User quota
  quota_rule = *:storage=500M
  quota_rule2 = Trash:storage=+100M
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_extensions = +imapflags +notify
}
protocols = imap pop3 sieve lmtp
service auth {
  client_limit = 8000
  unix_listener /var/run/dovecot/auth-master {
    group = vmail
    mode = 0660
    user = vmail
  }
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  user = vmail
}
service imap-login {
  process_limit = 1024
}
service imap-postlogin {
  executable = script-login /opt/dovecot-cf/lastlogin.sh
  user = cadm
}
service imap {
  executable = imap imap-postlogin
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0660
    user = postfix
  }
}
service managesieve-login {
  inet_listener sieve-obsolete {
    port = 2000
  }
  inet_listener sieve {
    port = 4190
  }
  process_limit = 1024
}
service pop3-login {
  process_limit = 1024
}
service pop3-postlogin {
  executable = script-login /opt/dovecot-tools/lastlogin.sh
  user = cadm
}
service pop3 {
  executable = pop3 pop3-postlogin
}
service quota-warning {
  executable = script /opt/dovecot-tools/quota-warning.sh
  user = vmail
}
ssl_ca = </opt/dovecot/etc/cacert.pem
ssl_cert = </opt/apache/apache/conf/ssl/cert.crt
ssl_cipher_list = HIGH:MEDIUM:!SSLv2:!ADH:!aNULL:!eNULL:!NULL
ssl_key = </opt/apache/apache/conf/ssl/cert.key
userdb {
  args = /opt/dovecot/etc/dovecot/dovecot-ldap.conf
  driver = ldap
}
protocol lmtp {
  mail_plugins = quota sieve
}
protocol sieve {
  managesieve_logout_format = bytes ( in=%i : out=%o )
}
protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep
  mail_plugins = quota imap_quota
}
protocol pop3 {
  mail_plugins = quota
  pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
  auth_socket_path = /var/run/dovecot/auth-master
  hostname = mail.foo.local
  lda_mailbox_autocreate = yes
  mail_plugin_dir = /opt/dovecot/lib/dovecot/lda
  mail_plugins = $mail_plugins sieve
  postmaster_address = postmaster at foo.local
  sendmail_path = /usr/lib/sendmail
}

dovecot-ldap.conf omitted, because auth works flawless. Homedir etc.
looks like other users homedirs:

tsnetMailHomeDir: /mail/foo.local/user at foo.local
tsnetMailMessageStore: /mail/foo.local/user at foo.local/Maildir

As temporary workaround user set a sieve rule to forward mail to other
account. This Sieve script works.

Is there a way to fix that w/o deleting that mailbox ?

Christian


More information about the dovecot mailing list