After upgrading from dovecot-1.0.7 to dovecot-1.0.10 any time when I delete message in logs appeared messages like:
Feb 16 23:54:05 mail-chaos dovecot: IMAP(citrin): Cached message offset lost for seq 2 in mbox file /spool/mail/citrin.ru/citrin/Trash Feb 16 23:54:05 mail-chaos dovecot: IMAP(citrin): copy -> Trash: uid=3589, msgid=E1JHT55-0009fX-3E@spray.anyhost.ru
Removing the index files does not help.
When new mail delivered same messages written to the log by deliver.
dovecot -n: # 1.0.10: /usr/local/etc/dovecot.conf syslog_facility: local7 protocols: imap pop3 pop3s ssl_cert_file: /usr/local/etc/mail.citrin.ru.crt ssl_key_file: /usr/local/etc/mail.citrin.ru.key disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_user: dovecotauth login_process_per_connection: no login_processes_count: 1 login_max_connections: 1024 verbose_proctitle: yes mail_extra_groups: mail mail_location: mbox:~/ mbox_min_index_size: 1024 mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugins(default): quota imap_quota mail_log mail_plugins(imap): quota imap_quota mail_log mail_plugins(pop3): mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 mail_log_max_lines_per_sec(default): 700 mail_log_max_lines_per_sec(imap): 700 mail_log_max_lines_per_sec(pop3): 10 imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(pop3): outlook-idle pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: mechanisms: plain login user: nobody username_format: %Lu verbose: yes worker_max_count: 15 passdb: driver: sql args: /usr/local/etc/dovecot-sql.conf userdb: driver: static args: uid=65000 gid=65000 home=/spool/mail/%Ld/%Ln socket: type: listen client: path: /var/run/dovecot/auth-client mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail plugin: quota: dirsize:storage=1024000 sieve: /spool/mail/sieve-scripts/%u
OS: 6.2-RELEASE-p8 i386, SMP
-- WBR, Anton Yuzhaninov