Quoting Guilhem Moulin (2019-11-17 19:04:45) > 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'
Sure? Seems you edited above quote: I had a dot between INBOX and olpc - is that the "typo" you are talking about then the command I ran included that dot (as did the email I sent). > 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. Not sure what you mean by "doesn't match anymore" - if I understand correctly it didn't match before either. I tried now to remove all dovecot.index* files for that Maildir, and (as earlier) the command greps nothing. > 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=*" That find command finds almost every all mails in that Maildir: root@xayide:/srv/jonas-debian/home/Maildir/.INBOX.olpc/cur# find \! -type f -o \! -name "*.M*,S=*" | grep -c . 4097 root@xayide:/srv/jonas-debian/home/Maildir/.INBOX.olpc/cur# find -type f | grep -c . 4303 (new and tmp are both empty) - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature