Im still trying to figure this problem. Because of other issues (non-dovecot related but application related) we had to revert back yesterday to 1.1rc3. This version has been running fine for 6 months.
But now I get quite a few of these errors in my logs I can't really explain them:
Log synchronization error at seq=2,offset=164 for /var/spool/mail/j/a/jan.vandenberg.isp/.Sentbox/dovecot.index: ext reset: invalid record size
This is something that happens since we reverted back:
Number of times this happens in our logs: dovecot:2679 (so far, today) dovecot.1:3184 (yesterday) dovecot.2:0 (tuesday) dovecot.3:0 (etc.) dovecot.4:5 dovecot.5:7 dovecot.6:0 dovecot.7:1
We only ran 1.1.3 for a day or so (with zero of these errors occuring). Before that with 1.1rc3 we also had few of these errors. But now a couple of 1000 a day. It is just a small percent of our total log file: but should I be worried and what is it?
Cheers,
Jan
----- Original Message ----- From: "Jan van den Berg" jan.vandenberg@isp.solcon.nl To: "'Dovecot Mailing List'" dovecot@dovecot.org Sent: Thursday, September 11, 2008 11:57 AM Subject: Re: [Dovecot] Outlook 2003 and Thunderbird IMAP + gettingnew headers
Hi,
I dont do anything with the dovecot-uidlist.
This is part of what the rawlog looks like (with a folder that started getting new headers):
tbgy SELECT "My Folders.Klanten" rty3 UID FETCH 1668:* (UID FLAGS RFC822.SIZE BODY.PEEK[HEADER] INTERNALDATE) 9d54 UID FETCH 1:1667 (UID FLAGS) 0ntr UID FETCH 1667 (UID FLAGS BODY.PEEK[] INTERNALDATE) znim IDLE DONE 4ogq UID FETCH 1668 (UID FLAGS BODY.PEEK[] INTERNALDATE) 5131 IDLE
How should I interpret this? I see 1668 and 1667?
Cheers,
Jan
-----Oorspronkelijk bericht----- Van: dovecot-bounces+jan.vandenberg=isp.solcon.nl@dovecot.org [mailto:dovecot-bounces+jan.vandenberg=isp.solcon.nl@dovecot.org] Namens Timo Sirainen Verzonden: woensdag 10 september 2008 20:45 Aan: Jan van den Berg CC: 'Dovecot Mailing List' Onderwerp: Re: [Dovecot] Outlook 2003 and Thunderbird IMAP + gettingnew headers
On Wed, 2008-09-10 at 10:29 +0200, Jan van den Berg wrote:
We run 1.1.3 and I use Outlook to connect to my IMAP box and a couple of times per day (randomly) when I click certain folders IMAP will start retrieving ALL headers for that folder again ('retrieving new headers')!
Typically that means that the mailbox's UIDVALIDITY has changed. Or the messages get assigned new UIDs for some reason (e.g. Dovecot sees that they're gone, later sees them again). You could verify these by using e.g. rawlog (http://wiki.dovecot.org/Debugging/Rawlog) and seeing if the UIDVALIDITY value after SELECT command changes and if the returned UIDs get changed.
Do you do anything on the server with dovecot-uidlist files? Or dovecot.index* files? Like deleting them once in a while as someone was doing in a cron job? :)