Re: [Dovecot] constant Log synchronization error's
On 30-07-2013 12:01, Timo Sirainen wrote: On 14.7.2013, at 13.18, Kim Bisgaard kim+dove...@alleroedderne.adsl.dk wrote: 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 .. # 2.2.4: /etc/dovecot/dovecot.conf This is actually a bug that is fixed already in hg.. I really should have released v2.2.5 already. I guess I'll do that this week after reading this mailing list and fixing any other new issues. Thanks Timo, 2.2.5 did apparently solve the problem - great!! Regards, Kim
Re: [Dovecot] constant Log synchronization error's
Some more detail :-) The previous system (i386) worked fine with dovecot 2.2.2 and pigeonhole 0.4.0 packages also from Atrpms on Fedora 17. I have downgraded to 2.1.16 and pigeonhole 0.3.5 for the time being. Regards, Kim On 2013-07-14 12:18, Kim Bisgaard wrote: Hi, I am seeing constant Log synchronization errors 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] constant Log synchronization error's
Hi, I am seeing constant Log synchronization errors 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,
Re: [Dovecot] Problems Converting Maildir to mdbox
On 31-08-2010 21:07, Timo Sirainen wrote: On Tue, 2010-08-31 at 20:49 +0200, Kim Bisgaard wrote: What error did lda give? You probably should add: Command output: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-mail.conf line 54: Unknown setting: separator ) That looks like it wasn't inside namespace {} or something else was weird. Anyway, you should have gotten that same error simply by running doveconf (or dovecot, or any Dovecot tool really). (maildir uses '.' (I think)) so I only added: namespace { separator = . } You need inbox=yes there too (or maybe it's added there by default if you have only one namespace, can't remember). namespace { separator = / inbox = yes } Intuitively I would have expected '.' and not '/' (default (m)dbox), since I'm converting between maildir (.) and dbox(/) - right? For dsync it doesn't matter if it's '.' or '/', both will work fine. But if you have existing IMAP clients then you should preserve the separator or they could become confused. Just tried to do it again - I think first time was an error of mine - did not remove enough comments '#' from the config file - sorry! :-[ . This seems to work: namespace { inbox = yes location = prefix = separator = . } Thanks!! Kim
Re: [Dovecot] Problems Converting Maildir to mdbox
On a side note: Postfix bounces the messages deliver cannot deliver - why does it not keep them in queues until deliver works again? Aug 31 21:10:36 jukebox postfix/local[5087]: 910846B9D9: to=kim+dove...@alleroedderne.adsl.dk, relay=local, delay=0.07, delays=0.02/0/0/0.05, dsn=5.3.0, status=bounced (Command died with status 89: /usr/libexec/dovecot/deliver. Command output: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-mail.conf line 54: Unknown setting: separator ) Aug 31 21:10:36 jukebox postfix/cleanup[5086]: A239E6B9D6: message-id=20100831191036.a239e6b...@jukebox.alleroedderne.adsl.dk Aug 31 21:10:36 jukebox postfix/qmgr[2218]: A239E6B9D6: from=, size=5386, nrcpt=1 (queue active) Aug 31 21:10:36 jukebox postfix/bounce[5135]: 910846B9D9: sender non-delivery notification: A239E6B9D6 Aug 31 21:10:36 jukebox postfix/qmgr[2218]: 910846B9D9: removed Best regards, Kim
Re: [Dovecot] Problems Converting Maildir to mdbox
On 28-08-2010 16:30, Charles Marcus wrote: dsync mirror maildir:~/Maildir I am just trying to do that now (just testing so far). Using this command ($1 is substituted for the user): dsync -u $1 -o mail_location=maildir:/data/mail/$1/mdir mirror mdbox:/data/mail/$1/mdbox After having learned that I need to create the destination directory first, I got this error: dsync(root): Fatal: Mail locations must use the same virtual mailbox hierarchy separator (specify separator for the default namespace) Which I am afraid does not help me much - tried to set separator to '.' in namespace but that only ended in lda/deliver refusing to deliver mail. :-( Thanks in advance! Kim
Re: [Dovecot] Problems Converting Maildir to mdbox
On 28-08-2010 17:21, Charles Marcus wrote: On 8/28/2010 11:17 AM, Kim Bisgaard wrote: After having learned that I need to create the destination directory first, I got this error: dsync(root): Fatal: Mail locations must use the same virtual mailbox hierarchy separator (specify separator for the default namespace) doveconf -n output? # 2.0.1: /etc/dovecot/dovecot.conf # OS: Linux 2.6.33.6-147.2.4.fc13.i686 i686 Fedora release 13 (Goddard) ext3 mail_location = maildir:/data/mail/%u/mdir mbox_write_locks = fcntl passdb { driver = pam } plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve sieve_extensions = +imapflags sieve_subaddress_sep = + } postmaster_address = postmas...@alleroedderne.adsl.dk protocols = imap ssl_cert = /etc/pki/dovecot/certs/dovecot.pem ssl_key = /etc/pki/dovecot/private/dovecot.pem userdb { driver = passwd } protocol lda { mail_plugins = $mail_plugins sieve }
[Dovecot] fchown error on tmp files
Hi, After upgrading to 1.2 I started getting fchown errors in the log. They look like: Jul 12 18:32:54 jukebox dovecot: deliver(kim): fchown(/data/mail/kim/.lists.mythtv-users/tmp/1247416373.M857540P19162.jukebox.alleroedderne.adsl.dk, -1, 500(k im)) failed: Operation not permitted (egid=12(mail), group based on /data/mail/kim/.lists.mythtv-users) I have tried to get rid of the by changing the group of the files to mail but that does not help. I can not find a dovecot option that is documented to set the group to %u which would seem ideal. Any advice? Thanks in advance, Kim % dovecot -n # 1.2.0: /etc/dovecot.conf # OS: Linux 2.6.27.25-170.2.72.fc10.i686 i686 Fedora release 10 (Cambridge) ext3 protocols: imaps listen: * login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/imap-login mail_location: maildir:/data/mail/%u auth default: passdb: driver: pam userdb: driver: passwd plugin: sieve: ~/.dovecot.sieve sieve_dir: ~/sieve