Re: [Dovecot] force-resync fails to recover all messages in mdbox

2012-02-08 Thread Timo Sirainen
On 31.1.2012, at 18.34, Lauri Alanko wrote: > Well, well, well. This is interesting. Back with the indices > created by dsync: > > $ doveadm fetch guid all | grep guid: | sort | uniq -c | sort -n | tail > 17 guid: 1b28b22d4b2ee2885b5b81221c41201d > 17 guid: 730c692395661dd62f82088804b8565

Re: [Dovecot] force-resync fails to recover all messages in mdbox

2012-01-31 Thread Lauri Alanko
Quoting "Timo Sirainen" : Try instead with: doveadm fetch guid all | sort | uniq | wc When you removed indexes Dovecot no longer knew about copies of messages. Well, well, well. This is interesting. Back with the indices created by dsync: $ doveadm fetch guid all | grep guid: | sort | uniq -

Re: [Dovecot] force-resync fails to recover all messages in mdbox

2012-01-31 Thread Timo Sirainen
On 31.1.2012, at 17.48, Lauri Alanko wrote: > $ doveadm search all | wc > 93236 186472 3625098 .. > Then I removed all the indices and rebuilt them: > > $ doveadm search all | wc > 43864 87728 1699590 > > Somehow dovecot lost over half of the messages! There may be a bug, and I just yester

[Dovecot] force-resync fails to recover all messages in mdbox

2012-01-31 Thread Lauri Alanko
To my understanding, when using mdbox, doveadm force-resync should be able to recover all the messages from the storage files alone, though of course losing all metadata except the initial delivery folder. However, this does not seem to be the case. For me, force-resync creates only partial indic