[Dovecot] Sync errors trying to sync old mbox inboxes to dovecot

Michael Smith msmith at giganews.com
Fri Apr 12 21:13:22 EEST 2013


Timo,

Any luck reproducing the sync error with the updated/correct mbox file?

--
Michael Smith


-----Original Message-----
From: dovecot-bounces at dovecot.org [mailto:dovecot-bounces at dovecot.org] On Behalf Of Michael Smith
Sent: Wednesday, April 10, 2013 3:52 PM
To: 'Timo Sirainen'
Cc: 'dovecot at dovecot.org'
Subject: Re: [Dovecot] Sync errors trying to sync old mbox inboxes to dovecot

It shouldn't.  Part of the migration is to remove any existing dovecot mailbox for the user.  It does this by deleting the entire user's directory.

I just downloaded the file and checked.  Oops, looks like I grabbed the post dsync mirror file.

I've uploaded the correct file (pre dsync mirror).  Downloaded it and confirmed I'm getting the following error on dsync mirror.

dsync(webmail): Error: Sync failed for mbox file /var/opt/migrate/users/webmail/inbox: seq=4482 uid=4482 uid_broken=0 originally needed 10 bytes, now needs 12 bytes


--
Michael Smith

-----Original Message-----
From: Timo Sirainen [mailto:tss at iki.fi] 
Sent: Tuesday, April 09, 2013 4:05 PM
To: Michael Smith
Cc: 'dovecot at dovecot.org'
Subject: Re: [Dovecot] Sync errors trying to sync old mbox inboxes to dovecot

On 9.4.2013, at 1.41, Michael Smith <msmith at giganews.com> wrote:

> I tried importing the anonymized file, and there were no errors.  So, it's something with the actual data.  UTF-8 issues?
> 
> While I can't send you a raw customer's mailbox, one of the failures is a 'role' account mailbox, with no critical/useful data in it.
> 
> Here is a link (expires in 30 days) to download the mailbox, it's 107M.
> https://truck.it/p/HNlzl9hWbO
> 
> The error I'm getting is 
> dsync(webmail): Error: Sync failed for mbox file /var/opt/migrate/users/webmail/inbox: seq=4482 uid=4482 uid_broken=0 originally needed 10 bytes, now needs 12 bytes

I can't reproduce with that file, dsync succeeds without errors. Maybe the problem requires something specific in the index files also?




More information about the dovecot mailing list