Koozali.org: home of the SME Server

Delete all dovecot indexes

Offline brianr

  • *
  • 988
  • +2/-0
Delete all dovecot indexes
« on: November 24, 2017, 03:24:45 PM »
I've just re-built my server using Affa and am experiencing problems with the email because the indexes are out of date.

Anyone got a script to delete all the dovecot indexes in all user mailboxes (and all underlying mailbox folders)?
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline brianr

  • *
  • 988
  • +2/-0
Re: Delete all dovecot indexes
« Reply #1 on: November 24, 2017, 05:16:00 PM »
If anyone needs this, this is how I did it:

find . -name dovecot.index -exec rm -f {} \;
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........