On Sun, 17 Nov 2019 at 17:54:23 +0100, Jonas Smedegaard wrote:
> Seems the "force-repair" command didn't make any change:

Grmbl, but seems you typoed the mailbox name:

> jonas@auryn:~$ ssh jonas-deb...@xayide.jones.dk 'doveadm force-resync 
> INBOXolpc'

If it still doesn't work with the right name, here is what I would do if
I were you:

    1. ~$ cp /path/to/maildir/.INBOX.olpc /path/to/maildir/.INBOX.olpc.back
    2. ~$ rm -vf /path/to/maildir/.INBOX.olpc/dovecot.*
    3. Run `doveadm -f flow fetch "uid modseq guid flags text" mailbox 
INBOX.olpc | grep -iE "(^| )uid=97( |$)"`
       again.
    4a. If 3. doesn't match anymore, then `interimap --repair INBOX.olpc`
        should be able to reconcile the mailboxes (it'll complain about
        missed updates because of the reset HIGHESTMODSEQ, but that's
        harmless), and subsequent `interimap --repair INBOX.olpc`
        shouldn't spew anny warning.
    4b. If 3. still matches, then also remove 
/path/to/maildir/.INBOX.olpc/dovecot-uid*
        However that will invalidate the UID mapping, so interimap
        won't be able to reconcile, you'll need to remove the mailbox
        from the database and the local server.

Beside that I'm not sure which Dovecot magic could help.  Perhaps double
check that all files in that directory look alright?

    find /path/to/maildir/.INBOX.olpc/{cur,new,tmp} -mindepth 1 \
            \! -type f -o \! -name "*.M*,S=*"

-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature

Reply via email to