[Dovecot] failed: Message has been copied too many times

Timo Sirainen tss at iki.fi
Sat Oct 26 18:10:33 EEST 2013


On 24.10.2013, at 13.41, Angel L. Mateo <amateo at um.es> wrote:

>> amateo_adm at myotis51:~$ sudo doveadm search -u vlo  mailbox
>> BORRADOS.INBOX.MNCS
>> doveadm(vlo): Error: Syncing mailbox BORRADOS.INBOX.MNCS failed: Message
>> has been copied too many times (59306 + -1)

Looks like the index is corrupted. It should never have gotten that high. Have you tried doveadm force-resync -u vlo INBOX?

> 	One more thing, when I said that the index has grown too much is because index directory for this mailbox folder is about 850MB, and the mailbox originally had about 3000 messages. This is the list of files in the index directory:
> 
> root at myotis51:/mail/indexes/vl/vlo/expunged/mailboxes/INBOX/MNCS# ls -lh
> total 853M
> -rw------- 1 vmail vmail 127M oct 24 11:16 dovecot.index
> -rw------- 1 vmail vmail 127M oct 24 11:02 dovecot.index.backup
> -rw------- 1 vmail vmail 186M oct 24 12:14 dovecot.index.cache
> -rw------- 1 vmail vmail 180M oct 24 12:36 dovecot.index.log
> -rw------- 1 vmail vmail 138M oct 24 11:02 dovecot.index.log.2

These files are way too large for a mailbox with just 3000 mails.



More information about the dovecot mailing list