[Dovecot] constant Log synchronization error's

Kim Bisgaard kim+dovecot at alleroedderne.adsl.dk
Sun Jul 14 13:18:53 EEST 2013


Hi,

I am seeing constant "Log synchronization error"s in my logs. See later 
for an example.

This is dovecot 2.2.4, pigeonhole 0.4.1, and postfix 2.10.1 (with 
mailbox_command = /usr/libexec/dovecot/deliver) on a Fedora 19 system.

I am using packages from Atrpms so there are some patches applied - ask 
for details. The mailboxes have resently been moved from a i386 system. 
I have tried to manually do "doveadm force-resync" for all users, but 
the problem persists :-(

Here are an example from a user which does not use sieve:
11:45:48 Y dovecot: imap-login: Login: user=<X>, method=PLAIN, 
rip=62.199.61.123, lip=192.168.0.5, mpid=21531, TLS, 
session=<XxDNm3XhdAA+xz17>
11:45:52 Y dovecot: imap-login: Login: user=<X>, method=PLAIN, 
rip=62.199.61.123, lip=192.168.0.5, mpid=21541, TLS, 
session=<UewQnHXhAwA+xz17>
11:45:54 Y dovecot: imap(X): Error: mdbox 
/var/mail/X/mdbox/mailboxes/INBOX/Streams/dbox-Mails: map uidvalidity 
mismatch (0 vs 1283330954)
11:45:54 Y dovecot: imap(X): Disconnected: Internal error occurred. 
Refer to server log for more information. [2013-07-14 11:45:54] in=353 
out=115680
11:45:54 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/storage/dovecot.map.index
11:45:54 Y dovecot: imap(X): Warning: mdbox /var/mail/X/mdbox/storage: 
rebuilding indexes
11:45:54 Y dovecot: imap(X): Disconnected: Disconnected in IDLE in=707 
out=437806
11:45:55 Y dovecot: imap(X): Error: Log synchronization error at 
seq=4,offset=156 for 
/var/mail/X/mdbox/mailboxes/INBOX/Kvitteringer/dbox-Mails/dovecot.index: 
Ex tension header update points outside header size
11:45:55 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/INBOX/Kvitteringer/dbox-Mails/dovecot.index
11:45:55 Y dovecot: imap(X): Error: Log synchronization error at 
seq=9,offset=156 for 
/var/mail/X/mdbox/mailboxes/INBOX/Streams/dbox-Mails/dovecot.index: 
Extensi on header update points outside header size
11:45:55 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/INBOX/Streams/dbox-Mails/dovecot.index
11:45:55 Y dovecot: imap(X): Error: Log synchronization error at 
seq=13,offset=156 for 
/var/mail/X/mdbox/mailboxes/Facebook/dbox-Mails/dovecot.index: Extension 
h eader update points outside header size
11:45:55 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Facebook/dbox-Mails/dovecot.index
11:45:55 Y dovecot: imap(X): Error: Log synchronization error at 
seq=5,offset=156 for 
/var/mail/X/mdbox/mailboxes/Junk/dbox-Mails/dovecot.index: Extension 
header update points outside header size
11:45:55 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Junk/dbox-Mails/dovecot.index
11:45:55 Y dovecot: imap(X): Error: Log synchronization error at 
seq=5,offset=156 for 
/var/mail/X/mdbox/mailboxes/Sent/dbox-Mails/dovecot.index: Extension 
header update points outside header size
11:45:55 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Sent/dbox-Mails/dovecot.index
11:45:55 Y dovecot: imap(X): Error: Log synchronization error at 
seq=4,offset=156 for 
/var/mail/X/mdbox/mailboxes/Drafts/dbox-Mails/dovecot.index: Extension 
header update points outside header size
11:45:55 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Drafts/dbox-Mails/dovecot.index
11:45:55 Y dovecot: imap(X): Error: Log synchronization error at 
seq=4,offset=156 for 
/var/mail/X/mdbox/mailboxes/Archives/dbox-Mails/dovecot.index: Extension 
header update points outside header size
11:45:55 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Archives/dbox-Mails/dovecot.index
11:45:55 Y dovecot: imap-login: Disconnected (no auth attempts in 1 
secs): user=<>, rip=62.199.61.123, lip=192.168.0.5, TLS, 
session=<dz05nHXh9wA+xz17>
11:45:55 Y dovecot: imap(X): Error: Log synchronization error at 
seq=4,offset=156 for 
/var/mail/X/mdbox/mailboxes/Archives/2012/dbox-Mails/dovecot.index: 
Extension header update points outside header size
11:45:55 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Archives/2012/dbox-Mails/dovecot.index
11:45:55 Y dovecot: imap-login: Login: user=<X>, method=PLAIN, 
rip=62.199.61.123, lip=192.168.0.5, mpid=21548, TLS, 
session=<bAs5nHXhfgA+xz17>
11:45:55 Y dovecot: imap(X): Error: Log synchronization error at 
seq=5,offset=156 for 
/var/mail/X/mdbox/mailboxes/Trash/dbox-Mails/dovecot.index: Extension 
header update points outside header size
11:45:55 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Trash/dbox-Mails/dovecot.index
11:45:55 Y dovecot: imap(X): Error: Log synchronization error at 
seq=4,offset=156 for 
/var/mail/X/mdbox/mailboxes/Trash/Spam/dbox-Mails/dovecot.index: 
Extension header update points outside header size
11:45:55 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Trash/Spam/dbox-Mails/dovecot.index
11:45:55 Y dovecot: imap-login: Login: user=<X>, method=PLAIN, 
rip=62.199.61.123, lip=192.168.0.5, mpid=21552, TLS, 
session=<zCw7nHXh2AA+xz17>
11:45:55 Y dovecot: imap(X): Connection closed: Connection reset by peer 
in=118 out=111246
11:45:56 Y dovecot: imap-login: Disconnected (no auth attempts in 1 
secs): user=<>, rip=62.199.61.123, lip=192.168.0.5, TLS, 
session=<Ov9MnHXhgwA+xz17>
11:45:56 Y dovecot: imap-login: Disconnected (no auth attempts in 0 
secs): user=<>, rip=62.199.61.123, lip=192.168.0.5, TLS, 
session=<OK5RnHXhiAA+xz17>
11:45:56 Y dovecot: imap(X): Error: mdbox 
/var/mail/X/mdbox/mailboxes/INBOX/Streams/dbox-Mails: map uidvalidity 
mismatch (0 vs 1283330954)
11:45:56 Y dovecot: imap(X): Disconnected: Internal error occurred. 
Refer to server log for more information. [2013-07-14 11:45:56] in=353 
out=115647
11:45:56 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/storage/dovecot.map.index
11:45:56 Y dovecot: imap(X): Warning: mdbox /var/mail/X/mdbox/storage: 
rebuilding indexes
11:45:57 Y dovecot: imap(X): Error: Log synchronization error at 
seq=5,offset=156 for 
/var/mail/X/mdbox/mailboxes/INBOX/Kvitteringer/dbox-Mails/dovecot.index: 
Extension header update points outside header size
11:45:57 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/INBOX/Kvitteringer/dbox-Mails/dovecot.index
11:45:57 Y dovecot: imap(X): Error: Log synchronization error at 
seq=10,offset=156 for 
/var/mail/X/mdbox/mailboxes/INBOX/Streams/dbox-Mails/dovecot.index: 
Extension header update points outside header size
11:45:57 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/INBOX/Streams/dbox-Mails/dovecot.index
11:45:57 Y dovecot: imap(X): Error: Log synchronization error at 
seq=14,offset=156 for 
/var/mail/X/mdbox/mailboxes/Facebook/dbox-Mails/dovecot.index: Extension 
header update points outside header size
11:45:57 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Facebook/dbox-Mails/dovecot.index
11:45:57 Y dovecot: imap(X): Error: Log synchronization error at 
seq=6,offset=156 for 
/var/mail/X/mdbox/mailboxes/Junk/dbox-Mails/dovecot.index: Extension 
header update points outside header size
11:45:57 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Junk/dbox-Mails/dovecot.index
11:45:57 Y dovecot: imap(X): Error: Log synchronization error at 
seq=6,offset=156 for 
/var/mail/X/mdbox/mailboxes/Sent/dbox-Mails/dovecot.index: Extension 
header update points outside header size
11:45:57 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Sent/dbox-Mails/dovecot.index
11:45:57 Y dovecot: imap(X): Error: Log synchronization error at 
seq=5,offset=156 for 
/var/mail/X/mdbox/mailboxes/Drafts/dbox-Mails/dovecot.index: Extension 
header update points outside header size
11:45:57 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Drafts/dbox-Mails/dovecot.index
11:45:57 Y dovecot: imap(X): Error: Log synchronization error at 
seq=5,offset=156 for 
/var/mail/X/mdbox/mailboxes/Archives/dbox-Mails/dovecot.index: Extension 
header update points outside header size
11:45:57 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Archives/dbox-Mails/dovecot.index
11:45:57 Y dovecot: imap(X): Error: Log synchronization error at 
seq=5,offset=156 for 
/var/mail/X/mdbox/mailboxes/Archives/2012/dbox-Mails/dovecot.index: 
Extension header update points outside header size
11:45:57 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Archives/2012/dbox-Mails/dovecot.index
11:45:57 Y dovecot: imap(X): Error: Log synchronization error at 
seq=6,offset=156 for 
/var/mail/X/mdbox/mailboxes/Trash/dbox-Mails/dovecot.index: Extension 
header update points outside header size
11:45:57 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Trash/dbox-Mails/dovecot.index
11:45:57 Y dovecot: imap(X): Error: Log synchronization error at 
seq=5,offset=156 for 
/var/mail/X/mdbox/mailboxes/Trash/Spam/dbox-Mails/dovecot.index: 
Extension header update points outside header size
11:45:57 Y dovecot: imap(X): Warning: fscking index file 
/var/mail/X/mdbox/mailboxes/Trash/Spam/dbox-Mails/dovecot.index
11:45:57 Y dovecot: imap-login: Login: user=<X>, method=PLAIN, 
rip=62.199.61.123, lip=192.168.0.5, mpid=21563, TLS, 
session=<gs9WnHXhcwA+xz17>
11:45:57 Y dovecot: imap(X): Connection closed: Connection reset by peer 
in=150 out=111316
11:45:57 Y dovecot: imap-login: Login: user=<X>, method=PLAIN, 
rip=62.199.61.123, lip=192.168.0.5, mpid=21568, TLS, 
session=<4y1hnHXhkQA+xz17>
11:46:05 Y dovecot: imap-login: Login: user=<X>, method=PLAIN, 
rip=62.199.61.123, lip=192.168.0.5, mpid=21574, TLS, 
session=<+zbNnHXhBAA+xz17>

My config is:
# dovecot -n
# 2.2.4: /etc/dovecot/dovecot.conf
# OS: Linux 3.9.9-301.fc19.x86_64 x86_64 Fedora release 19 
(Schrödinger’s Cat) ext4
mail_location = mdbox:/var/mail/%u/mdbox
mbox_write_locks = fcntl
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 =
separator = .
}
passdb {
driver = pam
}
plugin {
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
sieve_extensions = +imapflags
sieve_subaddress_sep = -
}
postmaster_address = postmaster at alleroedderne.adsl.dk
protocols = imap
recipient_delimiter = -
ssl = required
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
driver = passwd
}
protocol lda {
mail_plugins = " sieve"
}


Regards,
Kim




More information about the dovecot mailing list