On 24.10.2013, at 13.41, Angel L. Mateo <amateo@um.es> wrote:
amateo_adm@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@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.