Hi Timo,
Was getting the following error repeatedly in my mail client (squirremail)
"error: connection dropped by IMAP server"
Looked at the logs for this user and found the following:
Nov 19 17:11:32 mink dovecot: IMAP([EMAIL PROTECTED]): broken sync
positions in index file
/virtual/store2/mail/s/bobuser_maildom.com/Maildir/dovecot.index
Nov 19 17:11:32 mink dovecot: IMAP([EMAIL PROTECTED]): fscking index
file /virtual/store2/mail/s/bobuser_maildom.com/Maildir/dovecot.index
Nov 19 17:11:32 mink dovecot: IMAP([EMAIL PROTECTED]): Fixed index
file /virtual/store2/mail/s/bobuser_maildom.com/Maildir/dovecot.index:
log_file_tail_offset 2273345664 -> 996
Nov 19 17:11:32 mink dovecot: Panic: IMAP([EMAIL PROTECTED]): file
mail-transaction-log.c: line 341
(mail_transaction_log_set_mailbox_sync_pos): assertion failed:
(file_offset >= log->head->saved_tail_offset)
Nov 19 17:11:32 mink dovecot: IMAP([EMAIL PROTECTED]): Raw backtrace:
imap [0x46c772] -> imap [0x46c7e3] -> imap [0x46be56] -> imap [0x452d6d]
-> imap(mail_index_sync_commit+0x42) [0x44e022] ->
imap(maildir_sync_index_finish+0xdd) [0x42b59d] -> imap [0x42ada1] ->
imap(maildir_storage_sync_init+0x64) [0x42af44] ->
imap(mailbox_sync+0x1c) [0x43e96c] -> imap(cmd_select_full+0xce)
[0x41a2be] -> imap(cmd_select+0xb) [0x41a44b] -> imap [0x41bb7c] -> imap
[0x41bc32] -> imap [0x41c3ff] -> imap(client_input+0x63) [0x41c633] ->
imap(io_loop_handler_run+0xf8) [0x472ed8] -> imap(io_loop_run+0x1d)
[0x471ffd] -> imap(main+0x3c2) [0x423a92] ->
/lib/libc.so.6(__libc_start_main+0xf4) [0x7f29213711c4] -> imap [0x416349]
Looks like dovecot tried to fix the indexes but failed. I manually
deleted all the dovecot.index* files and the account started working.
Perhaps dovecot could try the fix but if it still fails just go and
delete the indexes itself?
Dovecot version 1.1.6
Using Maildirs
Over NFS mount
If you need any more info just let me know.
Regards,
Daniel