Corrupted index cache file errors on 64bit systems

Bug #33457 reported by Lapo Calamandrei
8
Affects Status Importance Assigned to Milestone
dovecot (Ubuntu)
Fix Released
Medium
Tollef Fog Heen

Bug Description

I have a lot of "Corrupted index cache file /home/$USER/Maildir/dovecot.index.cache: Duplicated field in header: hdr.CONTENT-TYPE" moving files between the a folder to another, consider that dovecot is the only process writing to the maildirs, I found references to this bug in this discussion: http://www.dovecot.org/list/dovecot/2006-February/011297.html
It affect only 64bit system and is corrected in the betas, see: http://www.dovecot.org/list/dovecot/2006-February/011360.html

So please update dapper package.

Some datas about my system:

fresh dapper-server of feb 2006 install

lapo@posta:~$ uname -a
Linux posta 2.6.15-16-amd64-xeon #1 SMP PREEMPT Mon Feb 20 17:28:40 UTC 2006 x86_64 GNU/Linux

interesting bits in mail.log:
Mar 2 19:18:45 posta last message repeated 3 times
Mar 2 19:19:05 posta dovecot: imap(lapo): Corrupted index cache file /home/lapo/Maildir/dovecot.index.cache: Duplicated field in header: hdr.CONTENT-TYPE
Mar 2 19:19:05 posta dovecot: imap(lapo): Corrupted index cache file /home/lapo/Maildir/dovecot.index.cache: invalid field header size

lapo@posta:~$ dpkg -l dovecot*
Desiderato=sconosciUto/Installato/Rimosso/P:eliminato/H:bloccato
| Stato=Non/Installato/file Config./U:spacchett./conf. Fallita/H:inst.parzial.
|/ Err?=(nessuno)/H:bloc./necess.Reinst./X=entrambi (Stato,Err: maiusc.=grave)
||/ Nome Versione Descrizione
+++-==============-==============-============================================
un dovecot <non definita> (descrizione non disponibile)
ii dovecot-common 1.0.alpha5-1ub secure mail server that supports mbox and ma
ii dovecot-imapd 1.0.alpha5-1ub secure IMAP server that supports mbox and ma
ii dovecot-pop3d 1.0.alpha5-1ub secure POP3 server that supports mbox and ma

lapo@posta:~$ cat /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw 0 0
none /proc proc rw,nodiratime 0 0
udev /dev tmpfs rw 0 0
/dev/mapper/Neri-root / ext3 rw,data=ordered 0 0
/dev/mapper/Neri-root /dev/.static/dev ext3 rw,data=ordered 0 0
tmpfs /var/run tmpfs rw 0 0
tmpfs /var/lock tmpfs rw 0 0
tmpfs /lib/modules/2.6.15-16-amd64-xeon/volatile tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
tmpfs /var/run tmpfs rw 0 0
tmpfs /var/lock tmpfs rw 0 0
/dev/mapper/Neri-var /var ext3 rw,data=ordered 0 0
/dev/md0 /boot ext3 rw,data=ordered 0 0
/dev/mapper/Neri-tmp /tmp ext3 rw,data=ordered 0 0
/dev/mapper/Neri-usr /usr ext3 rw,data=ordered 0 0
/dev/mapper/Neri-home /home ext3 rw,noatime,data=ordered 0 0

nothing special in /var/log/messages

Thanks for your attention.

Revision history for this message
Lapo Calamandrei (calamandrei) wrote :

some other interesting bits:

The client imap I'm using is thunderbid 1.0.7 (20051013)

lapo@posta:~$ sudo cat /etc/dovecot/dovecot.conf | grep -v \# | grep -v ^$
protocols = imap imaps pop3 pop3s
ssl_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
ssl_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
syslog_facility = mail
mail_extra_groups = mail
mmap_disable = yes
maildir_copy_with_hardlinks = yes
protocol imap {
  imap_client_workarounds = outlook-idle tb-extra-mailbox-sep
}

protocol pop3 {

  pop3_uidl_format = %08Xu%08Xv
  pop3_client_workarounds = outlook-no-nuls
}
auth default {
  mechanisms = plain
  passdb pam {
  }
  userdb passwd {
  }
  user = root
}

Matt Zimmerman (mdz)
Changed in dovecot:
assignee: nobody → tfheen
Revision history for this message
Lapo Calamandrei (calamandrei) wrote :

I have no more ""Corrupted index cache file" messages with latest dapper package (docecot-imapd 1.0.beta3-3ubuntu3), I think this bug can be closed.

Changed in dovecot:
status: Unconfirmed → Fix Released
Revision history for this message
Gustavo Carneiro (gjc) wrote :

I keep having these errors with latest dapper.

In my case dovecot is running on a 32-bit system, not 64bit. But mails arrive on a postfix server running on an amd64 box that NFS-mounts the user accounts containing Maildir's and drops files in there.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.