[Dovecot] SIS: Corrupted dbox file /dane/...../m.1 (around offset=98692): uid=44 points to broken data at offset=98662

Marcin Mirosław marcin at mejor.pl
Thu Mar 31 18:46:32 EEST 2011


Hi!
I'm not sure is it the same as described by Andrew Lewis, this is whay
i'm posting.
Log is:
2011-03-31T17:40:08.369598+02:00 hermes dovecot: imap-login: Login:
user=<marcin at mejor.pl>, method=PLAIN, rip=62.121.127.119,
lip=193.238.12.139, mpid=19221, TLS
2011-03-31T17:40:08.684562+02:00 hermes dovecot: imap(marcin at mejor.pl):
Error: Corrupted dbox file
/dane/domeny/mejor.pl/mail/marcin/mdbox/storage/m.1 (around
offset=98692): Ext refs metadata corrupted: 3604 3311 -
a5/2f/a52fbe2094a0f68cdb403d696b313d9e3fba6978-f722212d1ea0944daf4a0000a95b0854
2011-03-31T17:40:08.684891+02:00 hermes dovecot: imap(marcin at mejor.pl):
Error: Corrupted dbox file
/dane/domeny/mejor.pl/mail/marcin/mdbox/storage/m.1 (around
offset=98692): uid=44 points to broken data at offset=98662
2011-03-31T17:40:08.685728+02:00 hermes dovecot: imap(marcin at mejor.pl):
Disconnected: Internal error occurred. Refer to server log for more
information. [2011-03-31 17:40:08] bytes=343/66007
2011-03-31T17:40:08.686229+02:00 hermes dovecot: imap(marcin at mejor.pl):
Warning: mdbox /dane/domeny/mejor.pl/mail/marcin/mdbox/storage:
rebuilding indexes

This is reproducible by me. I've made test namespace, then in
Thunderbird i've created new subfolder, then i copy (ctrl+ mose move ;)
) ~700 mails from other folder. When i try to go inside this subfolder i
gets those errors, thunderbird shows only 33 emails. Those emails can't
be deleted.

Regards!

# doveconf -n
# 2.0.11: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.36-hardened-r9 i686 Gentoo Base System release 1.12.14 ext4
auth_cache_size = 1 k
auth_mechanisms = plain login digest-md5 cram-md5
default_vsz_limit = 32 M
deliver_log_format = msgid=%m: from=%f: phys=%p: virt=%w %$
first_valid_uid = 8
last_valid_uid = 8
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
mail_attachment_dir = /dane/domeny/zalaczniki
mail_attachment_min_size = 3 k
mail_cache_min_mail_count = 20
mail_gid = mail
mail_location = maildir:/dane/domeny/%d/mail/%n/.maildir
mail_plugins = autocreate quota fts fts_squat zlib
mail_privileged_group = mail
mail_uid = mail
maildir_stat_dirs = yes
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
mdbox_rotate_interval = 1 days
namespace {
  inbox = yes
  location =
  prefix =
  separator = .
}
namespace {
  location = mdbox:/dane/domeny/%d/mail/%n/mdbox
  prefix = tescik.
  separator = .
  subscriptions = yes
  type = private
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin/autocreate = Trash
plugin/autocreate2 = Spam
plugin/autocreate3 = Sent
plugin/autocreate4 = Drafts
plugin/autosubscribe = Trash
plugin/autosubscribe2 = Spam
plugin/autosubscribe3 = Sent
plugin/autosubscribe4 = Drafts
plugin/fts = squat
plugin/fts_squat = partial=4 full=10
plugin/quota = maildir:User quota
plugin/sieve = /dane/domeny/%d/mail/%n/.maildir/.dovecot.sieve
plugin/sieve_dir = /dane/domeny/%d/mail/%n/.maildir/sieve
plugin/zlib_save = bz2
postmaster_address = postmaster at localhost
protocols = imap pop3 sieve
service auth {
  unix_listener auth-userdb {
    group = mail
    mode = 0660
    user = root
  }
}
service managesieve-login {
  inet_listener sieve_deprecated {
    port = 2000
  }
  vsz_limit = 4 M
}
ssl_cert = </etc/ssl/gwiazdka.mejor.pl.pem
ssl_key = </etc/ssl/gwiazdka.mejor.pl.pem
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
verbose_proctitle = yes
protocol lda {
  mail_plugins = autocreate quota fts fts_squat zlib sieve
}
protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep
  mail_max_userip_connections = 25
  mail_plugins = autocreate quota fts fts_squat zlib imap_zlib
}


More information about the dovecot mailing list