Skip to content

Dovecot FTS

Issue: too big size of xapian-indexes directory, content not purging

# du -sh user/
2.0G    user/
# du -sh user/xapian-indexes/
1.8G    dima/xapian-indexes/

Solution:

# for one mailbox
doveadm fts rescan -u [email protected]
# for all mailboxes
dovecot fts rescan -A

Add to cron:

# contab -e
15 23 * * * dovecot fts rescan -A >/dev/null 2>&1