Hello.
I have been on leave for several weeks and have managed to lose all emails received since December due to a server crash.
I asked about log synch error back in March and have (repeatedly) deleted all .imap files but the errors continue.
# 2.1.1: /usr/etc/dovecot/dovecot.conf # OS: Linux 2.6.33.5-desktop-2mnb i686 Mandriva Linux 2010.2 mail_access_groups = mail mail_location = mbox:~/Mail:INBOX=/var/spool/mail/%u 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 ihave namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } protocols = imap pop3 lmtp sieve sieve ssl_cert =
Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=929952 for /home/john/Mail/INBOX/.imap/Archive/dovecot.index: Extension header update points outside header size Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=548744 for /home/john/Mail/INBOX/.imap/Davies/dovecot.index: Extension header update points outside header size Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=541084 for /home/john/Mail/INBOX/.imap/FieldNET/dovecot.index: Extension header update points outside header size Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=539768 for /home/john/Mail/INBOX/.imap/Invoices Out/dovecot.index: Extension header update points outside header size Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=492896 for /home/john/Mail/INBOX/.imap/Lawrence and Hanson/dovecot.index: Extension header update points outside header size Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=530300 for /home/john/Mail/INBOX/.imap/Logger Call/dovecot.index: Extension header update points outside header size Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=524384 for /home/john/Mail/INBOX/.imap/Logger Reset/dovecot.index: Extension header update points outside header size Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=500144 for /home/john/Mail/INBOX/.imap/River Murray/dovecot.index: Extension header update points outside header size Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=532680 for /home/john/Mail/INBOX/.imap/SMS Emails/dovecot.index: Extension header update points outside header size Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=515436 for /home/john/Mail/INBOX/.imap/Soil Moisture Alert/dovecot.index: Extension header update points outside header size Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=578508 for /home/john/Mail/INBOX/.imap/Water Management Alarm/dovecot.index: Extension header update points outside header size Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=648164 for /home/john/Mail/INBOX/.imap/Water Usage/dovecot.index: Extension header update points outside header size Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=492876 for /home/john/Mail/INBOX/.imap/Weather Summaries/dovecot.index: Extension header update points outside header size Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=495744 for /home/john/Mail/INBOX/.imap/Zerna/dovecot.index: Extension header update points outside header size Apr 30 09:00:38 server dovecot: lda(john): Error: Log synchronization error at seq=2,offset=578596 for /home/john/Mail/INBOX/.imap/Water Management Alarm/dovecot.index: Extension header update points outside header size Apr 30 09:00:38 server dovecot: lda(john): Error: Log synchronization error at seq=2,offset=578684 for /home/john/Mail/INBOX/.imap/Water Management Alarm/dovecot.index: Extension header update points outside header size Apr 30 09:00:38 server dovecot: lda(john): Error: Log synchronization error at seq=2,offset=578880 for /home/john/Mail/INBOX/.imap/Water Management Alarm/dovecot.index: Extension header update points outside header size
At about the same time, I asked about fsck warnings. These also continue despite deleting all .,imap files. Apr 30 09:00:12 server dovecot: imap(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/Archive/dovecot.index Apr 30 09:00:12 server dovecot: imap(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/Davies/dovecot.index Apr 30 09:00:12 server dovecot: imap(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/FieldNET/dovecot.index Apr 30 09:00:12 server dovecot: imap(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/Invoices Out/dovecot.index Apr 30 09:00:12 server dovecot: imap(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/Lawrence and Hanson/dovecot.index Apr 30 09:00:12 server dovecot: imap(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/Logger Call/dovecot.index Apr 30 09:00:12 server dovecot: imap(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/Logger Reset/dovecot.index Apr 30 09:00:12 server dovecot: imap(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/River Murray/dovecot.index Apr 30 09:00:12 server dovecot: imap(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/SMS Emails/dovecot.index Apr 30 09:00:12 server dovecot: imap(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/Soil Moisture Alert/dovecot.index Apr 30 09:00:12 server dovecot: imap(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/Water Management Alarm/dovecot.index Apr 30 09:00:12 server dovecot: imap(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/Water Usage/dovecot.index Apr 30 09:00:12 server dovecot: imap(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/Weather Summaries/dovecot.index Apr 30 09:00:12 server dovecot: imap(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/Zerna/dovecot.index Apr 30 09:00:38 server dovecot: lda(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/Water Management Alarm/dovecot.index Apr 30 09:00:38 server dovecot: lda(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/Water Management Alarm/dovecot.index Apr 30 09:00:38 server dovecot: lda(john): Warning: fscking index file /home/john/Mail/INBOX/.imap/Water Management Alarm/dovecot.index
The file system involved is local and sieve rules are now working.
Cheers and thanks, Stephn
--
Stephen Davies Consulting P/L Voice: 08-8177 1595 Adelaide, South Australia. Fax : 08-8177 0133 Records & Collections Management. Mobile:040 304 0583
On Mon, 2012-04-30 at 10:38 +0930, Stephen Davies wrote:
I asked about log synch error back in March and have (repeatedly) deleted all .imap files but the errors continue. .. Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=929952 for /home/john/Mail/INBOX/.imap/Archive/dovecot.index: Extension header update points outside header size
You also deleted ~/Mail/INBOX/.imap/, not simply ~/Mail/.imap/? And there weren't any imap sessions open at that time (which would recreate them)?
The index file deletion should work. Also this has been fixed in v2.1.2 and newer.
I have downloaded dovecot 2.1.5 and successfully built it.
However, when I install it and try to start dovecot, I get:
Starting IMAP daemon (dovecot): doveconf: Error: Module is for different version 2.1.1: /usr/lib/dovecot/settings/libmanagesieve_login_settings.so doveconf: Error: Module is for different version 2.1.1: /usr/lib/dovecot/settings/libmanagesieve_settings.so doveconf: Fatal: Error in configuration file /usr/etc/dovecot/dovecot.conf: protocols: Unknown protocol: sieve
My guess is that I need to recompile and reinstall dovecot pidgeon (dovecot-2.1-pigeonhole-0.3.0) as well as dovecot but cannot find any documentation on this.
Is my gues correct? Is there anything else that is needed to upgrade from 2.1.1 to 2.1.5?
Cheers and thanks, Stephen
On Tuesday, May 01, 2012 10:12:39 AM Timo Sirainen wrote:
On Mon, 2012-04-30 at 10:38 +0930, Stephen Davies wrote:
I asked about log synch error back in March and have (repeatedly) deleted all .imap files but the errors continue.
..
Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=929952 for /home/john/Mail/INBOX/.imap/Archive/dovecot.index: Extension header update points outside header size
You also deleted ~/Mail/INBOX/.imap/, not simply ~/Mail/.imap/? And there weren't any imap sessions open at that time (which would recreate them)?
The index file deletion should work. Also this has been fixed in v2.1.2 and newer.
--
Stephen Davies Consulting P/L Voice: 08-8177 1595 Adelaide, South Australia. Fax : 08-8177 0133 Records & Collections Management. Mobile:040 304 0583
My guess is that I need to recompile and reinstall dovecot pidgeon (dovecot-2.1-pigeonhole-0.3.0) as well as dovecot but cannot find any documentation on this.
Is my gues correct? Is there anything else that is needed to upgrade from 2.1.1 to 2.1.5?
Your guess is correct, always recompile sieve plugin when you upgrade dovecot.
Cor
I upgraded to dovecot 2.1.5 yesterday and deleted ALL .imap directories.
Both the log sync and fsck errors seem to have stopped.
Cheers and thanks, Stephen
On Tuesday, May 01, 2012 10:12:39 AM Timo Sirainen wrote:
On Mon, 2012-04-30 at 10:38 +0930, Stephen Davies wrote:
I asked about log synch error back in March and have (repeatedly) deleted all .imap files but the errors continue.
..
Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=929952 for /home/john/Mail/INBOX/.imap/Archive/dovecot.index: Extension header update points outside header size
You also deleted ~/Mail/INBOX/.imap/, not simply ~/Mail/.imap/? And there weren't any imap sessions open at that time (which would recreate them)?
The index file deletion should work. Also this has been fixed in v2.1.2 and newer.
--
Stephen Davies Consulting P/L Voice: 08-8177 1595 Adelaide, South Australia. Fax : 08-8177 0133 Records & Collections Management. Mobile:040 304 0583
participants (3)
-
Cor Bosman
-
Stephen Davies
-
Timo Sirainen