-
Notifications
You must be signed in to change notification settings - Fork 326
SQL storage reindex
#794
I've migrated imapsql backend from sqlite to postgresql. Unfortunately this caused inbox getting empty, despite all the messages are still present in the filesystem.
Is there a way to force reindexing?
All reactions
Replies: 1 comment 1 reply
Issue Analysis
After migrating the IMAP backend from SQLite to PostgreSQL, the inbox appears empty even though the message files still exist. This is typically caused by the IMAP index/metadata being out of sync with the actual mail storage.
Solution
Identify your IMAP server and run the appropriate reindex/rebuild commands:
- Dovecot – Delete index files (forces rebuild):
systemctl stop dovecot cd /path/to/maildir find . -type f -name 'dovecot.index*' -delete systemctl start dovecot
All reactions
1 reply
🤣
All reactions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment