[Dovecot] Log sybnch error
My mail log has many entries like:
Mar 2 12:34:13 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=4264 for /home/john/Mail/INBOX/.imap/SMS Emails/dovecot.index: Extension header update points outside header size
Version 2.1.1
dovecot -n gives: # 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_privileged_group = mail passdb { driver = pam } protocols = pop3 imap service anvil { chroot = empty client_limit = 0 drop_priv_before_exec = no executable = anvil extra_groups = group = idle_kill = 4294967295 secs privileged_group = process_limit = 1 process_min_avail = 1 protocol = service_count = 0 type = anvil unix_listener anvil-auth-penalty { group = mode = 0600 user = } unix_listener anvil { group = mode = 0600 user = } user = $default_internal_user vsz_limit = 18446744073709551615 B } service auth-worker { chroot = client_limit = 1 drop_priv_before_exec = no executable = auth -w extra_groups = group = idle_kill = 0 privileged_group = process_limit = 0 process_min_avail = 0 protocol = service_count = 1 type = unix_listener auth-worker { group = mode = 0600 user = $default_internal_user } user = vsz_limit = 18446744073709551615 B } service auth { chroot = client_limit = 0 drop_priv_before_exec = no executable = auth extra_groups = group = idle_kill = 0 privileged_group = process_limit = 1 process_min_avail = 0 protocol = service_count = 0 type = unix_listener auth-client { group = mode = 0600 user = } unix_listener auth-login { group = mode = 0600 user = $default_internal_user } unix_listener auth-master { group = mode = 0600 user = } unix_listener auth-userdb { group = mode = 0666 user = } unix_listener login/login { group = mode = 0666 user = } user = root vsz_limit = 18446744073709551615 B } service config { chroot = client_limit = 0 drop_priv_before_exec = no executable = config extra_groups = group = idle_kill = 0 privileged_group = process_limit = 0 process_min_avail = 0 protocol = service_count = 0 type = config unix_listener config { group = mode = 0600 user = } user = vsz_limit = 18446744073709551615 B } service dict { chroot = client_limit = 1 drop_priv_before_exec = no executable = dict extra_groups = group = idle_kill = 0 privileged_group = process_limit = 0 process_min_avail = 0 protocol = service_count = 0 type = unix_listener dict { group = mode = 0600 user = } user = $default_internal_user vsz_limit = 18446744073709551615 B } service director { chroot = . client_limit = 0 drop_priv_before_exec = no executable = director extra_groups = fifo_listener login/proxy-notify { group = mode = 00 user = } group = idle_kill = 4294967295 secs privileged_group = process_limit = 1 process_min_avail = 0 protocol = service_count = 0 type = unix_listener director-admin { group = mode = 0600 user = } unix_listener login/director { group = mode = 00 user = } user = $default_internal_user vsz_limit = 18446744073709551615 B } service dns_client { chroot = client_limit = 1 drop_priv_before_exec = no executable = dns-client extra_groups = group = idle_kill = 0 privileged_group = process_limit = 0 process_min_avail = 0 protocol = service_count = 0 type = unix_listener dns-client { group = mode = 0666 user = } unix_listener login/dns-client { group = mode = 0666 user = } user = $default_internal_user vsz_limit = 18446744073709551615 B } service doveadm { chroot = client_limit = 1 drop_priv_before_exec = no executable = doveadm-server extra_groups = group = idle_kill = 0 privileged_group = process_limit = 0 process_min_avail = 0 protocol = service_count = 1 type = unix_listener doveadm-server { group = mode = 0600 user = } user = vsz_limit = 18446744073709551615 B } service imap-login { chroot = login client_limit = 0 drop_priv_before_exec = no executable = imap-login extra_groups = group = idle_kill = 0 inet_listener imap { address = port = 143 ssl = no } inet_listener imaps { address = port = 993 ssl = yes } privileged_group = process_limit = 0 process_min_avail = 0 protocol = imap service_count = 1 type = login user = $default_login_user vsz_limit = 18446744073709551615 B } service imap { chroot = client_limit = 1 drop_priv_before_exec = no executable = imap extra_groups = group = idle_kill = 0 privileged_group = process_limit = 1024 process_min_avail = 0 protocol = imap service_count = 1 type = unix_listener login/imap { group = mode = 0666 user = } user = vsz_limit = 18446744073709551615 B } service indexer-worker { chroot = client_limit = 1 drop_priv_before_exec = no executable = indexer-worker extra_groups = group = idle_kill = 0 privileged_group = process_limit = 10 process_min_avail = 0 protocol = service_count = 0 type = unix_listener indexer-worker { group = mode = 0600 user = $default_internal_user } user = vsz_limit = 18446744073709551615 B } service indexer { chroot = client_limit = 0 drop_priv_before_exec = no executable = indexer extra_groups = group = idle_kill = 0 privileged_group = process_limit = 1 process_min_avail = 0 protocol = service_count = 0 type = unix_listener indexer { group = mode = 0666 user = } user = $default_internal_user vsz_limit = 18446744073709551615 B } service ipc { chroot = empty client_limit = 0 drop_priv_before_exec = no executable = ipc extra_groups = group = idle_kill = 0 privileged_group = process_limit = 1 process_min_avail = 0 protocol = service_count = 0 type = unix_listener ipc { group = mode = 0600 user = } unix_listener login/ipc-proxy { group = mode = 0600 user = $default_login_user } user = $default_internal_user vsz_limit = 18446744073709551615 B } service lmtp { chroot = client_limit = 1 drop_priv_before_exec = no executable = lmtp extra_groups = group = idle_kill = 0 privileged_group = process_limit = 0 process_min_avail = 0 protocol = lmtp service_count = 0 type = unix_listener lmtp { group = mode = 0666 user = } user = vsz_limit = 18446744073709551615 B } service log { chroot = client_limit = 0 drop_priv_before_exec = no executable = log extra_groups = group = idle_kill = 4294967295 secs privileged_group = process_limit = 1 process_min_avail = 0 protocol = service_count = 0 type = log unix_listener log-errors { group = mode = 0600 user = } user = vsz_limit = 18446744073709551615 B } service pop3-login { chroot = login client_limit = 0 drop_priv_before_exec = no executable = pop3-login extra_groups = group = idle_kill = 0 inet_listener pop3 { address = port = 110 ssl = no } inet_listener pop3s { address = port = 995 ssl = yes } privileged_group = process_limit = 0 process_min_avail = 0 protocol = pop3 service_count = 1 type = login user = $default_login_user vsz_limit = 18446744073709551615 B } service pop3 { chroot = client_limit = 1 drop_priv_before_exec = no executable = pop3 extra_groups = group = idle_kill = 0 privileged_group = process_limit = 1024 process_min_avail = 0 protocol = pop3 service_count = 1 type = unix_listener login/pop3 { group = mode = 0666 user = } user = vsz_limit = 18446744073709551615 B } service ssl-params { chroot = client_limit = 0 drop_priv_before_exec = no executable = ssl-params extra_groups = group = idle_kill = 0 privileged_group = process_limit = 0 process_min_avail = 0 protocol = service_count = 0 type = startup unix_listener login/ssl-params { group = mode = 0666 user = } user = vsz_limit = 18446744073709551615 B } service stats { chroot = empty client_limit = 0 drop_priv_before_exec = no executable = stats extra_groups = fifo_listener stats-mail { group = mode = 0600 user = } group = idle_kill = 4294967295 secs privileged_group = process_limit = 1 process_min_avail = 0 protocol = service_count = 0 type = unix_listener stats { group = mode = 0600 user = } user = $default_internal_user vsz_limit = 18446744073709551615 B } ssl_cert = </etc/pki/tls/certs/dovecot.pem ssl_key = </etc/pki/tls/private/dovecot.pem userdb { driver = passwd }
--
Stephen Davies Consulting P/L Voice: 08-8177 1595 Adelaide, South Australia. Fax : 08-8177 0133 Records & Collections Management. Mobile:040 304 0583
On 2.3.2012, at 4.14, Stephen Davies wrote:
My mail log has many entries like:
Mar 2 12:34:13 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=4264 for /home/john/Mail/INBOX/.imap/SMS Emails/dovecot.index: Extension header update points outside header size
What filesystem is this? Are you using NFS or some other remote/shared filesystem?
Do these messages repeat more than once for the same mailbox? Have you recently upgraded from Dovecot v1.x?
No NFS. The file system is local.
Yes. There are multiple copies of the message for multiple mailboxes for each of at least two users.
Yes. Did recently upgrade from 1.2.15.
Cheers and thanks, Stephen
On Fri, 2 Mar 2012 06:06:40 PM Timo Sirainen wrote:
On 2.3.2012, at 4.14, Stephen Davies wrote:
My mail log has many entries like:
Mar 2 12:34:13 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=4264 for /home/john/Mail/INBOX/.imap/SMS Emails/dovecot.index: Extension header update points outside header size
What filesystem is this? Are you using NFS or some other remote/shared filesystem?
Do these messages repeat more than once for the same mailbox? Have you recently upgraded from Dovecot v1.x?
--
Stephen Davies Consulting P/L Voice: 08-8177 1595 Adelaide, South Australia. Fax : 08-8177 0133 Records & Collections Management. Mobile:040 304 0583
On 3.3.2012, at 1.45, Stephen Davies wrote:
No NFS. The file system is local.
Yes. There are multiple copies of the message for multiple mailboxes for each of at least two users.
But does the error keep repeating for the same mailbox? It's supposed to fix itself automatically after logging the error once.
Yes. Did recently upgrade from 1.2.15.
I think in earlier versions mbox used somewhat different index file structures and now Dovecot logs some errors about them.
Anyway, one sure way to fix this is to just delete all the .imap/ directories.
Sorry. I wasn't clear. The message did repeat for the same mailbox.
eg Mar 5 09:41:40 server dovecot: imap(scldad): Error: Log synchronization error at seq=2,offset=42304 for /home/scldad/Mail/Mail/.imap/Trash/dovecot.index: Extension header update points outside header size Mar 5 09:41:44 server dovecot: imap(scldad): Error: Log synchronization error at seq=2,offset=42392 for /home/scldad/Mail/Mail/.imap/Trash/dovecot.index: Extension header update points outside header size Mar 5 09:42:58 server dovecot: imap(scldad): Error: Log synchronization error at seq=2,offset=42480 for /home/scldad/Mail/Mail/.imap/Trash/dovecot.index: Extension header update points outside header size Mar 5 09:42:58 server dovecot: imap(scldad): Error: Log synchronization error at seq=2,offset=11864 for /home/scldad/Mail/Mail/.imap/Drafts/dovecot.index: Extension header update points outside header size Mar 5 09:42:58 server dovecot: imap(scldad): Error: Log synchronization error at seq=2,offset=11864 for /home/scldad/Mail/Mail/.imap/Templates/dovecot.index: Extension header update points outside header size Mar 5 09:42:58 server dovecot: imap(scldad): Error: Log synchronization error at seq=2,offset=12964 for /home/scldad/Mail/Mail/.imap/Sent/dovecot.index: Extension header update points outside header size Mar 5 09:42:58 server dovecot: imap(scldad): Error: Log synchronization error at seq=2,offset=42568 for /home/scldad/Mail/Mail/.imap/Trash/dovecot.index: Extension header update points outside header size Mar 5 09:42:58 server dovecot: imap(scldad): Error: Log synchronization error at seq=2,offset=11864 for /home/scldad/Mail/Mail/.imap/Junk/dovecot.index: Extension header update points outside header size Mar 5 09:42:58 server dovecot: imap(scldad): Error: Log synchronization error at seq=2,offset=11864 for /home/scldad/Mail/Mail/.imap/Outbox/dovecot.index: Extension header update points outside header size Mar 5 09:42:58 server dovecot: imap(scldad): Error: Log synchronization error at seq=2,offset=60240 for /home/scldad/Mail/Mail/.imap/storage1/dovecot.index: Extension header update points outside header size
I have deleted the .imap directories and the message seems to have disappeared.
Cheers and thanks, Stephen
On Sun, 4 Mar 2012 11:05:18 PM Timo Sirainen wrote:
On 3.3.2012, at 1.45, Stephen Davies wrote:
No NFS. The file system is local.
Yes. There are multiple copies of the message for multiple mailboxes for each of at least two users.
But does the error keep repeating for the same mailbox? It's supposed to fix itself automatically after logging the error once.
Yes. Did recently upgrade from 1.2.15.
I think in earlier versions mbox used somewhat different index file structures and now Dovecot logs some errors about them.
Anyway, one sure way to fix this is to just delete all the .imap/ directories.
--
Stephen Davies Consulting P/L Voice: 08-8177 1595 Adelaide, South Australia. Fax : 08-8177 0133 Records & Collections Management. Mobile:040 304 0583
participants (2)
-
Stephen Davies
-
Timo Sirainen